OSDN Git Service

Merge pull request #41 from Bytom/dev
[bytom/vapor.git] / equity / equity / LockWith2of3Keys
1 contract LockWith3Keys(pubkey1, pubkey2, pubkey3: PublicKey) locks amount of asset {
2   clause unlockWith2Sigs(sig1, sig2: Signature) {
3     verify checkTxMultiSig([pubkey1, pubkey2, pubkey3], [sig1, sig2])
4     unlock amount of asset
5   }
6 }
7