2018-05-10 11:12:13 +00:00
{
"contractName" : "DailyLimitModuleWithSignature" ,
"abi" : [
{
"constant" : false ,
"inputs" : [
{
"name" : "tokens" ,
"type" : "address[]"
} ,
{
"name" : "_dailyLimits" ,
"type" : "uint256[]"
}
] ,
"name" : "setup" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "TRANSFER_FUNCTION_IDENTIFIER" ,
"outputs" : [
{
"name" : "" ,
"type" : "bytes4"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "manager" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "_masterCopy" ,
"type" : "address"
}
] ,
"name" : "changeMasterCopy" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "token" ,
"type" : "address"
} ,
{
"name" : "dailyLimit" ,
"type" : "uint256"
}
] ,
"name" : "changeDailyLimit" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "NAME" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "nonce" ,
"outputs" : [
{
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "today" ,
"outputs" : [
{
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"name" : "dailyLimits" ,
"outputs" : [
{
"name" : "dailyLimit" ,
"type" : "uint256"
} ,
{
"name" : "spentToday" ,
"type" : "uint256"
} ,
{
"name" : "lastDay" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
}
] ,
"name" : "executeDailyLimit" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "VERSION" ,
"outputs" : [
{
"name" : "" ,
"type" : "string"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "v" ,
"type" : "uint8"
} ,
{
"name" : "r" ,
"type" : "bytes32"
} ,
{
"name" : "s" ,
"type" : "bytes32"
}
] ,
"name" : "executeDailyLimitWithSignature" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "value" ,
"type" : "uint256"
} ,
{
"name" : "data" ,
"type" : "bytes"
} ,
{
"name" : "_nonce" ,
"type" : "uint256"
}
] ,
"name" : "getTransactionHash" ,
"outputs" : [
{
"name" : "" ,
"type" : "bytes32"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
}
] ,
2018-05-16 13:46:33 +00:00
"bytecode" : " 0 x 608060405234801561001057600080 f d 5 b 506111 d 9806100206000396000 f 3006080604052600436106100 c 5576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 16806328814 f 0 3146100 c a 578063430e47 f 814610173578063481 c 6 a 75146101 d c 5780634 b e d d 30 f 146102335780637 d e 7 e d e f 146102 e f 57806381 c 5e03 b 14610332578063 a 3 f 4 d f 7e1461037 f 578063 a f f e d 0e01461040 f 578063 b 74e452 b 1461043 a 578063 b 98 a 34 d e 14610465578063 d 7 b f f c 921461051e578063 f c e 7379 a 14610583578063 f f a 1 a d 7414610616575 b 600080 f d 5 b 3480156100 d 657600080 f d 5 b 5061017160048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091929192905050506106 a 6565 b 0 0 5 b 34801561017 f 57600080 f d 5 b 50610188610745565 b 60405180827 b f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 b f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1916815260200191505060405180910390 f 35 b 3480156101e857600080 f d 5 b 506101 f 1610769565 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 34801561023 f 57600080 f d 5 b 506102 e d 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 1690602001909291908035600019169060200190929190803560001916906020019092919050505061078 f 565 b 0 0 5 b 3480156102 f b 57600080 f d 5 b 50610330600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919050505061084 c 565 b 0 0 5 b 34801561033e57600080 f d 5 b 5061037 d 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190505050610911565 b 0 0 5 b 34801561038 b 57600080 f d 5 b 506103946109 b 8565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156103 d 45780820151818401526020810190506103 b 9565 b 50505050905090810190601 f 1680156104015780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561041 b 57600080 f d 5 b 506104246109 f 1565 b 6040518082815260200191505060405180910390 f 35 b 34801561044657600080 f d 5 b 5061044 f 6109 f 7565 b 6040518082815260200191505060405180910390 f 35 b 34801561047157600080 f d 5 b 50610500600480360381019080803573 f f f f f f f f f f f f f f f f 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 16020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190929190505050610 a 0 f 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561052 a 57600080 f d 5 b 5061055 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 169060200190929190505050610 b f 2565 b 60405180848152602001838152602001828152602001935050505060405180910390 f 35 b 34801561058 f 57600080 f d 5 b 50610614600480360381019080803573 f f f f f f f f f f f f f f f f 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 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 c 1 c 565 b 0 0 5 b 34801561062257600080 f d 5 b 5061062 b 610 c 2 d 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561066 b 578082015181840152602081019050610650565 b 50505050905090810190601 f 1680156106985780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 60006106 b 0 610 c 66565 b 600090505 b 82518110156107405781818151811015156106 c c 57 f e 5 b 906020019060200201516002600085848151811015156106e857 f e 5 b 9060200190602002015173 f f f f f f f f f f f f f f f f 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 1681526020019081526020016000206000018190555080806001019150506106 b 5565 b 505050565 b 7 f a 9059 c b b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 81565 b 600160009054906101000 a 900473 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1681565 b 6000806107 a 0 888888600354610 a 0 f 565 b 9150600182868686604051600081526020016040526040518085600019166000191681526020018460 f f 1660 f f 168152602001836000
"deployedBytecode" : " 0 x 6080604052600436106100 c 5576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 16806328814 f 0 3146100 c a 578063430e47 f 814610173578063481 c 6 a 75146101 d c 5780634 b e d d 30 f 146102335780637 d e 7 e d e f 146102 e f 57806381 c 5e03 b 14610332578063 a 3 f 4 d f 7e1461037 f 578063 a f f e d 0e01461040 f 578063 b 74e452 b 1461043 a 578063 b 98 a 34 d e 14610465578063 d 7 b f f c 921461051e578063 f c e 7379 a 14610583578063 f f a 1 a d 7414610616575 b 600080 f d 5 b 3480156100 d 657600080 f d 5 b 5061017160048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091929192905050506106 a 6565 b 0 0 5 b 34801561017 f 57600080 f d 5 b 50610188610745565 b 60405180827 b f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 19167 b f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1916815260200191505060405180910390 f 35 b 3480156101e857600080 f d 5 b 506101 f 1610769565 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 34801561023 f 57600080 f d 5 b 506102 e d 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803560 f f 1690602001909291908035600019169060200190929190803560001916906020019092919050505061078 f 565 b 0 0 5 b 3480156102 f b 57600080 f d 5 b 50610330600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919050505061084 c 565 b 0 0 5 b 34801561033e57600080 f d 5 b 5061037 d 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16906020019092919080359060200190929190505050610911565 b 0 0 5 b 34801561038 b 57600080 f d 5 b 506103946109 b 8565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156103 d 45780820151818401526020810190506103 b 9565 b 50505050905090810190601 f 1680156104015780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561041 b 57600080 f d 5 b 506104246109 f 1565 b 6040518082815260200191505060405180910390 f 35 b 34801561044657600080 f d 5 b 5061044 f 6109 f 7565 b 6040518082815260200191505060405180910390 f 35 b 34801561047157600080 f d 5 b 50610500600480360381019080803573 f f f f f f f f f f f f f f f f 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 16020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190929190505050610 a 0 f 565 b 60405180826000191660001916815260200191505060405180910390 f 35 b 34801561052 a 57600080 f d 5 b 5061055 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 169060200190929190505050610 b f 2565 b 60405180848152602001838152602001828152602001935050505060405180910390 f 35 b 34801561058 f 57600080 f d 5 b 50610614600480360381019080803573 f f f f f f f f f f f f f f f f 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 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610 c 1 c 565 b 0 0 5 b 34801561062257600080 f d 5 b 5061062 b 610 c 2 d 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561066 b 578082015181840152602081019050610650565 b 50505050905090810190601 f 1680156106985780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 60006106 b 0 610 c 66565 b 600090505 b 82518110156107405781818151811015156106 c c 57 f e 5 b 906020019060200201516002600085848151811015156106e857 f e 5 b 9060200190602002015173 f f f f f f f f f f f f f f f f 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 1681526020019081526020016000206000018190555080806001019150506106 b 5565 b 505050565 b 7 f a 9059 c b b 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 81565 b 600160009054906101000 a 900473 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1681565 b 6000806107 a 0 888888600354610 a 0 f 565 b 9150600182868686604051600081526020016040526040518085600019166000191681526020018460 f f 1660 f f 16815260200183600019166000191681526020018260001916600019168152602001945050
"sourceMap" : "241:1458:11:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;241:1458:11;;;;;;;" ,
"deployedSourceMap" : " 241 : 1458 : 11 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 991 : 222 : 10 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 991 : 222 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 441 : 67 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 441 : 67 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 262 : 28 : 5 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 262 : 28 : 5 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 874 : 346 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 874 : 346 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 208 : 4 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 626 : 208 : 4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1441 : 158 : 10 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1441 : 158 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 339 : 50 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 339 : 50 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 339 : 50 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 307 : 20 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 307 : 20 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 4040 : 116 : 10 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 4040 : 116 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1471 : 226 : 11 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1471 : 226 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 586 : 50 : 10 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 586 : 50 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3308 : 146 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 3308 : 146 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 395 : 40 ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 395 : 40 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 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 ; 395 : 40 : 10 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 991 : 222 ; 1104 : 9 ; 1077 : 12 ; : 10 ; : 12 : : i ; : : : - ; 1116 : 1 ; 1104 : 13 ; ; 1099 : 107 ; 1123 : 6 ; : 13 ; 1119 : 1 ; : 17 ; 1099 : 107 ; ; ; 1191 : 12 ; 1204 : 1 ; 1191 : 15 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1155 : 11 ; : 22 ; 1167 : 6 ; 1174 : 1 ; 1167 : 9 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1155 : 22 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 33 ; ; : 51 ; ; ; ; 1138 : 3 ; ; ; ; ; ; ; 1099 : 107 ; ; ; 991 : 222 ; ; ; : : : o ; 441 : 67 : : - ; ; ; : : : o ; 262 : 28 : 5 : - ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 874 : 346 : 11 : - ; 1013 : 23 ; 1091 : 14 ; 1039 : 42 ; 1058 : 2 ; 1062 : 5 ; 1069 : 4 ; 1075 : 5 ; ; 1039 : 18 ; : 42 : : i ; : : : - ; 1013 : 68 ; ; 1108 : 35 ; 1118 : 15 ; 1135 : 1 ; 1138 ; 1141 ; 1108 : 35 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 45 : 16 ; 42 : 1 ; 39 ; 24 : 38 ; 77 : 16 ; 74 : 1 ; 67 : 27 ; 5 : 2 ; 1108 : 35 : 11 ; ; ; ; ; ; ; ; 1091 : 52 ; ; 1162 : 1 ; 1153 : 5 ; ; : 10 ; ; ; ; ; ; ; ; ; ; ; 1173 : 40 ; 1189 : 6 ; 1197 : 2 ; 1201 : 5 ; 1208 : 4 ; 1173 : 15 ; : 40 : : i ; : : : - ; 874 : 346 ; ; ; ; ; ; ; ; : : : o ; 626 : 208 : 4 : - ; 359 : 7 : 5 ; ; ; ; ; ; ; ; ; ; ; 337 : 30 ; ; : 10 ; : 30 ; ; ; 329 : 39 ; ; ; ; ; ; ; ; 791 : 1 : 4 ; 776 : 11 ; : 16 ; ; ; ; 768 : 25 ; ; ; ; ; ; ; ; 816 : 11 ; 803 : 10 ; ; : 24 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 626 : 208 ; : : : o ; 1441 : 158 : 10 : - ; 359 : 7 : 5 ; ; ; ; ; ; ; ; ; ; ; 337 : 30 ; ; : 10 ; : 30 ; ; ; 329 : 39 ; ; ; ; ; ; ; ; 1582 : 10 : 10 ; 1550 : 11 ; : 18 ; 1562 : 5 ; 1550 : 18 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 29 ; ; : 42 ; ; ; ; 1441 : 158 ; ; : : : o ; 339 : 50 : : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 307 : 20 : 11 : - ; ; ; ; : : : o ; 4040 : 116 : 10 : - ; 4102 : 4 ; 4142 : 6 ; 4136 : 3 ; : 12 ; ; ; ; ; ; ; ; 4129 : 3 ; : 20 ; 4122 : 27 ; ; 4040 : 116 ; : : : o ; 1471 : 226 : 11 : - ; 1599 : 7 ; 1644 : 4 ; 1639 : 10 ; ; 1656 : 1 ; 1651 : 7 ; ; 1660 : 4 ; 1666 : 2 ; 1670 : 5 ; 1677 : 4 ; 1683 : 6 ; 1629 : 61 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 36 : 153 : -1 ; 66 : 2 ; 61 : 3 ; 58 : 11 ; 51 : 19 ; 36 : 153 ; ; ; 182 : 3 ; 176 : 10 ; 171 : 3 ; 164 : 23 ; 98 : 2 ; 93 : 3 ; 89 : 12 ; 82 : 19 ; ; 123 : 2 ; 118 : 3 ; 114 : 12 ; 107 : 19 ; ; 148 : 2 ; 143 : 3 ; 139 : 12 ; 132 : 19 ; ; 36 : 153 ; ; ; 274 : 1 ; 267 : 3 ; 263 : 2 ; 259 : 12 ; 254 : 3 ; 250 : 22 ; 246 : 30 ; 315 : 4 ; 311 : 9 ; 305 : 3 ; 299 : 10 ; 295 : 26 ; 356 : 4 ; 350 : 3 ; 344 : 10 ; 340 : 21 ; 389 : 7 ; 380 ; 377 : 20 ; 372 : 3 ; 365 : 33 ; 3 : 399 ; ; ; 1629 : 61 : 11 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 1622 : 68 ; ; 1471 : 226 ; ; ; ; ; ; : : : o ; 586 : 50 : 10 : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 3308 : 146 : : - ; 3403 : 44 ; 3419 : 10 ; 3431 : 2 ; 3435 : 5 ; 3442 : 4 ; 3403 : 15 ; : 44 : : i ; : : : - ; 3308 : 146 ; ; ; : : : o ; 395 : 40 : : - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : : : o ; 392 : 268 : 5 : - ; 606 : 1 ; 594 : 7 ; ; ; ; ; ; ; ; ; ; ; 586 : 21 ; ; ; 578 : 30 ; ; ; ; ; ; ; ; 642 : 10 ; 618 : 7 ; ; : 35 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 392 : 268 : : o ; 1605 : 1319 : 10 : - ; 1997 : 13 ; 2020 : 16 ; 2046 : 14 ; 2233 : 25 ; 1814 : 7 ; ; ; ; ; ; ; ; ; ; ; 1801 : 29 ; ; ; 1831 : 6 ; 1801 : 37 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 30 : 1 ; 27 ; 20 : 12 ; 5 : 2 ; 1801 : 37 : 10 ; ; ; ; 8 : 9 : -1 ; 5 : 2 ; ; ; 45 : 16 ; 42 : 1 ; 39 ; 24 : 38 ; 77 : 16 ; 74 : 1 ; 67 : 27 ; 5 : 2 ; 1801 : 37 : 10 ; ; ; ; ; ; ; 13 : 2 : -1 ; 8
2018-05-10 11:12:13 +00:00
"source" : "pragma solidity 0.4.23;\nimport \"./DailyLimitModule.sol\";\n\n\n/// @title Daily Limit Module With Signature - Allows to transfer limited amounts of ERC20 tokens and Ether without confirmations.\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract DailyLimitModuleWithSignature is DailyLimitModule {\n\n uint256 public nonce;\n\n /// @dev Returns if Safe transaction is a valid daily limit transaction.\n /// @param to Receiver address in case of Ether transfer, token address in case of a token transfer.\n /// @param value Ether value in case of an Ether transfer.\n /// @param data Encoded token transfer. Empty in case of Ether transfer.\n /// @param v Part of the signature of the sender.\n /// @param r Part of the signature of the sender.\n /// @param s Part of the signature of the sender.\n /// @return Returns if transaction can be executed.\n function executeDailyLimitWithSignature(address to, uint256 value, bytes data, uint8 v, bytes32 r, bytes32 s)\n public\n {\n bytes32 transactionHash = getTransactionHash(to, value, data, nonce);\n address sender = ecrecover(transactionHash, v, r, s);\n nonce += 1;\n executeInternal(sender, to, value, data);\n }\n\n /// @dev Returns transactions hash to be signed by owners.\n /// @param to Destination address.\n /// @param value Ether value.\n /// @param data Data payload.\n /// @param _nonce Transaction nonce.\n /// @return Transaction hash.\n function getTransactionHash(address to, uint256 value, bytes data, uint256 _nonce)\n public\n view\n returns (bytes32)\n {\n return keccak256(byte(0x19), byte(0), this, to, value, data, _nonce);\n }\n}\n" ,
"sourcePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/DailyLimitModuleWithSignature.sol" ,
"ast" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/DailyLimitModuleWithSignature.sol" ,
"exportedSymbols" : {
"DailyLimitModuleWithSignature" : [
2018-05-16 13:46:33 +00:00
1775
2018-05-10 11:12:13 +00:00
]
} ,
2018-05-16 13:46:33 +00:00
"id" : 1776 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 13:46:33 +00:00
"id" : 1696 ,
2018-05-10 11:12:13 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 13:46:33 +00:00
"src" : "0:23:11"
2018-05-10 11:12:13 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/DailyLimitModule.sol" ,
"file" : "./DailyLimitModule.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 1697 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 1776 ,
"sourceUnit" : 1695 ,
"src" : "24:32:11" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1698 ,
2018-05-10 11:12:13 +00:00
"name" : "DailyLimitModule" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1694 ,
"src" : "283:16:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModule_$1694" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModule"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1699 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 13:46:33 +00:00
"src" : "283:16:11"
2018-05-10 11:12:13 +00:00
}
] ,
"contractDependencies" : [
2018-05-16 13:46:33 +00:00
580 ,
621 ,
1359 ,
1694
2018-05-10 11:12:13 +00:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Daily Limit Module With Signature - Allows to transfer limited amounts of ERC20 tokens and Ether without confirmations.\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-05-16 13:46:33 +00:00
"id" : 1775 ,
2018-05-10 11:12:13 +00:00
"linearizedBaseContracts" : [
2018-05-16 13:46:33 +00:00
1775 ,
1694 ,
621 ,
580 ,
1359
2018-05-10 11:12:13 +00:00
] ,
"name" : "DailyLimitModuleWithSignature" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1701 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "307:20:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1700 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "307:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 1745 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "1003:217:11" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"assignments" : [
2018-05-16 13:46:33 +00:00
1717
2018-05-10 11:12:13 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1717 ,
2018-05-10 11:12:13 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "1013:23:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1716 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1013:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1724 ,
2018-05-10 11:12:13 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1719 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1703 ,
"src" : "1058:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1720 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1705 ,
"src" : "1062:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1721 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1707 ,
"src" : "1069:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1722 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1701 ,
"src" : "1075:5:11" ,
2018-05-10 11:12:13 +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"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1718 ,
2018-05-10 11:12:13 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1774 ,
"src" : "1039:18:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$" ,
"typeString" : "function (address,uint256,bytes memory,uint256) view returns (bytes32)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1723 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1039:42:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1013:68:11"
2018-05-10 11:12:13 +00:00
} ,
{
"assignments" : [
2018-05-16 13:46:33 +00:00
1726
2018-05-10 11:12:13 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1726 ,
2018-05-10 11:12:13 +00:00
"name" : "sender" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "1091:14:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1725 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1091:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1733 ,
2018-05-10 11:12:13 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1728 ,
2018-05-10 11:12:13 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1717 ,
"src" : "1118:15:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1729 ,
2018-05-10 11:12:13 +00:00
"name" : "v" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1709 ,
"src" : "1135:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1730 ,
2018-05-10 11:12:13 +00:00
"name" : "r" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1711 ,
"src" : "1138:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1731 ,
2018-05-10 11:12:13 +00:00
"name" : "s" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1713 ,
"src" : "1141:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1727 ,
2018-05-10 11:12:13 +00:00
"name" : "ecrecover" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2388 ,
"src" : "1108:9:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$" ,
"typeString" : "function (bytes32,uint8,bytes32,bytes32) pure returns (address)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1732 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1108:35:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1091:52:11"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1736 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1734 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1701 ,
"src" : "1153:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "+=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "31" ,
2018-05-16 13:46:33 +00:00
"id" : 1735 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1162:1:11" ,
2018-05-10 11:12:13 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
} ,
"value" : "1"
} ,
2018-05-16 13:46:33 +00:00
"src" : "1153:10:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1737 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1153:10:11"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1739 ,
2018-05-10 11:12:13 +00:00
"name" : "sender" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1726 ,
"src" : "1189:6:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1740 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1703 ,
"src" : "1197:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1741 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1705 ,
"src" : "1201:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1742 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1707 ,
"src" : "1208:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1738 ,
2018-05-10 11:12:13 +00:00
"name" : "executeInternal" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1606 ,
"src" : "1173:15:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (address,address,uint256,bytes memory)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1743 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1173:40:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1744 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1173:40:11"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : "@dev Returns if Safe transaction is a valid daily limit transaction.\n @param to Receiver address in case of Ether transfer, token address in case of a token transfer.\n @param value Ether value in case of an Ether transfer.\n @param data Encoded token transfer. Empty in case of Ether transfer.\n @param v Part of the signature of the sender.\n @param r Part of the signature of the sender.\n @param s Part of the signature of the sender.\n @return Returns if transaction can be executed." ,
2018-05-16 13:46:33 +00:00
"id" : 1746 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "executeDailyLimitWithSignature" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1714 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1703 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "914:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1702 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "914:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1705 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "926:13:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1704 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "926:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1707 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "941:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1706 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "941:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1709 ,
2018-05-10 11:12:13 +00:00
"name" : "v" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "953:7:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1708 ,
2018-05-10 11:12:13 +00:00
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "953:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1711 ,
2018-05-10 11:12:13 +00:00
"name" : "r" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "962:9:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1710 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "962:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1713 ,
2018-05-10 11:12:13 +00:00
"name" : "s" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "973:9:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1712 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "973:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "913:70:11"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1715 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "1003:0:11"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "874:346:11" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 1773 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "1612:85:11" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-05-16 13:46:33 +00:00
"id" : 1761 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1644:4:11" ,
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 1760 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "1639:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 13:46:33 +00:00
"id" : 1762 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1639:10:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 13:46:33 +00:00
"id" : 1764 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1656:1:11" ,
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 1763 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "1651:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 13:46:33 +00:00
"id" : 1765 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1651:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1766 ,
2018-05-10 11:12:13 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2431 ,
"src" : "1660:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModuleWithSignature_$1775" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModuleWithSignature"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1767 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1748 ,
"src" : "1666:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1768 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1750 ,
"src" : "1670:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1769 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1752 ,
"src" : "1677:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1770 ,
2018-05-10 11:12:13 +00:00
"name" : "_nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1754 ,
"src" : "1683:6:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModuleWithSignature_$1775" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModuleWithSignature"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1759 ,
2018-05-10 11:12:13 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2390 ,
"src" : "1629:9:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1771 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1629:61:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-05-16 13:46:33 +00:00
"functionReturnParameters" : 1758 ,
"id" : 1772 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Return" ,
2018-05-16 13:46:33 +00:00
"src" : "1622:68:11"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : "@dev Returns transactions hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param _nonce Transaction nonce.\n @return Transaction hash." ,
2018-05-16 13:46:33 +00:00
"id" : 1774 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1755 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1748 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1499:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1747 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1499:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1750 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1511:13:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1749 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1511:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1752 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1526:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1751 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1526:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1754 ,
2018-05-10 11:12:13 +00:00
"name" : "_nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1538:14:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1753 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1538:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "1498:55:11"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1758 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1757 ,
2018-05-10 11:12:13 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1599:7:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1756 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1599:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "1598:9:11"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "1471:226:11" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-05-16 13:46:33 +00:00
"scope" : 1776 ,
"src" : "241:1458:11"
2018-05-10 11:12:13 +00:00
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "0:1700:11"
2018-05-10 11:12:13 +00:00
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/DailyLimitModuleWithSignature.sol" ,
"exportedSymbols" : {
"DailyLimitModuleWithSignature" : [
2018-05-16 13:46:33 +00:00
1775
2018-05-10 11:12:13 +00:00
]
} ,
2018-05-16 13:46:33 +00:00
"id" : 1776 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 13:46:33 +00:00
"id" : 1696 ,
2018-05-10 11:12:13 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 13:46:33 +00:00
"src" : "0:23:11"
2018-05-10 11:12:13 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/modules/DailyLimitModule.sol" ,
"file" : "./DailyLimitModule.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 1697 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 1776 ,
"sourceUnit" : 1695 ,
"src" : "24:32:11" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1698 ,
2018-05-10 11:12:13 +00:00
"name" : "DailyLimitModule" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1694 ,
"src" : "283:16:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModule_$1694" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModule"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1699 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 13:46:33 +00:00
"src" : "283:16:11"
2018-05-10 11:12:13 +00:00
}
] ,
"contractDependencies" : [
2018-05-16 13:46:33 +00:00
580 ,
621 ,
1359 ,
1694
2018-05-10 11:12:13 +00:00
] ,
"contractKind" : "contract" ,
"documentation" : "@title Daily Limit Module With Signature - Allows to transfer limited amounts of ERC20 tokens and Ether without confirmations.\n @author Richard Meissner - <richard@gnosis.pm>" ,
"fullyImplemented" : true ,
2018-05-16 13:46:33 +00:00
"id" : 1775 ,
2018-05-10 11:12:13 +00:00
"linearizedBaseContracts" : [
2018-05-16 13:46:33 +00:00
1775 ,
1694 ,
621 ,
580 ,
1359
2018-05-10 11:12:13 +00:00
] ,
"name" : "DailyLimitModuleWithSignature" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1701 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "307:20:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1700 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "307:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 1745 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "1003:217:11" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"assignments" : [
2018-05-16 13:46:33 +00:00
1717
2018-05-10 11:12:13 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1717 ,
2018-05-10 11:12:13 +00:00
"name" : "transactionHash" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "1013:23:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1716 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1013:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1724 ,
2018-05-10 11:12:13 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1719 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1703 ,
"src" : "1058:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1720 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1705 ,
"src" : "1062:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1721 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1707 ,
"src" : "1069:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1722 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1701 ,
"src" : "1075:5:11" ,
2018-05-10 11:12:13 +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"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1718 ,
2018-05-10 11:12:13 +00:00
"name" : "getTransactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1774 ,
"src" : "1039:18:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_view$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$" ,
"typeString" : "function (address,uint256,bytes memory,uint256) view returns (bytes32)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1723 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1039:42:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1013:68:11"
2018-05-10 11:12:13 +00:00
} ,
{
"assignments" : [
2018-05-16 13:46:33 +00:00
1726
2018-05-10 11:12:13 +00:00
] ,
"declarations" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1726 ,
2018-05-10 11:12:13 +00:00
"name" : "sender" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "1091:14:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1725 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1091:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1733 ,
2018-05-10 11:12:13 +00:00
"initialValue" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1728 ,
2018-05-10 11:12:13 +00:00
"name" : "transactionHash" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1717 ,
"src" : "1118:15:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1729 ,
2018-05-10 11:12:13 +00:00
"name" : "v" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1709 ,
"src" : "1135:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1730 ,
2018-05-10 11:12:13 +00:00
"name" : "r" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1711 ,
"src" : "1138:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1731 ,
2018-05-10 11:12:13 +00:00
"name" : "s" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1713 ,
"src" : "1141:1:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
{
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1727 ,
2018-05-10 11:12:13 +00:00
"name" : "ecrecover" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2388 ,
"src" : "1108:9:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$" ,
"typeString" : "function (bytes32,uint8,bytes32,bytes32) pure returns (address)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1732 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1108:35:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "VariableDeclarationStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1091:52:11"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1736 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1734 ,
2018-05-10 11:12:13 +00:00
"name" : "nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1701 ,
"src" : "1153:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "+=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"hexValue" : "31" ,
2018-05-16 13:46:33 +00:00
"id" : 1735 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1162:1:11" ,
2018-05-10 11:12:13 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_1_by_1" ,
"typeString" : "int_const 1"
} ,
"value" : "1"
} ,
2018-05-16 13:46:33 +00:00
"src" : "1153:10:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1737 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1153:10:11"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1739 ,
2018-05-10 11:12:13 +00:00
"name" : "sender" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1726 ,
"src" : "1189:6:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1740 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1703 ,
"src" : "1197:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1741 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1705 ,
"src" : "1201:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1742 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1707 ,
"src" : "1208:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1738 ,
2018-05-10 11:12:13 +00:00
"name" : "executeInternal" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1606 ,
"src" : "1173:15:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (address,address,uint256,bytes memory)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1743 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1173:40:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1744 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "1173:40:11"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : "@dev Returns if Safe transaction is a valid daily limit transaction.\n @param to Receiver address in case of Ether transfer, token address in case of a token transfer.\n @param value Ether value in case of an Ether transfer.\n @param data Encoded token transfer. Empty in case of Ether transfer.\n @param v Part of the signature of the sender.\n @param r Part of the signature of the sender.\n @param s Part of the signature of the sender.\n @return Returns if transaction can be executed." ,
2018-05-16 13:46:33 +00:00
"id" : 1746 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "executeDailyLimitWithSignature" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1714 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1703 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "914:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1702 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "914:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1705 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "926:13:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1704 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "926:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1707 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "941:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1706 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "941:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1709 ,
2018-05-10 11:12:13 +00:00
"name" : "v" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "953:7:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1708 ,
2018-05-10 11:12:13 +00:00
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "953:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1711 ,
2018-05-10 11:12:13 +00:00
"name" : "r" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "962:9:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1710 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "962:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1713 ,
2018-05-10 11:12:13 +00:00
"name" : "s" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1746 ,
"src" : "973:9:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1712 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "973:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "913:70:11"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1715 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "1003:0:11"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "874:346:11" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 1773 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "1612:85:11" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30783139" ,
2018-05-16 13:46:33 +00:00
"id" : 1761 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1644:4:11" ,
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 1760 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "1639:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 13:46:33 +00:00
"id" : 1762 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1639:10:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 13:46:33 +00:00
"id" : 1764 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "1656:1:11" ,
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 1763 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "1651:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_bytes1_$" ,
"typeString" : "type(bytes1)"
} ,
"typeName" : "byte"
} ,
2018-05-16 13:46:33 +00:00
"id" : 1765 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1651:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1766 ,
2018-05-10 11:12:13 +00:00
"name" : "this" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2431 ,
"src" : "1660:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModuleWithSignature_$1775" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModuleWithSignature"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1767 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1748 ,
"src" : "1666:2:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1768 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1750 ,
"src" : "1670:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1769 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1752 ,
"src" : "1677:4:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
} ,
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 1770 ,
2018-05-10 11:12:13 +00:00
"name" : "_nonce" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 1754 ,
"src" : "1683:6:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
"typeIdentifier" : "t_bytes1" ,
"typeString" : "bytes1"
} ,
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_DailyLimitModuleWithSignature_$1775" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract DailyLimitModuleWithSignature"
} ,
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
} ,
{
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 1759 ,
2018-05-10 11:12:13 +00:00
"name" : "keccak256" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2390 ,
"src" : "1629:9:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_sha3_pure$__$returns$_t_bytes32_$" ,
"typeString" : "function () pure returns (bytes32)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 1771 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "1629:61:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
2018-05-16 13:46:33 +00:00
"functionReturnParameters" : 1758 ,
"id" : 1772 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Return" ,
2018-05-16 13:46:33 +00:00
"src" : "1622:68:11"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : "@dev Returns transactions hash to be signed by owners.\n @param to Destination address.\n @param value Ether value.\n @param data Data payload.\n @param _nonce Transaction nonce.\n @return Transaction hash." ,
2018-05-16 13:46:33 +00:00
"id" : 1774 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : true ,
"modifiers" : [ ] ,
"name" : "getTransactionHash" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1755 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1748 ,
2018-05-10 11:12:13 +00:00
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1499:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1747 ,
2018-05-10 11:12:13 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1499:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1750 ,
2018-05-10 11:12:13 +00:00
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1511:13:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1749 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1511:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1752 ,
2018-05-10 11:12:13 +00:00
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1526:10:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1751 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1526:5:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1754 ,
2018-05-10 11:12:13 +00:00
"name" : "_nonce" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1538:14:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1753 ,
2018-05-10 11:12:13 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1538:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "1498:55:11"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 1758 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 1757 ,
2018-05-10 11:12:13 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 1774 ,
"src" : "1599:7:11" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
} ,
"typeName" : {
2018-05-16 13:46:33 +00:00
"id" : 1756 ,
2018-05-10 11:12:13 +00:00
"name" : "bytes32" ,
"nodeType" : "ElementaryTypeName" ,
2018-05-16 13:46:33 +00:00
"src" : "1599:7:11" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bytes32" ,
"typeString" : "bytes32"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "1598:9:11"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 1775 ,
"src" : "1471:226:11" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
2018-05-16 13:46:33 +00:00
"scope" : 1776 ,
"src" : "241:1458:11"
2018-05-10 11:12:13 +00:00
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "0:1700:11"
2018-05-10 11:12:13 +00:00
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.23+commit.124ca40d.Emscripten.clang"
} ,
"networks" : {
"4" : {
"events" : { } ,
"links" : { } ,
2018-05-16 13:46:33 +00:00
"address" : "0x7e0c709947a6d2c283c16a69182104016c7e212c" ,
"transactionHash" : "0x4d4459efdc04c3c67835de906ac494897ade960b27a6353943677b35f5a3b555"
2018-05-10 11:12:13 +00:00
} ,
"1525950336085" : {
"events" : { } ,
"links" : { } ,
"address" : "0x788256524db64c2b23ff2e417a833927550a2d65" ,
"transactionHash" : "0x13942c7ebe4c7c49493ac8d9d8ee3c329a0be8b7a78717117e0c5d43cbf8632c"
2018-05-14 07:48:41 +00:00
} ,
"1526283540628" : {
"events" : { } ,
"links" : { } ,
"address" : "0x3e2ade0d97956160691a96fb2adf83844155708d" ,
"transactionHash" : "0x13942c7ebe4c7c49493ac8d9d8ee3c329a0be8b7a78717117e0c5d43cbf8632c"
2018-05-16 13:46:33 +00:00
} ,
"1526478212260" : {
"events" : { } ,
"links" : { } ,
"address" : "0xdb5a513347baaf6454bdfcb439d6c712c52a754e" ,
"transactionHash" : "0x21a453f823a02858ff598704a36731ed3a5264592902c73a7e68ee53d3fb635d"
2018-05-22 07:22:38 +00:00
} ,
"1526973574996" : {
"events" : { } ,
"links" : { } ,
"address" : "0x924ca341d09a83622d62128543b45530d43afa51" ,
"transactionHash" : "0x21a453f823a02858ff598704a36731ed3a5264592902c73a7e68ee53d3fb635d"
2018-05-10 11:12:13 +00:00
}
} ,
"schemaVersion" : "2.0.0" ,
2018-05-22 07:22:38 +00:00
"updatedAt" : "2018-05-22T07:20:22.991Z"
2018-05-10 11:12:13 +00:00
}