2018-05-31 13:01:02 +00:00
{
"contractName" : "GnosisSafe" ,
"abi" : [
{
"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" : true ,
"inputs" : [ ] ,
"name" : "SENTINEL_MODULES" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "prevOwner" ,
"type" : "address"
} ,
{
"name" : "owner" ,
"type" : "address"
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
}
] ,
"name" : "removeOwner" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "SENTINEL_OWNERS" ,
"outputs" : [
{
"name" : "" ,
"type" : "address"
}
] ,
"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" : "_threshold" ,
"type" : "uint8"
}
] ,
"name" : "changeThreshold" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"name" : "owner" ,
"type" : "address"
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
}
] ,
"name" : "addOwnerWithThreshold" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"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" : "getThreshold" ,
"outputs" : [
{
"name" : "" ,
"type" : "uint8"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"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" : "_owners" ,
"type" : "address[]"
} ,
{
"name" : "_threshold" ,
"type" : "uint8"
} ,
{
"name" : "to" ,
"type" : "address"
} ,
{
"name" : "data" ,
"type" : "bytes"
}
] ,
"name" : "setup" ,
"outputs" : [ ] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
}
] ,
"bytecode" : " 0 x 608060405234801561001057600080 f d 5 b 50612e0 a 806100206000396000 f 3006080604052600436106100e6576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680632 f 54 b f 6e146100 e 8578063468721 a 714610143578063610 b 5925146101 f b 57806385e332 c d 1461023e57806386040 a a 9146102955780638 c f f 635514610305578063 a 0 4222e11461035 c 578063 a 0e67 e 2 b 14610435578063 a 3 f 4 d f 7e146104 a 1578063 b 2494 d f 314610531578063 b 7 f 3358 d 1461059 d 578063 b 91 a 667 f 146105 c d 578063e009 c f d e 1461061 d 578063e318 b 52 b 14610680578063e75235 b 814610703578063 f f a 1 a d 7414610734575 b 0 0 5 b 3480156100 f 457600080 f d 5 b 50610129600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1690602001909291905050506107 c 4565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561014 f 57600080 f d 5 b 506101e1600480360381019080803573 f f f f f f f f f f f f f f f f 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 169060200190929190505050610846565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561020757600080 f d 5 b 5061023 c 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610971565 b 0 0 5 b 34801561024 a 57600080 f d 5 b 50610253610 d 4 b 565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 3480156102 a 157600080 f d 5 b 50610303600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803560 f f 169060200190929190505050610 d 50565 b 0 0 5 b 34801561031157600080 f d 5 b 5061031 a 611183565 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 34801561036857600080 f d 5 b 5061043360048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803560 f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611188565 b 0 0 5 b 34801561044157600080 f d 5 b 5061044 a 6111 a 2565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561048 d 578082015181840152602081019050610472565 b 505050509050019250505060405180910390 f 35 b 3480156104 a d 57600080 f d 5 b 506104 b 661133 d 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156104 f 65780820151818401526020810190506104 d b 565 b 50505050905090810190601 f 1680156105235780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561053 d 57600080 f d 5 b 50610546611376565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561058957808201518184015260208101905061056e565 b 505050509050019250505060405180910390 f 35 b 3480156105 a 957600080 f d 5 b 506105 c b 600480360381019080803560 f f 169060200190929190505050611619565 b 0 0 5 b 3480156105 d 957600080 f d 5 b 5061061 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 169060200190929190803560 f f 169060200190929190505050611845565 b 0 0 5 b 34801561062957600080 f d 5 b 5061067e600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 c 5e565 b 0 0 5 b 34801561068 c 57600080 f d 5 b 50610701600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 f a b 565 b 0 0 5 b 34801561070 f 57600080 f d 5 b 50610718612530565 b 604051808260 f f 1660 f f 16815260200191505060405180910390 f 35 b 34801561074057600080 f d 5 b 50610749612547565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561078957808201518184015260208101905061076e565 b 50505050905090810190601 f 1680156107 b 65780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 600080600160008473 f f f f f f f f f f f f f f f f f f
"deployedBytecode" : " 0 x 6080604052600436106100e6576000357 c 0 100000000000000000000000000000000000000000000000000000000900463 f f f f f f f f 1680632 f 54 b f 6e146100 e 8578063468721 a 714610143578063610 b 5925146101 f b 57806385e332 c d 1461023e57806386040 a a 9146102955780638 c f f 635514610305578063 a 0 4222e11461035 c 578063 a 0e67 e 2 b 14610435578063 a 3 f 4 d f 7e146104 a 1578063 b 2494 d f 314610531578063 b 7 f 3358 d 1461059 d 578063 b 91 a 667 f 146105 c d 578063e009 c f d e 1461061 d 578063e318 b 52 b 14610680578063e75235 b 814610703578063 f f a 1 a d 7414610734575 b 0 0 5 b 3480156100 f 457600080 f d 5 b 50610129600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1690602001909291905050506107 c 4565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561014 f 57600080 f d 5 b 506101e1600480360381019080803573 f f f f f f f f f f f f f f f f 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 169060200190929190505050610846565 b 604051808215151515815260200191505060405180910390 f 35 b 34801561020757600080 f d 5 b 5061023 c 600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050610971565 b 0 0 5 b 34801561024 a 57600080 f d 5 b 50610253610 d 4 b 565 b 604051808273 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 1673 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 16815260200191505060405180910390 f 35 b 3480156102 a 157600080 f d 5 b 50610303600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803560 f f 169060200190929190505050610 d 50565 b 0 0 5 b 34801561031157600080 f d 5 b 5061031 a 611183565 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 34801561036857600080 f d 5 b 5061043360048036038101908080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290803560 f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803590602001908201803590602001908080601 f 0 160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611188565 b 0 0 5 b 34801561044157600080 f d 5 b 5061044 a 6111 a 2565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561048 d 578082015181840152602081019050610472565 b 505050509050019250505060405180910390 f 35 b 3480156104 a d 57600080 f d 5 b 506104 b 661133 d 565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 838110156104 f 65780820151818401526020810190506104 d b 565 b 50505050905090810190601 f 1680156105235780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 34801561053 d 57600080 f d 5 b 50610546611376565 b 6040518080602001828103825283818151815260200191508051906020019060200280838360005 b 8381101561058957808201518184015260208101905061056e565 b 505050509050019250505060405180910390 f 35 b 3480156105 a 957600080 f d 5 b 506105 c b 600480360381019080803560 f f 169060200190929190505050611619565 b 0 0 5 b 3480156105 d 957600080 f d 5 b 5061061 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 169060200190929190803560 f f 169060200190929190505050611845565 b 0 0 5 b 34801561062957600080 f d 5 b 5061067e600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 c 5e565 b 0 0 5 b 34801561068 c 57600080 f d 5 b 50610701600480360381019080803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190803573 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f 169060200190929190505050611 f a b 565 b 0 0 5 b 34801561070 f 57600080 f d 5 b 50610718612530565 b 604051808260 f f 1660 f f 16815260200191505060405180910390 f 35 b 34801561074057600080 f d 5 b 50610749612547565 b 6040518080602001828103825283818151815260200191508051906020019080838360005 b 8381101561078957808201518184015260208101905061076e565 b 50505050905090810190601 f 1680156107 b 65780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f 35 b 600080600160008473 f f f f f f f f f f f f f f f f f f f f f f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17 ; 3403 : 9 ; 3396 : 17 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 26 ; ; ; 3388 : 77 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3495 : 6 ; : 13 ; 3502 : 5 ; 3495 : 13 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3475 : 6 ; : 17 ; 3482 : 9 ; 3475 : 17 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 33 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3534 : 1 ; 3518 : 6 ; : 13 ; 3525 : 5 ; 3518 : 13 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; : 17 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3545 : 10 ; ; : 12 ; ; ; ; ; ; ; ; ; ; ; ; ; ; 3638 : 10 ; 3625 : 23 ; ; : 9 ; ; ; ; ; ; ; ; ; ; ; : 23 ; ; ; ; 3621 : 68 ; ; ; 3662 : 27 ; 3678 : 10 ; 3662 : 15 ; : 27 : : i ; : : : - ; 3621 : 68 ; 3024 : 672 ; ; ; : : : o ; 287 : 54 : : - ; 337 : 3 ; 287 : 54 ; : : : o ; 693 : 301 : 2 : - ; 798 : 32 ; 810 : 7 ; 819 : 10 ; 798 : 11 ; : 32 : : i ; : : : - ; 965 : 22 ; 978 : 2 ; 982 : 4 ; 965 : 12 ; : 22 : : i ; : : : - ; 693 : 301 ; ; ; ; : : : o ; 5585 : 458 : 9 : - ; 5651 : 9 ; 5676 : 22 ; 5770 : 13 ; 5797 : 20 ; 5715 : 10
"source" : "pragma solidity 0.4.24;\nimport \"./Module.sol\";\nimport \"./ModuleManager.sol\";\nimport \"./OwnerManager.sol\";\n\n\n/// @title Gnosis Safe - A multisignature wallet with support for modules and owners. This contract needs to be extented to add functionality to execute transactions.\n/// @author Stefan George - <stefan@gnosis.pm>\ncontract GnosisSafe is ModuleManager, OwnerManager {\n\n /// @dev Setup function sets initial storage of contract.\n /// @param _owners List of Safe owners.\n /// @param _threshold Number of required confirmations for a Safe transaction.\n /// @param to Contract address for optional delegate call.\n /// @param data Data payload for optional delegate call.\n function setup(address[] _owners, uint8 _threshold, address to, bytes data)\n public\n {\n setupOwners(_owners, _threshold);\n // As setupOwners can only be called if the contract has not been initialized we don't need a check for setupModules\n setupModules(to, data);\n }\n}\n" ,
"sourcePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"ast" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"exportedSymbols" : {
"GnosisSafe" : [
63
]
} ,
"id" : 64 ,
"nodeType" : "SourceUnit" ,
"nodes" : [
{
"id" : 32 ,
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
"src" : "0:23:2"
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"file" : "./Module.sol" ,
"id" : 33 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 763 ,
"src" : "24:22:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/ModuleManager.sol" ,
"file" : "./ModuleManager.sol" ,
"id" : 34 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 1119 ,
"src" : "47:29:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/OwnerManager.sol" ,
"file" : "./OwnerManager.sol" ,
"id" : 35 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 1505 ,
"src" : "77:28:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 36 ,
"name" : "ModuleManager" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1118 ,
"src" : "345:13:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_ModuleManager_$1118" ,
"typeString" : "contract ModuleManager"
}
} ,
"id" : 37 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "345:13:2"
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 38 ,
"name" : "OwnerManager" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1504 ,
"src" : "360:12:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_OwnerManager_$1504" ,
"typeString" : "contract OwnerManager"
}
} ,
"id" : 39 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "360:12:2"
}
] ,
"contractDependencies" : [
1118 ,
1504 ,
1654
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe - A multisignature wallet with support for modules and owners. This contract needs to be extented to add functionality to execute transactions.\n @author Stefan George - <stefan@gnosis.pm>" ,
"fullyImplemented" : true ,
"id" : 63 ,
"linearizedBaseContracts" : [
63 ,
1504 ,
1118 ,
1654
] ,
"name" : "GnosisSafe" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"body" : {
"id" : 61 ,
"nodeType" : "Block" ,
"src" : "788:206:2" ,
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 52 ,
"name" : "_owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 42 ,
"src" : "810:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[] memory"
}
} ,
{
"argumentTypes" : null ,
"id" : 53 ,
"name" : "_threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 44 ,
"src" : "819:10:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[] memory"
} ,
{
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
] ,
"id" : 51 ,
"name" : "setupOwners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1235 ,
"src" : "798:11:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_array$_t_address_$dyn_memory_ptr_$_t_uint8_$returns$__$" ,
"typeString" : "function (address[] memory,uint8)"
}
} ,
"id" : 54 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "798:32:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
"id" : 55 ,
"nodeType" : "ExpressionStatement" ,
"src" : "798:32:2"
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 57 ,
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 46 ,
"src" : "978:2:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
"id" : 58 ,
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 48 ,
"src" : "982:4:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
"id" : 56 ,
"name" : "setupModules" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 829 ,
"src" : "965:12:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (address,bytes memory)"
}
} ,
"id" : 59 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "965:22:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
"id" : 60 ,
"nodeType" : "ExpressionStatement" ,
"src" : "965:22:2"
}
]
} ,
"documentation" : "@dev Setup function sets initial storage of contract.\n @param _owners List of Safe owners.\n @param _threshold Number of required confirmations for a Safe transaction.\n @param to Contract address for optional delegate call.\n @param data Data payload for optional delegate call." ,
"id" : 62 ,
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setup" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
"id" : 49 ,
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
"id" : 42 ,
"name" : "_owners" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "708:17:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[]"
} ,
"typeName" : {
"baseType" : {
"id" : 40 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "708:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"id" : 41 ,
"length" : null ,
"nodeType" : "ArrayTypeName" ,
"src" : "708:9:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_storage_ptr" ,
"typeString" : "address[]"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 44 ,
"name" : "_threshold" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "727:16:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
"id" : 43 ,
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "727:5:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 46 ,
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "745:10:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
"id" : 45 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "745:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 48 ,
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "757:10:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
"id" : 47 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "757:5:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "707:61:2"
} ,
"payable" : false ,
"returnParameters" : {
"id" : 50 ,
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
"src" : "788:0:2"
} ,
"scope" : 63 ,
"src" : "693:301:2" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
"scope" : 64 ,
"src" : "322:674:2"
}
] ,
"src" : "0:997:2"
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/GnosisSafe.sol" ,
"exportedSymbols" : {
"GnosisSafe" : [
63
]
} ,
"id" : 64 ,
"nodeType" : "SourceUnit" ,
"nodes" : [
{
"id" : 32 ,
"literals" : [
"solidity" ,
"0.4" ,
".24"
] ,
"nodeType" : "PragmaDirective" ,
"src" : "0:23:2"
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"file" : "./Module.sol" ,
"id" : 33 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 763 ,
"src" : "24:22:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/ModuleManager.sol" ,
"file" : "./ModuleManager.sol" ,
"id" : 34 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 1119 ,
"src" : "47:29:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/OwnerManager.sol" ,
"file" : "./OwnerManager.sol" ,
"id" : 35 ,
"nodeType" : "ImportDirective" ,
"scope" : 64 ,
"sourceUnit" : 1505 ,
"src" : "77:28:2" ,
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 36 ,
"name" : "ModuleManager" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1118 ,
"src" : "345:13:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_ModuleManager_$1118" ,
"typeString" : "contract ModuleManager"
}
} ,
"id" : 37 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "345:13:2"
} ,
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
"id" : 38 ,
"name" : "OwnerManager" ,
"nodeType" : "UserDefinedTypeName" ,
"referencedDeclaration" : 1504 ,
"src" : "360:12:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_contract$_OwnerManager_$1504" ,
"typeString" : "contract OwnerManager"
}
} ,
"id" : 39 ,
"nodeType" : "InheritanceSpecifier" ,
"src" : "360:12:2"
}
] ,
"contractDependencies" : [
1118 ,
1504 ,
1654
] ,
"contractKind" : "contract" ,
"documentation" : "@title Gnosis Safe - A multisignature wallet with support for modules and owners. This contract needs to be extented to add functionality to execute transactions.\n @author Stefan George - <stefan@gnosis.pm>" ,
"fullyImplemented" : true ,
"id" : 63 ,
"linearizedBaseContracts" : [
63 ,
1504 ,
1118 ,
1654
] ,
"name" : "GnosisSafe" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"body" : {
"id" : 61 ,
"nodeType" : "Block" ,
"src" : "788:206:2" ,
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 52 ,
"name" : "_owners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 42 ,
"src" : "810:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[] memory"
}
} ,
{
"argumentTypes" : null ,
"id" : 53 ,
"name" : "_threshold" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 44 ,
"src" : "819:10:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[] memory"
} ,
{
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
] ,
"id" : 51 ,
"name" : "setupOwners" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 1235 ,
"src" : "798:11:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_array$_t_address_$dyn_memory_ptr_$_t_uint8_$returns$__$" ,
"typeString" : "function (address[] memory,uint8)"
}
} ,
"id" : 54 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "798:32:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
"id" : 55 ,
"nodeType" : "ExpressionStatement" ,
"src" : "798:32:2"
} ,
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"id" : 57 ,
"name" : "to" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 46 ,
"src" : "978:2:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
{
"argumentTypes" : null ,
"id" : 58 ,
"name" : "data" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 48 ,
"src" : "982:4:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
{
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes memory"
}
] ,
"id" : 56 ,
"name" : "setupModules" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
"referencedDeclaration" : 829 ,
"src" : "965:12:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$" ,
"typeString" : "function (address,bytes memory)"
}
} ,
"id" : 59 ,
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
"src" : "965:22:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
"id" : 60 ,
"nodeType" : "ExpressionStatement" ,
"src" : "965:22:2"
}
]
} ,
"documentation" : "@dev Setup function sets initial storage of contract.\n @param _owners List of Safe owners.\n @param _threshold Number of required confirmations for a Safe transaction.\n @param to Contract address for optional delegate call.\n @param data Data payload for optional delegate call." ,
"id" : 62 ,
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setup" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
"id" : 49 ,
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
"id" : 42 ,
"name" : "_owners" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "708:17:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_memory_ptr" ,
"typeString" : "address[]"
} ,
"typeName" : {
"baseType" : {
"id" : 40 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "708:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"id" : 41 ,
"length" : null ,
"nodeType" : "ArrayTypeName" ,
"src" : "708:9:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_array$_t_address_$dyn_storage_ptr" ,
"typeString" : "address[]"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 44 ,
"name" : "_threshold" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "727:16:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
} ,
"typeName" : {
"id" : 43 ,
"name" : "uint8" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "727:5:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint8" ,
"typeString" : "uint8"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 46 ,
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "745:10:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
"id" : 45 ,
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "745:7:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
"id" : 48 ,
"name" : "data" ,
"nodeType" : "VariableDeclaration" ,
"scope" : 62 ,
"src" : "757:10:2" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_memory_ptr" ,
"typeString" : "bytes"
} ,
"typeName" : {
"id" : 47 ,
"name" : "bytes" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "757:5:2" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bytes_storage_ptr" ,
"typeString" : "bytes"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "707:61:2"
} ,
"payable" : false ,
"returnParameters" : {
"id" : 50 ,
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
"src" : "788:0:2"
} ,
"scope" : 63 ,
"src" : "693:301:2" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "public"
}
] ,
"scope" : 64 ,
"src" : "322:674:2"
}
] ,
"src" : "0:997:2"
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.24+commit.e67f0147.Emscripten.clang"
} ,
"networks" : { } ,
"schemaVersion" : "2.0.0" ,
2018-06-15 07:31:07 +00:00
"updatedAt" : "2018-06-15T07:49:20.490Z"
2018-05-31 13:01:02 +00:00
}