@giveth/bridge-contract
Version:
Giveth bridge contract classes
232 lines • 15.9 kB
JSON
{
"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": "60806040526001805460a060020a60ff021916905560008054600160a060020a03191633179055610776806100356000396000f3006080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632af4c31e811461009d5780633f4ba83a146100c05780635c975abb146100d5578063666a3427146100fe578063710bf3221461011f57806379ba5097146101405780638456cb59146101555780638da5cb5b1461016a578063d091b5501461019b575b600080fd5b3480156100a957600080fd5b506100be600160a060020a03600435166101b0565b005b3480156100cc57600080fd5b506100be6102ce565b3480156100e157600080fd5b506100ea610390565b604080519115158252519081900360200190f35b34801561010a57600080fd5b506100be600160a060020a03600435166103b1565b34801561012b57600080fd5b506100be600160a060020a03600435166104b5565b34801561014c57600080fd5b506100be610564565b34801561016157600080fd5b506100be610634565b34801561017657600080fd5b5061017f61070c565b60408051600160a060020a039092168252519081900360200190f35b3480156101a757600080fd5b5061017f61071b565b60008054600160a060020a03163314610201576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b600160a060020a0382161515610261576040805160e560020a62461bcd02815260206004820152601760248201527f6572725f6f776e6564496e76616c696441646472657373000000000000000000604482015290519081900360640190fd5b5060008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff1980841691909117808555600180549092169091556040519282169391169183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b600054600160a060020a0316331461031e576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff16151561034757600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60015474010000000000000000000000000000000000000000900460ff1681565b600054600160a060020a03163314610401576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b610dac600160a060020a03821614610463576040805160e560020a62461bcd02815260206004820152601360248201527f6572725f6f776e6564496e76616c696444616300000000000000000000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1990811682556001805490911690556040517f94e8b32e01b9eedfddd778ffbd051a7718cdc14781702884561162dca6f74dbb9190a150565b600054600160a060020a03163314610505576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091179182905560405191169033907f13a4b3bc0d5234dd3d87c9f1557d8faefa37986da62c36ba49309e2fb2c9aec490600090a350565b600154600090600160a060020a031633146105c9576040805160e560020a62461bcd02815260206004820152601560248201527f6572725f6f776e65644e6f7443616e6469646174650000000000000000000000604482015290519081900360640190fd5b506000805460018054600160a060020a0380821673ffffffffffffffffffffffffffffffffffffffff198086169190911780875592169092556040519282169391169183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b600054600160a060020a03163314610684576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff16156106ac57600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600054600160a060020a031681565b600154600160a060020a03168156006572725f6f776e65644e6f744f776e6572000000000000000000000000000000a165627a7a7230582040c3da9c9ee20d7294d20cd2e489d9b70969e2c13ccbaf2b612c08ffd5308a410029",
"sourceMap": "195:822:5:-;;;269:26;;;-1:-1:-1;;;;;;269:26:5;;;290:5;990:18:9;;-1:-1:-1;;;;;;990:18:9;998:10;990:18;;;195:822:5;;;;;;"
},
"deployedBytecode": {
"object": "6080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632af4c31e811461009d5780633f4ba83a146100c05780635c975abb146100d5578063666a3427146100fe578063710bf3221461011f57806379ba5097146101405780638456cb59146101555780638da5cb5b1461016a578063d091b5501461019b575b600080fd5b3480156100a957600080fd5b506100be600160a060020a03600435166101b0565b005b3480156100cc57600080fd5b506100be6102ce565b3480156100e157600080fd5b506100ea610390565b604080519115158252519081900360200190f35b34801561010a57600080fd5b506100be600160a060020a03600435166103b1565b34801561012b57600080fd5b506100be600160a060020a03600435166104b5565b34801561014c57600080fd5b506100be610564565b34801561016157600080fd5b506100be610634565b34801561017657600080fd5b5061017f61070c565b60408051600160a060020a039092168252519081900360200190f35b3480156101a757600080fd5b5061017f61071b565b60008054600160a060020a03163314610201576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b600160a060020a0382161515610261576040805160e560020a62461bcd02815260206004820152601760248201527f6572725f6f776e6564496e76616c696441646472657373000000000000000000604482015290519081900360640190fd5b5060008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff1980841691909117808555600180549092169091556040519282169391169183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b600054600160a060020a0316331461031e576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff16151561034757600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b60015474010000000000000000000000000000000000000000900460ff1681565b600054600160a060020a03163314610401576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b610dac600160a060020a03821614610463576040805160e560020a62461bcd02815260206004820152601360248201527f6572725f6f776e6564496e76616c696444616300000000000000000000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1990811682556001805490911690556040517f94e8b32e01b9eedfddd778ffbd051a7718cdc14781702884561162dca6f74dbb9190a150565b600054600160a060020a03163314610505576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091179182905560405191169033907f13a4b3bc0d5234dd3d87c9f1557d8faefa37986da62c36ba49309e2fb2c9aec490600090a350565b600154600090600160a060020a031633146105c9576040805160e560020a62461bcd02815260206004820152601560248201527f6572725f6f776e65644e6f7443616e6469646174650000000000000000000000604482015290519081900360640190fd5b506000805460018054600160a060020a0380821673ffffffffffffffffffffffffffffffffffffffff198086169190911780875592169092556040519282169391169183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b600054600160a060020a03163314610684576040805160e560020a62461bcd028152602060048201526011602482015260008051602061072b833981519152604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff16156106ac57600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600054600160a060020a031681565b600154600160a060020a03168156006572725f6f776e65644e6f744f776e6572000000000000000000000000000000a165627a7a7230582040c3da9c9ee20d7294d20cd2e489d9b70969e2c13ccbaf2b612c08ffd5308a410029",
"sourceMap": "195:822:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:277:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2474:277:9;-1:-1:-1;;;;;2474:277:9;;;;;;;913:102:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;913:102:5;;;;269:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;269:26:5;;;;;;;;;;;;;;;;;;;;;;3145:206:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3145:206:9;-1:-1:-1;;;;;3145:206:9;;;;;1602:191;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1602:191:9;-1:-1:-1;;;;;1602:191:9;;;;;1905:271;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1905:271:9;;;;725:100:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;725:100:5;;;;638:20:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;638:20:9;;;;;;;;-1:-1:-1;;;;;638:20:9;;;;;;;;;;;;;;664:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;664:32:9;;;;2474:277;2607:16;1168:5;;-1:-1:-1;;;;;1168:5:9;1154:10;:19;1145:49;;;;;-1:-1:-1;;;;;1145:49:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1145:49:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;2553:16:9;;;;2545:51;;;;;-1:-1:-1;;;;;2545:51:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2626:5:9;;;-1:-1:-1;;;;;2641:17:9;;;-1:-1:-1;;2641:17:9;;;;;;;;;;2626:5;2668:23;;;;;;;;2707:37;;2626:5;;;;2738;;;2626;;2707:37;;;2474:277;;:::o;913:102:5:-;1168:5:9;;-1:-1:-1;;;;;1168:5:9;1154:10;:19;1145:49;;;;;-1:-1:-1;;;;;1145:49:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1145:49:9;;;;;;;;;;;;;;;615:6:5;;;;;;;607:15;;;;;;;;970:6;:14;;-1:-1:-1;;970:14:5;;;999:9;;;;979:5;;999:9;913:102::o;269:26::-;;;;;;;;;:::o;3145:206:9:-;1168:5;;-1:-1:-1;;;;;1168:5:9;1154:10;:19;1145:49;;;;;-1:-1:-1;;;;;1145:49:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1145:49:9;;;;;;;;;;;;;;;3227:5;-1:-1:-1;;;;;3219:13:9;;;3211:44;;;;;-1:-1:-1;;;;;3211:44:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;3274:3;3266:11;;-1:-1:-1;;3266:11:9;;;;;;3287:23;;;;;;;3326:18;;;;3274:3;3326:18;3145:206;:::o;1602:191::-;1168:5;;-1:-1:-1;;;;;1168:5:9;1154:10;:19;1145:49;;;;;-1:-1:-1;;;;;1145:49:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1145:49:9;;;;;;;;;;;;;;;1683:17;:38;;-1:-1:-1;;1683:38:9;-1:-1:-1;;;;;1683:38:9;;;;;;;;;;;1737:49;;1768:17;;;1756:10;;1737:49;;-1:-1:-1;;1737:49:9;1602:191;:::o;1905:271::-;1971:17;;2024:16;;-1:-1:-1;;;;;1971:17:9;1957:10;:31;1949:64;;;;;-1:-1:-1;;;;;1949:64:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2043:5:9;;;;2066:17;;-1:-1:-1;;;;;2066:17:9;;;-1:-1:-1;;2058:25:9;;;;;;;;;;2093:23;;;;;2132:37;;2043:5;;;;2163;;;2043;;2132:37;;;1905:271;:::o;725:100:5:-;1168:5:9;;-1:-1:-1;;;;;1168:5:9;1154:10;:19;1145:49;;;;;-1:-1:-1;;;;;1145:49:9;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1145:49:9;;;;;;;;;;;;;;;447:6:5;;;;;;;446:7;438:16;;;;;;792:4;783:13;;-1:-1:-1;;783:13:5;;;;;811:7;;;;783:13;;811:7;725: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": "0x9aff0118627d8c31dc171f24c6028315f5ed257acdfe2b7395acdace6a31be0c",
"file": "/Users/amin/Work/giveth/bridge-contract/contracts/lib/Pausable.sol"
},
"@giveth/common-contracts/contracts/Owned.sol": {
"id": 9,
"keccak256": "0x8cf5b2aea0adbfd9c2f13afa8ca6b99fdd71e4e8f3a83e1c709aee332547f463",
"file": "/Users/amin/Work/giveth/bridge-contract/node_modules/@giveth/common-contracts/contracts/Owned.sol"
}
},
"compiler": {
"name": "solc",
"keccak256": "0x9aff0118627d8c31dc171f24c6028315f5ed257acdfe2b7395acdace6a31be0c",
"version": "0.4.26+commit.4563c3fc",
"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"
]
}
}
}
}
}