2018-05-31 13:01:02 +00:00
{
"contractName" : "GnosisSafeTeamEdition" ,
"abi" : [
2018-06-28 17:13:59 +00:00
{
"constant" : false ,
"inputs" : [
{
"name" : "owner" ,
"type" : "address"
} ,
{
"name" : "_threshold" ,
"type" : "uint256"
}
] ,
"name" : "addOwnerWithThreshold" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "_owners" ,
"type" : "address[]"
} ,
{
"name" : "_threshold" ,
"type" : "uint256"
} ,
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "data" ,
"type" : "bytes"
}
] ,
"name" : "setup" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2018-05-31 13:01:02 +00:00
{
"constant" : true ,
"inputs" : [
{
"name" : "owner" ,
"type" : "address"
}
] ,
"name" : "isOwner" ,
"outputs" : [
{
"name" : "" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "operation" ,
"type" : "uint8"
}
] ,
"name" : "execTransactionFromModule" ,
"outputs" : [
{
"name" : "success" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "module" ,
"type" : "address"
}
] ,
"name" : "enableModule" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
2018-06-28 17:13:59 +00:00
"name" : "_threshold" ,
"type" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-28 17:13:59 +00:00
"name" : "changeThreshold" ,
2018-05-31 13:01:02 +00:00
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
2018-06-28 17:13:59 +00:00
"name" : "_masterCopy" ,
2018-05-31 13:01:02 +00:00
"type" : "address"
}
] ,
2018-06-28 17:13:59 +00:00
"name" : "changeMasterCopy" ,
2018-05-31 13:01:02 +00:00
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
2018-06-28 17:13:59 +00:00
"name" : "SENTINEL_MODULES" ,
2018-05-31 13:01:02 +00:00
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
2018-06-28 17:13:59 +00:00
"constant" : true ,
"inputs" : [ ] ,
"name" : "SENTINEL_OWNERS" ,
"outputs" : [
2018-05-31 13:01:02 +00:00
{
2018-06-28 17:13:59 +00:00
"name" : "" ,
2018-05-31 13:01:02 +00:00
"type" : "address"
}
] ,
"payable" : false ,
2018-06-28 17:13:59 +00:00
"stateMutability" : "view" ,
2018-05-31 13:01:02 +00:00
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "" ,
"type" : "bytes32"
} ,
{
"name" : "" ,
"type" : "address"
}
] ,
"name" : "isApproved" ,
"outputs" : [
{
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "getOwners" ,
"outputs" : [
{
"name" : "" ,
"type" : "address[]"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "NAME" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "getModules" ,
"outputs" : [
{
"name" : "" ,
"type" : "address[]"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "prevModule" ,
"type" : "address"
} ,
{
"name" : "module" ,
"type" : "address"
}
] ,
"name" : "disableModule" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "prevOwner" ,
"type" : "address"
} ,
{
"name" : "oldOwner" ,
"type" : "address"
} ,
{
"name" : "newOwner" ,
"type" : "address"
}
] ,
"name" : "swapOwner" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"name" : "isExecuted" ,
"outputs" : [
{
"name" : "" ,
2018-06-20 08:09:14 +00:00
"type" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "getThreshold" ,
"outputs" : [
{
"name" : "" ,
2018-06-28 17:13:59 +00:00
"type" : "uint256"
2018-05-31 13:01:02 +00:00
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
2018-06-28 17:13:59 +00:00
{
"constant" : false ,
"inputs" : [
{
"name" : "prevOwner" ,
"type" : "address"
} ,
{
"name" : "owner" ,
"type" : "address"
} ,
{
"name" : "_threshold" ,
"type" : "uint256"
}
] ,
"name" : "removeOwner" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
2018-05-31 13:01:02 +00: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"
}
] ,
"name" : "approveTransactionWithParameters" ,
"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"
}
] ,
"name" : "execTransactionIfApproved" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "operation" ,
"type" : "uint8"
} ,
{
"name" : "nonce" ,
"type" : "uint256"
}
] ,
"name" : "getTransactionHash" ,
"outputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
}
] ,
2018-06-28 17:13:59 +00:00
"bytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50613 d f 2806100206000396000 f 300608060405260043610610128576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680630 d 582 f 131461012 a 5780630 e c 78 d 9e14610177578063153414 f a 1461024 d 57806324 c d 131 f 146102 f 75780632 b 500041146103 a 15780632 f 54 b f 6e14610467578063468721 a 7146104 c 2578063610 b 59251461057 a 578063694e80 c 3146105 b d 5780637 d e 7 e d e f 146105 e a 57806385e332 c d 1461062 d 5780638 c f f 635514610684578063 a 0 9e89 f 5146106 d b 578063 a 0e67 e 2 b 14610740578063 a 3 f 4 d f 7e146107 a c 578063 b 2494 d f 31461083 c 578063e009 c f d e 146108 a 8578063e318 b 52 b 1461090 b 578063e52 c b 36 a 1461098e578063 e 75235 b 8146109 d 3578063 f 8 d c 5 d d 9146109 f e 578063 f f a 1 a d 7414610 a 6 b 575 b 0 0 5 b 34801561013657600080 f d 5 b 50610175600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190505050610 a f b 565 b 0 0 5 b 34801561018357600080 f d 5 b 5061024 b 6004803603810190808035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919291929080359060200190929190803573 f f f f f f f f f f f f f f f f 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 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 f 0 1565 b 0 0 5 b 34801561025957600080 f d 5 b 506102 f 5600480360381019080803573 f f f f f f f f f f f f f f f f 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 f 1 b 565 b 0 0 5 b 34801561030357600080 f d 5 b 5061039 f 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 16906020019092919080359060200190929190505050611138565 b 0 0 5 b 3480156103 a d 57600080 f d 5 b 50610449600480360381019080803573 f f f f f f f f f f f f f f f f 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 169060200190929190803590602001909291905050506112 d b 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561047357600080 f d 5 b 506104 a 8600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611563565 b 604051808215151515815260200191505060405180910390 f 35 b 3480156104 c e 57600080 f d 5 b 50610560600480360381019080803573 f f f f f f f f f f f f f f f f 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 1690602001909291905050506115e5565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561058657600080 f d 5 b 506105 b 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 169060200190929190505050611711565 b 0 0 5 b 3480156105 c 957600080 f d 5 b 506105e860048036038101908080359060200190929190505050611 a e f 565 b 0 0 5 b 3480156105 f 657600080 f d 5 b 5061062 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 169060200190929190505050611 d 0 1565 b 0 0 5 b 34801561063957600080 f d 5 b 50610642611 e c 2565 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 34801561069057600080 f d 5 b 50610699611 e c 7565 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 3480156106e757600080 f d 5 b 5061072 a 6004803603810190808035600019169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 e c c 565 b 6040518082815260200191505060405180910390 f 35 b 34801561074 c 57600080 f d 5 b 50610755611 e f 1565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561079857808201518184015260208101905061077 d 565 b 505050509050019250505060405180910390 f 35 b 3480156107 b 857600080 f d 5 b 506107 c 161208 c 565 b 604051808060200182810382528381815181526020
"deployedBytecode" : " 0 x 608060405260043610610128576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680630 d 582 f 131461012 a 5780630 e c 78 d 9e14610177578063153414 f a 1461024 d 57806324 c d 131 f 146102 f 75780632 b 500041146103 a 15780632 f 54 b f 6e14610467578063468721 a 7146104 c 2578063610 b 59251461057 a 578063694e80 c 3146105 b d 5780637 d e 7 e d e f 146105 e a 57806385e332 c d 1461062 d 5780638 c f f 635514610684578063 a 0 9e89 f 5146106 d b 578063 a 0e67 e 2 b 14610740578063 a 3 f 4 d f 7e146107 a c 578063 b 2494 d f 31461083 c 578063e009 c f d e 146108 a 8578063e318 b 52 b 1461090 b 578063e52 c b 36 a 1461098e578063 e 75235 b 8146109 d 3578063 f 8 d c 5 d d 9146109 f e 578063 f f a 1 a d 7414610 a 6 b 575 b 0 0 5 b 34801561013657600080 f d 5 b 50610175600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190505050610 a f b 565 b 0 0 5 b 34801561018357600080 f d 5 b 5061024 b 6004803603810190808035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919291929080359060200190929190803573 f f f f f f f f f f f f f f f f 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 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 f 0 1565 b 0 0 5 b 34801561025957600080 f d 5 b 506102 f 5600480360381019080803573 f f f f f f f f f f f f f f f f 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 f 1 b 565 b 0 0 5 b 34801561030357600080 f d 5 b 5061039 f 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 16906020019092919080359060200190929190505050611138565 b 0 0 5 b 3480156103 a d 57600080 f d 5 b 50610449600480360381019080803573 f f f f f f f f f f f f f f f f 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 169060200190929190803590602001909291905050506112 d b 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561047357600080 f d 5 b 506104 a 8600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611563565 b 604051808215151515815260200191505060405180910390 f 35 b 3480156104 c e 57600080 f d 5 b 50610560600480360381019080803573 f f f f f f f f f f f f f f f f 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 1690602001909291905050506115e5565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561058657600080 f d 5 b 506105 b 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 169060200190929190505050611711565 b 0 0 5 b 3480156105 c 957600080 f d 5 b 506105e860048036038101908080359060200190929190505050611 a e f 565 b 0 0 5 b 3480156105 f 657600080 f d 5 b 5061062 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 169060200190929190505050611 d 0 1565 b 0 0 5 b 34801561063957600080 f d 5 b 50610642611 e c 2565 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 34801561069057600080 f d 5 b 50610699611 e c 7565 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 3480156106e757600080 f d 5 b 5061072 a 6004803603810190808035600019169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 e c c 565 b 6040518082815260200191505060405180910390 f 35 b 34801561074 c 57600080 f d 5 b 50610755611 e f 1565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561079857808201518184015260208101905061077 d 565 b 505050509050019250505060405180910390 f 35 b 3480156107 b 857600080 f d 5 b 506107 c 161208 c 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156108015780820151
"sourceMap" : "272:4068:4:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;272:4068:4;;;;;;;" ,
2018-06-29 11:23:01 +00:00
"deployedSourceMap" : " 272 : 4068 : 4 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2093 : 595 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2093 : 595 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 693 : 303 : 2 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 693 : 303 : 2 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1266 : 638 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1266 : 638 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2346 : 618 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2346 : 618 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4009 : 329 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4009 : 329 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 5613 : 129 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 5613 : 129 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2841 : 429 : 9 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2841 : 429 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1311 : 459 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1311 : 459 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 5087 : 399 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 5087 : 399 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 248 : 5 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 626 : 248 : 5 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 499 : 55 : 9 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 499 : 55 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 287 : 54 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 287 : 54 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 770 : 66 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 770 : 66 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 5824 : 458 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 5824 : 458 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 23 : 1 : -1 ; 8 : 100 ; 33 : 3 ; 30 : 1 ; 27 : 10 ; 8 : 100 ; ; ; 99 : 1 ; 94 : 3 ; 90 : 11 ; 84 : 18 ; 80 : 1 ; 75 : 3 ; 71 : 11 ; 64 : 39 ; 52 : 2 ; 49 : 1 ; 45 : 10 ; 40 : 15 ; ; 8 : 100 ; ; ; 12 : 14 ; 5824 : 458 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 336 : 56 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 336 : 56 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4794 : 738 : 9 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4794 : 738 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 4794 : 738 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2031 : 474 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 2031 : 474 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4147 : 751 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4147 : 751 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 536 : 46 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 536 : 46 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 5492 : 115 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 5492 : 115 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3030 : 783 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 3030 : 783 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 398 : 40 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 398 : 40 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2093 : 595 : 11 ; 244 : 4 : 16 ; 222 : 27 ; ; : 10 ; : 27 ; ; ; 214 : 84 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2265 : 1 : 11 ; 2256 : 5 ; : 10 ; ; ; ; : 38 ; ; ; ; ; 337 : 3 ; 2270 : 24 ; ; : 5 ; : 24 ; ; ; ; 2256 : 38 ; 2248 : 81 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2404 : 1 ; 2387 : 6 ; : 13 ; 2394 : 5 ; 2387 : 13 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 18 ; ; ; 2379 : 58 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2463 : 6 ; : 23 ; 337 : 3 ; 2463 : 23 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2447 : 6 ; : 13 ; 2454 : 5 ; 2447 : 13 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 39 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2522 : 5 ; 2496 : 6 ; : 23 ; 337 : 3 ; 2496 : 23 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 31 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 2537 : 10 ; ; : 12 ; ; ; ; ; ; ; ; ; ; ; ; ; 2630 : 10 ; 2617 : 9 ; ; : 23 ; ; 2613 : 68 ; ; ; 2654 : 27 ; 2670 : 10 ; 2654 : 15 ; : 27 : : i ; : : : - ; 2613 : 68 ; 2093 : 595 ; ; : : : o ; 693 : 303 : 2 : - ; 800 : 32 ; 812 : 7 ; 821 : 10 ; 800 : 11 ; : 32 : : i ; : : : - ; 967 : 22 ; 980 : 2 ; 984 : 4 ; 967 : 12 ; : 22 : : i ; : : : - ; 693 : 303 ; ; ; ; : : : o ; 1266 : 638 : 4 : - ; 1605 : 23 ; 1567 : 1 ; 1545 : 6 ; : 18 ; 1552 : 10 ; 1545 : 18 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 23 ; ; ; ; 1537 : 58 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
2018-06-20 08:09:14 +00:00
"source" : "pragma solidity 0.4.24;\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 => uint256) public isExecuted;\n\n // isApproved mapping allows to check if a transaction (by hash) was confirmed by an owner.\n // uint256 is used to optimize the generated assembly. if 0 then false else true\n mapping (bytes32 => mapping(address => uint256)) 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, \"Sender is not an owner\");\n bytes32 transactionHash = getTransactionHash(to, value, data, operation, nonce);\n // It should not be possible to confirm an executed transaction\n require(isExecuted[transactionHash] == 0, \"Safe transaction already executed\");\n isApproved[transactionHash][msg.sender] = 1;\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] == 0, \"Safe transaction already executed\");\n checkAndClearConfirmations(transactionHash);\n // Mark as executed and execute transaction.\n isExecuted[transactionHash] = 1;\n require(execute(to, value, data, operation, gasleft()), \"Could not execute safe transaction\");\n }\n\n function checkAndClearConfirmations(bytes32 transactionHash)\n internal\n {\n mapping(address => uint256) approvals = isApproved[transactionHash];\n uint256 confirmations = 0;\n // Validate threshold is reached.\n address currentOwner = owners[SENTINEL_OWNERS];\n while (currentOwner != SENTINEL_OWNERS) {\n bool ownerConfirmed = approvals[currentOwner] != 0;\n if(currentOwner == msg.sender || ownerConfirmed) {\n if (ownerConfirmed) {\n approvals[currentOwner] = 0;\n }\n confirmations ++;\n }\n currentOwner = owners[currentOwner];\n }\n require(confirmations >= threshold, \"Not enough confirmations\" ) ; \ 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
2018-05-31 13:01:02 +00: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-06-28 17:13:59 +00:00
605
2018-05-31 13:01:02 +00:00
]
} ,
2018-06-28 17:13:59 +00:00
"id" : 606 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-06-28 17:13:59 +00:00
"id" : 371 ,
2018-05-31 13:01:02 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
2018-06-28 17:13:59 +00:00
"src" : "0:23:4"
2018-05-31 13:01:02 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"file" : "./GnosisSafe.sol" ,
2018-06-28 17:13:59 +00:00
"id" : 372 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"sourceUnit" : 64 ,
"src" : "24:26:4" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-06-28 17:13:59 +00:00
"id" : 373 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"sourceUnit" : 633 ,
"src" : "51:26:4" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 374 ,
2018-05-31 13:01:02 +00:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 632 ,
"src" : "306:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_MasterCopy_$632" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract MasterCopy"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 375 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-28 17:13:59 +00:00
"src" : "306:10:4"
2018-05-31 13:01:02 +00:00
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 376 ,
2018-05-31 13:01:02 +00:00
"name" : "GnosisSafe" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 63 ,
"src" : "318:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafe_$63" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafe"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 377 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-28 17:13:59 +00:00
"src" : "318:10:4"
2018-05-31 13:01:02 +00:00
}
] ,
"contractDependencies" : [
2018-06-28 17:13:59 +00:00
63 ,
632 ,
2018-06-29 11:23:01 +00:00
2232 ,
2888 ,
3065
2018-05-31 13:01:02 +00: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-06-28 17:13:59 +00:00
"id" : 605 ,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts" : [
2018-06-28 17:13:59 +00:00
605 ,
63 ,
2018-06-29 11:23:01 +00:00
2888 ,
2232 ,
2018-06-28 17:13:59 +00:00
632 ,
2018-06-29 11:23:01 +00:00
3065
2018-05-31 13:01:02 +00:00
] ,
"name" : "GnosisSafeTeamEdition" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-06-28 17:13:59 +00:00
"id" : 380 ,
2018-05-31 13:01:02 +00:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "336:56:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 378 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "336:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "476e6f7369732053616665205465616d2045646974696f6e" ,
2018-06-28 17:13:59 +00:00
"id" : 379 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "366:26:4" ,
2018-05-31 13:01:02 +00: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-06-28 17:13:59 +00:00
"id" : 383 ,
2018-05-31 13:01:02 +00:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "398:40:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 381 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "398:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-06-28 17:13:59 +00:00
"id" : 382 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "431:7:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 387 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "536:46:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 386 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 384 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "545:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "536:28:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 385 ,
2018-06-20 08:09:14 +00:00
"name" : "uint256" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "556:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 393 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "770:66:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 392 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 388 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "779:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "770:48:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 391 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 389 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "798:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "790:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 390 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "809:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 444 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "1457:447:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 412 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 407 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "1545:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 410 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 408 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "1552:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 409 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "1552:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1545:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 411 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1567:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1545:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53656e646572206973206e6f7420616e206f776e6572" ,
2018-06-28 17:13:59 +00:00
"id" : 413 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1570:24:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b22a5f47ffb62866097c90f90b5b53f76973769c84a10c62e12a07eb2ba1ef4a" ,
"typeString" : "literal_string \"Sender is not an owner\""
} ,
"value" : "Sender is not an owner"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b22a5f47ffb62866097c90f90b5b53f76973769c84a10c62e12a07eb2ba1ef4a" ,
"typeString" : "literal_string \"Sender is not an owner\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 406 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "1537:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 414 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1537:58:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 415 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1537:58:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
417
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 417 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1605:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 416 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1605:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 425 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 419 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 395 ,
"src" : "1650:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 420 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 397 ,
"src" : "1654:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 421 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 399 ,
"src" : "1661:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 422 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 401 ,
"src" : "1667:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 423 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 403 ,
"src" : "1678:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 418 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 604 ,
"src" : "1631:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 424 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1631:53:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1605:79:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 431 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 427 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "1774:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 429 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 428 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 417 ,
"src" : "1785:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1774:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 430 ,
2018-06-20 08:09:14 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1805:1:4" ,
2018-06-20 08:09:14 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1774:32:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53616665207472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-28 17:13:59 +00:00
"id" : 432 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1808:35:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
} ,
"value" : "Safe transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 426 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "1766:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 433 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1766:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 434 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1766:78:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 442 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 435 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 393 ,
"src" : "1854:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 439 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 436 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 417 ,
"src" : "1865:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 440 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 437 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "1882:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 438 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "1882:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:39:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "31" ,
2018-06-28 17:13:59 +00:00
"id" : 441 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1896:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
} ,
"value" : "1"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1854:43:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 443 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:43:4"
2018-05-31 13:01:02 +00: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." ,
2018-06-28 17:13:59 +00:00
"id" : 445 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "approveTransactionWithParameters" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 404 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 395 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1317:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 394 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1317:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 397 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1338:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 396 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1338:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 399 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1362:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 398 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1362:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 401 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1383:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 400 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "1383:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 403 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1418:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 402 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1418:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "1307:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 405 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "1457:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "1266:638:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 499 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "2530:434:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
459
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 459 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2540:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 458 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2540:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 467 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 461 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 447 ,
"src" : "2585:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 462 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 449 ,
"src" : "2589:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 463 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 451 ,
"src" : "2596:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 464 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 453 ,
"src" : "2602:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 465 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 455 ,
"src" : "2613:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 460 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 604 ,
"src" : "2566:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 466 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2566:53:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2540:79:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 473 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 469 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "2637:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 471 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 470 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2648:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "2637:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 472 ,
2018-06-20 08:09:14 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2668:1:4" ,
2018-06-20 08:09:14 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "2637:32:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53616665207472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-28 17:13:59 +00:00
"id" : 474 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2671:35:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
} ,
"value" : "Safe transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 468 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "2629:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 475 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2629:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 476 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2629:78:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 478 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2744:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 477 ,
2018-05-31 13:01:02 +00:00
"name" : "checkAndClearConfirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 570 ,
"src" : "2717:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_bytes32_$returns$__$" ,
"typeString" : "function (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 479 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2717:43:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 480 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2717:43:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 485 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 481 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "2823:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 483 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 482 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2834:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "2823:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"hexValue" : "31" ,
2018-06-28 17:13:59 +00:00
"id" : 484 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
2018-06-20 08:09:14 +00:00
"kind" : "number" ,
2018-05-31 13:01:02 +00:00
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2853:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"value" : "1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"src" : "2823:31:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 486 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2823:31:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 489 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 447 ,
"src" : "2880:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 490 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 449 ,
"src" : "2884:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 491 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 451 ,
"src" : "2891:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 492 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 453 ,
"src" : "2897:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-06-28 17:13:59 +00:00
"id" : 493 ,
2018-05-31 13:01:02 +00:00
"name" : "gasleft" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4029 ,
2018-06-28 17:13:59 +00:00
"src" : "2908:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_gasleft_view$__$returns$_t_uint256_$" ,
"typeString" : "function () view returns (uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 494 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2908:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 488 ,
2018-05-31 13:01:02 +00:00
"name" : "execute" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2121 ,
2018-06-28 17:13:59 +00:00
"src" : "2872:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bool_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) returns (bool)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 495 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2872:46:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "436f756c64206e6f7420657865637574652073616665207472616e73616374696f6e" ,
2018-06-28 17:13:59 +00:00
"id" : 496 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2920:36:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_d12b254798790cac45e0b54201b0ecf8f3257f9e4c1cfc4633e272006616c878" ,
"typeString" : "literal_string \"Could not execute safe transaction\""
} ,
"value" : "Could not execute safe transaction"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_d12b254798790cac45e0b54201b0ecf8f3257f9e4c1cfc4633e272006616c878" ,
"typeString" : "literal_string \"Could not execute safe transaction\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 487 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "2864:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 497 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2864:93:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 498 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2864:93:4"
2018-05-31 13:01:02 +00: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." ,
2018-06-28 17:13:59 +00:00
"id" : 500 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "execTransactionIfApproved" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 456 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 447 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2390:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 446 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2390:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 449 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2411:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 448 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2411:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 451 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2435:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 450 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2435:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 453 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2456:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 452 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "2456:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 455 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2491:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 454 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2491:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "2380:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 457 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "2530:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "2346:618:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 569 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3052:679:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
508
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 508 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3062:37:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 507 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 505 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3070:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "3062:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 506 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3081:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 512 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 509 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 393 ,
"src" : "3102:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 511 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 510 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 502 ,
"src" : "3113:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3102:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3062:67:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
514
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 514 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3139:21:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 513 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3139:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 516 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 515 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3163:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3139:25:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
518
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 518 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3216:20:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 517 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3216:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 522 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 519 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "3239:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 521 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 520 ,
2018-05-31 13:01:02 +00:00
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2490 ,
2018-06-28 17:13:59 +00:00
"src" : "3246:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3239:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3216:46:4"
2018-05-31 13:01:02 +00:00
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 560 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3312:340:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
527
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 527 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3326:19:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 526 ,
2018-05-31 13:01:02 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3326:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 533 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 532 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 528 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 508 ,
"src" : "3348:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 530 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 529 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3358:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3348:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 531 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3375:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "3348:28:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3326:50:4"
2018-05-31 13:01:02 +00:00
} ,
{
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
2018-06-28 17:13:59 +00:00
"id" : 539 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 537 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 534 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3393:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 535 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "3409:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 536 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "3409:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3393:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "||" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 538 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 527 ,
"src" : "3423:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3393:44:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-06-28 17:13:59 +00:00
"id" : 553 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "IfStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3390:203:4" ,
2018-05-31 13:01:02 +00:00
"trueBody" : {
2018-06-28 17:13:59 +00:00
"id" : 552 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3439:154:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"condition" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 540 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 527 ,
"src" : "3461:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-06-28 17:13:59 +00:00
"id" : 548 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "IfStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3457:88:4" ,
2018-05-31 13:01:02 +00:00
"trueBody" : {
2018-06-28 17:13:59 +00:00
"id" : 547 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3477:68:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 545 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 541 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 508 ,
"src" : "3499:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 543 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 542 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3509:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3499:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 544 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3525:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "3499:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 546 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3499:27:4"
2018-05-31 13:01:02 +00:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 550 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-06-28 17:13:59 +00:00
"src" : "3562:16:4" ,
2018-05-31 13:01:02 +00:00
"subExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 549 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 514 ,
"src" : "3562:13:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 551 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3562:16:4"
2018-05-31 13:01:02 +00:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 558 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 554 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3606:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 555 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "3621:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 557 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 556 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3628:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3621:20:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3606:35:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 559 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3606:35:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 525 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 523 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3279:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 524 ,
2018-05-31 13:01:02 +00:00
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2490 ,
2018-06-28 17:13:59 +00:00
"src" : "3295:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3279:31:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 561 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "WhileStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3272:380:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 565 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 563 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 514 ,
"src" : "3669:13:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 564 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2498 ,
2018-06-28 17:13:59 +00:00
"src" : "3686:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3669:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "4e6f7420656e6f75676820636f6e6669726d6174696f6e73" ,
2018-06-28 17:13:59 +00:00
"id" : 566 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3697:26:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b345da2aaad39251196728cc7926bed93e890843c2a47c2cdd1122427d828094" ,
"typeString" : "literal_string \"Not enough confirmations\""
} ,
"value" : "Not enough confirmations"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b345da2aaad39251196728cc7926bed93e890843c2a47c2cdd1122427d828094" ,
"typeString" : "literal_string \"Not enough confirmations\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 562 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "3661:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 567 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "3661:63:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 568 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3661:63:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : null ,
2018-06-28 17:13:59 +00:00
"id" : 570 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "checkAndClearConfirmations" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 503 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 502 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3006:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 501 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3006:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "3005:25:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 504 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "3052:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "2970:761:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 603 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "4225:113:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-06-28 17:13:59 +00:00
"id" : 589 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "4274:4:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
} ,
"value" : "0x19"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 588 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-28 17:13:59 +00:00
"src" : "4269:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-28 17:13:59 +00:00
"id" : 590 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4269:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 592 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "4286:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 591 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-28 17:13:59 +00:00
"src" : "4281:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-28 17:13:59 +00:00
"id" : 593 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4281:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 594 ,
2018-05-31 13:01:02 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4073 ,
2018-06-28 17:13:59 +00:00
"src" : "4290:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$605" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafeTeamEdition"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 595 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 572 ,
"src" : "4296:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 596 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 574 ,
"src" : "4300:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 597 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 576 ,
"src" : "4307:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 598 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 578 ,
"src" : "4313:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 599 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 580 ,
"src" : "4324:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$605" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafeTeamEdition"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 586 ,
2018-05-31 13:01:02 +00:00
"name" : "abi" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4023 ,
2018-06-28 17:13:59 +00:00
"src" : "4252:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_abi" ,
"typeString" : "abi"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 587 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"memberName" : "encodePacked" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "4252:16:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$" ,
"typeString" : "function () pure returns (bytes memory)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 600 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4252:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 585 ,
2018-05-31 13:01:02 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4030 ,
2018-06-28 17:13:59 +00:00
"src" : "4242:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 601 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4242:89:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-06-28 17:13:59 +00:00
"functionReturnParameters" : 584 ,
"id" : 602 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Return" ,
2018-06-28 17:13:59 +00:00
"src" : "4235:96:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Returns hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param operation Operation type.\n @param nonce Transaction nonce.\n @return Transaction hash." ,
2018-06-28 17:13:59 +00:00
"id" : 604 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 581 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 572 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4046:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 571 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4046:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 574 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4067:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 573 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4067:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 576 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4091:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 575 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4091:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 578 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4112:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 577 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "4112:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 580 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4147:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 579 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4147:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "4036:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 584 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 583 ,
2018-05-31 13:01:02 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4212:7:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 582 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4212:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "4211:9:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "4009:329:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"src" : "272:4068:4"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "0:4341:4"
2018-05-31 13:01:02 +00:00
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafeTeamEdition.sol" ,
"exportedSymbols" : {
"GnosisSafeTeamEdition" : [
2018-06-28 17:13:59 +00:00
605
2018-05-31 13:01:02 +00:00
]
} ,
2018-06-28 17:13:59 +00:00
"id" : 606 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-06-28 17:13:59 +00:00
"id" : 371 ,
2018-05-31 13:01:02 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
2018-06-28 17:13:59 +00:00
"src" : "0:23:4"
2018-05-31 13:01:02 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"file" : "./GnosisSafe.sol" ,
2018-06-28 17:13:59 +00:00
"id" : 372 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"sourceUnit" : 64 ,
"src" : "24:26:4" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-06-28 17:13:59 +00:00
"id" : 373 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ImportDirective" ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"sourceUnit" : 633 ,
"src" : "51:26:4" ,
2018-05-31 13:01:02 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 374 ,
2018-05-31 13:01:02 +00:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 632 ,
"src" : "306:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_MasterCopy_$632" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract MasterCopy"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 375 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-28 17:13:59 +00:00
"src" : "306:10:4"
2018-05-31 13:01:02 +00:00
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 376 ,
2018-05-31 13:01:02 +00:00
"name" : "GnosisSafe" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 63 ,
"src" : "318:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafe_$63" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafe"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 377 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-06-28 17:13:59 +00:00
"src" : "318:10:4"
2018-05-31 13:01:02 +00:00
}
] ,
"contractDependencies" : [
2018-06-28 17:13:59 +00:00
63 ,
632 ,
2018-06-29 11:23:01 +00:00
2232 ,
2888 ,
3065
2018-05-31 13:01:02 +00: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-06-28 17:13:59 +00:00
"id" : 605 ,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts" : [
2018-06-28 17:13:59 +00:00
605 ,
63 ,
2018-06-29 11:23:01 +00:00
2888 ,
2232 ,
2018-06-28 17:13:59 +00:00
632 ,
2018-06-29 11:23:01 +00:00
3065
2018-05-31 13:01:02 +00:00
] ,
"name" : "GnosisSafeTeamEdition" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : true ,
2018-06-28 17:13:59 +00:00
"id" : 380 ,
2018-05-31 13:01:02 +00:00
"name" : "NAME" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "336:56:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 378 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "336:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "476e6f7369732053616665205465616d2045646974696f6e" ,
2018-06-28 17:13:59 +00:00
"id" : 379 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "366:26:4" ,
2018-05-31 13:01:02 +00: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-06-28 17:13:59 +00:00
"id" : 383 ,
2018-05-31 13:01:02 +00:00
"name" : "VERSION" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "398:40:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_string_memory" ,
"typeString" : "string"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 381 ,
2018-05-31 13:01:02 +00:00
"name" : "string" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "398:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_string_storage_ptr" ,
"typeString" : "string"
}
} ,
"value" : {
"argumentTypes" : null ,
"hexValue" : "302e302e31" ,
2018-06-28 17:13:59 +00:00
"id" : 382 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "431:7:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_ae209a0b48f21c054280f2455d32cf309387644879d9acbd8ffc199163811885" ,
"typeString" : "literal_string \"0.0.1\""
} ,
"value" : "0.0.1"
} ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 387 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "536:46:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 386 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 384 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "545:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "536:28:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 385 ,
2018-06-20 08:09:14 +00:00
"name" : "uint256" ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "556:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 393 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "770:66:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 392 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 388 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "779:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "770:48:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 391 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 389 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "798:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "790:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 390 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "809:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 444 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "1457:447:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 412 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 407 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "1545:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 410 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 408 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "1552:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 409 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "1552:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1545:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 411 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1567:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1545:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53656e646572206973206e6f7420616e206f776e6572" ,
2018-06-28 17:13:59 +00:00
"id" : 413 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1570:24:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b22a5f47ffb62866097c90f90b5b53f76973769c84a10c62e12a07eb2ba1ef4a" ,
"typeString" : "literal_string \"Sender is not an owner\""
} ,
"value" : "Sender is not an owner"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b22a5f47ffb62866097c90f90b5b53f76973769c84a10c62e12a07eb2ba1ef4a" ,
"typeString" : "literal_string \"Sender is not an owner\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 406 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "1537:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 414 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1537:58:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 415 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1537:58:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
417
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 417 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1605:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 416 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1605:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 425 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 419 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 395 ,
"src" : "1650:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 420 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 397 ,
"src" : "1654:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 421 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 399 ,
"src" : "1661:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 422 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 401 ,
"src" : "1667:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 423 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 403 ,
"src" : "1678:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 418 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 604 ,
"src" : "1631:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 424 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1631:53:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1605:79:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 431 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 427 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "1774:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 429 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 428 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 417 ,
"src" : "1785:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1774:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 430 ,
2018-06-20 08:09:14 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1805:1:4" ,
2018-06-20 08:09:14 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1774:32:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53616665207472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-28 17:13:59 +00:00
"id" : 432 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1808:35:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
} ,
"value" : "Safe transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 426 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "1766:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 433 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "1766:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 434 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1766:78:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 442 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 435 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 393 ,
"src" : "1854:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 439 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 436 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 417 ,
"src" : "1865:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 440 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 437 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "1882:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 438 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "1882:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:39:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "31" ,
2018-06-28 17:13:59 +00:00
"id" : 441 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "1896:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
} ,
"value" : "1"
} ,
2018-06-28 17:13:59 +00:00
"src" : "1854:43:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 443 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "1854:43:4"
2018-05-31 13:01:02 +00: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." ,
2018-06-28 17:13:59 +00:00
"id" : 445 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "approveTransactionWithParameters" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 404 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 395 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1317:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 394 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1317:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 397 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1338:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 396 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1338:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 399 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1362:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 398 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1362:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 401 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1383:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 400 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "1383:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 403 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 445 ,
"src" : "1418:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 402 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "1418:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "1307:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 405 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "1457:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "1266:638:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 499 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "2530:434:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
459
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 459 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2540:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 458 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2540:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 467 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 461 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 447 ,
"src" : "2585:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 462 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 449 ,
"src" : "2589:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 463 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 451 ,
"src" : "2596:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 464 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 453 ,
"src" : "2602:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 465 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 455 ,
"src" : "2613:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 460 ,
2018-05-31 13:01:02 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 604 ,
"src" : "2566:18:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bytes32_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) view returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 466 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2566:53:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2540:79:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 473 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
2018-06-20 08:09:14 +00:00
"leftExpression" : {
2018-05-31 13:01:02 +00:00
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 469 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "2637:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 471 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 470 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2648:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "2637:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-20 08:09:14 +00:00
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 472 ,
2018-06-20 08:09:14 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2668:1:4" ,
2018-06-20 08:09:14 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "2637:32:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "53616665207472616e73616374696f6e20616c7265616479206578656375746564" ,
2018-06-28 17:13:59 +00:00
"id" : 474 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2671:35:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
} ,
"value" : "Safe transaction already executed"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_78cc689035dd21cb903fbad8327952ddf83800cf1115919ff1ad2be36eed70db" ,
"typeString" : "literal_string \"Safe transaction already executed\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 468 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "2629:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 475 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2629:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 476 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2629:78:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 478 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2744:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 477 ,
2018-05-31 13:01:02 +00:00
"name" : "checkAndClearConfirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 570 ,
"src" : "2717:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_bytes32_$returns$__$" ,
"typeString" : "function (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 479 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2717:43:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 480 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2717:43:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 485 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 481 ,
2018-05-31 13:01:02 +00:00
"name" : "isExecuted" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 387 ,
"src" : "2823:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_uint256_$" ,
"typeString" : "mapping(bytes32 => uint256)"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 483 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 482 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 459 ,
"src" : "2834:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "2823:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
2018-06-20 08:09:14 +00:00
"hexValue" : "31" ,
2018-06-28 17:13:59 +00:00
"id" : 484 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
2018-06-20 08:09:14 +00:00
"kind" : "number" ,
2018-05-31 13:01:02 +00:00
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2853:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-20 08:09:14 +00:00
"value" : "1"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"src" : "2823:31:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 486 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2823:31:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 489 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 447 ,
"src" : "2880:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 490 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 449 ,
"src" : "2884:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 491 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 451 ,
"src" : "2891:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 492 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 453 ,
"src" : "2897:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [ ] ,
"expression" : {
"argumentTypes" : [ ] ,
2018-06-28 17:13:59 +00:00
"id" : 493 ,
2018-05-31 13:01:02 +00:00
"name" : "gasleft" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4029 ,
2018-06-28 17:13:59 +00:00
"src" : "2908:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_gasleft_view$__$returns$_t_uint256_$" ,
"typeString" : "function () view returns (uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 494 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2908:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 488 ,
2018-05-31 13:01:02 +00:00
"name" : "execute" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2121 ,
2018-06-28 17:13:59 +00:00
"src" : "2872:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_enum$_Operation_$29_$_t_uint256_$returns$_t_bool_$" ,
2018-05-31 13:01:02 +00:00
"typeString" : "function (address,uint256,bytes memory,enum Enum.Operation,uint256) returns (bool)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 495 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2872:46:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "436f756c64206e6f7420657865637574652073616665207472616e73616374696f6e" ,
2018-06-28 17:13:59 +00:00
"id" : 496 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "2920:36:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_d12b254798790cac45e0b54201b0ecf8f3257f9e4c1cfc4633e272006616c878" ,
"typeString" : "literal_string \"Could not execute safe transaction\""
} ,
"value" : "Could not execute safe transaction"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_d12b254798790cac45e0b54201b0ecf8f3257f9e4c1cfc4633e272006616c878" ,
"typeString" : "literal_string \"Could not execute safe transaction\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 487 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "2864:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 497 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "2864:93:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 498 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "2864:93:4"
2018-05-31 13:01:02 +00: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." ,
2018-06-28 17:13:59 +00:00
"id" : 500 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "execTransactionIfApproved" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 456 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 447 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2390:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 446 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2390:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 449 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2411:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 448 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2411:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 451 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2435:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 450 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2435:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 453 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2456:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 452 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "2456:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 455 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 500 ,
"src" : "2491:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 454 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "2491:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "2380:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 457 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "2530:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "2346:618:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 569 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3052:679:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
508
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 508 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3062:37:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 507 ,
2018-05-31 13:01:02 +00:00
"keyType" : {
2018-06-28 17:13:59 +00:00
"id" : 505 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3070:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Mapping" ,
2018-06-28 17:13:59 +00:00
"src" : "3062:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
} ,
"valueType" : {
2018-06-28 17:13:59 +00:00
"id" : 506 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3081:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 512 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 509 ,
2018-05-31 13:01:02 +00:00
"name" : "isApproved" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 393 ,
"src" : "3102:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_uint256_$_$" ,
"typeString" : "mapping(bytes32 => mapping(address => uint256))"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 511 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 510 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 502 ,
"src" : "3113:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3102:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3062:67:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
514
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 514 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3139:21:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 513 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3139:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 516 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 515 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3163:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3139:25:4"
2018-05-31 13:01:02 +00:00
} ,
{
"assignments" : [
2018-06-28 17:13:59 +00:00
518
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 518 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3216:20:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 517 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3216:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 522 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 519 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "3239:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 521 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 520 ,
2018-05-31 13:01:02 +00:00
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2490 ,
2018-06-28 17:13:59 +00:00
"src" : "3246:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3239:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3216:46:4"
2018-05-31 13:01:02 +00:00
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 560 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3312:340:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"assignments" : [
2018-06-28 17:13:59 +00:00
527
2018-05-31 13:01:02 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 527 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3326:19:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 526 ,
2018-05-31 13:01:02 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3326:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 533 ,
2018-05-31 13:01:02 +00:00
"initialValue" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 532 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 528 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 508 ,
"src" : "3348:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 530 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 529 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3358:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3348:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 531 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3375:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "3348:28:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3326:50:4"
2018-05-31 13:01:02 +00:00
} ,
{
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
2018-06-28 17:13:59 +00:00
"id" : 539 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 537 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 534 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3393:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 535 ,
2018-05-31 13:01:02 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4036 ,
2018-06-28 17:13:59 +00:00
"src" : "3409:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 536 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "3409:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3393:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "||" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 538 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 527 ,
"src" : "3423:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3393:44:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-06-28 17:13:59 +00:00
"id" : 553 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "IfStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3390:203:4" ,
2018-05-31 13:01:02 +00:00
"trueBody" : {
2018-06-28 17:13:59 +00:00
"id" : 552 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3439:154:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"condition" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 540 ,
2018-05-31 13:01:02 +00:00
"name" : "ownerConfirmed" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 527 ,
"src" : "3461:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"falseBody" : null ,
2018-06-28 17:13:59 +00:00
"id" : 548 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "IfStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3457:88:4" ,
2018-05-31 13:01:02 +00:00
"trueBody" : {
2018-06-28 17:13:59 +00:00
"id" : 547 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "3477:68:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 545 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 541 ,
2018-05-31 13:01:02 +00:00
"name" : "approvals" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 508 ,
"src" : "3499:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_uint256_$" ,
"typeString" : "mapping(address => uint256)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 543 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 542 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3509:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : true ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3499:23:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 544 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3525:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-06-28 17:13:59 +00:00
"src" : "3499:27:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 546 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3499:27:4"
2018-05-31 13:01:02 +00:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 550 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "UnaryOperation" ,
"operator" : "++" ,
"prefix" : false ,
2018-06-28 17:13:59 +00:00
"src" : "3562:16:4" ,
2018-05-31 13:01:02 +00:00
"subExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 549 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 514 ,
"src" : "3562:13:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 551 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3562:16:4"
2018-05-31 13:01:02 +00:00
}
]
}
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 558 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 554 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3606:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"baseExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 555 ,
2018-05-31 13:01:02 +00:00
"name" : "owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2494 ,
2018-06-28 17:13:59 +00:00
"src" : "3621:6:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_mapping$_t_address_$_t_address_$" ,
"typeString" : "mapping(address => address)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 557 ,
2018-05-31 13:01:02 +00:00
"indexExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 556 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3628:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"isConstant" : false ,
"isLValue" : true ,
"isPure" : false ,
"lValueRequested" : false ,
"nodeType" : "IndexAccess" ,
2018-06-28 17:13:59 +00:00
"src" : "3621:20:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3606:35:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 559 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3606:35:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"condition" : {
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-06-28 17:13:59 +00:00
"id" : 525 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 523 ,
2018-05-31 13:01:02 +00:00
"name" : "currentOwner" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 518 ,
"src" : "3279:12:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "!=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 524 ,
2018-05-31 13:01:02 +00:00
"name" : "SENTINEL_OWNERS" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2490 ,
2018-06-28 17:13:59 +00:00
"src" : "3295:15:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3279:31:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 561 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "WhileStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3272:380:4"
2018-05-31 13:01:02 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
2018-06-28 17:13:59 +00:00
"id" : 565 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 563 ,
2018-05-31 13:01:02 +00:00
"name" : "confirmations" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 514 ,
"src" : "3669:13:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : ">=" ,
"rightExpression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 564 ,
2018-05-31 13:01:02 +00:00
"name" : "threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 2498 ,
2018-06-28 17:13:59 +00:00
"src" : "3686:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-20 08:09:14 +00:00
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-28 17:13:59 +00:00
"src" : "3669:26:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
{
"argumentTypes" : null ,
"hexValue" : "4e6f7420656e6f75676820636f6e6669726d6174696f6e73" ,
2018-06-28 17:13:59 +00:00
"id" : 566 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "string" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "3697:26:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_stringliteral_b345da2aaad39251196728cc7926bed93e890843c2a47c2cdd1122427d828094" ,
"typeString" : "literal_string \"Not enough confirmations\""
} ,
"value" : "Not enough confirmations"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
{
"typeIdentifier" : "t_stringliteral_b345da2aaad39251196728cc7926bed93e890843c2a47c2cdd1122427d828094" ,
"typeString" : "literal_string \"Not enough confirmations\""
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 562 ,
2018-05-31 13:01:02 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-06-29 11:23:01 +00:00
4039 ,
4040
2018-05-31 13:01:02 +00:00
] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4040 ,
2018-06-28 17:13:59 +00:00
"src" : "3661:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$" ,
"typeString" : "function (bool,string memory) pure"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 567 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "3661:63:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 568 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ExpressionStatement" ,
2018-06-28 17:13:59 +00:00
"src" : "3661:63:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : null ,
2018-06-28 17:13:59 +00:00
"id" : 570 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "checkAndClearConfirmations" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 503 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 502 ,
2018-05-31 13:01:02 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 570 ,
"src" : "3006:23:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 501 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "3006:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "3005:25:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 504 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-06-28 17:13:59 +00:00
"src" : "3052:0:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "2970:761:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
} ,
{
"body" : {
2018-06-28 17:13:59 +00:00
"id" : 603 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Block" ,
2018-06-28 17:13:59 +00:00
"src" : "4225:113:4" ,
2018-05-31 13:01:02 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-06-28 17:13:59 +00:00
"id" : 589 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "4274:4:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
} ,
"value" : "0x19"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_25_by_1" ,
"typeString" : "int_const 25"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 588 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-28 17:13:59 +00:00
"src" : "4269:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-28 17:13:59 +00:00
"id" : 590 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4269:10:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-06-28 17:13:59 +00:00
"id" : 592 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-06-28 17:13:59 +00:00
"src" : "4286:1:4" ,
2018-05-31 13:01:02 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 591 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-06-28 17:13:59 +00:00
"src" : "4281:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-06-28 17:13:59 +00:00
"id" : 593 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4281:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 594 ,
2018-05-31 13:01:02 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4073 ,
2018-06-28 17:13:59 +00:00
"src" : "4290:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$605" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafeTeamEdition"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 595 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 572 ,
"src" : "4296:2:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 596 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 574 ,
"src" : "4300:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 597 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 576 ,
"src" : "4307:4:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 598 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 578 ,
"src" : "4313:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
{
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 599 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 580 ,
"src" : "4324:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_contract$_GnosisSafeTeamEdition_$605" ,
2018-05-31 13:01:02 +00:00
"typeString" : "contract GnosisSafeTeamEdition"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
"expression" : {
"argumentTypes" : null ,
2018-06-28 17:13:59 +00:00
"id" : 586 ,
2018-05-31 13:01:02 +00:00
"name" : "abi" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4023 ,
2018-06-28 17:13:59 +00:00
"src" : "4252:3:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_abi" ,
"typeString" : "abi"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 587 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"memberName" : "encodePacked" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-06-28 17:13:59 +00:00
"src" : "4252:16:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$" ,
"typeString" : "function () pure returns (bytes memory)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 600 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4252:78:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-06-28 17:13:59 +00:00
"id" : 585 ,
2018-05-31 13:01:02 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-06-29 11:23:01 +00:00
"referencedDeclaration" : 4030 ,
2018-06-28 17:13:59 +00:00
"src" : "4242:9:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-06-28 17:13:59 +00:00
"id" : 601 ,
2018-05-31 13:01:02 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-06-28 17:13:59 +00:00
"src" : "4242:89:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-06-28 17:13:59 +00:00
"functionReturnParameters" : 584 ,
"id" : 602 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "Return" ,
2018-06-28 17:13:59 +00:00
"src" : "4235:96:4"
2018-05-31 13:01:02 +00:00
}
]
} ,
"documentation" : "@dev Returns hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param operation Operation type.\n @param nonce Transaction nonce.\n @return Transaction hash." ,
2018-06-28 17:13:59 +00:00
"id" : 604 ,
2018-05-31 13:01:02 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-06-28 17:13:59 +00:00
"id" : 581 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 572 ,
2018-05-31 13:01:02 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4046:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 571 ,
2018-05-31 13:01:02 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4046:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 574 ,
2018-05-31 13:01:02 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4067:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 573 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4067:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 576 ,
2018-05-31 13:01:02 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4091:10:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 575 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4091:5:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 578 ,
2018-05-31 13:01:02 +00:00
"name" : "operation" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4112:24:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
} ,
"typeName" : {
"contractScope" : null ,
2018-06-28 17:13:59 +00:00
"id" : 577 ,
2018-05-31 13:01:02 +00:00
"name" : "Enum.Operation" ,
"nodeType" : "UserDefinedTypeName" ,
2018-06-28 17:13:59 +00:00
"referencedDeclaration" : 29 ,
"src" : "4112:14:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
2018-06-28 17:13:59 +00:00
"typeIdentifier" : "t_enum$_Operation_$29" ,
2018-05-31 13:01:02 +00:00
"typeString" : "enum Enum.Operation"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 580 ,
2018-05-31 13:01:02 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4147:13:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 579 ,
2018-05-31 13:01:02 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4147:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "4036:130:4"
2018-05-31 13:01:02 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-06-28 17:13:59 +00:00
"id" : 584 ,
2018-05-31 13:01:02 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-06-28 17:13:59 +00:00
"id" : 583 ,
2018-05-31 13:01:02 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-06-28 17:13:59 +00:00
"scope" : 604 ,
"src" : "4212:7:4" ,
2018-05-31 13:01:02 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-06-28 17:13:59 +00:00
"id" : 582 ,
2018-05-31 13:01:02 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-06-28 17:13:59 +00:00
"src" : "4212:7:4" ,
2018-05-31 13:01:02 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "4211:9:4"
2018-05-31 13:01:02 +00:00
} ,
2018-06-28 17:13:59 +00:00
"scope" : 605 ,
"src" : "4009:329:4" ,
2018-05-31 13:01:02 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-06-28 17:13:59 +00:00
"scope" : 606 ,
"src" : "272:4068:4"
2018-05-31 13:01:02 +00:00
}
] ,
2018-06-28 17:13:59 +00:00
"src" : "0:4341:4"
2018-05-31 13:01:02 +00:00
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.24+commit.e67f0147.Emscripten.clang"
} ,
"networks" : {
2018-06-29 11:23:01 +00:00
"4" : {
2018-06-26 11:48:05 +00:00
"events" : { } ,
"links" : { } ,
2018-06-29 11:23:01 +00:00
"address" : "0x302d18608065ff4920d868690ed33156883c503e" ,
"transactionHash" : "0xfc9db9588365ec18aaf1a6cc78a164a7cfcf7386272e273098ac307d8a92bbbc"
} ,
"1530013596495" : {
"events" : { } ,
"links" : { } ,
"address" : "0x148118e4ddffe5df4b451451d55be4530bfc9d3e" ,
"transactionHash" : "0xb8ed579291e3ccad4c5beb93c32744d0cca11907f5a0c90cabb6d8ff84bb2031"
2018-07-02 10:12:59 +00:00
} ,
"1530525742205" : {
"events" : { } ,
"links" : { } ,
"address" : "0x70b94da9b269ca9c1580e7fb069fa465c3a88e0e" ,
"transactionHash" : "0x7b929dca2948e3f48a96ca43d31a392f30f8ba4f51a778436c9df26006682054"
2018-07-03 11:14:01 +00:00
} ,
"1530611935189" : {
"events" : { } ,
"links" : { } ,
"address" : "0x47fdfa601a5df4e99ac374b05baeb36dd1fca288" ,
"transactionHash" : "0x7b929dca2948e3f48a96ca43d31a392f30f8ba4f51a778436c9df26006682054"
2018-05-31 13:01:02 +00:00
}
} ,
2018-06-29 11:23:01 +00:00
"schemaVersion" : "2.0.0" ,
2018-07-03 11:14:01 +00:00
"updatedAt" : "2018-07-03T09:59:18.543Z"
2018-05-31 13:01:02 +00:00
}