2024-12-12 20:21:09 +03:00

97 lines
7.4 KiB
JSON

{
"_format": "hh-sol-artifact-1",
"contractName": "DFStrategyV1",
"sourceName": "contracts/df/DFStrategyV1.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_dfrewards",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "tokenAddresses",
"type": "address[]"
}
],
"name": "claim",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "address[]",
"name": "tokenAddresses",
"type": "address[]"
}
],
"name": "claimMultiple",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "address[]",
"name": "tokenAddresses",
"type": "address[]"
}
],
"name": "claimables",
"outputs": [
{
"internalType": "uint256[]",
"name": "result",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "id",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60806040526001805460ff60a01b1916600160a01b17905534801561002357600080fd5b506040516105bf3803806105bf8339810160408190526100429161006c565b6001600081905580546001600160a01b0319166001600160a01b039290921691909117905561009c565b60006020828403121561007e57600080fd5b81516001600160a01b038116811461009557600080fd5b9392505050565b610514806100ab6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630758ca7514610051578063081df9c31461007a578063318d9e5d1461008f578063af640d0f146100b2575b600080fd5b61006461005f366004610355565b6100d8565b60405161007191906103a8565b60405180910390f35b61008d610088366004610355565b610209565b005b6100a261009d3660046103ec565b6102d7565b6040519015158152602001610071565b6001546100c690600160a01b900460ff1681565b60405160ff9091168152602001610071565b60608167ffffffffffffffff8111156100f3576100f361042e565b60405190808252806020026020018201604052801561011c578160200160208202803683370190505b50905060005b82811015610201576001546001600160a01b031663d4570c1c8686868581811061014e5761014e610444565b9050602002016020810190610163919061045a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156101ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d2919061047c565b8282815181106101e4576101e4610444565b60209081029190910101526101fa6001826104ab565b9050610122565b509392505050565b60005b818110156102d1576001546001600160a01b031663b4ba9e118585858581811061023857610238610444565b905060200201602081019061024d919061045a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561029a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102be919061047c565b50806102c9816104c3565b91505061020c565b50505050565b60006102e4338484610209565b50600192915050565b80356001600160a01b038116811461030457600080fd5b919050565b60008083601f84011261031b57600080fd5b50813567ffffffffffffffff81111561033357600080fd5b6020830191508360208260051b850101111561034e57600080fd5b9250929050565b60008060006040848603121561036a57600080fd5b610373846102ed565b9250602084013567ffffffffffffffff81111561038f57600080fd5b61039b86828701610309565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b818110156103e0578351835292840192918401916001016103c4565b50909695505050505050565b600080602083850312156103ff57600080fd5b823567ffffffffffffffff81111561041657600080fd5b61042285828601610309565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561046c57600080fd5b610475826102ed565b9392505050565b60006020828403121561048e57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156104be576104be610495565b500190565b60006000198214156104d7576104d7610495565b506001019056fea2646970667358221220f9f3870df804881d926f8605efa51053d645d45afdb95fd6b17bbacac8d3618264736f6c634300080c0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630758ca7514610051578063081df9c31461007a578063318d9e5d1461008f578063af640d0f146100b2575b600080fd5b61006461005f366004610355565b6100d8565b60405161007191906103a8565b60405180910390f35b61008d610088366004610355565b610209565b005b6100a261009d3660046103ec565b6102d7565b6040519015158152602001610071565b6001546100c690600160a01b900460ff1681565b60405160ff9091168152602001610071565b60608167ffffffffffffffff8111156100f3576100f361042e565b60405190808252806020026020018201604052801561011c578160200160208202803683370190505b50905060005b82811015610201576001546001600160a01b031663d4570c1c8686868581811061014e5761014e610444565b9050602002016020810190610163919061045a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156101ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d2919061047c565b8282815181106101e4576101e4610444565b60209081029190910101526101fa6001826104ab565b9050610122565b509392505050565b60005b818110156102d1576001546001600160a01b031663b4ba9e118585858581811061023857610238610444565b905060200201602081019061024d919061045a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561029a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102be919061047c565b50806102c9816104c3565b91505061020c565b50505050565b60006102e4338484610209565b50600192915050565b80356001600160a01b038116811461030457600080fd5b919050565b60008083601f84011261031b57600080fd5b50813567ffffffffffffffff81111561033357600080fd5b6020830191508360208260051b850101111561034e57600080fd5b9250929050565b60008060006040848603121561036a57600080fd5b610373846102ed565b9250602084013567ffffffffffffffff81111561038f57600080fd5b61039b86828701610309565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b818110156103e0578351835292840192918401916001016103c4565b50909695505050505050565b600080602083850312156103ff57600080fd5b823567ffffffffffffffff81111561041657600080fd5b61042285828601610309565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561046c57600080fd5b610475826102ed565b9392505050565b60006020828403121561048e57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156104be576104be610495565b500190565b60006000198214156104d7576104d7610495565b506001019056fea2646970667358221220f9f3870df804881d926f8605efa51053d645d45afdb95fd6b17bbacac8d3618264736f6c634300080c0033",
"linkReferences": {},
"deployedLinkReferences": {}
}