1389 lines
154 KiB
JSON
1389 lines
154 KiB
JSON
|
{
|
||
|
"className": "LiquidPledgingMock",
|
||
|
"args": [],
|
||
|
"code": "60606040526069805460ff19169055341561001957600080fd5b615281806100286000396000f3006060604052600436106102575763ffffffff60e060020a6000350416627611c6811461025c578063178e6079146102925780631c8e8568146102b75780632101a6ad146102de57806324fea3b0146102fd5780632a8ec8cc146103105780632ee88808146103235780632f6b64ca1461034557806332ce8ebc1461040157806332f0a3b51461041f578063387402911461044e5780633f657a461461046657806343387983146104f457806347c5ef43146105165780634c4316c7146105455780634eafbcd51461057957806350f8a8031461059857806352dc7dcc146105d35780635503d9ba1461061557806357adafb61461062857806360b1e057146106775780636293c7021461068a5780636ba3cc87146106a95780636e802c6a146106d757806372116e9214610791578063796d5654146107e257806379f4542e146108015780637e7db6e1146108205780637f61fa931461083f57806380afdea81461088157806381ea4408146108945780638322fff2146108b35780638b3dd749146108c65780639b3fdf4c146108d95780639d4941d8146108ec5780639da47a6b1461090b578063a1658fad1461091e578063ab8be23114610981578063af9f456314610997578063b12b5f76146109b9578063c4d66de8146109cf578063c8ae070f146109ee578063cc19ecf714610a04578063ce17273c14610a50578063d4aae0c414610a9f578063d639cd7314610ab2578063db7c231414610b1a578063e9c211e214610b66578063eba8ba0614610b88578063f6b24b1c14610cde578063f92a79ff14610d2a578063fbfa77cf14610d7b575b600080fd5b341561026757600080fd5b6102906001604060020a0360043516600160a060020a0360243581169060443516606435610d8e565b005b341561029d57600080fd5b6102a5610de9565b60405190815260200160405180910390f35b34156102c257600080fd5b6102ca610e0d565b604051901515815260200160405180910390f35b34156102e957600080fd5b6102ca6001604060020a0360043516610e16565b341561030857600080fd5b6102a5610eb8565b341561031b57600080fd5b6102a5610eda565b341561032e57600080fd5b6102906001604060020a0360043516602435610ee5565b341561035057600080fd5b61036a6001604060020a0360043581169060243516611019565b6040516001604060020a0384168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b838110156103c45780820151838201526020016103ac565b50505050905090810190601f1680156103f15780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561040c57600080fd5b6102906004803560248101910135611147565b341561042a57600080fd5b6104326111db565b604051600160a060020a03909116815260200160405180910390f35b341561045957600080fd5b610290600435151561125b565b341561047157600080fd5b6104856001604060020a03600435166112c1565b6040518881526001604060020a038089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156104d957fe5b60ff1681526020019850505050505050505060405180910390f35b34156104ff57600080fd5b6102906001604060020a036004351660243561143e565b341561052157600080fd5b6102906001604060020a036004358116906024358116906044359060643516611625565b341561055057600080fd5b6102906001604060020a0360043581169060243516600160a060020a036044351660643561163a565b341561058457600080fd5b6102ca600160a060020a03600435166117d1565b34156105a357600080fd5b6105b76001604060020a0360043516611848565b6040516001604060020a03909116815260200160405180910390f35b34156105de57600080fd5b6105b760246004803582810192908201359181359182019101356001604060020a0360443516600160a060020a0360643516611a3d565b341561062057600080fd5b6102a5611cca565b341561063357600080fd5b6102906004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611cd495505050505050565b341561068257600080fd5b6102a5611d3f565b341561069557600080fd5b610290600160a060020a0360043516611d63565b34156106b457600080fd5b6102906001604060020a0360043516600160a060020a0360243516604435611dc4565b34156106e257600080fd5b6105b760048035600160a060020a03169060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250611dd5915050565b341561079c57600080fd5b6105b76024600480358281019290820135918135918201910135600160a060020a036044358116906001604060020a036064358116
|
||
|
"runtimeBytecode": "6060604052600436106102575763ffffffff60e060020a6000350416627611c6811461025c578063178e6079146102925780631c8e8568146102b75780632101a6ad146102de57806324fea3b0146102fd5780632a8ec8cc146103105780632ee88808146103235780632f6b64ca1461034557806332ce8ebc1461040157806332f0a3b51461041f578063387402911461044e5780633f657a461461046657806343387983146104f457806347c5ef43146105165780634c4316c7146105455780634eafbcd51461057957806350f8a8031461059857806352dc7dcc146105d35780635503d9ba1461061557806357adafb61461062857806360b1e057146106775780636293c7021461068a5780636ba3cc87146106a95780636e802c6a146106d757806372116e9214610791578063796d5654146107e257806379f4542e146108015780637e7db6e1146108205780637f61fa931461083f57806380afdea81461088157806381ea4408146108945780638322fff2146108b35780638b3dd749146108c65780639b3fdf4c146108d95780639d4941d8146108ec5780639da47a6b1461090b578063a1658fad1461091e578063ab8be23114610981578063af9f456314610997578063b12b5f76146109b9578063c4d66de8146109cf578063c8ae070f146109ee578063cc19ecf714610a04578063ce17273c14610a50578063d4aae0c414610a9f578063d639cd7314610ab2578063db7c231414610b1a578063e9c211e214610b66578063eba8ba0614610b88578063f6b24b1c14610cde578063f92a79ff14610d2a578063fbfa77cf14610d7b575b600080fd5b341561026757600080fd5b6102906001604060020a0360043516600160a060020a0360243581169060443516606435610d8e565b005b341561029d57600080fd5b6102a5610de9565b60405190815260200160405180910390f35b34156102c257600080fd5b6102ca610e0d565b604051901515815260200160405180910390f35b34156102e957600080fd5b6102ca6001604060020a0360043516610e16565b341561030857600080fd5b6102a5610eb8565b341561031b57600080fd5b6102a5610eda565b341561032e57600080fd5b6102906001604060020a0360043516602435610ee5565b341561035057600080fd5b61036a6001604060020a0360043581169060243516611019565b6040516001604060020a0384168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b838110156103c45780820151838201526020016103ac565b50505050905090810190601f1680156103f15780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561040c57600080fd5b6102906004803560248101910135611147565b341561042a57600080fd5b6104326111db565b604051600160a060020a03909116815260200160405180910390f35b341561045957600080fd5b610290600435151561125b565b341561047157600080fd5b6104856001604060020a03600435166112c1565b6040518881526001604060020a038089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156104d957fe5b60ff1681526020019850505050505050505060405180910390f35b34156104ff57600080fd5b6102906001604060020a036004351660243561143e565b341561052157600080fd5b6102906001604060020a036004358116906024358116906044359060643516611625565b341561055057600080fd5b6102906001604060020a0360043581169060243516600160a060020a036044351660643561163a565b341561058457600080fd5b6102ca600160a060020a03600435166117d1565b34156105a357600080fd5b6105b76001604060020a0360043516611848565b6040516001604060020a03909116815260200160405180910390f35b34156105de57600080fd5b6105b760246004803582810192908201359181359182019101356001604060020a0360443516600160a060020a0360643516611a3d565b341561062057600080fd5b6102a5611cca565b341561063357600080fd5b6102906004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611cd495505050505050565b341561068257600080fd5b6102a5611d3f565b341561069557600080fd5b610290600160a060020a0360043516611d63565b34156106b457600080fd5b6102906001604060020a0360043516600160a060020a0360243516604435611dc4565b34156106e257600080fd5b6105b760048035600160a060020a03169060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250611dd5915050565b341561079c57600080fd5b6105b76024600480358281019290820135918135918201910135600160a060020a036044358116906001604060020a036064358116916084359091169060a43516612042565b34156107ed57600080fd5b6102906001604
|
||
|
"realRuntimeBytecode": "6060604052600436106102575763ffffffff60e060020a6000350416627611c6811461025c578063178e6079146102925780631c8e8568146102b75780632101a6ad146102de57806324fea3b0146102fd5780632a8ec8cc146103105780632ee88808146103235780632f6b64ca1461034557806332ce8ebc1461040157806332f0a3b51461041f578063387402911461044e5780633f657a461461046657806343387983146104f457806347c5ef43146105165780634c4316c7146105455780634eafbcd51461057957806350f8a8031461059857806352dc7dcc146105d35780635503d9ba1461061557806357adafb61461062857806360b1e057146106775780636293c7021461068a5780636ba3cc87146106a95780636e802c6a146106d757806372116e9214610791578063796d5654146107e257806379f4542e146108015780637e7db6e1146108205780637f61fa931461083f57806380afdea81461088157806381ea4408146108945780638322fff2146108b35780638b3dd749146108c65780639b3fdf4c146108d95780639d4941d8146108ec5780639da47a6b1461090b578063a1658fad1461091e578063ab8be23114610981578063af9f456314610997578063b12b5f76146109b9578063c4d66de8146109cf578063c8ae070f146109ee578063cc19ecf714610a04578063ce17273c14610a50578063d4aae0c414610a9f578063d639cd7314610ab2578063db7c231414610b1a578063e9c211e214610b66578063eba8ba0614610b88578063f6b24b1c14610cde578063f92a79ff14610d2a578063fbfa77cf14610d7b575b600080fd5b341561026757600080fd5b6102906001604060020a0360043516600160a060020a0360243581169060443516606435610d8e565b005b341561029d57600080fd5b6102a5610de9565b60405190815260200160405180910390f35b34156102c257600080fd5b6102ca610e0d565b604051901515815260200160405180910390f35b34156102e957600080fd5b6102ca6001604060020a0360043516610e16565b341561030857600080fd5b6102a5610eb8565b341561031b57600080fd5b6102a5610eda565b341561032e57600080fd5b6102906001604060020a0360043516602435610ee5565b341561035057600080fd5b61036a6001604060020a0360043581169060243516611019565b6040516001604060020a0384168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b838110156103c45780820151838201526020016103ac565b50505050905090810190601f1680156103f15780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561040c57600080fd5b6102906004803560248101910135611147565b341561042a57600080fd5b6104326111db565b604051600160a060020a03909116815260200160405180910390f35b341561045957600080fd5b610290600435151561125b565b341561047157600080fd5b6104856001604060020a03600435166112c1565b6040518881526001604060020a038089166020830152878116604083015286811660608301528581166080830152841660a0820152600160a060020a03831660c082015260e081018260028111156104d957fe5b60ff1681526020019850505050505050505060405180910390f35b34156104ff57600080fd5b6102906001604060020a036004351660243561143e565b341561052157600080fd5b6102906001604060020a036004358116906024358116906044359060643516611625565b341561055057600080fd5b6102906001604060020a0360043581169060243516600160a060020a036044351660643561163a565b341561058457600080fd5b6102ca600160a060020a03600435166117d1565b34156105a357600080fd5b6105b76001604060020a0360043516611848565b6040516001604060020a03909116815260200160405180910390f35b34156105de57600080fd5b6105b760246004803582810192908201359181359182019101356001604060020a0360443516600160a060020a0360643516611a3d565b341561062057600080fd5b6102a5611cca565b341561063357600080fd5b6102906004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611cd495505050505050565b341561068257600080fd5b6102a5611d3f565b341561069557600080fd5b610290600160a060020a0360043516611d63565b34156106b457600080fd5b6102906001604060020a0360043516600160a060020a0360243516604435611dc4565b34156106e257600080fd5b6105b760048035600160a060020a03169060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250611dd5915050565b341561079c57600080fd5b6105b76024600480358281019290820135918135918201910135600160a060020a036044358116906001604060020a036064358116916084359091169060a43516612042565b34156107ed57600080fd5b610290600
|
||
|
"linkReferences": {},
|
||
|
"swarmHash": "de832b2e06c543f879500a9f359db9ac452ef08189e99e5e9061bec523a4ff3b",
|
||
|
"gasEstimates": {
|
||
|
"creation": {
|
||
|
"codeDepositCost": "4224200",
|
||
|
"executionCost": "25083",
|
||
|
"totalCost": "4249283"
|
||
|
},
|
||
|
"external": {
|
||
|
"APP_ADDR_NAMESPACE()": "258",
|
||
|
"ETH()": "996",
|
||
|
"EVMSCRIPT_REGISTRY_APP()": "962",
|
||
|
"EVMSCRIPT_REGISTRY_APP_ID()": "676",
|
||
|
"PLUGIN_MANAGER_ROLE()": "infinite",
|
||
|
"addDelegate(string,string,uint64,address)": "infinite",
|
||
|
"addGiver(address,string,string,uint64,address)": "infinite",
|
||
|
"addGiver(string,string,uint64,address)": "infinite",
|
||
|
"addGiverAndDonate(uint64,address,address,uint256)": "infinite",
|
||
|
"addGiverAndDonate(uint64,address,uint256)": "infinite",
|
||
|
"addProject(string,string,address,uint64,uint64,address)": "infinite",
|
||
|
"addValidPluginContract(bytes32)": "infinite",
|
||
|
"addValidPluginContracts(bytes32[])": "infinite",
|
||
|
"addValidPluginInstance(address)": "infinite",
|
||
|
"allowRecoverability(address)": "919",
|
||
|
"appId()": "1074",
|
||
|
"canPerform(address,bytes32,uint256[])": "infinite",
|
||
|
"cancelPayment(uint64,uint256)": "infinite",
|
||
|
"cancelPledge(uint64,uint256)": "infinite",
|
||
|
"cancelProject(uint64)": "infinite",
|
||
|
"confirmPayment(uint64,uint256)": "infinite",
|
||
|
"donate(uint64,uint64,address,uint256)": "infinite",
|
||
|
"getCodeHash(address)": "infinite",
|
||
|
"getExecutor(bytes)": "infinite",
|
||
|
"getInitializationBlock()": "1140",
|
||
|
"getPledge(uint64)": "infinite",
|
||
|
"getPledgeAdmin(uint64)": "infinite",
|
||
|
"getPledgeDelegate(uint64,uint64)": "infinite",
|
||
|
"getRecoveryVault()": "infinite",
|
||
|
"initialize(address)": "infinite",
|
||
|
"isProjectCanceled(uint64)": "infinite",
|
||
|
"isValidPlugin(address)": "infinite",
|
||
|
"kernel()": "1557",
|
||
|
"mNormalizePledge(uint64[])": "infinite",
|
||
|
"mTransfer(uint64,uint256[],uint64)": "infinite",
|
||
|
"mWithdraw(uint256[])": "infinite",
|
||
|
"mock_time()": "1206",
|
||
|
"normalizePledge(uint64)": "infinite",
|
||
|
"numberOfPledgeAdmins()": "841",
|
||
|
"numberOfPledges()": "556",
|
||
|
"removeValidPluginContract(bytes32)": "infinite",
|
||
|
"removeValidPluginInstance(address)": "infinite",
|
||
|
"setMockedTime(uint256)": "21011",
|
||
|
"transfer(uint64,uint64,uint256,uint64)": "infinite",
|
||
|
"transferToVault(address)": "infinite",
|
||
|
"updateDelegate(uint64,address,string,string,uint64)": "infinite",
|
||
|
"updateGiver(uint64,address,string,string,uint64)": "infinite",
|
||
|
"updateProject(uint64,address,string,string,uint64)": "infinite",
|
||
|
"useWhitelist(bool)": "infinite",
|
||
|
"vault()": "1722",
|
||
|
"whitelistDisabled()": "492",
|
||
|
"withdraw(uint64,uint256)": "infinite"
|
||
|
},
|
||
|
"internal": {
|
||
|
"_getTime()": "215"
|
||
|
}
|
||
|
},
|
||
|
"functionHashes": {
|
||
|
"APP_ADDR_NAMESPACE()": "178e6079",
|
||
|
"ETH()": "8322fff2",
|
||
|
"EVMSCRIPT_REGISTRY_APP()": "9b3fdf4c",
|
||
|
"EVMSCRIPT_REGISTRY_APP_ID()": "60b1e057",
|
||
|
"PLUGIN_MANAGER_ROLE()": "24fea3b0",
|
||
|
"addDelegate(string,string,uint64,address)": "52dc7dcc",
|
||
|
"addGiver(address,string,string,uint64,address)": "6e802c6a",
|
||
|
"addGiver(string,string,uint64,address)": "7f61fa93",
|
||
|
"addGiverAndDonate(uint64,address,address,uint256)": "007611c6",
|
||
|
"addGiverAndDonate(uint64,address,uint256)": "6ba3cc87",
|
||
|
"addProject(string,string,address,uint64,uint64,address)": "72116e92",
|
||
|
"addValidPluginContract(bytes32)": "c8ae070f",
|
||
|
"addValidPluginContracts(bytes32[])": "32ce8ebc",
|
||
|
"addValidPluginInstance(address)": "79f4542e",
|
||
|
"allowRecoverability(address)": "7e7db6e1",
|
||
|
"appId()": "80afdea8",
|
||
|
"canPerform(address,bytes32,uint256[])": "a1658fad",
|
||
|
"cancelPayment(uint64,uint256)": "e9c211e2",
|
||
|
"cancelPledge(uint64,uint256)": "af9f4563",
|
||
|
"cancelProject(uint64)": "796d5654",
|
||
|
"confirmPayment(uint64,uint256)": "2ee88808",
|
||
|
"donate(uint64,uint64,address,uint256)": "4c4316c7",
|
||
|
"getCodeHash(address)": "81ea4408",
|
||
|
"getExecutor(bytes)": "f92a79ff",
|
||
|
"getInitializationBlock()": "8b3dd749",
|
||
|
"getPledge(uint64)": "3f657a46",
|
||
|
"getPledgeAdmin(uint64)": "eba8ba06",
|
||
|
"getPledgeDelegate(uint64,uint64)": "2f6b64ca",
|
||
|
"getRecoveryVault()": "32f0a3b5",
|
||
|
"initialize(address)": "c4d66de8",
|
||
|
"isProjectCanceled(uint64)": "2101a6ad",
|
||
|
"isValidPlugin(address)": "4eafbcd5",
|
||
|
"kernel()": "d4aae0c4",
|
||
|
"mNormalizePledge(uint64[])": "ce17273c",
|
||
|
"mTransfer(uint64,uint256[],uint64)": "d639cd73",
|
||
|
"mWithdraw(uint256[])": "57adafb6",
|
||
|
"mock_time()": "9da47a6b",
|
||
|
"normalizePledge(uint64)": "50f8a803",
|
||
|
"numberOfPledgeAdmins()": "5503d9ba",
|
||
|
"numberOfPledges()": "2a8ec8cc",
|
||
|
"removeValidPluginContract(bytes32)": "b12b5f76",
|
||
|
"removeValidPluginInstance(address)": "6293c702",
|
||
|
"setMockedTime(uint256)": "ab8be231",
|
||
|
"transfer(uint64,uint64,uint256,uint64)": "47c5ef43",
|
||
|
"transferToVault(address)": "9d4941d8",
|
||
|
"updateDelegate(uint64,address,string,string,uint64)": "cc19ecf7",
|
||
|
"updateGiver(uint64,address,string,string,uint64)": "db7c2314",
|
||
|
"updateProject(uint64,address,string,string,uint64)": "f6b24b1c",
|
||
|
"useWhitelist(bool)": "38740291",
|
||
|
"vault()": "fbfa77cf",
|
||
|
"whitelistDisabled()": "1c8e8568",
|
||
|
"withdraw(uint64,uint256)": "43387983"
|
||
|
},
|
||
|
"abiDefinition": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idReceiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "donorAddress",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "addGiverAndDonate",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x007611c6"
|
||
|
},
|
||
|
{
|
||
|
"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": "projectId",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "isProjectCanceled",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x2101a6ad"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "PLUGIN_MANAGER_ROLE",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x24fea3b0"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "numberOfPledges",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x2a8ec8cc"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "confirmPayment",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x2ee88808"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "idxDelegate",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "getPledgeDelegate",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "idDelegate",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x2f6b64ca"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "contractHashes",
|
||
|
"type": "bytes32[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "addValidPluginContracts",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x32ce8ebc"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "getRecoveryVault",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x32f0a3b5"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "useWhitelist",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"name": "useWhitelist",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x38740291"
|
||
|
},
|
||
|
{
|
||
|
"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": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "withdraw",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x43387983"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idSender",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"name": "idReceiver",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "transfer",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x47c5ef43"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "idReceiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "donate",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x4c4316c7"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isValidPlugin",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x4eafbcd5"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "normalizePledge",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x50f8a803"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "commitTime",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "plugin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addDelegate",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "idDelegate",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x52dc7dcc"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "numberOfPledgeAdmins",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x5503d9ba"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "pledgesAmounts",
|
||
|
"type": "uint256[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "mWithdraw",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x57adafb6"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "EVMSCRIPT_REGISTRY_APP_ID",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x60b1e057"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeValidPluginInstance",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x6293c702"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idReceiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "addGiverAndDonate",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x6ba3cc87"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "commitTime",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "plugin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addGiver",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x6e802c6a"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "projectAdmin",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "parentProject",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "commitTime",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "plugin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addProject",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "idProject",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x72116e92"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idProject",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "cancelProject",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x796d5654"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addValidPluginInstance",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x79f4542e"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "allowRecoverability",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x7e7db6e1"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "commitTime",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "plugin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "addGiver",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0x7f61fa93"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "appId",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x80afdea8"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "getCodeHash",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x81ea4408"
|
||
|
},
|
||
|
{
|
||
|
"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": "mock_time",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0x9da47a6b"
|
||
|
},
|
||
|
{
|
||
|
"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": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "_t",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setMockedTime",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xab8be231"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "cancelPledge",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xaf9f4563"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "contractHash",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeValidPluginContract",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xb12b5f76"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "_vault",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "initialize",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xc4d66de8"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "contractHash",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "addValidPluginContract",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xc8ae070f"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idDelegate",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "newAddr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "newName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newUrl",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newCommitTime",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "updateDelegate",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xcc19ecf7"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "pledges",
|
||
|
"type": "uint64[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "mNormalizePledge",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xce17273c"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [],
|
||
|
"name": "kernel",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0xd4aae0c4"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idSender",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "pledgesAmounts",
|
||
|
"type": "uint256[]"
|
||
|
},
|
||
|
{
|
||
|
"name": "idReceiver",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "mTransfer",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xd639cd73"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "newAddr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "newName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newUrl",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newCommitTime",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "updateGiver",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xdb7c2314"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idPledge",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "cancelPayment",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xe9c211e2"
|
||
|
},
|
||
|
{
|
||
|
"constant": true,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idAdmin",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "getPledgeAdmin",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "adminType",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "commitTime",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "parentProject",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "canceled",
|
||
|
"type": "bool"
|
||
|
},
|
||
|
{
|
||
|
"name": "plugin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"payable": false,
|
||
|
"stateMutability": "view",
|
||
|
"type": "function",
|
||
|
"signature": "0xeba8ba06"
|
||
|
},
|
||
|
{
|
||
|
"constant": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "idProject",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"name": "newAddr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"name": "newName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newUrl",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "newCommitTime",
|
||
|
"type": "uint64"
|
||
|
}
|
||
|
],
|
||
|
"name": "updateProject",
|
||
|
"outputs": [],
|
||
|
"payable": false,
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function",
|
||
|
"signature": "0xf6b24b1c"
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "from",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "to",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "Transfer",
|
||
|
"type": "event",
|
||
|
"signature": "0xaf6151f5085accf2d57e1e7bf7601d3b3982e0de7e9a90f032f8554de9c104f6"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idProject",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "CancelProject",
|
||
|
"type": "event",
|
||
|
"signature": "0x74acb192d39829b88a66ad5363afa9120c5a306a458287a870351ae34a04d346"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "GiverAdded",
|
||
|
"type": "event",
|
||
|
"signature": "0xf5abb7d99fe692941bfd32625b4a8d7342036635d1fbb0e2a75754b8266c61a3"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idGiver",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "GiverUpdated",
|
||
|
"type": "event",
|
||
|
"signature": "0x4b2f87168338ea08f27c7f7b2dfe4e61feb620ffe9a6a6a18afeaf94546075bf"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idDelegate",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "DelegateAdded",
|
||
|
"type": "event",
|
||
|
"signature": "0xd921f0ff8d5f67ca22b52c5b4be3463a8cabd9d95c28a02dd7c86f9deb3329be"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idDelegate",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "DelegateUpdated",
|
||
|
"type": "event",
|
||
|
"signature": "0x6586deed9fa035704e9886588d904801e7e86d1ebd926905fa03a0018531b2fd"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idProject",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "ProjectAdded",
|
||
|
"type": "event",
|
||
|
"signature": "0x9958fc92731727637b02f1ac1e6caf2814442c27e1d962f0c477cd14280f586d"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"name": "idProject",
|
||
|
"type": "uint64"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"name": "url",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "ProjectUpdated",
|
||
|
"type": "event",
|
||
|
"signature": "0xab039fa652845d2aa9439ffe6f2130ee7203ed63f29b71bed5b3b74f27c58707"
|
||
|
}
|
||
|
],
|
||
|
"filename": "/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/LiquidPledgingMock.sol",
|
||
|
"originalFilename": "contracts/LiquidPledgingMock.sol",
|
||
|
"path": "/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/LiquidPledgingMock.sol",
|
||
|
"gas": "auto",
|
||
|
"type": "file",
|
||
|
"deploy": false,
|
||
|
"_gasLimit": 6000000,
|
||
|
"error": false
|
||
|
}
|