UNPKG

test-contracts-sovryn

Version:

Smart contracts for the Sovryn protocol and external integrations.

83 lines (82 loc) 4.41 kB
{ "_format": "hh-sol-artifact-1", "contractName": "RBTCWrapperProxyMockup", "sourceName": "contracts/mockup/RBTCWrapperProxyMockup.sol", "abi": [ { "inputs": [ { "internalType": "contract LiquidityMining", "name": "_liquidityMining", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_poolToken", "type": "address" } ], "name": "claimReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "claimRewardFromAllPools", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "liquidityMining", "outputs": [ { "internalType": "contract LiquidityMining", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_poolToken", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x608060405234801561001057600080fd5b506040516102bb3803806102bb8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610256806100656000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630bd69aeb1461005157806385b2d5351461005b578063d279c1911461007f578063f3fef3a3146100a5575b600080fd5b6100596100d1565b005b610063610132565b604080516001600160a01b039092168252519081900360200190f35b6100596004803603602081101561009557600080fd5b50356001600160a01b0316610141565b610059600480360360408110156100bb57600080fd5b506001600160a01b0381351690602001356101ad565b6000805460408051636b524f8760e11b815233600482015290516001600160a01b039092169263d6a49f0e9260248084019382900301818387803b15801561011857600080fd5b505af115801561012c573d6000803e3d6000fd5b50505050565b6000546001600160a01b031681565b60008054604080516324a9e3c160e11b81526001600160a01b03858116600483015233602483015291519190921692634953c782926044808201939182900301818387803b15801561019257600080fd5b505af11580156101a6573d6000803e3d6000fd5b5050505050565b6000805460408051631a4ca37b60e21b81526001600160a01b03868116600483015260248201869052336044830152915191909216926369328dec926064808201939182900301818387803b15801561020557600080fd5b505af1158015610219573d6000803e3d6000fd5b50505050505056fea265627a7a72315820eadd2b2058c4761d88e64055d9a230070a3bf9bd5d8e55a12ba46c64f2d175a664736f6c63430005110032", "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630bd69aeb1461005157806385b2d5351461005b578063d279c1911461007f578063f3fef3a3146100a5575b600080fd5b6100596100d1565b005b610063610132565b604080516001600160a01b039092168252519081900360200190f35b6100596004803603602081101561009557600080fd5b50356001600160a01b0316610141565b610059600480360360408110156100bb57600080fd5b506001600160a01b0381351690602001356101ad565b6000805460408051636b524f8760e11b815233600482015290516001600160a01b039092169263d6a49f0e9260248084019382900301818387803b15801561011857600080fd5b505af115801561012c573d6000803e3d6000fd5b50505050565b6000546001600160a01b031681565b60008054604080516324a9e3c160e11b81526001600160a01b03858116600483015233602483015291519190921692634953c782926044808201939182900301818387803b15801561019257600080fd5b505af11580156101a6573d6000803e3d6000fd5b5050505050565b6000805460408051631a4ca37b60e21b81526001600160a01b03868116600483015260248201869052336044830152915191909216926369328dec926064808201939182900301818387803b15801561020557600080fd5b505af1158015610219573d6000803e3d6000fd5b50505050505056fea265627a7a72315820eadd2b2058c4761d88e64055d9a230070a3bf9bd5d8e55a12ba46c64f2d175a664736f6c63430005110032", "linkReferences": {}, "deployedLinkReferences": {} }