liquid-funding-console/chains/ropsten/contracts/Pledges.json

365 lines
25 KiB
JSON
Raw Normal View History

2019-05-22 19:23:35 +00:00
{
"className": "Pledges",
"args": [],
"code": "60606040526069805460ff19169055341561001957600080fd5b610b5d806100286000396000f3006060604052600436106100cc5763ffffffff60e060020a600035041663178e607981146100d15780631c8e8568146100f65780632a8ec8cc1461011d57806332f0a3b5146101305780633f657a461461015f57806360b1e057146101ef5780637e7db6e11461020257806380afdea8146102215780638322fff2146102345780638b3dd749146102475780639b3fdf4c1461025a5780639d4941d81461026d578063a1658fad1461028e578063d4aae0c4146102f1578063f92a79ff14610304578063fbfa77cf14610355575b600080fd5b34156100dc57600080fd5b6100e4610368565b60405190815260200160405180910390f35b341561010157600080fd5b61010961038c565b604051901515815260200160405180910390f35b341561012857600080fd5b6100e4610395565b341561013b57600080fd5b61014361039f565b604051600160a060020a03909116815260200160405180910390f35b341561016a57600080fd5b61017f67ffffffffffffffff6004351661041f565b60405188815267ffffffffffffffff8089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156101d457fe5b60ff1681526020019850505050505050505060405180910390f35b34156101fa57600080fd5b6100e46105d7565b341561020d57600080fd5b610109600160a060020a03600435166105fb565b341561022c57600080fd5b6100e4610601565b341561023f57600080fd5b610143610607565b341561025257600080fd5b6100e461060c565b341561026557600080fd5b6100e4610612565b341561027857600080fd5b61028c600160a060020a0360043516610636565b005b341561029957600080fd5b61010960048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506107ae95505050505050565b34156102fc57600080fd5b6101436108ec565b341561030f57600080fd5b61014360046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108fb95505050505050565b341561036057600080fd5b6101436109d7565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b6065546000190190565b60008054600160a060020a031615156103b757600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561040057600080fd5b6102c65a03f1151561041157600080fd5b505050604051805191505090565b600080600080600080600080610433610ad3565b61043c8a6109eb565b610100604051908101604052908160008201548152602001600182018054806020026020016040519081016040528092919081815260200182805480156104d657602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116104915790505b505050918352505060028281015467ffffffffffffffff80821660208501526801000000000000000082048116604085015270010000000000000000000000000000000082048116606085015278010000000000000000000000000000000000000000000000009091041660808301526003830154600160a060020a03811660a084015260c09092019174010000000000000000000000000000000000000000900460ff169081111561058557fe5b600281111561059057fe5b90525090508051985080604001519750806020015151965080606001519550806080015194508060a0015193508060c0015192508060e00151915050919395975091939597565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b600080610642836105fb565b151561064d57600080fd5b61065561039f565b915061066082610a33565b151561066b57600080fd5b600160a060020a03831615156106bd5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156106b857600080fd5b6107a9565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561071457600080fd5b6102c65a03f1151561072557600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561078d57600080fd5b6102c65a03f1151561079e57600080fd5b505050604051805150505b505050565b60006107b8610b1f565b600080845111156107d157835160200290508391508082525b
"runtimeBytecode": "6060604052600436106100cc5763ffffffff60e060020a600035041663178e607981146100d15780631c8e8568146100f65780632a8ec8cc1461011d57806332f0a3b5146101305780633f657a461461015f57806360b1e057146101ef5780637e7db6e11461020257806380afdea8146102215780638322fff2146102345780638b3dd749146102475780639b3fdf4c1461025a5780639d4941d81461026d578063a1658fad1461028e578063d4aae0c4146102f1578063f92a79ff14610304578063fbfa77cf14610355575b600080fd5b34156100dc57600080fd5b6100e4610368565b60405190815260200160405180910390f35b341561010157600080fd5b61010961038c565b604051901515815260200160405180910390f35b341561012857600080fd5b6100e4610395565b341561013b57600080fd5b61014361039f565b604051600160a060020a03909116815260200160405180910390f35b341561016a57600080fd5b61017f67ffffffffffffffff6004351661041f565b60405188815267ffffffffffffffff8089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156101d457fe5b60ff1681526020019850505050505050505060405180910390f35b34156101fa57600080fd5b6100e46105d7565b341561020d57600080fd5b610109600160a060020a03600435166105fb565b341561022c57600080fd5b6100e4610601565b341561023f57600080fd5b610143610607565b341561025257600080fd5b6100e461060c565b341561026557600080fd5b6100e4610612565b341561027857600080fd5b61028c600160a060020a0360043516610636565b005b341561029957600080fd5b61010960048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506107ae95505050505050565b34156102fc57600080fd5b6101436108ec565b341561030f57600080fd5b61014360046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108fb95505050505050565b341561036057600080fd5b6101436109d7565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b6065546000190190565b60008054600160a060020a031615156103b757600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561040057600080fd5b6102c65a03f1151561041157600080fd5b505050604051805191505090565b600080600080600080600080610433610ad3565b61043c8a6109eb565b610100604051908101604052908160008201548152602001600182018054806020026020016040519081016040528092919081815260200182805480156104d657602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116104915790505b505050918352505060028281015467ffffffffffffffff80821660208501526801000000000000000082048116604085015270010000000000000000000000000000000082048116606085015278010000000000000000000000000000000000000000000000009091041660808301526003830154600160a060020a03811660a084015260c09092019174010000000000000000000000000000000000000000900460ff169081111561058557fe5b600281111561059057fe5b90525090508051985080604001519750806020015151965080606001519550806080015194508060a0015193508060c0015192508060e00151915050919395975091939597565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b600080610642836105fb565b151561064d57600080fd5b61065561039f565b915061066082610a33565b151561066b57600080fd5b600160a060020a03831615156106bd5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156106b857600080fd5b6107a9565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561071457600080fd5b6102c65a03f1151561072557600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561078d57600080fd5b6102c65a03f1151561079e57600080fd5b505050604051805150505b505050565b60006107b8610b1f565b600080845111156107d157835160200290508391508082525b600054600160a060020a031615806108e2575060008054600160a060020a03169063f
"realRuntimeBytecode": "6060604052600436106100cc5763ffffffff60e060020a600035041663178e607981146100d15780631c8e8568146100f65780632a8ec8cc1461011d57806332f0a3b5146101305780633f657a461461015f57806360b1e057146101ef5780637e7db6e11461020257806380afdea8146102215780638322fff2146102345780638b3dd749146102475780639b3fdf4c1461025a5780639d4941d81461026d578063a1658fad1461028e578063d4aae0c4146102f1578063f92a79ff14610304578063fbfa77cf14610355575b600080fd5b34156100dc57600080fd5b6100e4610368565b60405190815260200160405180910390f35b341561010157600080fd5b61010961038c565b604051901515815260200160405180910390f35b341561012857600080fd5b6100e4610395565b341561013b57600080fd5b61014361039f565b604051600160a060020a03909116815260200160405180910390f35b341561016a57600080fd5b61017f67ffffffffffffffff6004351661041f565b60405188815267ffffffffffffffff8089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156101d457fe5b60ff1681526020019850505050505050505060405180910390f35b34156101fa57600080fd5b6100e46105d7565b341561020d57600080fd5b610109600160a060020a03600435166105fb565b341561022c57600080fd5b6100e4610601565b341561023f57600080fd5b610143610607565b341561025257600080fd5b6100e461060c565b341561026557600080fd5b6100e4610612565b341561027857600080fd5b61028c600160a060020a0360043516610636565b005b341561029957600080fd5b61010960048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506107ae95505050505050565b34156102fc57600080fd5b6101436108ec565b341561030f57600080fd5b61014360046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108fb95505050505050565b341561036057600080fd5b6101436109d7565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b6065546000190190565b60008054600160a060020a031615156103b757600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561040057600080fd5b6102c65a03f1151561041157600080fd5b505050604051805191505090565b600080600080600080600080610433610ad3565b61043c8a6109eb565b610100604051908101604052908160008201548152602001600182018054806020026020016040519081016040528092919081815260200182805480156104d657602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116104915790505b505050918352505060028281015467ffffffffffffffff80821660208501526801000000000000000082048116604085015270010000000000000000000000000000000082048116606085015278010000000000000000000000000000000000000000000000009091041660808301526003830154600160a060020a03811660a084015260c09092019174010000000000000000000000000000000000000000900460ff169081111561058557fe5b600281111561059057fe5b90525090508051985080604001519750806020015151965080606001519550806080015194508060a0015193508060c0015192508060e00151915050919395975091939597565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b600080610642836105fb565b151561064d57600080fd5b61065561039f565b915061066082610a33565b151561066b57600080fd5b600160a060020a03831615156106bd5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156106b857600080fd5b6107a9565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561071457600080fd5b6102c65a03f1151561072557600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561078d57600080fd5b6102c65a03f1151561079e57600080fd5b505050604051805150505b505050565b60006107b8610b1f565b600080845111156107d157835160200290508391508082525b600054600160a060020a031615806108e2575060008054600160a060020a03169
"linkReferences": {},
"swarmHash": "2b2e12e51efbe4af4ce8ba61ef773fa8f6ec96af77fb9b26b697c5ade4764185",
"gasEstimates": {
"creation": {
"codeDepositCost": "581800",
"executionCost": "20826",
"totalCost": "602626"
},
"external": {
"APP_ADDR_NAMESPACE()": "236",
"ETH()": "490",
"EVMSCRIPT_REGISTRY_APP()": "456",
"EVMSCRIPT_REGISTRY_APP_ID()": "346",
"allowRecoverability(address)": "457",
"appId()": "590",
"canPerform(address,bytes32,uint256[])": "infinite",
"getExecutor(bytes)": "infinite",
"getInitializationBlock()": "634",
"getPledge(uint64)": "infinite",
"getRecoveryVault()": "infinite",
"kernel()": "875",
"numberOfPledges()": "489",
"transferToVault(address)": "infinite",
"vault()": "930",
"whitelistDisabled()": "470"
},
"internal": {
"_findOrCreatePledge(uint64,uint64[] memory,uint64,uint64,uint64,address,enum LiquidPledgingStorage.PledgeState)": "infinite",
"_findPledge(uint64)": "563",
"_getDelegateIdx(struct LiquidPledgingStorage.Pledge memory,uint64)": "infinite",
"_getPledgeLevel(struct LiquidPledgingStorage.Pledge memory)": "infinite"
}
},
"functionHashes": {
"APP_ADDR_NAMESPACE()": "178e6079",
"ETH()": "8322fff2",
"EVMSCRIPT_REGISTRY_APP()": "9b3fdf4c",
"EVMSCRIPT_REGISTRY_APP_ID()": "60b1e057",
"allowRecoverability(address)": "7e7db6e1",
"appId()": "80afdea8",
"canPerform(address,bytes32,uint256[])": "a1658fad",
"getExecutor(bytes)": "f92a79ff",
"getInitializationBlock()": "8b3dd749",
"getPledge(uint64)": "3f657a46",
"getRecoveryVault()": "32f0a3b5",
"kernel()": "d4aae0c4",
"numberOfPledges()": "2a8ec8cc",
"transferToVault(address)": "9d4941d8",
"vault()": "fbfa77cf",
"whitelistDisabled()": "1c8e8568"
},
"abiDefinition": [
{
"constant": true,
"inputs": [],
"name": "APP_ADDR_NAMESPACE",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x178e6079"
},
{
"constant": true,
"inputs": [],
"name": "whitelistDisabled",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x1c8e8568"
},
{
"constant": true,
"inputs": [],
"name": "numberOfPledges",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x2a8ec8cc"
},
{
"constant": true,
"inputs": [],
"name": "getRecoveryVault",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x32f0a3b5"
},
{
"constant": true,
"inputs": [
{
"name": "idPledge",
"type": "uint64"
}
],
"name": "getPledge",
"outputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "owner",
"type": "uint64"
},
{
"name": "nDelegates",
"type": "uint64"
},
{
"name": "intendedProject",
"type": "uint64"
},
{
"name": "commitTime",
"type": "uint64"
},
{
"name": "oldPledge",
"type": "uint64"
},
{
"name": "token",
"type": "address"
},
{
"name": "pledgeState",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x3f657a46"
},
{
"constant": true,
"inputs": [],
"name": "EVMSCRIPT_REGISTRY_APP_ID",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x60b1e057"
},
{
"constant": true,
"inputs": [
{
"name": "token",
"type": "address"
}
],
"name": "allowRecoverability",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x7e7db6e1"
},
{
"constant": true,
"inputs": [],
"name": "appId",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x80afdea8"
},
{
"constant": true,
"inputs": [],
"name": "ETH",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x8322fff2"
},
{
"constant": true,
"inputs": [],
"name": "getInitializationBlock",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x8b3dd749"
},
{
"constant": true,
"inputs": [],
"name": "EVMSCRIPT_REGISTRY_APP",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x9b3fdf4c"
},
{
"constant": false,
"inputs": [
{
"name": "_token",
"type": "address"
}
],
"name": "transferToVault",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x9d4941d8"
},
{
"constant": true,
"inputs": [
{
"name": "_sender",
"type": "address"
},
{
"name": "_role",
"type": "bytes32"
},
{
"name": "params",
"type": "uint256[]"
}
],
"name": "canPerform",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0xa1658fad"
},
{
"constant": true,
"inputs": [],
"name": "kernel",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0xd4aae0c4"
},
{
"constant": true,
"inputs": [
{
"name": "_script",
"type": "bytes"
}
],
"name": "getExecutor",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0xf92a79ff"
},
{
"constant": true,
"inputs": [],
"name": "vault",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0xfbfa77cf"
}
],
"filename": "/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/Pledges.sol",
"originalFilename": "contracts/Pledges.sol",
"path": "/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/Pledges.sol",
"gas": "auto",
"type": "file",
"deploy": false,
"_gasLimit": 6000000,
"error": false
}