UNPKG

@cartesi/staking-pool

Version:
84 lines 3.51 kB
{ "contractName": "ChainlinkGasOracle", "sourceName": "contracts/oracle/ChainlinkGasOracle.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "_oracle", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "getGasPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oracle", "outputs": [ { "internalType": "contract AggregatorInterface", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x60a060405234801561001057600080fd5b5060405161021338038061021383398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c61017c61009760003960008181605b01526099015261017c6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063455259cb1461003b5780637dc0d1d014610056575b600080fd5b610043610095565b6040519081526020015b60405180910390f35b61007d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161004d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610128919061012d565b905090565b60006020828403121561013f57600080fd5b505191905056fea264697066735822122012c449e1089fe361c35e94300318180138a9e3662628bfb6009666b888fa1fc864736f6c63430008070033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063455259cb1461003b5780637dc0d1d014610056575b600080fd5b610043610095565b6040519081526020015b60405180910390f35b61007d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161004d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610128919061012d565b905090565b60006020828403121561013f57600080fd5b505191905056fea264697066735822122012c449e1089fe361c35e94300318180138a9e3662628bfb6009666b888fa1fc864736f6c63430008070033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { "kind": "dev", "methods": { "getGasPrice()": { "returns": { "_0": "value of gas price" } } }, "version": 1 }, "userdoc": { "kind": "user", "methods": { "getGasPrice()": { "notice": "Returns current network gas price" } }, "version": 1 }, "evm": { "gasEstimates": { "creation": { "codeDepositCost": "76000", "executionCost": "infinite", "totalCost": "infinite" }, "external": { "getGasPrice()": "infinite", "oracle()": "infinite" } }, "methodIdentifiers": { "getGasPrice()": "455259cb", "oracle()": "7dc0d1d0" } } }