Skip to content

Simple abstract contract that allows to implement multisign easily

License

Notifications You must be signed in to change notification settings

MiguelGGMM/SIMPLE_CONTRACT_MULTISIGN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE_CONTRACT_MULTISIGN

Simple abstract contract that allows to implement multisign easily

Usage example:

function openTrade(bool _open) external multiSignReq {   
  if(multiSign()) {  
      isTradeOpened = _open;  
  }  
}  

How it works:

multiSignReq modifier that ensures that you are an owner and multiSign() was executed
multiSign() stores the transaction if not previously stored and adds the owner sign

Once the required number of owners confirm the transaction multSign returns true

About

Simple abstract contract that allows to implement multisign easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published