Skip to content

Proof of concept for the contracts implementing TPL

Notifications You must be signed in to change notification settings

alescode/tpl-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transaction Permission Layer PoC

Proof of concept for the contracts implementing a TPL jurisdiction and an ERC20-enforced TPL.

  • The jurisdiction is implemented as a single contract that stores validated attributes for each participant, where each attribute is a string-uint256 key-value pair.
  • The RootDAO is managed as a standard Gnosis multisig wallet, which has permission to modify the list of validators in the jurisdiction.
  • Each Validator (or CA) is an address with permission to modify the attributes of the participants in the jurisdiction.
  • The TPLERC20 is a standard OpenZeppelin ERC20 token, that enforces certain attributes to be present in the participants of each transaction.

Certain features are unimplemented, such as revoking all attributes granted by a Validator. The attributes required by the TPLERC20 token have been arbitrarily defined for this PoC, and should not be considered as a proposal for the actual attributes to be used in validating transactions.

About

Proof of concept for the contracts implementing TPL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%