2018-05-31 13:01:02 +00:00
{
"contractName" : "StateChannelModule" ,
"abi" : [
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "manager" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-06-20 08:09:14 +00:00
{
"constant" : true ,
"inputs" : [
{
"name" : "txHash" ,
"type" : "bytes32"
} ,
{
"name" : "messageSignature" ,
"type" : "bytes"
} ,
{
"name" : "pos" ,
"type" : "uint256"
}
] ,
"name" : "recoverKey" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "pure" ,
"type" : "function"
} ,
2018-05-31 13:01:02 +00:00
{
"constant" : false ,
"inputs" : [
{
"name" : "_masterCopy" ,
"type" : "address"
}
] ,
"name" : "changeMasterCopy" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "NAME" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-06-20 08:09:14 +00:00
{
"constant" : true ,
"inputs" : [
{
"name" : "signatures" ,
"type" : "bytes"
} ,
{
"name" : "pos" ,
"type" : "uint256"
}
] ,
"name" : "signatureSplit" ,
"outputs" : [
{
"name" : "v" ,
"type" : "uint8"
} ,
{
"name" : "r" ,
"type" : "bytes32"
} ,
{
"name" : "s" ,
"type" : "bytes32"
}
] ,
"payable" : false ,
"stateMutability" : "pure" ,
"type" : "function"
} ,
2018-05-31 13:01:02 +00:00
{
"constant" : true ,
"inputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"name" : "isExecuted" ,
"outputs" : [
{
"name" : "" ,
2018-06-20 08:09:14 +00:00
"type" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "VERSION" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [ ] ,
"name" : "setup" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "operation" ,
"type" : "uint8"
} ,
{
"name" : "nonce" ,
"type" : "uint256"
} ,
{
2018-06-20 08:09:14 +00:00
"name" : "signatures" ,
"type" : "bytes"
2018-05-31 13:01:02 +00:00
}
] ,
"name" : "execTransaction" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "operation" ,
"type" : "uint8"
} ,
{
"name" : "nonce" ,
"type" : "uint256"
}
] ,
"name" : "getTransactionHash" ,
"outputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
}
] ,
2018-06-20 08:09:14 +00:00
"bytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50611303806100206000396000 f 3006080604052600436106100 a 4576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680632 b 500041146100 a 9578063481 c 6 a 751461016 f 57806363 f 44 b 59146101 c 65780637 d e 7 e d e f 14610287578063 a 3 f 4 d f 7e146102 c a 578063 b 817 d c c 21461035 a 578063 b a 0 b b a 4014610405578063e52 c b 36 a 1461041 c 578063 f 6 c c 15 d 0 14610461578063 f f a 1 a d 7414610551575 b 600080 f d 5 b 3480156100 b 557600080 f d 5 b 50610151600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 169060200190929190803590602001909291905050506105e1565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561017 b 57600080 f d 5 b 50610184610869565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 3480156101 d 257600080 f d 5 b 506102456004803603810190808035600019169060200190929190803590602001908201803590602001908080601 f 0 1602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192908035906020019092919050505061088 f 565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 34801561029357600080 f d 5 b 506102 c 8600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610938565 b 0 0 5 b 3480156102 d 657600080 f d 5 b 506102 d f 610 b 1 b 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561031 f 578082015181840152602081019050610304565 b 50505050905090810190601 f 16801561034 c 5780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561036657600080 f d 5 b 506103 c b 600480360381019080803590602001908201803590602001908080601 f 0 16020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190929190505050610 b 54565 b 604051808460 f f 1660 f f 16815260200183600019166000191681526020018260001916600019168152602001935050505060405180910390 f 35 b 34801561041157600080 f d 5 b 5061041 a 610 b 83565 b 0 0 5 b 34801561042857600080 f d 5 b 5061044 b 6004803603810190808035600019169060200190929190505050610 b 8 d 565 b 6040518082815260200191505060405180910390 f 35 b 34801561046 d 57600080 f d 5 b 5061054 f 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 b a 5565 b 0 0 5 b 34801561055 d 57600080 f d 5 b 50610566610e74565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156105 a 657808201518184015260208101905061058 b 565 b 50505050905090810190601 f 1680156105 d 35780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 600060197 f 0 1000000000000000000000000000000000000000000000000000000000000000260007 f 0 1000000000000000000000000000000000000000000000000000000000000000230888888888860405160200180897 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19168152600101887 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 191681526001018773 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 166 c 0 10000000000000000000000000281526014018673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 166 c 0 100000000000000000000000002815260140185815260200184805190602001908083835 b 6020831015156107855780518252602082019150602081019050602083039250610760565 b 6001836020036101000 a 0 380198251168184511680821785525050505050509050018360028111156107 b 357 f e 5 b 60 f f 167 f 0 1000000000000000000000000000000000000000000000000000000000000
"deployedBytecode" : " 0 x 6080604052600436106100 a 4576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680632 b 500041146100 a 9578063481 c 6 a 751461016 f 57806363 f 44 b 59146101 c 65780637 d e 7 e d e f 14610287578063 a 3 f 4 d f 7e146102 c a 578063 b 817 d c c 21461035 a 578063 b a 0 b b a 4014610405578063e52 c b 36 a 1461041 c 578063 f 6 c c 15 d 0 14610461578063 f f a 1 a d 7414610551575 b 600080 f d 5 b 3480156100 b 557600080 f d 5 b 50610151600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 169060200190929190803590602001909291905050506105e1565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561017 b 57600080 f d 5 b 50610184610869565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 3480156101 d 257600080 f d 5 b 506102456004803603810190808035600019169060200190929190803590602001908201803590602001908080601 f 0 1602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192908035906020019092919050505061088 f 565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 34801561029357600080 f d 5 b 506102 c 8600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610938565 b 0 0 5 b 3480156102 d 657600080 f d 5 b 506102 d f 610 b 1 b 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561031 f 578082015181840152602081019050610304565 b 50505050905090810190601 f 16801561034 c 5780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561036657600080 f d 5 b 506103 c b 600480360381019080803590602001908201803590602001908080601 f 0 16020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190929190505050610 b 54565 b 604051808460 f f 1660 f f 16815260200183600019166000191681526020018260001916600019168152602001935050505060405180910390 f 35 b 34801561041157600080 f d 5 b 5061041 a 610 b 83565 b 0 0 5 b 34801561042857600080 f d 5 b 5061044 b 6004803603810190808035600019169060200190929190505050610 b 8 d 565 b 6040518082815260200191505060405180910390 f 35 b 34801561046 d 57600080 f d 5 b 5061054 f 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 b a 5565 b 0 0 5 b 34801561055 d 57600080 f d 5 b 50610566610e74565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156105 a 657808201518184015260208101905061058 b 565 b 50505050905090810190601 f 1680156105 d 35780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 600060197 f 0 1000000000000000000000000000000000000000000000000000000000000000260007 f 0 1000000000000000000000000000000000000000000000000000000000000000230888888888860405160200180897 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19168152600101887 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 191681526001018773 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 166 c 0 10000000000000000000000000281526014018673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 166 c 0 100000000000000000000000002815260140185815260200184805190602001908083835 b 6020831015156107855780518252602082019150602081019050602083039250610760565 b 6001836020036101000 a 0 380198251168184511680821785525050505050509050018360028111156107 b 357 f e 5 b 60 f f 167 f 0 100000000000000000000000000000000000000000000000000000000000000028152600101828152602001985050505050505050506040516020
"sourceMap" : "305:2840:11:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;305:2840:11;;;;;;;" ,
"deployedSourceMap" : " 305 : 2840 : 11 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2814 : 329 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2814 : 329 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 262 : 28 : 5 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 262 : 28 : 5 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 477 : 328 : 9 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 477 : 328 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 248 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 626 : 248 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 370 : 52 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 370 : 52 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 23 : 1 : -1 ; 8 : 100 ; 33 : 3 ; 30 : 1 ; 27 : 10 ; 8 : 100 ; ; ; 99 : 1 ; 94 : 3 ; 90 : 11 ; 84 : 18 ; 80 : 1 ; 75 : 3 ; 71 : 11 ; 64 : 39 ; 52 : 2 ; 49 : 1 ; 45 : 10 ; 40 : 15 ; ; 8 : 100 ; ; ; 12 : 14 ; 370 : 52 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 982 : 912 : 9 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 982 : 912 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 660 : 65 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 660 : 65 : 11 ; ; ; ; ; ; 566 : 46 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 566 : 46 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1190 : 634 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1190 : 634 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 428 : 40 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 428 : 40 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 23 : 1 : -1 ; 8 : 100 ; 33 : 3 ; 30 : 1 ; 27 : 10 ; 8 : 100 ; ; ; 99 : 1 ; 94 : 3 ; 90 : 11 ; 84 : 18 ; 80 : 1 ; 75 : 3 ; 71 : 11 ; 64 : 39 ; 52 : 2 ; 49 : 1 ; 45 : 10 ; 40 : 15 ; ; 8 : 100 ; ; ; 12 : 14 ; 428 : 40 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2814 : 329 ; 3017 : 7 ; 3079 : 4 ; 3074 : 10 ; ; 3091 : 1 ; 3086 : 7 ; ; 3095 : 4 ; 3101 : 2 ; 3105 : 5 ; 3112 : 4 ; 3118 : 9 ; 3129 : 5 ; 3057 : 78 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 36 : 153 : -1 ; 66 : 2 ; 61 : 3 ; 58 : 11 ; 51 : 19 ; 36 : 153 ; ; ; 182 : 3 ; 176 : 10 ; 171 : 3 ; 164 : 23 ; 98 : 2 ; 93 : 3 ; 89 : 12 ; 82 : 19 ; ; 123 : 2 ; 118 : 3 ; 114 : 12 ; 107 : 19 ; ; 148 : 2 ; 143 : 3 ; 139 : 12 ; 132 : 19 ; ; 36 : 153 ; ; ; 274 : 1 ; 267 : 3 ; 263 : 2 ; 259 : 12 ; 254 : 3 ; 250 : 22 ; 246 : 30 ; 315 : 4 ; 311 : 9 ; 305 : 3 ; 299 : 10 ; 295 : 26 ; 356 : 4 ; 350 : 3 ; 344 : 10 ; 340 : 21 ; 389 : 7 ; 380 ; 377 : 20 ; 372 : 3 ; 365 : 33 ; 3 : 399 ; ; ; 3057 : 78 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 49 : 4 : -1 ; 39 : 7 ; 30 ; 26 : 21 ; 22 : 32 ; 13 : 7 ; 6 : 49 ; 3057 : 78 : 11 ; ; ; 3047 : 89 ; ; ; ; ; ; ; ; ; ; ; ; ; 36 : 153 : -1 ; 66 : 2 ; 61 : 3 ; 58 : 11 ; 51 : 19 ; 36 : 153 ; ; ; 182 : 3 ; 176 : 10 ; 171 : 3 ; 164 : 23 ; 98 : 2 ; 93 : 3 ; 89 : 12 ; 82 : 19 ; ; 123 : 2 ; 118 : 3 ; 114 : 12 ; 107 : 19 ; ; 148 : 2 ; 143 : 3 ; 139 : 12 ; 132 : 19 ; ; 36 : 153 ; ; ; 274 : 1 ; 267 : 3 ; 263 : 2 ; 259 : 12 ; 254 : 3 ; 250 : 22 ; 246 : 30 ; 315 : 4 ; 311 : 9 ; 305 : 3 ; 299 : 10 ; 295 : 26 ; 356 : 4 ; 350 : 3 ; 344 : 10 ; 340 : 21 ; 389 : 7 ; 380 ; 377 : 20 ; 372 : 3 ; 365 : 33 ; 3 : 399 ; ; ; 3047 : 89 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3040 : 96 ; ; 2814 : 329 ; ; ; ; ; ; ; : : : o ; 262 : 28 : 5 : - ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 477 : 328 : 9 : - ; 627 : 7 ; 651 ; 668 : 9 ; 687 ; 718 : 37 ; 733 : 16 ; 751 : 3 ; 718 : 14 ; : 37 : : i ; : : : - ; 706 : 49 ; ; ; ; ; ; ; ; ; ; ; ; 772 : 26 ; 782 : 6 ; 790 : 1 ; 793 ; 796 ; 772 : 26 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 45 : 16 ; 42 : 1 ; 39 ; 24 : 38 ; 77 : 16 ; 74 : 1 ; 67 : 27 ; 5 : 2 ; 772 : 26 : 9 ; ; ; ; ; ; ; ; 765 : 33 ; ; 477 : 328 ; ; ; ; ; ; ; ; : : : o ; 626 : 248 : 4 : - ; 359 : 7 : 5 ; ; ; ; ; ; ; ; ; ; ; 337 : 30 ; ; : 10 ; : 30 ; ; ; 329 : 81 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 791 : 1 : 4 ; 776 : 11 ; : 16 ; ; ; ; 768 : 65 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 856 : 11 ; 843 : 10 ; ; : 24 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 248 ; : : : o ; 370 : 52 : 11 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 982 : 912 : 9 : - ; 1082 : 7 ; 1091 : 9 ; 1102 ; 1402 : 3 ; 1396 : 4 ; 1392 : 14 ; 1464 : 4 ; 1450 : 12 ; 1446 : 23 ; 1434 : 10 ; 1430 : 40 ; 1424 : 47 ; 1419 : 52 ; ; 1529 : 4 ; 1515 : 12 ; 1511 : 23 ; 1499 : 10 ; 1495 : 40 ; 1489 : 47 ; 1484 : 52 ; ; 1873 : 4 ; 1864 ; 1850 : 12 ; 1846 : 23 ; 1834 : 10 ; 1830 : 40 ; 1824 : 47 ; 1820 : 58 ; 1815 : 63 ; ; 1358 : 530 ; ; ; ; ; ; : : : o ; 660 : 65 : 11 : - ; 706 : 12 ; : 10 ; : 12 : : i ; : : : - ; 660 : 65 : : o ; 566 : 46 : : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 1190 : 634 : : - ; 1400 : 23 ; 1426 : 53 ; 1445 : 2 ; 1449 : 5 ; 1456 : 4 ; 1462 : 9 ; 1473 : 5 ; 1426 : 18 ; : 53 : : i ; : : : - ; 1400 : 79 ; ; 1528 : 1 ; 1497 : 10 ; : 27 ; 1508 : 15 ; 1497 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 32 ; 1489 : 73 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1572 : 38 ; 1582 : 15 ; 1599 : 10 ; 1572 : 9 ; : 38 : : i ; : : : - ; 1703 : 1 ; 1673 : 10 ; : 27 ; 1684 : 15 ; 1673 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 31 ; ; ; ; 1722 : 7 ; ; ; ; ; ; ; ; ; ; ; : 33 ; ; ; 1756 : 2 ; 1760 : 5 ; 1767 : 4 ; 1773 : 9 ; 1722 : 61 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 23 : 1 : -1 ; 8 : 100 ; 33 : 3 ; 30 : 1 ; 27 : 10 ; 8 : 100 ; ; ; 99 : 1 ; 94 : 3 ; 90 : 11 ; 84 : 18 ; 80 : 1 ; 75 : 3 ; 71 : 11 ; 64 : 39 ; 52 : 2 ; 49 : 1 ; 45 : 10 ; 40 : 15 ; ; 8 : 100 ; ; ; 1
"source" : "pragma solidity 0.4.24;\nimport \"../Module.sol\";\nimport \"../OwnerManager.sol\";\nimport \"../SignatureValidator.sol\";\n\n\n/// @title Gnosis Safe State Module - A module that allows interaction with statechannels.\n/// @author Stefan George - <stefan@gnosis.pm>\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract StateChannelModule is Module, SignatureValidator {\n\n string public constant NAME = \"State Channel Module\";\n string public constant VERSION = \"0.0.1\";\n\n // isExecuted mapping allows to check if a transaction (by hash) was already executed.\n mapping (bytes32 => uint256) public isExecuted;\n\n /// @dev Setup function sets manager\n function setup()\n public\n {\n setManager();\n }\n\n /// @dev Allows to execute a Safe transaction confirmed by required number of owners.\n /// @param to Destination address of Safe transaction.\n /// @param value Ether value of Safe transaction.\n /// @param data Data payload of Safe transaction.\n /// @param operation Operation type of Safe transaction.\n /// @param nonce Nonce used for this Safe transaction.\n /// @param signatures Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})\n function execTransaction(\n address to, \n uint256 value, \n bytes data, \n Enum.Operation operation, \n uint256 nonce,\n bytes signatures\n )\n public\n {\n bytes32 transactionHash = getTransactionHash(to, value, data, operation, nonce);\n require(isExecuted[transactionHash] == 0, \"Transaction already executed\");\n checkHash(transactionHash, signatures);\n // Mark as executed and execute transaction.\n isExecuted[transactionHash] = 1;\n require(manager.execTransactionFromModule(to, value, data, operation), \"Could not execute transaction\");\n }\n\n function checkHash(bytes32 transactionHash, bytes signatures)\n internal\n view\n {\n // There cannot be an owner with address 0.\n address lastOwner = address(0);\n address currentOwner;\n uint256 i;\n uint8 threshold = OwnerManager(manager).getThreshold();\n // Validate threshold is reached.\n for (i = 0; i < threshold; i++) {\n currentOwner = recoverKey(transactionHash, signatures, i);\n require(OwnerManager(manager).isOwner(currentOwner), \"Signature not provided by owner\");\n require(currentOwner > lastOwner, \"Signatures are not ordered by owner address\");\n lastOwner = currentOwner;\n }\n }\n\n /// @dev Returns hash to be signed by owners.\n /// @param to Destination address.\n /// @param value Ether value.\n /// @param data Data payload.\n /// @param operation Operation type.\n /// @param nonce Transaction nonce.\n /// @return Transaction hash.\n function getTransactionHash(\n address to, \n uint256 value, \n bytes data, \n Enum.Operation operation, \n uint256 nonce\n )\n public\n view\n returns (bytes32)\n {\n return keccak256(abi.encodePacked(byte(0x19), byte(0), this, to, value, data, operation, nonce));\n }\n}\n" ,
2018-05-31 13:01:02 +00:00
"sourcePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/StateChannelModule.sol" ,
"ast" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/StateChannelModule.sol" ,
"exportedSymbols" : {
"StateChannelModule" : [
2018-06-20 08:09:14 +00:00
1758
2018-05-31 13:01:02 +00:00
]
} ,
2018-06-20 08:09:14 +00:00
"id" : 1759 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-06-20 08:09:14 +00:00
"id" : 1573 ,
2018-05-31 13:01:02 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
2018-06-20 08:09:14 +00:00
"src" : "0:23:11"
2018-05-31 13:01:02 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"file" : "../Module.sol" ,
2018-06-20 08:09:14 +00:00
"id" : 1574 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"sourceUnit" : 652 ,
"src" : "24:23:11" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/OwnerManager.sol" ,
"file" : "../OwnerManager.sol" ,
2018-06-20 08:09:14 +00:00
"id" : 1575 ,
"nodeType" : "ImportDirective" ,
"scope" : 1759 ,
"sourceUnit" : 1433 ,
"src" : "48:29:11" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/SignatureValidator.sol" ,
"file" : "../SignatureValidator.sol" ,
"id" : 1576 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"sourceUnit" : 1506 ,
"src" : "78:35:11" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1577 ,
2018-05-31 13:01:02 +00:00
"name" : "Module" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 651 ,
"src" : "336:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_Module_$651" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract Module"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1578 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "336:6:11"
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 1579 ,
"name" : "SignatureValidator" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1505 ,
"src" : "344:18:11" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_SignatureValidator_$1505" ,
"typeString" : "contract SignatureValidator"
}
} ,
"id" : 1580 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-20 08:09:14 +00:00
"src" : "344:18:11"
2018-05-31 13:01:02 +00:00
}
] ,
"contractDependencies" : [
2018-06-20 08:09:14 +00:00
608 ,
651 ,
1449 ,
1505
2018-05-31 13:01:02 +00:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe State Module - A module that allows interaction with statechannels.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1758 ,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts" : [
2018-06-20 08:09:14 +00:00
1758 ,
1505 ,
651 ,
608 ,
1449
2018-05-31 13:01:02 +00:00
] ,
"name" : "StateChannelModule" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1583 ,
2018-05-31 13:01:02 +00:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "370:52:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1581 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "370:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "5374617465204368616e6e656c204d6f64756c65" ,
2018-06-20 08:09:14 +00:00
"id" : 1582 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "400:22:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_e66fa361bdba11103aaf2321b03707a79b393abf1f410f3f609398777fd3a713" ,
"typeString" : "literal_string \"State Channel Module\""
} ,
"value" : "State Channel Module"
} ,
"visibility" : "public"
} ,
{
"constant" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1586 ,
2018-05-31 13:01:02 +00:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "428:40:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1584 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "428:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-06-20 08:09:14 +00:00
"id" : 1585 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "461:7:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1590 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "566:46:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1589 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-20 08:09:14 +00:00
"id" : 1587 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "575:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-20 08:09:14 +00:00
"src" : "566:28:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"valueType" : {
2018-06-20 08:09:14 +00:00
"id" : 1588 ,
"name" : "uint256" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "586:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1596 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "696:29:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-06-20 08:09:14 +00:00
"id" : 1593 ,
2018-05-31 13:01:02 +00:00
"name" : "setManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 650 ,
"src" : "706:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$__$returns$__$" ,
"typeString" : "function ()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1594 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "706:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1595 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "706:12:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Setup function sets manager" ,
2018-06-20 08:09:14 +00:00
"id" : 1597 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setup" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1591 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "674:2:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1592 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "696:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "660:65:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1653 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "1390:434:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1613
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1613 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1400:23:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1612 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1400:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1621 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1615 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1599 ,
"src" : "1445:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1616 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1601 ,
"src" : "1449:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1617 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1603 ,
"src" : "1456:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1618 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1605 ,
"src" : "1462:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1619 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1607 ,
"src" : "1473:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1614 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1757 ,
"src" : "1426:18:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1620 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1426:53:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1400:79:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"id" : 1627 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1623 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1590 ,
"src" : "1497:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1625 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1624 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1508:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-20 08:09:14 +00:00
"src" : "1497:27:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
"id" : 1626 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
"src" : "1528:1:11" ,
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"src" : "1497:32:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-20 08:09:14 +00:00
"id" : 1628 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1531:30:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_3c3f7cf602281cf7a98efd78d98ba46309975dadee18bcb57e640145699bd800" ,
"typeString" : "literal_string \"Transaction already executed\""
} ,
"value" : "Transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_3c3f7cf602281cf7a98efd78d98ba46309975dadee18bcb57e640145699bd800" ,
"typeString" : "literal_string \"Transaction already executed\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1622 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "1489:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1629 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1489:73:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1630 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1489:73:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1632 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1582:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1633 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1609 ,
"src" : "1599:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1631 ,
2018-05-31 13:01:02 +00:00
"name" : "checkHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1723 ,
"src" : "1572:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (bytes32,bytes memory) view"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1634 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1572:38:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1635 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1572:38:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1640 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1636 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1590 ,
"src" : "1673:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1638 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1637 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1684:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-20 08:09:14 +00:00
"src" : "1673:27:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"hexValue" : "31" ,
"id" : 1639 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
2018-06-20 08:09:14 +00:00
"kind" : "number" ,
2018-05-31 13:01:02 +00:00
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1703:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"value" : "1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"src" : "1673:31:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1641 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1673:31:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1645 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1599 ,
"src" : "1756:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1646 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1601 ,
"src" : "1760:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1647 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1603 ,
"src" : "1767:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1648 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1605 ,
"src" : "1773:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1643 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "1722:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1644 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "execTransactionFromModule" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 849 ,
"src" : "1722:33:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$returns$_t_bool_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation) external returns (bool)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1649 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1722:61:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "436f756c64206e6f742065786563757465207472616e73616374696f6e" ,
2018-06-20 08:09:14 +00:00
"id" : 1650 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1785:31:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b0a2f29e31cc28eee068c27ff93342fb8d9840dcad25c6f669ce8154844930c4" ,
"typeString" : "literal_string \"Could not execute transaction\""
} ,
"value" : "Could not execute transaction"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b0a2f29e31cc28eee068c27ff93342fb8d9840dcad25c6f669ce8154844930c4" ,
"typeString" : "literal_string \"Could not execute transaction\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1642 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "1714:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1651 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1714:103:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1652 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1714:103:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
2018-06-20 08:09:14 +00:00
"documentation" : "@dev Allows to execute a Safe transaction confirmed by required number of owners.\n @param to Destination address of Safe transaction.\n @param value Ether value of Safe transaction.\n @param data Data payload of Safe transaction.\n @param operation Operation type of Safe transaction.\n @param nonce Nonce used for this Safe transaction.\n @param signatures Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})" ,
"id" : 1654 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "execTransaction" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1610 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1599 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1224:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1598 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1224:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1601 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1245:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1600 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1245:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1603 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1269:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1602 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1269:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1605 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1290:24:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1604 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 5 ,
"src" : "1290:14:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1607 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1325:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1606 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1325:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1609 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1348:16:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1608 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1348:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "1214:156:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1611 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "1390:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "1190:634:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1722 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "1926:610:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1662
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1662 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1988:17:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1661 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1988:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1666 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1664 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2016:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1663 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "2008:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1665 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2008:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1988:30:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [ ] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1668 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2028:20:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1667 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2028:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1669 ,
2018-05-31 13:01:02 +00:00
"initialValue" : null ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2028:20:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [ ] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1671 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2058:9:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1670 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2058:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1672 ,
2018-05-31 13:01:02 +00:00
"initialValue" : null ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2058:9:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1674
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1674 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2077:15:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1673 ,
2018-05-31 13:01:02 +00:00
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2077:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1680 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1676 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "2108:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1675 ,
2018-05-31 13:01:02 +00:00
"name" : "OwnerManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1432 ,
"src" : "2095:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_type$_t_contract$_OwnerManager_$1432_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "type(contract OwnerManager)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1677 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2095:21:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_OwnerManager_$1432" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract OwnerManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1678 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "getThreshold" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1368 ,
"src" : "2095:34:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_external_view$__$returns$_t_uint8_$" ,
"typeString" : "function () view external returns (uint8)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1679 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2095:36:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2077:54:11"
2018-05-31 13:01:02 +00:00
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1720 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "2215:315:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1697 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1691 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2229:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1693 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1656 ,
"src" : "2255:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1694 ,
"name" : "signatures" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1658 ,
"src" : "2272:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1695 ,
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1671 ,
"src" : "2284:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1692 ,
"name" : "recoverKey" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1489 ,
"src" : "2244:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$" ,
"typeString" : "function (bytes32,bytes memory,uint256) pure returns (address)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1696 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2244:42:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2229:57:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1698 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2229:57:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1704 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2338:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
] ,
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1701 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "2321:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1700 ,
2018-05-31 13:01:02 +00:00
"name" : "OwnerManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1432 ,
"src" : "2308:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_type$_t_contract$_OwnerManager_$1432_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "type(contract OwnerManager)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1702 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2308:21:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_OwnerManager_$1432" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract OwnerManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1703 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "isOwner" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1382 ,
"src" : "2308:29:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_external_view$_t_address_$returns$_t_bool_$" ,
"typeString" : "function (address) view external returns (bool)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1705 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2308:43:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5369676e6174757265206e6f742070726f7669646564206279206f776e6572" ,
2018-06-20 08:09:14 +00:00
"id" : 1706 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2353:33:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_09247dae670daab7cf1923d3334eea07c14df3c0a8f5233960935c63f47104a9" ,
"typeString" : "literal_string \"Signature not provided by owner\""
} ,
"value" : "Signature not provided by owner"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_09247dae670daab7cf1923d3334eea07c14df3c0a8f5233960935c63f47104a9" ,
"typeString" : "literal_string \"Signature not provided by owner\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1699 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "2300:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1707 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2300:87:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1708 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2300:87:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1712 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1710 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2409:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1711 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1662 ,
"src" : "2424:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2409:24:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5369676e61747572657320617265206e6f74206f726465726564206279206f776e65722061646472657373" ,
2018-06-20 08:09:14 +00:00
"id" : 1713 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2435:45:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_597a123a1bc14bc9690387ae0fec99721cc18eefa85fa2531a7593a762444235" ,
"typeString" : "literal_string \"Signatures are not ordered by owner address\""
} ,
"value" : "Signatures are not ordered by owner address"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_597a123a1bc14bc9690387ae0fec99721cc18eefa85fa2531a7593a762444235" ,
"typeString" : "literal_string \"Signatures are not ordered by owner address\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1709 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "2401:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1714 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2401:80:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1715 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2401:80:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1718 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1716 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1662 ,
"src" : "2495:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1717 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2507:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2495:24:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1719 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2495:24:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1687 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1685 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2195:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "<" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1686 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1674 ,
"src" : "2199:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2195:13:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1721 ,
2018-05-31 13:01:02 +00:00
"initializationExpression" : {
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1683 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1681 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2188:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1682 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2192:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-20 08:09:14 +00:00
"src" : "2188:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1684 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2188:5:11"
2018-05-31 13:01:02 +00:00
} ,
"loopExpression" : {
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1689 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-06-20 08:09:14 +00:00
"src" : "2210:3:11" ,
2018-05-31 13:01:02 +00:00
"subExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1688 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2210:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1690 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2210:3:11"
2018-05-31 13:01:02 +00:00
} ,
"nodeType" : "ForStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2183:347:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1723 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "checkHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1659 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1656 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1849:23:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1655 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1849:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1658 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1874:16:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1657 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1874:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "1848:43:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1660 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "1926:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "1830:706:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1756 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "3030:113:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-06-20 08:09:14 +00:00
"id" : 1742 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "3079:4:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
} ,
"value" : "0x19"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1741 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "3074:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1743 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3074:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1745 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "3091:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1744 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "3086:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1746 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3086:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1747 ,
2018-05-31 13:01:02 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1808 ,
"src" : "3095:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_StateChannelModule_$1758" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract StateChannelModule"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1748 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1725 ,
"src" : "3101:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1749 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1727 ,
"src" : "3105:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1750 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1729 ,
"src" : "3112:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1751 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1731 ,
"src" : "3118:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1752 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1733 ,
"src" : "3129:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_StateChannelModule_$1758" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract StateChannelModule"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1739 ,
2018-05-31 13:01:02 +00:00
"name" : "abi" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1760 ,
"src" : "3057:3:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_abi" ,
"typeString" : "abi"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1740 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"memberName" : "encodePacked" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-20 08:09:14 +00:00
"src" : "3057:16:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$" ,
"typeString" : "function () pure returns (bytes memory)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1753 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3057:78:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1738 ,
2018-05-31 13:01:02 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1767 ,
"src" : "3047:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1754 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3047:89:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-06-20 08:09:14 +00:00
"functionReturnParameters" : 1737 ,
"id" : 1755 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Return" ,
2018-06-20 08:09:14 +00:00
"src" : "3040:96:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Returns hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param operation Operation type.\n @param nonce Transaction nonce.\n @return Transaction hash." ,
2018-06-20 08:09:14 +00:00
"id" : 1757 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1734 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1725 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2851:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1724 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2851:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1727 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2872:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1726 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2872:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1729 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2896:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1728 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2896:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1731 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2917:24:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1730 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 5 ,
"src" : "2917:14:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1733 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2952:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1732 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2952:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "2841:130:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1737 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1736 ,
2018-05-31 13:01:02 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "3017:7:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1735 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "3017:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "3016:9:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "2814:329:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"src" : "305:2840:11"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "0:3146:11"
2018-05-31 13:01:02 +00:00
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/StateChannelModule.sol" ,
"exportedSymbols" : {
"StateChannelModule" : [
2018-06-20 08:09:14 +00:00
1758
2018-05-31 13:01:02 +00:00
]
} ,
2018-06-20 08:09:14 +00:00
"id" : 1759 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-06-20 08:09:14 +00:00
"id" : 1573 ,
2018-05-31 13:01:02 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
2018-06-20 08:09:14 +00:00
"src" : "0:23:11"
2018-05-31 13:01:02 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"file" : "../Module.sol" ,
2018-06-20 08:09:14 +00:00
"id" : 1574 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"sourceUnit" : 652 ,
"src" : "24:23:11" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/OwnerManager.sol" ,
"file" : "../OwnerManager.sol" ,
2018-06-20 08:09:14 +00:00
"id" : 1575 ,
"nodeType" : "ImportDirective" ,
"scope" : 1759 ,
"sourceUnit" : 1433 ,
"src" : "48:29:11" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/SignatureValidator.sol" ,
"file" : "../SignatureValidator.sol" ,
"id" : 1576 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"sourceUnit" : 1506 ,
"src" : "78:35:11" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1577 ,
2018-05-31 13:01:02 +00:00
"name" : "Module" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 651 ,
"src" : "336:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_Module_$651" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract Module"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1578 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "336:6:11"
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 1579 ,
"name" : "SignatureValidator" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1505 ,
"src" : "344:18:11" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_SignatureValidator_$1505" ,
"typeString" : "contract SignatureValidator"
}
} ,
"id" : 1580 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-20 08:09:14 +00:00
"src" : "344:18:11"
2018-05-31 13:01:02 +00:00
}
] ,
"contractDependencies" : [
2018-06-20 08:09:14 +00:00
608 ,
651 ,
1449 ,
1505
2018-05-31 13:01:02 +00:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe State Module - A module that allows interaction with statechannels.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1758 ,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts" : [
2018-06-20 08:09:14 +00:00
1758 ,
1505 ,
651 ,
608 ,
1449
2018-05-31 13:01:02 +00:00
] ,
"name" : "StateChannelModule" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1583 ,
2018-05-31 13:01:02 +00:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "370:52:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1581 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "370:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "5374617465204368616e6e656c204d6f64756c65" ,
2018-06-20 08:09:14 +00:00
"id" : 1582 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "400:22:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_e66fa361bdba11103aaf2321b03707a79b393abf1f410f3f609398777fd3a713" ,
"typeString" : "literal_string \"State Channel Module\""
} ,
"value" : "State Channel Module"
} ,
"visibility" : "public"
} ,
{
"constant" : true ,
2018-06-20 08:09:14 +00:00
"id" : 1586 ,
2018-05-31 13:01:02 +00:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "428:40:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1584 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "428:6:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-06-20 08:09:14 +00:00
"id" : 1585 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "461:7:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1590 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "566:46:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1589 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-20 08:09:14 +00:00
"id" : 1587 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "575:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-20 08:09:14 +00:00
"src" : "566:28:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"valueType" : {
2018-06-20 08:09:14 +00:00
"id" : 1588 ,
"name" : "uint256" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "586:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1596 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "696:29:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-06-20 08:09:14 +00:00
"id" : 1593 ,
2018-05-31 13:01:02 +00:00
"name" : "setManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 650 ,
"src" : "706:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$__$returns$__$" ,
"typeString" : "function ()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1594 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "706:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1595 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "706:12:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Setup function sets manager" ,
2018-06-20 08:09:14 +00:00
"id" : 1597 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setup" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1591 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "674:2:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1592 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "696:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "660:65:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1653 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "1390:434:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1613
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1613 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1400:23:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1612 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1400:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1621 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1615 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1599 ,
"src" : "1445:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1616 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1601 ,
"src" : "1449:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1617 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1603 ,
"src" : "1456:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1618 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1605 ,
"src" : "1462:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1619 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1607 ,
"src" : "1473:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1614 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1757 ,
"src" : "1426:18:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1620 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1426:53:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1400:79:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"id" : 1627 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1623 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1590 ,
"src" : "1497:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1625 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1624 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1508:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-20 08:09:14 +00:00
"src" : "1497:27:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
"id" : 1626 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
"src" : "1528:1:11" ,
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"src" : "1497:32:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-20 08:09:14 +00:00
"id" : 1628 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1531:30:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_3c3f7cf602281cf7a98efd78d98ba46309975dadee18bcb57e640145699bd800" ,
"typeString" : "literal_string \"Transaction already executed\""
} ,
"value" : "Transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_3c3f7cf602281cf7a98efd78d98ba46309975dadee18bcb57e640145699bd800" ,
"typeString" : "literal_string \"Transaction already executed\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1622 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "1489:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1629 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1489:73:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1630 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1489:73:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1632 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1582:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1633 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1609 ,
"src" : "1599:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1631 ,
2018-05-31 13:01:02 +00:00
"name" : "checkHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1723 ,
"src" : "1572:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (bytes32,bytes memory) view"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1634 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1572:38:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1635 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1572:38:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1640 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1636 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1590 ,
"src" : "1673:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1638 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1637 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1613 ,
"src" : "1684:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-20 08:09:14 +00:00
"src" : "1673:27:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"hexValue" : "31" ,
"id" : 1639 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
2018-06-20 08:09:14 +00:00
"kind" : "number" ,
2018-05-31 13:01:02 +00:00
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1703:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"value" : "1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"src" : "1673:31:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1641 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1673:31:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1645 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1599 ,
"src" : "1756:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1646 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1601 ,
"src" : "1760:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1647 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1603 ,
"src" : "1767:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1648 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1605 ,
"src" : "1773:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1643 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "1722:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1644 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "execTransactionFromModule" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 849 ,
"src" : "1722:33:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$returns$_t_bool_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation) external returns (bool)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1649 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1722:61:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "436f756c64206e6f742065786563757465207472616e73616374696f6e" ,
2018-06-20 08:09:14 +00:00
"id" : 1650 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "1785:31:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b0a2f29e31cc28eee068c27ff93342fb8d9840dcad25c6f669ce8154844930c4" ,
"typeString" : "literal_string \"Could not execute transaction\""
} ,
"value" : "Could not execute transaction"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b0a2f29e31cc28eee068c27ff93342fb8d9840dcad25c6f669ce8154844930c4" ,
"typeString" : "literal_string \"Could not execute transaction\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1642 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "1714:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1651 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "1714:103:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1652 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1714:103:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
2018-06-20 08:09:14 +00:00
"documentation" : "@dev Allows to execute a Safe transaction confirmed by required number of owners.\n @param to Destination address of Safe transaction.\n @param value Ether value of Safe transaction.\n @param data Data payload of Safe transaction.\n @param operation Operation type of Safe transaction.\n @param nonce Nonce used for this Safe transaction.\n @param signatures Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})" ,
"id" : 1654 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "execTransaction" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1610 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1599 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1224:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1598 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1224:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1601 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1245:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1600 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1245:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1603 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1269:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1602 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1269:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1605 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1290:24:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1604 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 5 ,
"src" : "1290:14:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1607 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1325:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1606 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1325:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1609 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1654 ,
"src" : "1348:16:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1608 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1348:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "1214:156:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1611 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "1390:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "1190:634:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1722 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "1926:610:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1662
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1662 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1988:17:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1661 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1988:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1666 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1664 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2016:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1663 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "2008:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1665 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2008:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "1988:30:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [ ] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1668 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2028:20:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1667 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2028:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1669 ,
2018-05-31 13:01:02 +00:00
"initialValue" : null ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2028:20:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [ ] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1671 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2058:9:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1670 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2058:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1672 ,
2018-05-31 13:01:02 +00:00
"initialValue" : null ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2058:9:11"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-20 08:09:14 +00:00
1674
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1674 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "2077:15:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1673 ,
2018-05-31 13:01:02 +00:00
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2077:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1680 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1676 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "2108:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1675 ,
2018-05-31 13:01:02 +00:00
"name" : "OwnerManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1432 ,
"src" : "2095:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_type$_t_contract$_OwnerManager_$1432_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "type(contract OwnerManager)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1677 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2095:21:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_OwnerManager_$1432" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract OwnerManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1678 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "getThreshold" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1368 ,
"src" : "2095:34:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_external_view$__$returns$_t_uint8_$" ,
"typeString" : "function () view external returns (uint8)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1679 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2095:36:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2077:54:11"
2018-05-31 13:01:02 +00:00
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1720 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "2215:315:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1697 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1691 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2229:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1693 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1656 ,
"src" : "2255:15:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1694 ,
"name" : "signatures" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1658 ,
"src" : "2272:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1695 ,
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1671 ,
"src" : "2284:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
2018-05-31 13:01:02 +00:00
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1692 ,
"name" : "recoverKey" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1489 ,
"src" : "2244:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$" ,
"typeString" : "function (bytes32,bytes memory,uint256) pure returns (address)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1696 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2244:42:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2229:57:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1698 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2229:57:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1704 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2338:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
] ,
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1701 ,
2018-05-31 13:01:02 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 616 ,
"src" : "2321:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$1022" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1700 ,
2018-05-31 13:01:02 +00:00
"name" : "OwnerManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1432 ,
"src" : "2308:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_type$_t_contract$_OwnerManager_$1432_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "type(contract OwnerManager)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1702 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2308:21:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_OwnerManager_$1432" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract OwnerManager"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1703 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "isOwner" ,
"nodeType" : "MemberAccess" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1382 ,
"src" : "2308:29:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_external_view$_t_address_$returns$_t_bool_$" ,
"typeString" : "function (address) view external returns (bool)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1705 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2308:43:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5369676e6174757265206e6f742070726f7669646564206279206f776e6572" ,
2018-06-20 08:09:14 +00:00
"id" : 1706 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2353:33:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_09247dae670daab7cf1923d3334eea07c14df3c0a8f5233960935c63f47104a9" ,
"typeString" : "literal_string \"Signature not provided by owner\""
} ,
"value" : "Signature not provided by owner"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_09247dae670daab7cf1923d3334eea07c14df3c0a8f5233960935c63f47104a9" ,
"typeString" : "literal_string \"Signature not provided by owner\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1699 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "2300:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1707 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2300:87:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1708 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2300:87:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1712 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1710 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2409:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1711 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1662 ,
"src" : "2424:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2409:24:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "5369676e61747572657320617265206e6f74206f726465726564206279206f776e65722061646472657373" ,
2018-06-20 08:09:14 +00:00
"id" : 1713 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2435:45:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_597a123a1bc14bc9690387ae0fec99721cc18eefa85fa2531a7593a762444235" ,
"typeString" : "literal_string \"Signatures are not ordered by owner address\""
} ,
"value" : "Signatures are not ordered by owner address"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_597a123a1bc14bc9690387ae0fec99721cc18eefa85fa2531a7593a762444235" ,
"typeString" : "literal_string \"Signatures are not ordered by owner address\""
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1709 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-20 08:09:14 +00:00
1776 ,
1777
2018-05-31 13:01:02 +00:00
] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1777 ,
"src" : "2401:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1714 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "2401:80:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1715 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2401:80:11"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1718 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1716 ,
2018-05-31 13:01:02 +00:00
"name" : "lastOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1662 ,
"src" : "2495:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1717 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1668 ,
"src" : "2507:12:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2495:24:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1719 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2495:24:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1687 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1685 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2195:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "<" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1686 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1674 ,
"src" : "2199:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
2018-06-20 08:09:14 +00:00
"src" : "2195:13:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1721 ,
2018-05-31 13:01:02 +00:00
"initializationExpression" : {
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1683 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1681 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2188:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1682 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "2192:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-20 08:09:14 +00:00
"src" : "2188:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1684 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2188:5:11"
2018-05-31 13:01:02 +00:00
} ,
"loopExpression" : {
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1689 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-06-20 08:09:14 +00:00
"src" : "2210:3:11" ,
2018-05-31 13:01:02 +00:00
"subExpression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1688 ,
2018-05-31 13:01:02 +00:00
"name" : "i" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1671 ,
"src" : "2210:1:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1690 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2210:3:11"
2018-05-31 13:01:02 +00:00
} ,
"nodeType" : "ForStatement" ,
2018-06-20 08:09:14 +00:00
"src" : "2183:347:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1723 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "checkHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1659 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1656 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1849:23:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1655 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "1849:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1658 ,
"name" : "signatures" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1723 ,
"src" : "1874:16:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1657 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1874:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
2018-05-31 13:01:02 +00:00
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "1848:43:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1660 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-20 08:09:14 +00:00
"src" : "1926:0:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "1830:706:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-06-20 08:09:14 +00:00
"id" : 1756 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-20 08:09:14 +00:00
"src" : "3030:113:11" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-06-20 08:09:14 +00:00
"id" : 1742 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "3079:4:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
} ,
"value" : "0x19"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1741 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "3074:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1743 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3074:10:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-20 08:09:14 +00:00
"id" : 1745 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-20 08:09:14 +00:00
"src" : "3091:1:11" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1744 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-20 08:09:14 +00:00
"src" : "3086:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-20 08:09:14 +00:00
"id" : 1746 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3086:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1747 ,
2018-05-31 13:01:02 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1808 ,
"src" : "3095:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_StateChannelModule_$1758" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract StateChannelModule"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1748 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1725 ,
"src" : "3101:2:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1749 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1727 ,
"src" : "3105:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1750 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1729 ,
"src" : "3112:4:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1751 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1731 ,
"src" : "3118:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1752 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1733 ,
"src" : "3129:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_contract$_StateChannelModule_$1758" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract StateChannelModule"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1739 ,
2018-05-31 13:01:02 +00:00
"name" : "abi" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1760 ,
"src" : "3057:3:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_abi" ,
"typeString" : "abi"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1740 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"memberName" : "encodePacked" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-20 08:09:14 +00:00
"src" : "3057:16:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$" ,
"typeString" : "function () pure returns (bytes memory)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1753 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3057:78:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-06-20 08:09:14 +00:00
"id" : 1738 ,
2018-05-31 13:01:02 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 1767 ,
"src" : "3047:9:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-06-20 08:09:14 +00:00
"id" : 1754 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-20 08:09:14 +00:00
"src" : "3047:89:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-06-20 08:09:14 +00:00
"functionReturnParameters" : 1737 ,
"id" : 1755 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Return" ,
2018-06-20 08:09:14 +00:00
"src" : "3040:96:11"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Returns hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param operation Operation type.\n @param nonce Transaction nonce.\n @return Transaction hash." ,
2018-06-20 08:09:14 +00:00
"id" : 1757 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1734 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1725 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2851:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1724 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2851:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1727 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2872:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1726 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2872:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1729 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2896:10:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1728 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2896:5:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1731 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2917:24:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-20 08:09:14 +00:00
"id" : 1730 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-20 08:09:14 +00:00
"referencedDeclaration" : 5 ,
"src" : "2917:14:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1733 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "2952:13:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1732 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "2952:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "2841:130:11"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-20 08:09:14 +00:00
"id" : 1737 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-20 08:09:14 +00:00
"id" : 1736 ,
2018-05-31 13:01:02 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-06-20 08:09:14 +00:00
"scope" : 1757 ,
"src" : "3017:7:11" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-20 08:09:14 +00:00
"id" : 1735 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-20 08:09:14 +00:00
"src" : "3017:7:11" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "3016:9:11"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"scope" : 1758 ,
"src" : "2814:329:11" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-06-20 08:09:14 +00:00
"scope" : 1759 ,
"src" : "305:2840:11"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-20 08:09:14 +00:00
"src" : "0:3146:11"
2018-05-31 13:01:02 +00:00
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.24+commit.e67f0147.Emscripten.clang"
} ,
"networks" : {
2018-06-15 09:08:51 +00:00
"4" : {
"events" : { } ,
"links" : { } ,
2018-06-20 08:09:14 +00:00
"address" : "0x42fea1604cd7ef086c3b66cf894ef119577781dd" ,
"transactionHash" : "0x602c4524b17d13760b0a3a654b1b21106c58a9f7b43f892134e7324282896591"
} ,
"1529327661534" : {
"events" : { } ,
"links" : { } ,
"address" : "0xe0f79845711e5219da7a715f8cce36a3be1439ac" ,
"transactionHash" : "0x27b038572cc641a10411f264708adfddf405923c31ae1a9bfaa3323e68f0cd8e"
2018-06-15 09:08:51 +00:00
} ,
2018-06-20 08:09:14 +00:00
"1529333415702" : {
2018-05-31 13:01:02 +00:00
"events" : { } ,
"links" : { } ,
2018-06-20 08:09:14 +00:00
"address" : "0x437ca411c1aa04e6012dbe1ac8cd0ccc87c1e6d9" ,
"transactionHash" : "0xe7066b0fd7695e7e5956681c536759a36839b507de3a4fde6509dab7c6d9b152"
2018-06-22 08:44:49 +00:00
} ,
"1529652204341" : {
"events" : { } ,
"links" : { } ,
"address" : "0xcda1de5ecadaf89d663ed589a615e0ba8d697d3d" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
2018-06-26 11:48:05 +00:00
} ,
"1529931780812" : {
"events" : { } ,
"links" : { } ,
"address" : "0x8493a03e3697836378bc2653cb40aed783dfc56b" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529933005377" : {
"events" : { } ,
"links" : { } ,
"address" : "0xf06081b8c3b91b18193447c1060927c4dfd2d771" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529934931891" : {
"events" : { } ,
"links" : { } ,
"address" : "0xacf52b8228609eed6b901bfda7f30483334264c6" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529935355957" : {
"events" : { } ,
"links" : { } ,
"address" : "0x667ddbf8d216e9efbf979a4b9f10067fbcf70ede" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529936204222" : {
"events" : { } ,
"links" : { } ,
"address" : "0x0ac402d3bb30d62e8ceca58ecf774d404aad8e68" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529937280871" : {
"events" : { } ,
"links" : { } ,
"address" : "0xfecaf2a802adc4a0812964c9396c7cf2daf9d221" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529937637076" : {
"events" : { } ,
"links" : { } ,
"address" : "0xa2411a84e467e0d76959de0222086ebe414c28a0" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1529937890676" : {
"events" : { } ,
"links" : { } ,
"address" : "0xf37ed34328e8b4792a6ff33bfd754aef3008e736" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
} ,
"1530013596495" : {
"events" : { } ,
"links" : { } ,
"address" : "0x50a827d16516835a9b89fdfb4764a962b8814ecf" ,
"transactionHash" : "0xcc681aa2ad918c4a255559fa45f9c64405ce4064db091ce1d7749bf3e6f05899"
2018-05-31 13:01:02 +00:00
}
} ,
"schemaVersion" : "2.0.0" ,
2018-06-26 11:48:05 +00:00
"updatedAt" : "2018-06-26T11:47:04.122Z"
2018-05-31 13:01:02 +00:00
}