2018-05-10 13:12:13 +02:00
{
"contractName" : "GnosisSafeTeamEdition" ,
"abi" : [
{
"constant" : true ,
"inputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "owner" ,
"type" : "address"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "isOwner" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
"name" : "" ,
2018-05-16 15:46:33 +02:00
"type" : "bool"
2018-05-10 13:12:13 +02:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "to" ,
2018-05-10 13:12:13 +02:00
"type" : "address"
} ,
{
2018-05-16 15:46:33 +02:00
"name" : "value" ,
"type" : "uint256"
} ,
2018-05-10 13:12:13 +02:00
{
2018-05-16 15:46:33 +02:00
"name" : "data" ,
"type" : "bytes"
} ,
2018-05-10 13:12:13 +02:00
{
2018-05-16 15:46:33 +02:00
"name" : "operation" ,
2018-05-10 13:12:13 +02:00
"type" : "uint8"
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "execTransactionFromModule" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "success" ,
2018-05-10 13:12:13 +02:00
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "module" ,
"type" : "address"
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "enableModule" ,
2018-05-10 13:12:13 +02:00
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "_masterCopy" ,
"type" : "address"
}
] ,
"name" : "changeMasterCopy" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"inputs" : [ ] ,
"name" : "SENTINEL_MODULES" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "prevOwner" ,
"type" : "address"
2018-05-10 13:12:13 +02:00
} ,
{
"name" : "owner" ,
"type" : "address"
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
}
] ,
"name" : "removeOwner" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2018-05-16 15:46:33 +02:00
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "SENTINEL_OWNERS" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-05-10 13:12:13 +02:00
{
"constant" : false ,
"inputs" : [
{
"name" : "_owners" ,
"type" : "address[]"
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
} ,
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "data" ,
"type" : "bytes"
}
] ,
"name" : "setup" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"inputs" : [
{
"name" : "" ,
"type" : "bytes32"
} ,
{
"name" : "" ,
"type" : "address"
}
] ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
"name" : "" ,
2018-05-16 15:46:33 +02:00
"type" : "bool"
2018-05-10 13:12:13 +02:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
2018-05-16 15:46:33 +02:00
"name" : "getOwners" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
"name" : "" ,
2018-05-16 15:46:33 +02:00
"type" : "address[]"
2018-05-10 13:12:13 +02:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
2018-05-16 15:46:33 +02:00
"constant" : true ,
"inputs" : [ ] ,
"name" : "NAME" ,
2018-05-10 13:12:13 +02:00
"outputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "" ,
"type" : "string"
2018-05-10 13:12:13 +02:00
}
] ,
"payable" : false ,
2018-05-16 15:46:33 +02:00
"stateMutability" : "view" ,
2018-05-10 13:12:13 +02:00
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "getModules" ,
"outputs" : [
{
"name" : "" ,
"type" : "address[]"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
2018-05-16 15:46:33 +02:00
"constant" : false ,
2018-05-10 13:12:13 +02:00
"inputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "_threshold" ,
"type" : "uint8"
}
] ,
"name" : "changeThreshold" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
2018-05-10 13:12:13 +02:00
{
2018-05-16 15:46:33 +02:00
"name" : "owner" ,
2018-05-10 13:12:13 +02:00
"type" : "address"
2018-05-16 15:46:33 +02:00
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "addOwnerWithThreshold" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
2018-05-10 13:12:13 +02:00
{
2018-05-16 15:46:33 +02:00
"name" : "prevModule" ,
"type" : "address"
} ,
{
"name" : "module" ,
"type" : "address"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "disableModule" ,
"outputs" : [ ] ,
2018-05-10 13:12:13 +02:00
"payable" : false ,
2018-05-16 15:46:33 +02:00
"stateMutability" : "nonpayable" ,
2018-05-10 13:12:13 +02:00
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
2018-05-16 15:46:33 +02:00
"name" : "prevOwner" ,
"type" : "address"
} ,
{
"name" : "oldOwner" ,
"type" : "address"
} ,
{
"name" : "newOwner" ,
"type" : "address"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "swapOwner" ,
2018-05-10 13:12:13 +02:00
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"name" : "isExecuted" ,
"outputs" : [
{
"name" : "" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-05-16 15:46:33 +02:00
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "getThreshold" ,
"outputs" : [
{
"name" : "" ,
"type" : "uint8"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-05-10 13:12:13 +02:00
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "VERSION" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"payable" : true ,
"stateMutability" : "payable" ,
"type" : "fallback"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : false ,
"name" : "newContract" ,
"type" : "address"
}
] ,
"name" : "ContractCreation" ,
"type" : "event"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "operation" ,
"type" : "uint8"
} ,
{
"name" : "nonce" ,
"type" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"name" : "approveTransactionWithParameters" ,
2018-05-10 13:12:13 +02:00
"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-05-16 15:46:33 +02:00
"name" : "execTransactionIfApproved" ,
2018-05-10 13:12:13 +02:00
"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-05-16 15:46:33 +02:00
"bytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50612 c 1 b 806100206000396000 f 300608060405260043610610128576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 168063153414 f a 1461012 a 57806324 c d 131 f 146101 d 45780632 b 5000411461027e5780632 f 54 b f 6e14610344578063468721 a 71461039 f 578063610 b 5925146104575780637 d e 7 e d e f 1461049 a 57806385e332 c d 146104 d d 57806386040 a a 9146105345780638 c f f 6355146105 a 4578063 a 0 4222e1146105 f b 578063 a 0 9e89 f 5146106 d 4578063 a 0e67 e 2 b 1461073 d 578063 a 3 f 4 d f 7e146107 a 9578063 b 2494 d f 314610839578063 b 7 f 3358 d 146108 a 5578063 b 91 a 667 f 146108 d 5578063e009 c f d e 14610925578063e318 b 52 b 14610988578063e52 c b 36 a 14610 a 0 b 578063e75235 b 814610 a 54578063 f f a 1 a d 7414610 a 85575 b 0 0 5 b 34801561013657600080 f d 5 b 506101 d 2600480360381019080803573 f f f f f f f f f f f f f f f f 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 16906020019092919080359060200190929190505050610 b 15565 b 0 0 5 b 3480156101e057600080 f d 5 b 5061027 c 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 16906020019092919080359060200190929190505050610 c c a 565 b 0 0 5 b 34801561028 a 57600080 f d 5 b 50610326600480360381019080803573 f f f f f f f f f f f f f f f f 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 16906020019092919080359060200190929190505050610 d 6 d 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561035057600080 f d 5 b 50610385600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610 f 89565 b 604051808215151515815260200191505060405180910390 f 35 b 3480156103 a b 57600080 f d 5 b 5061043 d 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 16906020019092919050505061100 b 565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561046357600080 f d 5 b 50610498600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1690602001909291905050506110 a 8565 b 0 0 5 b 3480156104 a 657600080 f d 5 b 506104 d b 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 169060200190929190505050611325565 b 0 0 5 b 3480156104e957600080 f d 5 b 506104 f 26113 c 8565 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 34801561054057600080 f d 5 b 506105 a 2600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803560 f f 1690602001909291905050506113 c d 565 b 0 0 5 b 3480156105 b 0 57600080 f d 5 b 506105 b 9611653565 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 34801561060757600080 f d 5 b 506106 d 260048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803560 f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611658565 b 0 0 5 b 3480156106e057600080 f d 5 b 506107236004803603810190808035600019169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611672565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561074957600080 f d 5 b 506107526116 a 1565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561079557808201518184015260208101905061077 a 565 b 505050509050019250505060405180910390 f 35 b 3480156107 b 557600080 f d 5 b 506107 b e 61183 c 565 b 604051808060200182810382528381815181526020019150
"deployedBytecode" : " 0 x 608060405260043610610128576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 168063153414 f a 1461012 a 57806324 c d 131 f 146101 d 45780632 b 5000411461027e5780632 f 54 b f 6e14610344578063468721 a 71461039 f 578063610 b 5925146104575780637 d e 7 e d e f 1461049 a 57806385e332 c d 146104 d d 57806386040 a a 9146105345780638 c f f 6355146105 a 4578063 a 0 4222e1146105 f b 578063 a 0 9e89 f 5146106 d 4578063 a 0e67 e 2 b 1461073 d 578063 a 3 f 4 d f 7e146107 a 9578063 b 2494 d f 314610839578063 b 7 f 3358 d 146108 a 5578063 b 91 a 667 f 146108 d 5578063e009 c f d e 14610925578063e318 b 52 b 14610988578063e52 c b 36 a 14610 a 0 b 578063e75235 b 814610 a 54578063 f f a 1 a d 7414610 a 85575 b 0 0 5 b 34801561013657600080 f d 5 b 506101 d 2600480360381019080803573 f f f f f f f f f f f f f f f f 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 16906020019092919080359060200190929190505050610 b 15565 b 0 0 5 b 3480156101e057600080 f d 5 b 5061027 c 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 16906020019092919080359060200190929190505050610 c c a 565 b 0 0 5 b 34801561028 a 57600080 f d 5 b 50610326600480360381019080803573 f f f f f f f f f f f f f f f f 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 16906020019092919080359060200190929190505050610 d 6 d 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561035057600080 f d 5 b 50610385600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610 f 89565 b 604051808215151515815260200191505060405180910390 f 35 b 3480156103 a b 57600080 f d 5 b 5061043 d 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 16906020019092919050505061100 b 565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561046357600080 f d 5 b 50610498600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1690602001909291905050506110 a 8565 b 0 0 5 b 3480156104 a 657600080 f d 5 b 506104 d b 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 169060200190929190505050611325565 b 0 0 5 b 3480156104e957600080 f d 5 b 506104 f 26113 c 8565 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 34801561054057600080 f d 5 b 506105 a 2600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803560 f f 1690602001909291905050506113 c d 565 b 0 0 5 b 3480156105 b 0 57600080 f d 5 b 506105 b 9611653565 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 34801561060757600080 f d 5 b 506106 d 260048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803560 f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611658565 b 0 0 5 b 3480156106e057600080 f d 5 b 506107236004803603810190808035600019169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611672565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561074957600080 f d 5 b 506107526116 a 1565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561079557808201518184015260208101905061077 a 565 b 505050509050019250505060405180910390 f 35 b 3480156107 b 557600080 f d 5 b 506107 b e 61183 c 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156107 f e 5780820151818401
"sourceMap" : "272:3870:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;272:3870:3;;;;;;;" ,
"deployedSourceMap" : " 272 : 3870 : 3 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1175 : 695 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1175 : 695 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2312 : 542 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2312 : 542 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3829 : 311 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 3829 : 311 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4841 : 129 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4841 : 129 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2522 : 377 : 6 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2522 : 377 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1235 : 391 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1235 : 391 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 208 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 626 : 208 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 499 : 55 : 6 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 499 : 55 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2776 : 573 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2776 : 573 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 287 : 54 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 287 : 54 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 693 : 301 : 1 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 693 : 301 : 1 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 682 : 63 : 3 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 682 : 63 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 5052 : 458 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 5052 : 458 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 5052 : 458 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 336 : 56 : 3 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 336 : 56 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 336 : 56 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4423 : 738 : 6 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4423 : 738 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 4423 : 738 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4398 : 318 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4398 : 318 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1906 : 528 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1906 : 528 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1887 : 299 : 6 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1887 : 299 : 6 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3683 : 526 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 3683 : 526 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 536 : 43 : 3 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 536 : 43 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4722 : 113 : 7 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4722 : 113 : 7 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 398 : 40 : 3 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 398 : 40 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 398 : 40 : 3 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1175 : 695 ; 1560 : 23 ; 1476 : 1 ; 1454 : 6 ; : 18 ; 1461 : 10 ; 1454 : 18 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 23 ; ; ; ; 1446 : 32 ; ; ; ; ; ; ; ; 1586 : 53 ; 1605 : 2 ; 1609 : 5 ; 1616 : 4 ; 1622 : 9 ; 1633 : 5 ; 1586 : 18 ; : 53 : : i ; : : : - ; 1560 : 79 ; ; 1658 : 10 ; : 27 ; 1669 : 15 ; 1658 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1657 : 28 ; 1649 : 37 ; ; ; ; ; ; ; ; 1767 : 10 ; : 27 ; 1778 : 15 ; 1767 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 39 ; 1795 : 10 ; 1767 : 39 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1766 : 40 ; 1758 : 49 ; ; ; ; ; ; ; ; 1859 : 4 ; 1817 : 10 ; : 27 ; 1828 : 15 ; 1817 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 39 ; 1845 : 10 ; 1817 : 39 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 46 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1175 : 695 ; ; ; ; ; ; : : : o ; 2312 : 542 : : - ; 2506 : 23 ; 2532 : 53 ; 2551 : 2 ; 2555 : 5 ; 2562 : 4 ; 2568 : 9 ; 2579 : 5 ; 2532 : 18 ; : 53 : : i ; : : : - ; 2506 : 79 ; ; 2604 : 10 ; : 27 ; 2615 : 15 ; 2604 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2603 : 28 ; 2595 : 37 ; ; ; ; ; ; ; ; 2642 : 43 ; 2669 : 15 ; 2642 : 26 ; : 43 : : i ; : : : - ; 2778 : 4 ; 2748 : 10 ; : 27 ; 2759 : 15 ; 2748 : 27 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 34 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2800 : 46 ; 2808 : 2 ; 2812 : 5 ; 2819 : 4 ; 2825 : 9 ; 2836 ; 2800 : 7 ; : 46 : : i ; : : : - ; 2792 : 55 ; ; ; ; ; ; ; ; 2312 : 542 ; ;
"source" : "pragma solidity 0.4.23;\nimport \"./GnosisSafe.sol\";\nimport \"./MasterCopy.sol\";\n\n\n/// @title Gnosis Safe Team Edition - A multisignature wallet with support for confirmations.\n/// @author Stefan George - <stefan@gnosis.pm>\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract GnosisSafeTeamEdition is MasterCopy, GnosisSafe {\n\n string public constant NAME = \"Gnosis Safe Team Edition\";\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 => bool) public isExecuted;\n\n // isApproved mapping allows to check if a transaction (by hash) was confirmed by an owner.\n mapping (bytes32 => mapping(address => bool)) public isApproved;\n\n /// @dev Allows to confirm a Safe transaction with a regular transaction.\n /// This can only be done from an owner address.\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 function approveTransactionWithParameters(\n address to, \n uint256 value, \n bytes data, \n Enum.Operation operation, \n uint256 nonce\n )\n public\n {\n // Only Safe owners are allowed to confirm Safe transactions.\n require(owners[msg.sender] != 0);\n // It should not be possible to confirm an executed transaction\n bytes32 transactionHash = getTransactionHash(to, value, data, operation, nonce);\n require(!isExecuted[transactionHash]);\n // It is only possible to confirm a transaction once.\n require(!isApproved[transactionHash][msg.sender]);\n isApproved[transactionHash][msg.sender] = true;\n }\n\n /// @dev Allows to execute a Safe transaction confirmed by required number of owners. If the sender is an owner this is automatically confirmed.\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 function execTransactionIfApproved(\n address to, \n uint256 value, \n bytes data, \n Enum.Operation operation, \n uint256 nonce\n )\n public\n {\n bytes32 transactionHash = getTransactionHash(to, value, data, operation, nonce);\n require(!isExecuted[transactionHash]);\n checkAndClearConfirmations(transactionHash);\n // Mark as executed and execute transaction.\n isExecuted[transactionHash] = true;\n require(execute(to, value, data, operation, gasleft()));\n }\n\n function checkAndClearConfirmations(bytes32 transactionHash)\n internal\n {\n uint256 confirmations = 0;\n // Validate threshold is reached.\n address currentOwner = owners[SENTINEL_OWNERS];\n while (currentOwner != SENTINEL_OWNERS) {\n bool ownerConfirmed = isApproved[transactionHash][currentOwner];\n if(currentOwner == msg.sender || ownerConfirmed) {\n if (ownerConfirmed) {\n isApproved[transactionHash][currentOwner] = false;\n }\n confirmations ++;\n }\n currentOwner = owners[currentOwner];\n }\n require(confirmations >= threshold);\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
2018-05-10 13:12:13 +02:00
"sourcePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafeTeamEdition.sol" ,
"ast" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafeTeamEdition.sol" ,
"exportedSymbols" : {
"GnosisSafeTeamEdition" : [
2018-05-16 15:46:33 +02:00
554
2018-05-10 13:12:13 +02:00
]
} ,
2018-05-16 15:46:33 +02:00
"id" : 555 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 15:46:33 +02:00
"id" : 326 ,
2018-05-10 13:12:13 +02:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 15:46:33 +02:00
"src" : "0:23:3"
2018-05-10 13:12:13 +02:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"file" : "./GnosisSafe.sol" ,
2018-05-16 15:46:33 +02:00
"id" : 327 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ImportDirective" ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"sourceUnit" : 40 ,
"src" : "24:26:3" ,
2018-05-10 13:12:13 +02:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-05-16 15:46:33 +02:00
"id" : 328 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ImportDirective" ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"sourceUnit" : 581 ,
"src" : "51:26:3" ,
2018-05-10 13:12:13 +02:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 329 ,
2018-05-10 13:12:13 +02:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 580 ,
"src" : "306:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_MasterCopy_$580" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract MasterCopy"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 330 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 15:46:33 +02:00
"src" : "306:10:3"
2018-05-10 13:12:13 +02:00
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 331 ,
2018-05-10 13:12:13 +02:00
"name" : "GnosisSafe" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 39 ,
"src" : "318:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafe_$39" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafe"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 332 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 15:46:33 +02:00
"src" : "318:10:3"
2018-05-10 13:12:13 +02:00
}
] ,
"contractDependencies" : [
2018-05-16 15:46:33 +02:00
39 ,
580 ,
971 ,
1343 ,
1359
2018-05-10 13:12:13 +02:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe Team Edition - A multisignature wallet with support for confirmations.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-05-16 15:46:33 +02:00
"id" : 554 ,
2018-05-10 13:12:13 +02:00
"linearizedBaseContracts" : [
2018-05-16 15:46:33 +02:00
554 ,
39 ,
1343 ,
971 ,
580 ,
1359
2018-05-10 13:12:13 +02:00
] ,
"name" : "GnosisSafeTeamEdition" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"id" : 335 ,
2018-05-10 13:12:13 +02:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "336:56:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 333 ,
2018-05-10 13:12:13 +02:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "336:6:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "476e6f7369732053616665205465616d2045646974696f6e" ,
2018-05-16 15:46:33 +02:00
"id" : 334 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "366:26:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_69b1cb372bb47730ba653a0e87363aa6de8337d13ed5852e6fe3ba4e2004a81e" ,
"typeString" : "literal_string \"Gnosis Safe Team Edition\""
} ,
"value" : "Gnosis Safe Team Edition"
} ,
"visibility" : "public"
} ,
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"id" : 338 ,
2018-05-10 13:12:13 +02:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "398:40:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 336 ,
2018-05-10 13:12:13 +02:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "398:6:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-05-16 15:46:33 +02:00
"id" : 337 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "431:7:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 342 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "536:43:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 341 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 339 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "545:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "536:25:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 340 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "556:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 348 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "682:63:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 347 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 343 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "691:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "682:45:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 346 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 344 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "710:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "702:24:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 345 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "721:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 406 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "1366:504:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"id" : 367 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
2018-05-10 13:12:13 +02:00
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"baseExpression" : {
2018-05-10 13:12:13 +02:00
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 362 ,
"name" : "owners" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 985 ,
"src" : "1454:6:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 365 ,
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
"id" : 363 ,
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 2396 ,
"src" : "1461:3:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
"id" : 364 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
"src" : "1461:10:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
"isConstant" : false ,
2018-05-16 15:46:33 +02:00
"isLValue" : true ,
2018-05-10 13:12:13 +02:00
"isPure" : false ,
"lValueRequested" : false ,
2018-05-16 15:46:33 +02:00
"nodeType" : "IndexAccess" ,
"src" : "1454:18:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 15:46:33 +02:00
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
"id" : 366 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
"src" : "1476:1:3" ,
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"src" : "1454:23:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 361 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "1446:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 368 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1446:32:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 369 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1446:32:3"
2018-05-10 13:12:13 +02:00
} ,
{
"assignments" : [
2018-05-16 15:46:33 +02:00
371
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 371 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1560:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 370 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1560:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 379 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 373 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 350 ,
"src" : "1605:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 374 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 352 ,
"src" : "1609:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 375 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 354 ,
"src" : "1616:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 376 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 356 ,
"src" : "1622:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 377 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 358 ,
"src" : "1633:5:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 372 ,
2018-05-10 13:12:13 +02:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 553 ,
"src" : "1586:18:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02: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-10 13:12:13 +02:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 378 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1586:53:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1560:79:3"
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 384 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
"src" : "1657:28:3" ,
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 381 ,
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 342 ,
"src" : "1658:10:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
"id" : 383 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 382 ,
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 371 ,
"src" : "1669:15:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "1658:27:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
"id" : 380 ,
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2399 ,
2400
] ,
"referencedDeclaration" : 2399 ,
"src" : "1649:7:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
"id" : 385 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "1649:37:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
"id" : 386 ,
"nodeType" : "ExpressionStatement" ,
"src" : "1649:37:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 394 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
2018-05-16 15:46:33 +02:00
"src" : "1766:40:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 388 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "1767:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 390 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 389 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 371 ,
"src" : "1778:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1767:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 393 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 391 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "1795:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 392 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "1795:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1767:39:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 387 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "1758:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 395 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1758:49:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 396 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1758:49:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 404 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 397 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "1817:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 401 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 398 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 371 ,
"src" : "1828:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 402 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 399 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "1845:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 400 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "1845:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:39:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "74727565" ,
2018-05-16 15:46:33 +02:00
"id" : 403 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "1859:4:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "true"
} ,
2018-05-16 15:46:33 +02:00
"src" : "1817:46:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 405 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:46:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
2018-05-16 15:46:33 +02:00
"documentation" : "@dev Allows to confirm a Safe transaction with a regular transaction.\n This can only be done from an owner address.\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." ,
"id" : 407 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
2018-05-16 15:46:33 +02:00
"name" : "approveTransactionWithParameters" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 359 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 350 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1226:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 349 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1226:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 352 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1247:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 351 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1247:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 354 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1271:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 353 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1271:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 356 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1292:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 355 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "1292:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 358 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1327:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 357 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1327:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "1216:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 360 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "1366:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "1175:695:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 458 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "2496:358:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
421
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 421 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2506:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 420 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2506:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 429 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 423 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 409 ,
"src" : "2551:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 424 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 411 ,
"src" : "2555:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 425 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 413 ,
"src" : "2562:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 426 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 415 ,
"src" : "2568:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 427 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 417 ,
"src" : "2579:5:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 422 ,
2018-05-10 13:12:13 +02:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 553 ,
"src" : "2532:18:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02: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-10 13:12:13 +02:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 428 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2532:53:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2506:79:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 434 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
2018-05-16 15:46:33 +02:00
"src" : "2603:28:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 431 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 342 ,
"src" : "2604:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 433 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 432 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2615:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "2604:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 430 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "2595:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 435 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2595:37:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 436 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2595:37:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 438 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2669:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 437 ,
2018-05-10 13:12:13 +02:00
"name" : "checkAndClearConfirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 522 ,
"src" : "2642:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_bytes32_$returns$__$" ,
"typeString" : "function (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 439 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2642:43:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 440 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2642:43:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 445 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 441 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 342 ,
"src" : "2748:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 443 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 442 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2759:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "2748:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "74727565" ,
2018-05-16 15:46:33 +02:00
"id" : 444 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "2778:4:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "true"
} ,
2018-05-16 15:46:33 +02:00
"src" : "2748:34:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 446 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2748:34:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 449 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 409 ,
"src" : "2808:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 450 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 411 ,
"src" : "2812:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 451 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 413 ,
"src" : "2819:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 452 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 415 ,
"src" : "2825:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-05-16 15:46:33 +02:00
"id" : 453 ,
2018-05-10 13:12:13 +02:00
"name" : "gasleft" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2389 ,
"src" : "2836:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_gasleft_view$__$returns$_t_uint256_$" ,
"typeString" : "function () view returns (uint256)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 454 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2836:9:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 448 ,
2018-05-10 13:12:13 +02:00
"name" : "execute" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 860 ,
"src" : "2800:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$_t_uint256_$returns$_t_bool_$" ,
2018-05-10 13:12:13 +02:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) returns (bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 455 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2800:46:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 447 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "2792:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 456 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2792:55:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 457 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2792:55:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
2018-05-16 15:46:33 +02:00
"documentation" : "@dev Allows to execute a Safe transaction confirmed by required number of owners. If the sender is an owner this is automatically confirmed.\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." ,
"id" : 459 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
2018-05-16 15:46:33 +02:00
"name" : "execTransactionIfApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 418 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 409 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2356:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 408 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2356:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 411 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2377:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 410 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2377:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 413 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2401:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 412 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2401:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 415 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2422:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 414 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "2422:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 417 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2457:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 416 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2457:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "2346:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 419 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "2496:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "2312:542:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 521 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "2942:609:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
465
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 465 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "2952:21:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 464 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2952:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 467 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 15:46:33 +02:00
"id" : 466 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "2976:1:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2952:25:3"
} ,
{
"assignments" : [
469
] ,
"declarations" : [
{
"constant" : false ,
"id" : 469 ,
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 522 ,
"src" : "3029:20:3" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
"id" : 468 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "3029:7:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"id" : 473 ,
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 470 ,
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 985 ,
"src" : "3052:6:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 472 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 471 ,
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 981 ,
"src" : "3059:15:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "3052:23:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
"src" : "3029:46:3"
2018-05-10 13:12:13 +02:00
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 513 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3125:375:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
478
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 478 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "3139:19:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 477 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3139:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 484 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 479 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "3161:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 481 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 480 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 461 ,
"src" : "3172:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3161:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 483 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 482 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3189:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3161:41:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3139:63:3"
2018-05-10 13:12:13 +02:00
} ,
{
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
2018-05-16 15:46:33 +02:00
"id" : 490 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 15:46:33 +02:00
"id" : 488 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 485 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3219:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 486 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "3235:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 487 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "3235:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3219:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "||" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 489 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 478 ,
"src" : "3249:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3219:44:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-05-16 15:46:33 +02:00
"id" : 506 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "IfStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3216:225:3" ,
2018-05-10 13:12:13 +02:00
"trueBody" : {
2018-05-16 15:46:33 +02:00
"id" : 505 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3265:176:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"condition" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 491 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 478 ,
"src" : "3287:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-05-16 15:46:33 +02:00
"id" : 501 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "IfStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3283:110:3" ,
2018-05-10 13:12:13 +02:00
"trueBody" : {
2018-05-16 15:46:33 +02:00
"id" : 500 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3303:90:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 498 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 492 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "3325:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 495 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 493 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 461 ,
"src" : "3336:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 496 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 494 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3353:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:41:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "66616c7365" ,
2018-05-16 15:46:33 +02:00
"id" : 497 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "3369:5:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "false"
} ,
2018-05-16 15:46:33 +02:00
"src" : "3325:49:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 499 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:49:3"
2018-05-10 13:12:13 +02:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 503 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-05-16 15:46:33 +02:00
"src" : "3410:16:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 502 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 465 ,
"src" : "3410:13:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 504 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3410:16:3"
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
"id" : 511 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"id" : 507 ,
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 469 ,
"src" : "3454:12:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
2018-05-16 15:46:33 +02:00
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 508 ,
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 985 ,
"src" : "3469:6:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 510 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 509 ,
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 469 ,
"src" : "3476:12:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "3469:20:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"src" : "3454:35:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"id" : 512 ,
"nodeType" : "ExpressionStatement" ,
"src" : "3454:35:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"id" : 476 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 474 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3092:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
"nodeType" : "BinaryOperation" ,
2018-05-16 15:46:33 +02:00
"operator" : "!=" ,
2018-05-10 13:12:13 +02:00
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 475 ,
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 981 ,
"src" : "3108:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3092:31:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 514 ,
"nodeType" : "WhileStatement" ,
"src" : "3085:415:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-05-16 15:46:33 +02:00
"id" : 518 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 516 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 465 ,
"src" : "3517:13:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 517 ,
2018-05-10 13:12:13 +02:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
2018-05-16 15:46:33 +02:00
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 989 ,
"src" : "3534:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3517:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 515 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "3509:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 519 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "3509:35:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 520 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3509:35:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
"documentation" : null ,
2018-05-16 15:46:33 +02:00
"id" : 522 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "checkAndClearConfirmations" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 462 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 461 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "2896:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 460 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2896:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "2895:25:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 463 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "2942:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "2860:691:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 552 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "4045:95:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-05-16 15:46:33 +02:00
"id" : 539 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "4077:4:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 538 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 15:46:33 +02:00
"src" : "4072:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 15:46:33 +02:00
"id" : 540 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4072:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 15:46:33 +02:00
"id" : 542 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "4089:1:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 541 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 15:46:33 +02:00
"src" : "4084:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 15:46:33 +02:00
"id" : 543 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4084:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 544 ,
2018-05-10 13:12:13 +02:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2425 ,
"src" : "4093:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$554" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafeTeamEdition"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 545 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 524 ,
"src" : "4099:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 546 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 526 ,
"src" : "4103:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 547 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 528 ,
"src" : "4110:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 548 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 530 ,
"src" : "4116:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 549 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 532 ,
"src" : "4127:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$554" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafeTeamEdition"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 537 ,
2018-05-10 13:12:13 +02:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2390 ,
"src" : "4062:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 550 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4062:71:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-05-16 15:46:33 +02:00
"functionReturnParameters" : 536 ,
"id" : 551 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Return" ,
2018-05-16 15:46:33 +02:00
"src" : "4055:78:3"
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 553 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 533 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 524 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3866:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 523 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3866:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 526 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3887:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 525 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3887:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 528 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3911:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 527 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3911:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 530 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3932:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 529 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "3932:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 532 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3967:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 531 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3967:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "3856:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 536 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 535 ,
2018-05-10 13:12:13 +02:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "4032:7:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 534 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "4032:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "4031:9:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "3829:311:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"src" : "272:3870:3"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "0:4143:3"
2018-05-10 13:12:13 +02:00
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafeTeamEdition.sol" ,
"exportedSymbols" : {
"GnosisSafeTeamEdition" : [
2018-05-16 15:46:33 +02:00
554
2018-05-10 13:12:13 +02:00
]
} ,
2018-05-16 15:46:33 +02:00
"id" : 555 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 15:46:33 +02:00
"id" : 326 ,
2018-05-10 13:12:13 +02:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 15:46:33 +02:00
"src" : "0:23:3"
2018-05-10 13:12:13 +02:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"file" : "./GnosisSafe.sol" ,
2018-05-16 15:46:33 +02:00
"id" : 327 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ImportDirective" ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"sourceUnit" : 40 ,
"src" : "24:26:3" ,
2018-05-10 13:12:13 +02:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-05-16 15:46:33 +02:00
"id" : 328 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ImportDirective" ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"sourceUnit" : 581 ,
"src" : "51:26:3" ,
2018-05-10 13:12:13 +02:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 329 ,
2018-05-10 13:12:13 +02:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 580 ,
"src" : "306:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_MasterCopy_$580" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract MasterCopy"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 330 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 15:46:33 +02:00
"src" : "306:10:3"
2018-05-10 13:12:13 +02:00
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 331 ,
2018-05-10 13:12:13 +02:00
"name" : "GnosisSafe" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 39 ,
"src" : "318:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafe_$39" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafe"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 332 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 15:46:33 +02:00
"src" : "318:10:3"
2018-05-10 13:12:13 +02:00
}
] ,
"contractDependencies" : [
2018-05-16 15:46:33 +02:00
39 ,
580 ,
971 ,
1343 ,
1359
2018-05-10 13:12:13 +02:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe Team Edition - A multisignature wallet with support for confirmations.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-05-16 15:46:33 +02:00
"id" : 554 ,
2018-05-10 13:12:13 +02:00
"linearizedBaseContracts" : [
2018-05-16 15:46:33 +02:00
554 ,
39 ,
1343 ,
971 ,
580 ,
1359
2018-05-10 13:12:13 +02:00
] ,
"name" : "GnosisSafeTeamEdition" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"id" : 335 ,
2018-05-10 13:12:13 +02:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "336:56:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 333 ,
2018-05-10 13:12:13 +02:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "336:6:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "476e6f7369732053616665205465616d2045646974696f6e" ,
2018-05-16 15:46:33 +02:00
"id" : 334 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "366:26:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_69b1cb372bb47730ba653a0e87363aa6de8337d13ed5852e6fe3ba4e2004a81e" ,
"typeString" : "literal_string \"Gnosis Safe Team Edition\""
} ,
"value" : "Gnosis Safe Team Edition"
} ,
"visibility" : "public"
} ,
{
"constant" : true ,
2018-05-16 15:46:33 +02:00
"id" : 338 ,
2018-05-10 13:12:13 +02:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "398:40:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 336 ,
2018-05-10 13:12:13 +02:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "398:6:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-05-16 15:46:33 +02:00
"id" : 337 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "431:7:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 342 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "536:43:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 341 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 339 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "545:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "536:25:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 340 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "556:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 348 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "682:63:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 347 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 343 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "691:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "682:45:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 346 ,
2018-05-10 13:12:13 +02:00
"keyType" : {
2018-05-16 15:46:33 +02:00
"id" : 344 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "710:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-05-16 15:46:33 +02:00
"src" : "702:24:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
} ,
"valueType" : {
2018-05-16 15:46:33 +02:00
"id" : 345 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "721:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 406 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "1366:504:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"id" : 367 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
2018-05-10 13:12:13 +02:00
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"baseExpression" : {
2018-05-10 13:12:13 +02:00
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 362 ,
"name" : "owners" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 985 ,
"src" : "1454:6:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 365 ,
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
"id" : 363 ,
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 2396 ,
"src" : "1461:3:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
"id" : 364 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
"src" : "1461:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
"isConstant" : false ,
2018-05-16 15:46:33 +02:00
"isLValue" : true ,
2018-05-10 13:12:13 +02:00
"isPure" : false ,
"lValueRequested" : false ,
2018-05-16 15:46:33 +02:00
"nodeType" : "IndexAccess" ,
"src" : "1454:18:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 15:46:33 +02:00
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
"id" : 366 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
"src" : "1476:1:3" ,
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"src" : "1454:23:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 361 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "1446:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 368 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1446:32:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 369 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1446:32:3"
2018-05-10 13:12:13 +02:00
} ,
{
"assignments" : [
2018-05-16 15:46:33 +02:00
371
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 371 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1560:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 370 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1560:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 379 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 373 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 350 ,
"src" : "1605:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 374 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 352 ,
"src" : "1609:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 375 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 354 ,
"src" : "1616:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 376 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 356 ,
"src" : "1622:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 377 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 358 ,
"src" : "1633:5:3" ,
"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"
} ,
{
"typeIdentifier" : "t_enum$_Operation_$5" ,
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
"id" : 372 ,
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 553 ,
"src" : "1586:18:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$_t_uint256_$returns$_t_bytes32_$" ,
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
"id" : 378 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "1586:53:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
"src" : "1560:79:3"
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 384 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
"src" : "1657:28:3" ,
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 381 ,
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 342 ,
"src" : "1658:10:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
"id" : 383 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 382 ,
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 371 ,
"src" : "1669:15:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "1658:27:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
2018-05-10 13:12:13 +02:00
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 380 ,
"name" : "require" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
2018-05-16 15:46:33 +02:00
"overloadedDeclarations" : [
2399 ,
2400
] ,
"referencedDeclaration" : 2399 ,
"src" : "1649:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
2018-05-10 13:12:13 +02:00
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 385 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1649:37:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
2018-05-10 13:12:13 +02:00
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 386 ,
"nodeType" : "ExpressionStatement" ,
"src" : "1649:37:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 394 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
2018-05-16 15:46:33 +02:00
"src" : "1766:40:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 388 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "1767:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 390 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 389 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 371 ,
"src" : "1778:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1767:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 393 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 391 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "1795:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 392 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "1795:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1767:39:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 387 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "1758:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 395 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "1758:49:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 396 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1758:49:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 404 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 397 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "1817:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 401 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 398 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 371 ,
"src" : "1828:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 402 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 399 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "1845:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 400 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "1845:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:39:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "74727565" ,
2018-05-16 15:46:33 +02:00
"id" : 403 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "1859:4:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "true"
} ,
2018-05-16 15:46:33 +02:00
"src" : "1817:46:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 405 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "1817:46:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
2018-05-16 15:46:33 +02:00
"documentation" : "@dev Allows to confirm a Safe transaction with a regular transaction.\n This can only be done from an owner address.\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." ,
"id" : 407 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
2018-05-16 15:46:33 +02:00
"name" : "approveTransactionWithParameters" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 359 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 350 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1226:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 349 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1226:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 352 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1247:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 351 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1247:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 354 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1271:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 353 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1271:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 356 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1292:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 355 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "1292:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 358 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 407 ,
"src" : "1327:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 357 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "1327:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "1216:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 360 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "1366:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "1175:695:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 458 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "2496:358:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
421
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 421 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2506:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 420 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2506:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 429 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 423 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 409 ,
"src" : "2551:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 424 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 411 ,
"src" : "2555:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 425 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 413 ,
"src" : "2562:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 426 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 415 ,
"src" : "2568:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 427 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 417 ,
"src" : "2579:5:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 422 ,
2018-05-10 13:12:13 +02:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 553 ,
"src" : "2532:18:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02: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-10 13:12:13 +02:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 428 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2532:53:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2506:79:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 434 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "!" ,
"prefix" : true ,
2018-05-16 15:46:33 +02:00
"src" : "2603:28:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 431 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 342 ,
"src" : "2604:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 433 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 432 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2615:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "2604:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 430 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "2595:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 435 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2595:37:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 436 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2595:37:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 438 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2669:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 437 ,
2018-05-10 13:12:13 +02:00
"name" : "checkAndClearConfirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 522 ,
"src" : "2642:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_bytes32_$returns$__$" ,
"typeString" : "function (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 439 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2642:43:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 440 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2642:43:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 445 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 441 ,
2018-05-10 13:12:13 +02:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 342 ,
"src" : "2748:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_bool_$" ,
"typeString" : "mapping(bytes32 => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 443 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 442 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 421 ,
"src" : "2759:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "2748:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "74727565" ,
2018-05-16 15:46:33 +02:00
"id" : 444 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "2778:4:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "true"
} ,
2018-05-16 15:46:33 +02:00
"src" : "2748:34:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 446 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2748:34:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 449 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 409 ,
"src" : "2808:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 450 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 411 ,
"src" : "2812:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 451 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 413 ,
"src" : "2819:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 452 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 415 ,
"src" : "2825:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-05-16 15:46:33 +02:00
"id" : 453 ,
2018-05-10 13:12:13 +02:00
"name" : "gasleft" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2389 ,
"src" : "2836:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_gasleft_view$__$returns$_t_uint256_$" ,
"typeString" : "function () view returns (uint256)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 454 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2836:9:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 448 ,
2018-05-10 13:12:13 +02:00
"name" : "execute" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 860 ,
"src" : "2800:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$5_$_t_uint256_$returns$_t_bool_$" ,
2018-05-10 13:12:13 +02:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) returns (bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 455 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2800:46:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 447 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "2792:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 456 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "2792:55:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 457 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2792:55:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
2018-05-16 15:46:33 +02:00
"documentation" : "@dev Allows to execute a Safe transaction confirmed by required number of owners. If the sender is an owner this is automatically confirmed.\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." ,
"id" : 459 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
2018-05-16 15:46:33 +02:00
"name" : "execTransactionIfApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 418 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 409 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2356:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 408 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2356:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 411 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2377:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 410 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2377:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 413 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2401:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 412 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2401:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 415 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2422:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 414 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "2422:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 417 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 459 ,
"src" : "2457:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 416 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2457:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "2346:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 419 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "2496:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "2312:542:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 521 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "2942:609:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
465
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 465 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "2952:21:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 464 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2952:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 467 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 15:46:33 +02:00
"id" : 466 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "2976:1:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "2952:25:3"
} ,
{
"assignments" : [
469
] ,
"declarations" : [
{
"constant" : false ,
"id" : 469 ,
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 522 ,
"src" : "3029:20:3" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
"id" : 468 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "3029:7:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"id" : 473 ,
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 470 ,
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 985 ,
"src" : "3052:6:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 472 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 471 ,
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 981 ,
"src" : "3059:15:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "3052:23:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
"src" : "3029:46:3"
2018-05-10 13:12:13 +02:00
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 513 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3125:375:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"assignments" : [
2018-05-16 15:46:33 +02:00
478
2018-05-10 13:12:13 +02:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 478 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "3139:19:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 477 ,
2018-05-10 13:12:13 +02:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3139:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 484 ,
2018-05-10 13:12:13 +02:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 479 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "3161:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 481 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 480 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 461 ,
"src" : "3172:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3161:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 483 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 482 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3189:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3161:41:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3139:63:3"
2018-05-10 13:12:13 +02:00
} ,
{
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
2018-05-16 15:46:33 +02:00
"id" : 490 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 15:46:33 +02:00
"id" : 488 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 485 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3219:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 486 ,
2018-05-10 13:12:13 +02:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2396 ,
"src" : "3235:3:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 487 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 15:46:33 +02:00
"src" : "3235:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3219:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "||" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 489 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 478 ,
"src" : "3249:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3219:44:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-05-16 15:46:33 +02:00
"id" : 506 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "IfStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3216:225:3" ,
2018-05-10 13:12:13 +02:00
"trueBody" : {
2018-05-16 15:46:33 +02:00
"id" : 505 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3265:176:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"condition" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 491 ,
2018-05-10 13:12:13 +02:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 478 ,
"src" : "3287:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-05-16 15:46:33 +02:00
"id" : 501 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "IfStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3283:110:3" ,
2018-05-10 13:12:13 +02:00
"trueBody" : {
2018-05-16 15:46:33 +02:00
"id" : 500 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "3303:90:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 498 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 492 ,
"name" : "isApproved" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 348 ,
"src" : "3325:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_bool_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => bool))"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 495 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 493 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 461 ,
"src" : "3336:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:27:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_bool_$" ,
"typeString" : "mapping(address => bool)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 496 ,
2018-05-10 13:12:13 +02:00
"indexExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 494 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3353:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:41:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "66616c7365" ,
2018-05-16 15:46:33 +02:00
"id" : 497 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "bool" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "3369:5:3" ,
2018-05-10 13:12:13 +02:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"value" : "false"
} ,
2018-05-16 15:46:33 +02:00
"src" : "3325:49:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 499 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3325:49:3"
2018-05-10 13:12:13 +02:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 503 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-05-16 15:46:33 +02:00
"src" : "3410:16:3" ,
2018-05-10 13:12:13 +02:00
"subExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 502 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 465 ,
"src" : "3410:13:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 504 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3410:16:3"
2018-05-10 13:12:13 +02:00
}
]
}
2018-05-16 15:46:33 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"id" : 511 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"id" : 507 ,
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 469 ,
"src" : "3454:12:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"id" : 508 ,
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 985 ,
"src" : "3469:6:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
"id" : 510 ,
"indexExpression" : {
"argumentTypes" : null ,
"id" : 509 ,
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 469 ,
"src" : "3476:12:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
"src" : "3469:20:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"src" : "3454:35:3" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"id" : 512 ,
"nodeType" : "ExpressionStatement" ,
"src" : "3454:35:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"id" : 476 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 474 ,
"name" : "currentOwner" ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 469 ,
"src" : "3092:12:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
"nodeType" : "BinaryOperation" ,
2018-05-16 15:46:33 +02:00
"operator" : "!=" ,
2018-05-10 13:12:13 +02:00
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 475 ,
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 981 ,
"src" : "3108:15:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_address" ,
"typeString" : "address"
2018-05-10 13:12:13 +02:00
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3092:31:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 514 ,
"nodeType" : "WhileStatement" ,
"src" : "3085:415:3"
2018-05-10 13:12:13 +02:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-05-16 15:46:33 +02:00
"id" : 518 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 516 ,
2018-05-10 13:12:13 +02:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 465 ,
"src" : "3517:13:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 517 ,
2018-05-10 13:12:13 +02:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
2018-05-16 15:46:33 +02:00
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 989 ,
"src" : "3534:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
2018-05-16 15:46:33 +02:00
"src" : "3517:26:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 515 ,
2018-05-10 13:12:13 +02:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 15:46:33 +02:00
2399 ,
2400
2018-05-10 13:12:13 +02:00
] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2399 ,
"src" : "3509:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 519 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "3509:35:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 520 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 15:46:33 +02:00
"src" : "3509:35:3"
2018-05-10 13:12:13 +02:00
}
]
} ,
"documentation" : null ,
2018-05-16 15:46:33 +02:00
"id" : 522 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "checkAndClearConfirmations" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 462 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 461 ,
2018-05-10 13:12:13 +02:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 522 ,
"src" : "2896:23:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 460 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "2896:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "2895:25:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 463 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 15:46:33 +02:00
"src" : "2942:0:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "2860:691:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-05-16 15:46:33 +02:00
"id" : 552 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Block" ,
2018-05-16 15:46:33 +02:00
"src" : "4045:95:3" ,
2018-05-10 13:12:13 +02:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-05-16 15:46:33 +02:00
"id" : 539 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "4077:4:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 538 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 15:46:33 +02:00
"src" : "4072:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 15:46:33 +02:00
"id" : 540 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4072:10:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 15:46:33 +02:00
"id" : 542 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 15:46:33 +02:00
"src" : "4089:1:3" ,
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 541 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 15:46:33 +02:00
"src" : "4084:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 15:46:33 +02:00
"id" : 543 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4084:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 544 ,
2018-05-10 13:12:13 +02:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2425 ,
"src" : "4093:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$554" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafeTeamEdition"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 545 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 524 ,
"src" : "4099:2:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 546 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 526 ,
"src" : "4103:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 547 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 528 ,
"src" : "4110:4:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 548 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 530 ,
"src" : "4116:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 15:46:33 +02:00
"id" : 549 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 532 ,
"src" : "4127:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$554" ,
2018-05-10 13:12:13 +02:00
"typeString" : "contract GnosisSafeTeamEdition"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 15:46:33 +02:00
"id" : 537 ,
2018-05-10 13:12:13 +02:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 2390 ,
"src" : "4062:9:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-05-16 15:46:33 +02:00
"id" : 550 ,
2018-05-10 13:12:13 +02:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 15:46:33 +02:00
"src" : "4062:71:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-05-16 15:46:33 +02:00
"functionReturnParameters" : 536 ,
"id" : 551 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "Return" ,
2018-05-16 15:46:33 +02:00
"src" : "4055:78:3"
2018-05-10 13:12:13 +02: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-05-16 15:46:33 +02:00
"id" : 553 ,
2018-05-10 13:12:13 +02:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 15:46:33 +02:00
"id" : 533 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 524 ,
2018-05-10 13:12:13 +02:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3866:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 523 ,
2018-05-10 13:12:13 +02:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3866:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 526 ,
2018-05-10 13:12:13 +02:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3887:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 525 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3887:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 528 ,
2018-05-10 13:12:13 +02:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3911:10:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 527 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3911:5:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 530 ,
2018-05-10 13:12:13 +02:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3932:24:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 15:46:33 +02:00
"id" : 529 ,
2018-05-10 13:12:13 +02:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 15:46:33 +02:00
"referencedDeclaration" : 5 ,
"src" : "3932:14:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
2018-05-16 15:46:33 +02:00
"typeIdentifier" : "t_enum$_Operation_$5" ,
2018-05-10 13:12:13 +02:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 532 ,
2018-05-10 13:12:13 +02:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "3967:13:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 531 ,
2018-05-10 13:12:13 +02:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "3967:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "3856:130:3"
2018-05-10 13:12:13 +02:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 15:46:33 +02:00
"id" : 536 ,
2018-05-10 13:12:13 +02:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 15:46:33 +02:00
"id" : 535 ,
2018-05-10 13:12:13 +02:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 15:46:33 +02:00
"scope" : 553 ,
"src" : "4032:7:3" ,
2018-05-10 13:12:13 +02:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 15:46:33 +02:00
"id" : 534 ,
2018-05-10 13:12:13 +02:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 15:46:33 +02:00
"src" : "4032:7:3" ,
2018-05-10 13:12:13 +02:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "4031:9:3"
2018-05-10 13:12:13 +02:00
} ,
2018-05-16 15:46:33 +02:00
"scope" : 554 ,
"src" : "3829:311:3" ,
2018-05-10 13:12:13 +02:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-05-16 15:46:33 +02:00
"scope" : 555 ,
"src" : "272:3870:3"
2018-05-10 13:12:13 +02:00
}
] ,
2018-05-16 15:46:33 +02:00
"src" : "0:4143:3"
2018-05-10 13:12:13 +02:00
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.23+commit.124ca40d.Emscripten.clang"
} ,
"networks" : {
"4" : {
"events" : { } ,
"links" : { } ,
2018-05-16 15:46:33 +02:00
"address" : "0x2dd472fa9a922d380282775d1b0a33b2ce62d094" ,
"transactionHash" : "0x680b211f800d9cfe49c7f9d9e0259032d19ff74c43e7f44e16f14b1220ca7b89"
2018-05-10 13:12:13 +02:00
} ,
"1525950336085" : {
"events" : { } ,
"links" : { } ,
"address" : "0xd16506c40cb044bf78552d9bea796c9d98fa0a45" ,
"transactionHash" : "0x782ef1b28e30afdcb711e7119c7bc794bbd7f42356ea5a68072b8f59400b05e3"
2018-05-14 09:48:41 +02:00
} ,
"1526283540628" : {
"events" : { } ,
"links" : { } ,
"address" : "0xaadc387a6c96744064754aa1f2391cbe1bb55970" ,
"transactionHash" : "0x782ef1b28e30afdcb711e7119c7bc794bbd7f42356ea5a68072b8f59400b05e3"
2018-05-16 15:46:33 +02:00
} ,
"1526478212260" : {
"events" : { } ,
"links" : { } ,
"address" : "0xac64aef07af9275b66107f36039a47592c6507f8" ,
"transactionHash" : "0x8004ae7f9ec8f459da793c0882711d8488c50b973f4bdddb9df31cade42b2cd3"
2018-05-22 09:22:38 +02:00
} ,
"1526973574996" : {
"events" : { } ,
"links" : { } ,
"address" : "0x592b6c1e500c567c0dd01c2a1dd6b84db9c41ace" ,
"transactionHash" : "0x8004ae7f9ec8f459da793c0882711d8488c50b973f4bdddb9df31cade42b2cd3"
2018-05-26 09:36:34 +02:00
} ,
"1527316019334" : {
"events" : { } ,
"links" : { } ,
"address" : "0x29978b66e148e3e61ccff27e1f68784ed491fd82" ,
"transactionHash" : "0x8004ae7f9ec8f459da793c0882711d8488c50b973f4bdddb9df31cade42b2cd3"
2018-05-10 13:12:13 +02:00
}
} ,
"schemaVersion" : "2.0.0" ,
2018-05-26 09:36:34 +02:00
"updatedAt" : "2018-05-26T06:28:28.342Z"
2018-05-10 13:12:13 +02:00
}