UNPKG

giveth-bridge

Version:

Mainnet -> sidechain Giveth Bridge.

232 lines 13.1 kB
{ "contractName": "Pausable", "source": "./contracts/lib/Pausable.sol", "compilerOutput": { "abi": [ { "constant": false, "inputs": [ { "name": "_newOwner", "type": "address" } ], "name": "changeOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "unpause", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "paused", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_dac", "type": "address" } ], "name": "removeOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_newOwnerCandidate", "type": "address" } ], "name": "proposeOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "acceptOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "pause", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "newOwnerCandidate", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [], "name": "Pause", "type": "event" }, { "anonymous": false, "inputs": [], "name": "Unpause", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "by", "type": "address" }, { "indexed": true, "name": "to", "type": "address" } ], "name": "OwnershipRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "from", "type": "address" }, { "indexed": true, "name": "to", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [], "name": "OwnershipRemoved", "type": "event" } ], "evm": { "bytecode": { "object": "60606040526001805460a060020a60ff021916905560008054600160a060020a033316600160a060020a0319909116179055610575806100406000396000f3006060604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632af4c31e811461009d5780633f4ba83a146100be5780635c975abb146100d1578063666a3427146100f8578063710bf3221461011757806379ba5097146101365780638456cb59146101495780638da5cb5b1461015c578063d091b5501461018b575b600080fd5b34156100a857600080fd5b6100bc600160a060020a036004351661019e565b005b34156100c957600080fd5b6100bc61023f565b34156100dc57600080fd5b6100e46102cf565b604051901515815260200160405180910390f35b341561010357600080fd5b6100bc600160a060020a03600435166102f0565b341561012257600080fd5b6100bc600160a060020a036004351661037a565b341561014157600080fd5b6100bc6103f8565b341561015457600080fd5b6100bc610485565b341561016757600080fd5b61016f61052b565b604051600160a060020a03909116815260200160405180910390f35b341561019657600080fd5b61016f61053a565b6000805433600160a060020a039081169116146101ba57600080fd5b600160a060020a03821615156101cf57600080fd5b5060008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff1980841691909117938490556001805490911690559081169116817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005433600160a060020a0390811691161461025a57600080fd5b60015474010000000000000000000000000000000000000000900460ff16151561028357600080fd5b6001805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60015474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461030b57600080fd5b610dac600160a060020a0382161461032257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff199081169091556001805490911690557f94e8b32e01b9eedfddd778ffbd051a7718cdc14781702884561162dca6f74dbb60405160405180910390a150565b60005433600160a060020a0390811691161461039557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290559081169033167f13a4b3bc0d5234dd3d87c9f1557d8faefa37986da62c36ba49309e2fb2c9aec460405160405180910390a350565b60015460009033600160a060020a0390811691161461041657600080fd5b50600080546001805473ffffffffffffffffffffffffffffffffffffffff19808416600160a060020a03838116919091179586905591169091559081169116817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b60005433600160a060020a039081169116146104a057600080fd5b60015474010000000000000000000000000000000000000000900460ff16156104c857600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b600154600160a060020a0316815600a165627a7a723058201560aa6a3dd4c56e49fca1664ce66d20e62c27f4fcd8a2cfcce5af00afc2bbd80029", "sourceMap": "194:822:5:-;;;268:26;;;-1:-1:-1;;;;;;268:26:5;;;289:5;993:18:9;;-1:-1:-1;;;;;1001:10:9;993:18;-1:-1:-1;;;;;;993:18:9;;;;;;194:822:5;;;;;;" }, "deployedBytecode": { "object": "6060604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632af4c31e811461009d5780633f4ba83a146100be5780635c975abb146100d1578063666a3427146100f8578063710bf3221461011757806379ba5097146101365780638456cb59146101495780638da5cb5b1461015c578063d091b5501461018b575b600080fd5b34156100a857600080fd5b6100bc600160a060020a036004351661019e565b005b34156100c957600080fd5b6100bc61023f565b34156100dc57600080fd5b6100e46102cf565b604051901515815260200160405180910390f35b341561010357600080fd5b6100bc600160a060020a03600435166102f0565b341561012257600080fd5b6100bc600160a060020a036004351661037a565b341561014157600080fd5b6100bc6103f8565b341561015457600080fd5b6100bc610485565b341561016757600080fd5b61016f61052b565b604051600160a060020a03909116815260200160405180910390f35b341561019657600080fd5b61016f61053a565b6000805433600160a060020a039081169116146101ba57600080fd5b600160a060020a03821615156101cf57600080fd5b5060008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff1980841691909117938490556001805490911690559081169116817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005433600160a060020a0390811691161461025a57600080fd5b60015474010000000000000000000000000000000000000000900460ff16151561028357600080fd5b6001805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60015474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461030b57600080fd5b610dac600160a060020a0382161461032257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff199081169091556001805490911690557f94e8b32e01b9eedfddd778ffbd051a7718cdc14781702884561162dca6f74dbb60405160405180910390a150565b60005433600160a060020a0390811691161461039557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290559081169033167f13a4b3bc0d5234dd3d87c9f1557d8faefa37986da62c36ba49309e2fb2c9aec460405160405180910390a350565b60015460009033600160a060020a0390811691161461041657600080fd5b50600080546001805473ffffffffffffffffffffffffffffffffffffffff19808416600160a060020a03838116919091179586905591169091559081169116817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b60005433600160a060020a039081169116146104a057600080fd5b60015474010000000000000000000000000000000000000000900460ff16156104c857600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b600154600160a060020a0316815600a165627a7a723058201560aa6a3dd4c56e49fca1664ce66d20e62c27f4fcd8a2cfcce5af00afc2bbd80029", "sourceMap": "194:822:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2422:246:9;;;;;;;;;;-1:-1:-1;;;;;2422:246:9;;;;;;;912:102:5;;;;;;;;;;;;268:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3062:182:9;;;;;;;;;;-1:-1:-1;;;;;3062:182:9;;;;;1585:185;;;;;;;;;;-1:-1:-1;;;;;1585:185:9;;;;;1882:242;;;;;;;;;;;;724:100:5;;;;;;;;;;;;638:20:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;638:20:9;;;;;;;;;;;;;;664:32;;;;;;;;;;;;2422:246;2529:16;1171:5;;1157:10;-1:-1:-1;;;;;1157:19:9;;;1171:5;;1157:19;1148:29;;;;;;-1:-1:-1;;;;;2501:16:9;;;;2493:25;;;;;;-1:-1:-1;2548:5:9;;;-1:-1:-1;;;;;2563:17:9;;;-1:-1:-1;;2563:17:9;;;;;;;;;;;2548:5;2590:23;;;;;;;2548:5;;;;2655;2548;2624:37;;;;;;;;;;2422:246;;:::o;912:102:5:-;1171:5:9;;1157:10;-1:-1:-1;;;;;1157:19:9;;;1171:5;;1157:19;1148:29;;;;;;614:6:5;;;;;;;606:15;;;;;;;;969:6;:14;;-1:-1:-1;;969:14:5;;;998:9;;;;;;;;;;912:102::o;268:26::-;;;;;;;;;:::o;3062:182:9:-;1171:5;;1157:10;-1:-1:-1;;;;;1157:19:9;;;1171:5;;1157:19;1148:29;;;;;;3144:5;-1:-1:-1;;;;;3136:13:9;;;3128:22;;;;;;3168:3;3160:11;;-1:-1:-1;;3160:11:9;;;;;;;3181:23;;;;;;;3214:18;;;;;;;;;;3062:182;:::o;1585:185::-;1171:5;;1157:10;-1:-1:-1;;;;;1157:19:9;;;1171:5;;1157:19;1148:29;;;;;;1666:17;:38;;-1:-1:-1;;1666:38:9;-1:-1:-1;;;;;1666:38:9;;;;;;;;;;;1745:17;;;;1733:10;1714:49;;;;;;;;;;;1585:185;:::o;1882:242::-;1948:17;;1977:16;;1934:10;-1:-1:-1;;;;;1934:31:9;;;1948:17;;1934:31;1926:40;;;;;;-1:-1:-1;1996:5:9;;;;2019:17;;-1:-1:-1;;2011:25:9;;;-1:-1:-1;;;;;2019:17:9;;;2011:25;;;;;;;;2046:23;;;;;1996:5;;;;2111;1996;2080:37;;;;;;;;;;1882:242;:::o;724:100:5:-;1171:5:9;;1157:10;-1:-1:-1;;;;;1157:19:9;;;1171:5;;1157:19;1148:29;;;;;;446:6:5;;;;;;;445:7;437:16;;;;;;791:4;782:13;;-1:-1:-1;;782:13:5;;;;;810:7;;;;;;;;;;724:100::o;638:20:9:-;;;-1:-1:-1;;;;;638:20:9;;:::o;664:32::-;;;-1:-1:-1;;;;;664:32:9;;:::o" }, "methodIdentifiers": { "acceptOwnership()": "79ba5097", "changeOwnership(address)": "2af4c31e", "newOwnerCandidate()": "d091b550", "owner()": "8da5cb5b", "pause()": "8456cb59", "paused()": "5c975abb", "proposeOwnership(address)": "710bf322", "removeOwnership(address)": "666a3427", "unpause()": "3f4ba83a" } } }, "sources": { "./contracts/lib/Pausable.sol": { "id": 5, "keccak256": "0xd134809350f024c16096d995915c6a348d770e1ec633723419f4f3acbd1e4b46", "file": "/Users/rjewing/code/giveth/giveth-bridge/contracts/lib/Pausable.sol" }, "giveth-common-contracts/contracts/Owned.sol": { "id": 9, "keccak256": "0xc7d1401775fb1b41187de281757de68718fe27ba2660ba4bb194436aab7d0213", "file": "/Users/rjewing/code/giveth/giveth-bridge/node_modules/giveth-common-contracts/contracts/Owned.sol" } }, "compiler": { "name": "solc", "keccak256": "0xd134809350f024c16096d995915c6a348d770e1ec633723419f4f3acbd1e4b46", "version": "0.4.21+commit.dfe3193c", "settings": { "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": true }, "outputSelection": { "*": { "*": [ "metadata", "evm.bytecode.object", "evm.bytecode.sourceMap", "abi", "evm.methodIdentifiers", "evm.deployedBytecode.object", "evm.deployedBytecode.sourceMap" ] } } } } }