-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChildChainGaugeRewardHelper.json
89 lines (89 loc) · 7.92 KB
/
ChildChainGaugeRewardHelper.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"_format": "hh-sol-artifact-1",
"contractName": "ChildChainGaugeRewardHelper",
"sourceName": "contracts/gauges/ChildChainGaugeRewardHelper.sol",
"abi": [
{
"inputs": [],
"name": "CLAIM_FREQUENCY",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRewardsOnlyGauge",
"name": "gauge",
"type": "address"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "claimRewardsFromGauge",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRewardsOnlyGauge[]",
"name": "gauges",
"type": "address[]"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "claimRewardsFromGauges",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRewardsOnlyGauge",
"name": "gauge",
"type": "address"
},
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getPendingRewards",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506105ed806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635db749491461005157806371d5065c1461007a578063c2ec33b51461008f578063ff98f88d146100a2575b600080fd5b61006461005f3660046104ea565b6100aa565b6040516100719190610589565b60405180910390f35b61008d6100883660046104b2565b610237565b005b61008d61009d3660046103f3565b610245565b610064610288565b60008373ffffffffffffffffffffffffffffffffffffffff1663bf88a6ff6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f257600080fd5b505afa158015610106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a9190610473565b73ffffffffffffffffffffffffffffffffffffffff16631afe22a66040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561017157600080fd5b505af1158015610185573d6000803e3d6000fd5b50506040517f59b7e40900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871692506359b7e40991506101dd9086908690600401610562565b602060405180830381600087803b1580156101f757600080fd5b505af115801561020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022f9190610529565b949350505050565b610241828261028e565b5050565b60005b828110156102825761027a84848381811061025f57fe5b90506020020160208101906102749190610496565b8361028e565b600101610248565b50505050565b610e1081565b8173ffffffffffffffffffffffffffffffffffffffff1663bf88a6ff6040518163ffffffff1660e01b815260040160206040518083038186803b1580156102d457600080fd5b505afa1580156102e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030c9190610473565b73ffffffffffffffffffffffffffffffffffffffff16631afe22a66040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561035357600080fd5b505af1158015610367573d6000803e3d6000fd5b50506040517f84e9bd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851692506384e9bd7e91506103bd908490600401610541565b600060405180830381600087803b1580156103d757600080fd5b505af11580156103eb573d6000803e3d6000fd5b505050505050565b600080600060408486031215610407578283fd5b833567ffffffffffffffff8082111561041e578485fd5b818601915086601f830112610431578485fd5b81358181111561043f578586fd5b8760208083028501011115610452578586fd5b6020928301955093505084013561046881610592565b809150509250925092565b600060208284031215610484578081fd5b815161048f81610592565b9392505050565b6000602082840312156104a7578081fd5b813561048f81610592565b600080604083850312156104c4578182fd5b82356104cf81610592565b915060208301356104df81610592565b809150509250929050565b6000806000606084860312156104fe578283fd5b833561050981610592565b9250602084013561051981610592565b9150604084013561046881610592565b60006020828403121561053a578081fd5b5051919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff811681146105b457600080fd5b5056fea2646970667358221220618a016f9f5f617a2dc22c26b5f542fba6f244a263be60b7ec1b49e36bce326564736f6c63430007010033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80635db749491461005157806371d5065c1461007a578063c2ec33b51461008f578063ff98f88d146100a2575b600080fd5b61006461005f3660046104ea565b6100aa565b6040516100719190610589565b60405180910390f35b61008d6100883660046104b2565b610237565b005b61008d61009d3660046103f3565b610245565b610064610288565b60008373ffffffffffffffffffffffffffffffffffffffff1663bf88a6ff6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f257600080fd5b505afa158015610106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a9190610473565b73ffffffffffffffffffffffffffffffffffffffff16631afe22a66040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561017157600080fd5b505af1158015610185573d6000803e3d6000fd5b50506040517f59b7e40900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871692506359b7e40991506101dd9086908690600401610562565b602060405180830381600087803b1580156101f757600080fd5b505af115801561020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022f9190610529565b949350505050565b610241828261028e565b5050565b60005b828110156102825761027a84848381811061025f57fe5b90506020020160208101906102749190610496565b8361028e565b600101610248565b50505050565b610e1081565b8173ffffffffffffffffffffffffffffffffffffffff1663bf88a6ff6040518163ffffffff1660e01b815260040160206040518083038186803b1580156102d457600080fd5b505afa1580156102e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030c9190610473565b73ffffffffffffffffffffffffffffffffffffffff16631afe22a66040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561035357600080fd5b505af1158015610367573d6000803e3d6000fd5b50506040517f84e9bd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851692506384e9bd7e91506103bd908490600401610541565b600060405180830381600087803b1580156103d757600080fd5b505af11580156103eb573d6000803e3d6000fd5b505050505050565b600080600060408486031215610407578283fd5b833567ffffffffffffffff8082111561041e578485fd5b818601915086601f830112610431578485fd5b81358181111561043f578586fd5b8760208083028501011115610452578586fd5b6020928301955093505084013561046881610592565b809150509250925092565b600060208284031215610484578081fd5b815161048f81610592565b9392505050565b6000602082840312156104a7578081fd5b813561048f81610592565b600080604083850312156104c4578182fd5b82356104cf81610592565b915060208301356104df81610592565b809150509250929050565b6000806000606084860312156104fe578283fd5b833561050981610592565b9250602084013561051981610592565b9150604084013561046881610592565b60006020828403121561053a578081fd5b5051919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff811681146105b457600080fd5b5056fea2646970667358221220618a016f9f5f617a2dc22c26b5f542fba6f244a263be60b7ec1b49e36bce326564736f6c63430007010033",
"linkReferences": {},
"deployedLinkReferences": {}
}