lexdao / lexcorpus Goto Github PK
View Code? Open in Web Editor NEWBody of building block contracts for legal engineers and their clients
License: GNU General Public License v3.0
Body of building block contracts for legal engineers and their clients
License: GNU General Public License v3.0
see https://github.com/lexDAO/LexCorpus/blob/master/contracts/legal/dao/delegation/DelegationLetter.md
we should likely redraft and make more clear how revocation/removal of governance rights shall occur, as well as what should happen in the event either party loses private keys and technical ability to recover votes (this might involve liquidated damages based on value of delegation?)
**drafting may also be more explicit on function calls (hell, could even include bytes4 function 'signature' related to template governance token created on hack call: #29
we should probably fork and simplify OZ governor contract (collapsing timelock 'delay' concept?) https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/governance/Governor.sol
we should add permit() pull using simple code here: https://github.com/banteg/permit-deposit/tree/master/contracts
this allows users to avoid approve TX // simple call deposit~~~https://github.com/banteg/permit-deposit/tree/master/contracts
Run basic security check on lexToken.sol // share results in discord hack chat.
50 $LEX.
We are very close to having a light implementation of ERC-721 token that also tracks some of our 'offer token' patterns from LexToken ERC-20.
Requesting a review of the basic contract: https://github.com/lexDAO/LexCorpus/blob/master/contracts/token/lextoken/solidity/LexNFTFactory.sol
Bounty: 25 $LEX
https://github.com/lexDAO/LexCorpus/blob/master/contracts/token/certification/Certification.sol
basically, we could use a function like 'selfPermit' that verifies a dai or eip-2612 off-chain signed approval, to be called in batch (multi call) before depositDues()
in cases where duesToken
supports metaTxs.
makes sense to add some bounties for wet code matters and loop into lexdao docs / corpus
currently corpus contracts are MIT. should we explore a permissive/but paid licensing?
adapt Shapiro code deference form tailored for MolochV2 investment club, https://github.com/metacartel/MCV/blob/master/Legal/Grimoire%20and%20Exhibits/MCV-Grimoire-Final-All-Exhihbits.pdf
we should focus contracts into groups that folks can contribute on different aspects:
Fairmint has what it describes as a DAT (digital automated trust)
At heart it is an augmented bonding curve with some extra services
A bonding curve contract is a specific type of smart-contract that issues its own tokens through Buy and Sell functions. To buy tokens, the buyer sends ETH to the Buy function which calculates the average price of the token in ETH and issues you the correct amount. The Sell function works in reverse: The contract will calculate the current average selling price and will send you the correct amount of ETH
Looking over the LexDAO token catalog (could be out of date)
can we create an ETH to LXB bonding curve, or more precisely to a pool of LDM time tokens which is the pledged (future) hours that members will be donating to the LexDAO (to be redeemed for either mentoring proto-LEETH or sold to back hire of other services?)
I've started refactoring the LDM(S) into a time-based token plus a higher dispute resolution tribute but need some liquidity. The value is market based but would be at floor #LDM tokens x hourly charge-out rate ...
Basic sanity check on quality of LXL syntax / NatSpec requested: https://github.com/lexDAO/LexCorpus/blob/master/contracts/escrow/lexlocker/solidity/LexLocker.sol
Respond with comments and/or PRs. ๐๐ปโโ๏ธ
^ title
LexCorpus could use a primitive pattern to transfer a contract role, right, etc., to another account and then have this acceptance be contingent on receiver "claiming." Basic OZ pattern here: https://github.com/aragon/zeppelin-solidity/blob/master/contracts/ownership/Claimable.sol
This should prob go into a new folder, "utils".
Collecting requirements for Dunsmoor mvp Escrow for lawyers to resolve funds.
This EIP is about to enter acceptance stage.
The LexOwnable.sol contract will need to be updated in line.
event TransferOwner(address indexed from, address indexed to)
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
LexOwnable can be called from either side, previous or new
transferOwner(address to, bool direct)
A workaround may be to combine with ERC1363 to force a recipient call
additional query function
function owner() view external returns(address);
Note: OpenZepplin has express renounce function whereas LexOwnable cannot be set to zero.
The LexToken Factory could benefit from an interface that checks and returns the manager
of a given LexToken. This should then allow our dapp to instantly recognize and upload LexToken management actions when they show up. Will add more deets....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.