1177 lines
118 KiB
JSON
1177 lines
118 KiB
JSON
{
|
|
"address": "0x880aC8D394141a700855a349D865FA54227d302e",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "_name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "string",
|
|
"name": "_symbol",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "value",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Approval",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "receiver",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Claim",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "from",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "value",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Transfer",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "BASIS_POINTS_DIVISOR",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "PRECISION",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "allowance",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "approve",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "averageStakedAmounts",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "balanceOf",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "balances",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_receiver",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "claim",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_receiver",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "claimForAccount",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "claimable",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "claimableReward",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "cumulativeRewardPerToken",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "cumulativeRewards",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "decimals",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "token",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "depositBalances",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "distributor",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "gov",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "inPrivateClaimingMode",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "inPrivateStakingMode",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "inPrivateTransferMode",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address[]",
|
|
"name": "_depositTokens",
|
|
"type": "address[]"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_distributor",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "initialize",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "token",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isDepositToken",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "status",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "handler",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isHandler",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "status",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "isInitialized",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "name",
|
|
"outputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "previousCumulatedRewardPerToken",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "rewardToken",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_depositToken",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "_isDepositToken",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setDepositToken",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_gov",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "setGov",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_handler",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "_isActive",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setHandler",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "_inPrivateClaimingMode",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setInPrivateClaimingMode",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "_inPrivateStakingMode",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setInPrivateStakingMode",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "_inPrivateTransferMode",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setInPrivateTransferMode",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_depositToken",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "stake",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_fundingAccount",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_depositToken",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "stakeForAccount",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "stakedAmounts",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "symbol",
|
|
"outputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "tokensPerInterval",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "token",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "totalDepositSupply",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "totalSupply",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "transfer",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "transferFrom",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_depositToken",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "unstake",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_depositToken",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_receiver",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "unstakeForAccount",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "updateRewards",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_token",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "_account",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "_amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "withdrawToken",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"transactionHash": "0x355deaa1ebf244eb7e570e6d74d7985a031136cd6f677ffad8f626ea048cdc85",
|
|
"receipt": {
|
|
"to": null,
|
|
"from": "0x50A8e60041A206AcaA5F844a1104896224be6F39",
|
|
"contractAddress": "0x880aC8D394141a700855a349D865FA54227d302e",
|
|
"transactionIndex": 218,
|
|
"gasUsed": "2079969",
|
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"blockHash": "0xbcd9e47aa2bfc72e35ec5202c4f519ed1428d4f5648e8c78cf15997119c03d09",
|
|
"transactionHash": "0x355deaa1ebf244eb7e570e6d74d7985a031136cd6f677ffad8f626ea048cdc85",
|
|
"logs": [],
|
|
"blockNumber": 43744727,
|
|
"cumulativeGasUsed": "8409697",
|
|
"status": 1,
|
|
"byzantium": true
|
|
},
|
|
"args": [
|
|
"Staked esCEC",
|
|
"essCEC"
|
|
],
|
|
"numDeployments": 1,
|
|
"solcInputHash": "a5e022d74144abf232f7640cae906d26",
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASIS_POINTS_DIVISOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"averageStakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claimForAccount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"claimable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"claimableReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cumulativeRewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"cumulativeRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"depositBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distributor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gov\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateClaimingMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateStakingMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateTransferMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_depositTokens\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"_distributor\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"isDepositToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"handler\",\"type\":\"address\"}],\"name\":\"isHandler\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"previousCumulatedRewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isDepositToken\",\"type\":\"bool\"}],\"name\":\"setDepositToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gov\",\"type\":\"address\"}],\"name\":\"setGov\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_handler\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isActive\",\"type\":\"bool\"}],\"name\":\"setHandler\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateClaimingMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateClaimingMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateStakingMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateStakingMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateTransferMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateTransferMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_fundingAccount\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stakeForAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"stakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokensPerInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"totalDepositSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"unstakeForAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"allowance\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"totalSupply\":{\"details\":\"Returns the amount of tokens in existence.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/staking/RewardTracker.sol\":\"RewardTracker\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Contract module that helps prevent reentrant calls to a function.\\n *\\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\\n * available, which can be applied to functions to make sure there are no nested\\n * (reentrant) calls to them.\\n *\\n * Note that because there is a single `nonReentrant` guard, functions marked as\\n * `nonReentrant` may not call one another. This can be worked around by making\\n * those functions `private`, and then adding `external` `nonReentrant` entry\\n * points to them.\\n *\\n * TIP: If you would like to learn more about reentrancy and alternative ways\\n * to protect against it, check out our blog post\\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\\n */\\nabstract contract ReentrancyGuard {\\n // Booleans are more expensive than uint256 or any type that takes up a full\\n // word because each write operation emits an extra SLOAD to first read the\\n // slot's contents, replace the bits taken up by the boolean, and then write\\n // back. This is the compiler's defense against contract upgrades and\\n // pointer aliasing, and it cannot be disabled.\\n\\n // The values being non-zero value makes deployment a bit more expensive,\\n // but in exchange the refund on every call to nonReentrant will be lower in\\n // amount. Since refunds are capped to a percentage of the total\\n // transaction's gas, it is best to keep them low in cases like this one, to\\n // increase the likelihood of the full refund coming into effect.\\n uint256 private constant _NOT_ENTERED = 1;\\n uint256 private constant _ENTERED = 2;\\n\\n uint256 private _status;\\n\\n constructor() {\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n _nonReentrantBefore();\\n _;\\n _nonReentrantAfter();\\n }\\n\\n function _nonReentrantBefore() private {\\n // On the first call to nonReentrant, _status will be _NOT_ENTERED\\n require(_status != _ENTERED, \\\"ReentrancyGuard: reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n _status = _ENTERED;\\n }\\n\\n function _nonReentrantAfter() private {\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n _status = _NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Returns true if the reentrancy guard is currently set to \\\"entered\\\", which indicates there is a\\n * `nonReentrant` function in the call stack.\\n */\\n function _reentrancyGuardEntered() internal view returns (bool) {\\n return _status == _ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0xa535a5df777d44e945dd24aa43a11e44b024140fc340ad0dfe42acf4002aade1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address to, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `from` to `to` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address from, address to, uint256 amount) external returns (bool);\\n}\\n\",\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n *\\n * ==== Security Considerations\\n *\\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\\n * generally recommended is:\\n *\\n * ```solidity\\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\\n * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\\n * doThing(..., value);\\n * }\\n *\\n * function doThing(..., uint256 value) public {\\n * token.safeTransferFrom(msg.sender, address(this), value);\\n * ...\\n * }\\n * ```\\n *\\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\\n * {SafeERC20-safeTransferFrom}).\\n *\\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\\n * contracts should have entry points that don't rely on permit.\\n */\\ninterface IERC20Permit {\\n /**\\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n * given ``owner``'s signed approval.\\n *\\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n * ordering also apply here.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `deadline` must be a timestamp in the future.\\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n * over the EIP712-formatted function arguments.\\n * - the signature must use ``owner``'s current nonce (see {nonces}).\\n *\\n * For more information on the signature format, see the\\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n * section].\\n *\\n * CAUTION: See Security Considerations above.\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external;\\n\\n /**\\n * @dev Returns the current nonce for `owner`. This value must be\\n * included whenever a signature is generated for {permit}.\\n *\\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n * prevents a signature from being used multiple times.\\n */\\n function nonces(address owner) external view returns (uint256);\\n\\n /**\\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using Address for address;\\n\\n /**\\n * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n /**\\n * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\\n * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\\n */\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n require(\\n (value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n /**\\n * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));\\n }\\n\\n /**\\n * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n unchecked {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));\\n }\\n }\\n\\n /**\\n * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\\n * to be set to zero before setting it to a non-zero value, such as USDT.\\n */\\n function forceApprove(IERC20 token, address spender, uint256 value) internal {\\n bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);\\n\\n if (!_callOptionalReturnBool(token, approvalCall)) {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));\\n _callOptionalReturn(token, approvalCall);\\n }\\n }\\n\\n /**\\n * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.\\n * Revert on invalid signature.\\n */\\n function safePermit(\\n IERC20Permit token,\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n uint256 nonceBefore = token.nonces(owner);\\n token.permit(owner, spender, value, deadline, v, r, s);\\n uint256 nonceAfter = token.nonces(owner);\\n require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n require(returndata.length == 0 || abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n *\\n * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\\n */\\n function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\\n // and not revert is the subcall reverts.\\n\\n (bool success, bytes memory returndata) = address(token).call(data);\\n return\\n success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));\\n }\\n}\\n\",\"keccak256\":\"0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n *\\n * Furthermore, `isContract` will also return true if the target contract within\\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\\n * which only has an effect at the end of a transaction.\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\"},\"contracts/core/Governable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.19;\\n\\ncontract Governable {\\n address public gov;\\n\\n constructor() {\\n gov = msg.sender;\\n }\\n\\n modifier onlyGov() {\\n require(msg.sender == gov, \\\"Governable: forbidden\\\");\\n _;\\n }\\n\\n function setGov(address _gov) external virtual onlyGov {\\n gov = _gov;\\n }\\n}\\n\",\"keccak256\":\"0x41066d736cf570d77335785327703ad95a6634823ebec5543086aecdce7038fb\",\"license\":\"MIT\"},\"contracts/staking/RewardTracker.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.19;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\n\\nimport {IRewardDistributor} from \\\"./interfaces/IRewardDistributor.sol\\\";\\nimport {IRewardTracker} from \\\"./interfaces/IRewardTracker.sol\\\";\\nimport {Governable} from \\\"../core/Governable.sol\\\";\\n\\ncontract RewardTracker is IERC20, ReentrancyGuard, IRewardTracker, Governable {\\n using SafeERC20 for IERC20;\\n\\n uint256 public constant BASIS_POINTS_DIVISOR = 10000;\\n uint256 public constant PRECISION = 1e30;\\n\\n bool public isInitialized;\\n\\n string public name;\\n string public symbol;\\n uint8 public decimals = 18;\\n uint256 public override totalSupply;\\n mapping(address account => uint256 amount) public balances;\\n mapping(address owner => mapping(address spender => uint256 amount)) public allowance;\\n\\n address public distributor;\\n mapping(address token => bool status) public isDepositToken;\\n mapping(address account => mapping(address token => uint256 amount)) public override depositBalances;\\n mapping(address token => uint256 amount) public totalDepositSupply;\\n \\n uint256 public cumulativeRewardPerToken;\\n mapping(address account => uint256 amount) public override stakedAmounts;\\n mapping(address account => uint256 amount) public claimableReward;\\n mapping(address account => uint256 amount) public previousCumulatedRewardPerToken;\\n mapping(address account => uint256 amount) public override cumulativeRewards;\\n mapping(address account => uint256 amount) public override averageStakedAmounts;\\n\\n bool public inPrivateTransferMode;\\n bool public inPrivateStakingMode;\\n bool public inPrivateClaimingMode;\\n mapping(address handler => bool status) public isHandler;\\n\\n event Claim(address receiver, uint256 amount);\\n\\n constructor(string memory _name, string memory _symbol) {\\n name = _name;\\n symbol = _symbol;\\n }\\n\\n function initialize(address[] memory _depositTokens, address _distributor) external onlyGov {\\n require(!isInitialized, \\\"RewardTracker: already initialized\\\");\\n isInitialized = true;\\n\\n for (uint256 i = 0; i < _depositTokens.length; i++) {\\n address depositToken = _depositTokens[i];\\n isDepositToken[depositToken] = true;\\n }\\n\\n distributor = _distributor;\\n }\\n\\n function setDepositToken(address _depositToken, bool _isDepositToken) external onlyGov {\\n isDepositToken[_depositToken] = _isDepositToken;\\n }\\n\\n function setInPrivateTransferMode(bool _inPrivateTransferMode) external onlyGov {\\n inPrivateTransferMode = _inPrivateTransferMode;\\n }\\n\\n function setInPrivateStakingMode(bool _inPrivateStakingMode) external onlyGov {\\n inPrivateStakingMode = _inPrivateStakingMode;\\n }\\n\\n function setInPrivateClaimingMode(bool _inPrivateClaimingMode) external onlyGov {\\n inPrivateClaimingMode = _inPrivateClaimingMode;\\n }\\n\\n function setHandler(address _handler, bool _isActive) external onlyGov {\\n isHandler[_handler] = _isActive;\\n }\\n\\n // to help users who accidentally send their tokens to this contract\\n function withdrawToken(address _token, address _account, uint256 _amount) external onlyGov {\\n IERC20(_token).safeTransfer(_account, _amount);\\n }\\n\\n function balanceOf(address _account) external view override returns (uint256) {\\n return balances[_account];\\n }\\n\\n function stake(address _depositToken, uint256 _amount) external override nonReentrant {\\n if (inPrivateStakingMode) {\\n revert(\\\"RewardTracker: action not enabled\\\");\\n }\\n _stake(msg.sender, msg.sender, _depositToken, _amount);\\n }\\n\\n function stakeForAccount(\\n address _fundingAccount,\\n address _account,\\n address _depositToken,\\n uint256 _amount\\n ) external override nonReentrant {\\n _validateHandler();\\n _stake(_fundingAccount, _account, _depositToken, _amount);\\n }\\n\\n function unstake(address _depositToken, uint256 _amount) external override nonReentrant {\\n if (inPrivateStakingMode) {\\n revert(\\\"RewardTracker: action not enabled\\\");\\n }\\n _unstake(msg.sender, _depositToken, _amount, msg.sender);\\n }\\n\\n function unstakeForAccount(\\n address _account,\\n address _depositToken,\\n uint256 _amount,\\n address _receiver\\n ) external override nonReentrant {\\n _validateHandler();\\n _unstake(_account, _depositToken, _amount, _receiver);\\n }\\n\\n function transfer(address _recipient, uint256 _amount) external override returns (bool) {\\n _transfer(msg.sender, _recipient, _amount);\\n return true;\\n }\\n\\n \\n function approve(address _spender, uint256 _amount) external override returns (bool) {\\n _approve(msg.sender, _spender, _amount);\\n return true;\\n }\\n\\n function transferFrom(address _sender, address _recipient, uint256 _amount) external override returns (bool) {\\n if (isHandler[msg.sender]) {\\n _transfer(_sender, _recipient, _amount);\\n return true;\\n }\\n require(allowance[_sender][msg.sender] >= _amount, \\\"RewardTracker: transfer amount exceeds allowance\\\");\\n uint256 nextAllowance = allowance[_sender][msg.sender] - _amount;\\n _approve(_sender, msg.sender, nextAllowance);\\n _transfer(_sender, _recipient, _amount);\\n return true;\\n }\\n\\n function tokensPerInterval() external view override returns (uint256) {\\n return IRewardDistributor(distributor).tokensPerInterval();\\n }\\n\\n function updateRewards() external override nonReentrant {\\n _updateRewards(address(0));\\n }\\n\\n function claim(address _receiver) external override nonReentrant returns (uint256) {\\n if (inPrivateClaimingMode) {\\n revert(\\\"RewardTracker: action not enabled\\\");\\n }\\n return _claim(msg.sender, _receiver);\\n }\\n\\n function claimForAccount(address _account, address _receiver) external override nonReentrant returns (uint256) {\\n _validateHandler();\\n return _claim(_account, _receiver);\\n }\\n\\n function claimable(address _account) public view override returns (uint256) {\\n uint256 stakedAmount = stakedAmounts[_account];\\n if (stakedAmount == 0) {\\n return claimableReward[_account];\\n }\\n uint256 pendingRewards = IRewardDistributor(distributor).pendingRewards() * PRECISION;\\n uint256 nextCumulativeRewardPerToken = cumulativeRewardPerToken + pendingRewards;\\n return\\n claimableReward[_account] +\\n (stakedAmount / (10**decimals) * (nextCumulativeRewardPerToken - previousCumulatedRewardPerToken[_account])) /\\n PRECISION;\\n }\\n\\n function rewardToken() public view returns (address) {\\n return IRewardDistributor(distributor).rewardToken();\\n }\\n\\n function _claim(address _account, address _receiver) private returns (uint256) {\\n _updateRewards(_account);\\n\\n uint256 tokenAmount = claimableReward[_account];\\n claimableReward[_account] = 0;\\n\\n if (tokenAmount > 0) {\\n IERC20(rewardToken()).safeTransfer(_receiver, tokenAmount);\\n emit Claim(_account, tokenAmount);\\n }\\n\\n return tokenAmount;\\n }\\n\\n function _mint(address _account, uint256 _amount) internal {\\n require(_account != address(0), \\\"RewardTracker: mint to the zero address\\\");\\n\\n totalSupply = totalSupply + _amount;\\n balances[_account] = balances[_account] + _amount;\\n\\n emit Transfer(address(0), _account, _amount);\\n }\\n\\n function _burn(address _account, uint256 _amount) internal {\\n require(_account != address(0), \\\"RewardTracker: burn from the zero address\\\");\\n require(balances[_account] >= _amount, \\\"RewardTracker: burn amount exceeds balance\\\");\\n balances[_account] = balances[_account] - _amount;\\n totalSupply = totalSupply / _amount;\\n\\n emit Transfer(_account, address(0), _amount);\\n }\\n\\n function _transfer(address _sender, address _recipient, uint256 _amount) private {\\n require(_sender != address(0), \\\"RewardTracker: transfer from the zero address\\\");\\n require(_recipient != address(0), \\\"RewardTracker: transfer to the zero address\\\");\\n\\n if (inPrivateTransferMode) {\\n _validateHandler();\\n }\\n require(balances[_sender] >= _amount, \\\"RewardTracker: transfer amount exceeds balance\\\");\\n balances[_sender] = balances[_sender] - _amount;\\n balances[_recipient] = balances[_recipient] + _amount;\\n\\n emit Transfer(_sender, _recipient, _amount);\\n }\\n\\n function _approve(address _owner, address _spender, uint256 _amount) private {\\n require(_owner != address(0), \\\"RewardTracker: approve from the zero address\\\");\\n require(_spender != address(0), \\\"RewardTracker: approve to the zero address\\\");\\n\\n allowance[_owner][_spender] = _amount;\\n\\n emit Approval(_owner, _spender, _amount);\\n }\\n\\n function _validateHandler() private view {\\n require(isHandler[msg.sender], \\\"RewardTracker: forbidden\\\");\\n }\\n\\n function _stake(address _fundingAccount, address _account, address _depositToken, uint256 _amount) private {\\n require(_amount > 0, \\\"RewardTracker: invalid _amount\\\");\\n require(isDepositToken[_depositToken], \\\"RewardTracker: invalid _depositToken\\\");\\n\\n IERC20(_depositToken).safeTransferFrom(_fundingAccount, address(this), _amount);\\n\\n _updateRewards(_account);\\n\\n stakedAmounts[_account] = stakedAmounts[_account] + _amount;\\n depositBalances[_account][_depositToken] = depositBalances[_account][_depositToken] + _amount;\\n totalDepositSupply[_depositToken] = totalDepositSupply[_depositToken] + _amount;\\n\\n _mint(_account, _amount);\\n }\\n\\n function _unstake(address _account, address _depositToken, uint256 _amount, address _receiver) private {\\n require(_amount > 0, \\\"RewardTracker: invalid _amount\\\");\\n require(isDepositToken[_depositToken], \\\"RewardTracker: invalid _depositToken\\\");\\n\\n _updateRewards(_account);\\n\\n uint256 stakedAmount = stakedAmounts[_account];\\n require(stakedAmounts[_account] >= _amount, \\\"RewardTracker: _amount exceeds stakedAmount\\\");\\n\\n stakedAmounts[_account] = stakedAmount - _amount;\\n\\n uint256 depositBalance = depositBalances[_account][_depositToken];\\n require(depositBalance >= _amount, \\\"RewardTracker: _amount exceeds depositBalance\\\");\\n depositBalances[_account][_depositToken] = depositBalance - _amount;\\n totalDepositSupply[_depositToken] = totalDepositSupply[_depositToken] - _amount;\\n\\n _burn(_account, _amount);\\n IERC20(_depositToken).safeTransfer(_receiver, _amount);\\n }\\n\\n function _updateRewards(address _account) private {\\n uint256 supply = totalSupply;\\n uint256 blockReward = IRewardDistributor(distributor).distribute(supply, decimals);\\n\\n \\n uint256 _cumulativeRewardPerToken = cumulativeRewardPerToken;\\n if (supply > 0 && blockReward > 0) {\\n _cumulativeRewardPerToken = _cumulativeRewardPerToken + blockReward * PRECISION;\\n cumulativeRewardPerToken = _cumulativeRewardPerToken;\\n }\\n\\n // cumulativeRewardPerToken can only increase\\n // so if cumulativeRewardPerToken is zero, it means there are no rewards yet\\n if (_cumulativeRewardPerToken == 0) {\\n return;\\n }\\n\\n if (_account != address(0)) {\\n uint256 stakedAmount = stakedAmounts[_account];\\n uint256 accountReward = (stakedAmount / (10**decimals) * (_cumulativeRewardPerToken - previousCumulatedRewardPerToken[_account])) /\\n PRECISION;\\n uint256 _claimableReward = claimableReward[_account] + accountReward;\\n\\n claimableReward[_account] = _claimableReward;\\n previousCumulatedRewardPerToken[_account] = _cumulativeRewardPerToken;\\n\\n if (_claimableReward > 0 && stakedAmounts[_account] > 0) {\\n uint256 nextCumulativeReward = cumulativeRewards[_account] + accountReward;\\n\\n averageStakedAmounts[_account] =\\n (averageStakedAmounts[_account] * cumulativeRewards[_account]) /\\n nextCumulativeReward +\\n (stakedAmount / (10**decimals) * accountReward) /\\n nextCumulativeReward;\\n\\n cumulativeRewards[_account] = nextCumulativeReward;\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x450848f91a6f171e448ea9e6903247471c0a655004a7605d77f761f834e3504d\",\"license\":\"MIT\"},\"contracts/staking/interfaces/IRewardDistributor.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.19;\\n\\ninterface IRewardDistributor {\\n function rewardToken() external view returns (address);\\n function tokensPerInterval() external view returns (uint256);\\n function pendingRewards() external view returns (uint256);\\n function distribute(uint256 _amount, uint256 _decimals) external returns (uint256);\\n}\\n\",\"keccak256\":\"0xdeaca84d9686df6c6a0c41dd9b7a77bd25d15ae053e33f2e86d4006fa87db8c3\",\"license\":\"MIT\"},\"contracts/staking/interfaces/IRewardTracker.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.19;\\n\\ninterface IRewardTracker {\\n function depositBalances(address _account, address _depositToken) external view returns (uint256);\\n function stakedAmounts(address _account) external view returns (uint256);\\n function updateRewards() external;\\n function stake(address _depositToken, uint256 _amount) external;\\n function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) external;\\n function unstake(address _depositToken, uint256 _amount) external;\\n function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) external;\\n function tokensPerInterval() external view returns (uint256);\\n function claim(address _receiver) external returns (uint256);\\n function claimForAccount(address _account, address _receiver) external returns (uint256);\\n function claimable(address _account) external view returns (uint256);\\n function averageStakedAmounts(address _account) external view returns (uint256);\\n function cumulativeRewards(address _account) external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x6e0078848746c69ab4c824269552ce070b6fa449cc6803754265fe63cd1b0424\",\"license\":\"MIT\"}},\"version\":1}",
|
|
"bytecode": "0x608060405234620003415762002642803803806200001d8162000346565b9283398101604082820312620003415781516001600160401b03908181116200034157826200004e91850162000382565b926020928382015183811162000341576200006a920162000382565b6001600081815581546001600160a01b031916331782556004805460ff1916601217815586519096929391908581116200032e57600254938585811c9516801562000323575b8886101462000310578190601f95868111620002bc575b508890868311600114620002565784926200024a575b5050600019600383901b1c191690851b176002555b815194851162000237576003968754908582811c921680156200022c575b88831014620002195750838111620001d1575b50859285116001146200016b5793945084929190836200015f575b50501b9160001990841b1c19161790555b60405161224d9081620003f58239f35b0151925038806200013e565b86815285812093958591601f198316915b88838310620001b657505050106200019d575b505050811b0190556200014f565b015160001983861b60f8161c191690553880806200018f565b8587015188559096019594850194879350908101906200017c565b8782528682208480880160051c8201928989106200020f575b0160051c019085905b8281106200020357505062000123565b838155018590620001f3565b92508192620001ea565b634e487b7160e01b835260229052602482fd5b91607f169162000110565b634e487b7160e01b815260418752602490fd5b015190503880620000dd565b600285528985208894509190601f198416865b8c828210620002a557505084116200028b575b505050811b01600255620000f2565b015160001960f88460031b161c191690553880806200027c565b8385015186558b9790950194938401930162000269565b909150600284528884208680850160051c8201928b861062000306575b918991869594930160051c01915b828110620002f7575050620000c7565b868155859450899101620002e7565b92508192620002d9565b634e487b7160e01b835260228952602483fd5b94607f1694620000b0565b634e487b7160e01b825260418852602482fd5b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200036c57604052565b634e487b7160e01b600052604160045260246000fd5b919080601f84011215620003415782516001600160401b0381116200036c57602090620003b8601f8201601f1916830162000346565b92818452828287010111620003415760005b818110620003e057508260009394955001015290565b8581018301518482018401528201620003ca56fe6040608081526004908136101561001557600080fd5b600091823560e01c90816301e3366714610f1257816306fdde0314610e53578163095ea7b314610e29578163098bf59d14610dd557816310c1c10314610d9d578163126082cf14610d8057816312d43a5114610d5757816313e82e7a14610d1657816318160ddd14610cf75781631d30d5bc14610cae5781631e83409a14610c4d57816323b872dd14610c2857816327e235e314610835578163313ce56714610c075781633792def314610bcf578163392e53cd14610ba85781633cd7f70014610b5d5781633e158b0c14610b3c578163402914f514610b0f57816344a0841114610ad7578163462d0b2e1461092557816346ea87af146108e7578163552ce1dc146108af5781635a47a1a71461086d57816370a0823114610835578163790b5a6c146107de57816395d89b41146106db5781639cb7de4b1461067e578163a318021714610646578163a8d93627146105b7578163a9059cbb14610586578163aaf5eb681461055e578163adc9772e1461051f578163b89e45b3146104e1578163bfe10928146104b8578163c2a672e01461045157508063c5fa27301461042b578063cfad57a2146103da578063dd62ed3e14610392578063dfbaefb11461036f578063e44b755814610310578063e9503425146102d9578063f5d9d63e14610291578063f5fc507614610273578063f76033d31461024d5763f7c618c11461021d57600080fd5b346102495781600319360112610249576020906102386115cf565b90516001600160a01b039091168152f35b5080fd5b503461024957816003193601126102495760209060ff60125460101c1690519015158152f35b5034610249578160031936011261024957602090600c549051908152f35b5034610249578060031936011261024957806020926102ae610f45565b6102b6610f60565b6001600160a01b039182168352600a865283832091168252845220549051908152f35b50346102495760203660031901126102495760209181906001600160a01b03610300610f45565b168152600e845220549051908152f35b503461024957806003193601126102495761036c9061032d610f45565b9061033661103b565b60015490926001600160a01b0391610351908316331461104a565b168452600960205283209060ff801983541691151516179055565b80f35b503461024957816003193601126102495760209060ff6012541690519015158152f35b5034610249578060031936011261024957806020926103af610f45565b6103b7610f60565b6001600160a01b0391821683526007865283832091168252845220549051908152f35b8234610428576020366003190112610428576103f4610f45565b600154906001600160a01b039061040e338385161461104a565b16906bffffffffffffffffffffffff60a01b161760015580f35b80fd5b503461024957816003193601126102495760209060ff60125460081c1690519015158152f35b9050346104b457816003193601126104b45761046b610f45565b916104746112f4565b60ff60125460081c166104975783610490336024358682611c68565b6001815580f35b5162461bcd60e51b8152915081906104b09082016112b2565b0390fd5b8280fd5b50503461024957816003193601126102495760085490516001600160a01b039091168152602090f35b5050346102495760203660031901126102495760209160ff9082906001600160a01b0361050c610f45565b1681526009855220541690519015158152f35b9050346104b457816003193601126104b457610539610f45565b916105426112f4565b60ff60125460081c166104975783610490602435853380611ab1565b505034610249578160031936011261024957602090516c0c9f2c9cd04674edea400000008152f35b5050346102495780600319360112610249576020906105b06105a6610f45565b60243590336116db565b5160018152f35b919050346104b457826003193601126104b457600854815163a8d9362760e01b81529260209184919082906001600160a01b03165afa91821561063c578392610605575b6020838351908152f35b9091506020813d8211610634575b8161062060209383610fab565b810103126104b457602092505190386105fb565b3d9150610613565b81513d85823e3d90fd5b5050346102495760203660031901126102495760209181906001600160a01b0361066e610f45565b1681526011845220549051908152f35b50503461024957806003193601126102495761036c9061069c610f45565b906106a561103b565b60015490926001600160a01b03916106c0908316331461104a565b168452601360205283209060ff801983541691151516179055565b919050346104b457826003193601126104b457805191836003549060019082821c9282811680156107d4575b60209586861082146107c1575084885290811561079f5750600114610746575b6107428686610738828b0383610fab565b5191829182610fe3565b0390f35b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061078c575050508261074294610738928201019438610727565b805486850188015292860192810161076f565b60ff191687860152505050151560051b83010192506107388261074238610727565b634e487b7160e01b845260229052602483fd5b93607f1693610707565b8334610428576080366003190112610428576107f8610f45565b610800610f60565b906044356001600160a01b038116810361083157610490926108206112f4565b6108286119af565b60643592611ab1565b8380fd5b5050346102495760203660031901126102495760209181906001600160a01b0361085d610f45565b1681526006845220549051908152f35b83346104285760203660031901126104285761088761102c565b61089c60018060a01b0360015416331461104a565b60ff801960125416911515161760125580f35b5050346102495760203660031901126102495760209181906001600160a01b036108d7610f45565b168152600b845220549051908152f35b5050346102495760203660031901126102495760209160ff9082906001600160a01b03610912610f45565b1681526013855220541690519015158152f35b8391503461024957826003193601126102495780359267ffffffffffffffff80851161083157366023860112156108315784830135908111610ac45760059281841b9083519660209361097a8585018a610fab565b88528388016024809483010191368311610ac0578401905b828210610a9d575050506109a4610f60565b9360019384549860018060a01b03976109c0898c16331461104a565b60ff8b60a01c16610a505760ff60a01b19909a16600160a01b1786559798899890865b610a00575b600880546001600160a01b031916898b161790558980f35b81518b1015610a4b578a811b820183015189168a5260098352838a20805460ff1916881790556000198b14610a395799860199866109e3565b634e487b7160e01b8a5260118552858afd5b6109e8565b835162461bcd60e51b81528086018490526022818801527f526577617264547261636b65723a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608490fd5b81356001600160a01b0381168103610abc578152908501908501610992565b8980fd5b8880fd5b634e487b7160e01b845260418352602484fd5b5050346102495760203660031901126102495760209181906001600160a01b03610aff610f45565b168152600f845220549051908152f35b50503461024957602036600319011261024957602090610b35610b30610f45565b61149e565b9051908152f35b8334610428578060031936011261042857610b556112f4565b610490611ef5565b833461042857602036600319011261042857610b7761102c565b610b8c60018060a01b0360015416331461104a565b62ff000060125491151560101b169062ff000019161760125580f35b50503461024957816003193601126102495760209060ff60015460a01c1690519015158152f35b5050346102495760203660031901126102495760209181906001600160a01b03610bf7610f45565b1681526010845220549051908152f35b8284346104285780600319360112610428575060ff60209254169051908152f35b50503461024957602090610c44610c3e36610f76565b9161136d565b90519015158152f35b83833461024957602036600319011261024957610c68610f45565b92610c716112f4565b60ff60125460101c16610c9557506001610c8d60209433611651565b925551908152f35b905162461bcd60e51b81529081906104b09082016112b2565b833461042857602036600319011261042857610cc861102c565b610cdd60018060a01b0360015416331461104a565b61ff0060125491151560081b169061ff0019161760125580f35b5050346102495781600319360112610249576020906005549051908152f35b505034610249578060031936011261024957906020916001610c8d610d39610f45565b610d41610f60565b90610d4a6112f4565b610d526119af565b611651565b50503461024957816003193601126102495760015490516001600160a01b039091168152602090f35b505034610249578160031936011261024957602090516127108152f35b5050346102495760203660031901126102495760209181906001600160a01b03610dc5610f45565b168152600d845220549051908152f35b833461042857608036600319011261042857610def610f45565b610df7610f60565b90606435906001600160a01b03821682036108315761049092610e186112f4565b610e206119af565b60443591611c68565b5050346102495780600319360112610249576020906105b0610e49610f45565b602435903361189c565b919050346104b457826003193601126104b457805191836002549060019082821c928281168015610f08575b60209586861082146107c1575084885290811561079f5750600114610eaf576107428686610738828b0383610fab565b929550600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b828410610ef5575050508261074294610738928201019438610727565b8054868501880152928601928101610ed8565b93607f1693610e7f565b83346104285761036c610f2436610f76565b60015490926001600160a01b0391610f3f908316331461104a565b1661108e565b600435906001600160a01b0382168203610f5b57565b600080fd5b602435906001600160a01b0382168203610f5b57565b6060906003190112610f5b576001600160a01b03906004358281168103610f5b57916024359081168103610f5b579060443590565b90601f8019910116810190811067ffffffffffffffff821117610fcd57604052565b634e487b7160e01b600052604160045260246000fd5b6020808252825181830181905290939260005b82811061101857505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ff6565b600435908115158203610f5b57565b602435908115158203610f5b57565b1561105157565b60405162461bcd60e51b815260206004820152601560248201527423b7bb32b93730b136329d103337b93134b23232b760591b6044820152606490fd5b60405163a9059cbb60e01b60208201526001600160a01b039290921660248301526044808301939093529181526110cf916110ca606483610fab565b6110d1565b565b60018060a01b0316906040516040810167ffffffffffffffff9082811082821117610fcd576040526020938483527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564858401526000808587829751910182855af1903d15611216573d928311611202579061116c9392916040519261115f88601f19601f8401160185610fab565b83523d868885013e611221565b8051918215918483156111de575b5050509050156111875750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152fd5b9193818094500103126102495782015190811515820361042857508038808461117a565b634e487b7160e01b85526041600452602485fd5b9061116c9392506060915b919290156112835750815115611235575090565b3b1561123e5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b8251909150156112965750805190602001fd5b60405162461bcd60e51b81529081906104b09060048301610fe3565b60809060208152602160208201527f526577617264547261636b65723a20616374696f6e206e6f7420656e61626c656040820152601960fa1b60608201520190565b600260005414611305576002600055565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b9190820391821161135757565b634e487b7160e01b600052601160045260246000fd5b9291906000933385526020946013865260409560ff8783205416611440576001600160a01b0383168083526007825287832033845282528783205486116113e3576113de9697836113d29388936113d99652600781528282209033835252205461134a565b338361189c565b6116db565b600190565b875162461bcd60e51b815260048101839052603060248201527f526577617264547261636b65723a207472616e7366657220616d6f756e74206560448201526f78636565647320616c6c6f77616e636560801b6064820152608490fd5b50506113de9394506116db565b8181029291811591840414171561135757565b9190820180921161135757565b60ff16604d811161135757600a0a90565b8115611488570490565b634e487b7160e01b600052601260045260246000fd5b6001600160a01b039081166000818152600d602090815260408083205492959492939284156115c05790826004949392600854168251958680926376f69fed60e11b82525afa9384156115b6578794611583575b506c0c9f2c9cd04674edea40000000938481029080820486149015171561156f579161155f9161156c9798600f61152f6115659796600c54611460565b93868352600e8152611553848420549a61154d60ff6004541661146d565b9061147e565b9683525220549061134a565b9061144d565b0490611460565b90565b634e487b7160e01b88526011600452602488fd5b9093508181813d83116115af575b61159b8183610fab565b810103126115ab575192386114f2565b8680fd5b503d611591565b81513d89823e3d90fd5b5093949250600e915052205490565b60085460405163f7c618c160e01b81526001600160a01b03916020908290600490829086165afa9081156116455760009161160b575b50905090565b6020813d821161163d575b8161162360209383610fab565b810103126102495751918216820361042857508038611605565b3d9150611616565b6040513d6000823e3d90fd5b60009161165d82611fe8565b6001600160a01b038281168452600e60205260408420805494905591839182611688575b5050505090565b826116b7917f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d495610f3f6115cf565b604080516001600160a01b039290921682526020820192909252a138818180611681565b6001600160a01b0390811691821561184157169182156117e85760ff601254166117db575b60009082825260209160068352604090828282205410611780579081857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9594935260068452611753838383205461134a565b86825260068552828220558681528161176f8482842054611460565b9188815260068652205551908152a3565b815162461bcd60e51b815260048101859052602e60248201527f526577617264547261636b65723a207472616e7366657220616d6f756e74206560448201526d7863656564732062616c616e636560901b6064820152608490fd5b6117e36119af565b611700565b60405162461bcd60e51b815260206004820152602b60248201527f526577617264547261636b65723a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602d60248201527f526577617264547261636b65723a207472616e736665722066726f6d2074686560448201526c207a65726f206164647265737360981b6064820152608490fd5b6001600160a01b0390811691821561195557169182156118fd5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260078252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602a60248201527f526577617264547261636b65723a20617070726f766520746f20746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602c60248201527f526577617264547261636b65723a20617070726f76652066726f6d207468652060448201526b7a65726f206164647265737360a01b6064820152608490fd5b33600052601360205260ff60406000205416156119c857565b60405162461bcd60e51b815260206004820152601860248201527f526577617264547261636b65723a20666f7262696464656e00000000000000006044820152606490fd5b15611a1457565b60405162461bcd60e51b815260206004820152601e60248201527f526577617264547261636b65723a20696e76616c6964205f616d6f756e7400006044820152606490fd5b15611a6057565b60405162461bcd60e51b8152602060048201526024808201527f526577617264547261636b65723a20696e76616c6964205f6465706f7369745460448201526337b5b2b760e11b6064820152608490fd5b92611abd811515611a0d565b60018060a01b038093169360009385855260209360098552604092611ae760ff8589205416611a59565b83516323b872dd60e01b8782015290831660248201523060448201526064808201869052815260a0810167ffffffffffffffff811182821017611c54578452611b3090886110d1565b611b3981611fe8565b1694858552600d8452611b4f8383872054611460565b868652600d855282862055600a84528185208186528452611b738383872054611460565b868652600a8552828620828752855282862055600b8452611b978383872054611460565b908552600b8452818520558415611c0157907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9291611bd882600554611460565b60055585855260068352611bef8282872054611460565b868652600684528186205551908152a3565b5162461bcd60e51b815260048101839052602760248201527f526577617264547261636b65723a206d696e7420746f20746865207a65726f206044820152666164647265737360c81b6064820152608490fd5b634e487b7160e01b88526041600452602488fd5b939290611c76831515611a0d565b60018060a01b038091169060009082825260209060098252604097611ca060ff8a86205416611a59565b611ca981611fe8565b1690818352600d815287832054868110611e9d5786611cc79161134a565b828452600d825288842055600a8152878320848452815287832054868110611e435786611cf39161134a565b828452600a8252888420858552825288842055600b8152611d17868985205461134a565b848452600b8252888420558115611dee5781835260068152858884205410611d98577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110cf979883855260068252611d74888287205461134a565b8486526006835281862055611d8b8860055461147e565b60055551878152a361108e565b60849088519062461bcd60e51b82526004820152602a60248201527f526577617264547261636b65723a206275726e20616d6f756e7420657863656560448201526964732062616c616e636560b01b6064820152fd5b60849088519062461bcd60e51b82526004820152602960248201527f526577617264547261636b65723a206275726e2066726f6d20746865207a65726044820152686f206164647265737360b81b6064820152fd5b885162461bcd60e51b815260048101839052602d60248201527f526577617264547261636b65723a205f616d6f756e742065786365656473206460448201526c65706f73697442616c616e636560981b6064820152608490fd5b885162461bcd60e51b815260048101839052602b60248201527f526577617264547261636b65723a205f616d6f756e742065786365656473207360448201526a1d185ad959105b5bdd5b9d60aa1b6064820152608490fd5b60055460018060a01b036008541660ff6004541660405190633b129c8d60e11b82528360048301526024820152602081604481600080965af1908115611fdd578291611fac575b50600c5492151580611fa3575b611f57575b5050156110cf57565b9092916c0c9f2c9cd04674edea4000000091828102928184041490151715611f8f57611f84929350611460565b80600c553880611f4e565b634e487b7160e01b84526011600452602484fd5b50801515611f49565b90506020813d8211611fd5575b81611fc660209383610fab565b81010312610249575138611f3c565b3d9150611fb9565b6040513d84823e3d90fd5b6005549060018060a01b0380600854169060ff6004541690604093845192633b129c8d60e11b845286600485015260248401526020928381604481600080995af190811561220d5785916121dc575b50600c54961515806121d3575b612189575b50851561218157168061205e575b5050505050565b808352600d8252838320546c0c9f2c9cd04674edea400000006120a561209161208b60ff6004541661146d565b8461147e565b848752600f865261155f888820548a61134a565b0495828552600e84526120bb8787872054611460565b90838652600e85528187872055600f855286862055151580612171575b6120e3575b50612057565b601083528585852054906120f691611460565b809683865260118552818787205460108752888820546121159161144d565b9061211f9161147e565b9260045460ff1661212f9061146d565b6121389161147e565b906121429161144d565b9061214c9161147e565b61215591611460565b90835260118252838320556010905220553880808080806120dd565b50600d83528484205415156120d8565b505050505050565b90956c0c9f2c9cd04674edea40000000918281029281840414901517156121bf57906121b491611460565b9485600c5538612049565b634e487b7160e01b85526011600452602485fd5b50801515612044565b90508381813d8311612206575b6121f38183610fab565b81010312612202575138612037565b8480fd5b503d6121e9565b86513d87823e3d90fdfea2646970667358221220a15d5a8bd4d64b027e3b6253d98bafdf4a86a4710dcfe4250320ec99413a3d9a64736f6c63430008130033",
|
|
"deployedBytecode": "0x6040608081526004908136101561001557600080fd5b600091823560e01c90816301e3366714610f1257816306fdde0314610e53578163095ea7b314610e29578163098bf59d14610dd557816310c1c10314610d9d578163126082cf14610d8057816312d43a5114610d5757816313e82e7a14610d1657816318160ddd14610cf75781631d30d5bc14610cae5781631e83409a14610c4d57816323b872dd14610c2857816327e235e314610835578163313ce56714610c075781633792def314610bcf578163392e53cd14610ba85781633cd7f70014610b5d5781633e158b0c14610b3c578163402914f514610b0f57816344a0841114610ad7578163462d0b2e1461092557816346ea87af146108e7578163552ce1dc146108af5781635a47a1a71461086d57816370a0823114610835578163790b5a6c146107de57816395d89b41146106db5781639cb7de4b1461067e578163a318021714610646578163a8d93627146105b7578163a9059cbb14610586578163aaf5eb681461055e578163adc9772e1461051f578163b89e45b3146104e1578163bfe10928146104b8578163c2a672e01461045157508063c5fa27301461042b578063cfad57a2146103da578063dd62ed3e14610392578063dfbaefb11461036f578063e44b755814610310578063e9503425146102d9578063f5d9d63e14610291578063f5fc507614610273578063f76033d31461024d5763f7c618c11461021d57600080fd5b346102495781600319360112610249576020906102386115cf565b90516001600160a01b039091168152f35b5080fd5b503461024957816003193601126102495760209060ff60125460101c1690519015158152f35b5034610249578160031936011261024957602090600c549051908152f35b5034610249578060031936011261024957806020926102ae610f45565b6102b6610f60565b6001600160a01b039182168352600a865283832091168252845220549051908152f35b50346102495760203660031901126102495760209181906001600160a01b03610300610f45565b168152600e845220549051908152f35b503461024957806003193601126102495761036c9061032d610f45565b9061033661103b565b60015490926001600160a01b0391610351908316331461104a565b168452600960205283209060ff801983541691151516179055565b80f35b503461024957816003193601126102495760209060ff6012541690519015158152f35b5034610249578060031936011261024957806020926103af610f45565b6103b7610f60565b6001600160a01b0391821683526007865283832091168252845220549051908152f35b8234610428576020366003190112610428576103f4610f45565b600154906001600160a01b039061040e338385161461104a565b16906bffffffffffffffffffffffff60a01b161760015580f35b80fd5b503461024957816003193601126102495760209060ff60125460081c1690519015158152f35b9050346104b457816003193601126104b45761046b610f45565b916104746112f4565b60ff60125460081c166104975783610490336024358682611c68565b6001815580f35b5162461bcd60e51b8152915081906104b09082016112b2565b0390fd5b8280fd5b50503461024957816003193601126102495760085490516001600160a01b039091168152602090f35b5050346102495760203660031901126102495760209160ff9082906001600160a01b0361050c610f45565b1681526009855220541690519015158152f35b9050346104b457816003193601126104b457610539610f45565b916105426112f4565b60ff60125460081c166104975783610490602435853380611ab1565b505034610249578160031936011261024957602090516c0c9f2c9cd04674edea400000008152f35b5050346102495780600319360112610249576020906105b06105a6610f45565b60243590336116db565b5160018152f35b919050346104b457826003193601126104b457600854815163a8d9362760e01b81529260209184919082906001600160a01b03165afa91821561063c578392610605575b6020838351908152f35b9091506020813d8211610634575b8161062060209383610fab565b810103126104b457602092505190386105fb565b3d9150610613565b81513d85823e3d90fd5b5050346102495760203660031901126102495760209181906001600160a01b0361066e610f45565b1681526011845220549051908152f35b50503461024957806003193601126102495761036c9061069c610f45565b906106a561103b565b60015490926001600160a01b03916106c0908316331461104a565b168452601360205283209060ff801983541691151516179055565b919050346104b457826003193601126104b457805191836003549060019082821c9282811680156107d4575b60209586861082146107c1575084885290811561079f5750600114610746575b6107428686610738828b0383610fab565b5191829182610fe3565b0390f35b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061078c575050508261074294610738928201019438610727565b805486850188015292860192810161076f565b60ff191687860152505050151560051b83010192506107388261074238610727565b634e487b7160e01b845260229052602483fd5b93607f1693610707565b8334610428576080366003190112610428576107f8610f45565b610800610f60565b906044356001600160a01b038116810361083157610490926108206112f4565b6108286119af565b60643592611ab1565b8380fd5b5050346102495760203660031901126102495760209181906001600160a01b0361085d610f45565b1681526006845220549051908152f35b83346104285760203660031901126104285761088761102c565b61089c60018060a01b0360015416331461104a565b60ff801960125416911515161760125580f35b5050346102495760203660031901126102495760209181906001600160a01b036108d7610f45565b168152600b845220549051908152f35b5050346102495760203660031901126102495760209160ff9082906001600160a01b03610912610f45565b1681526013855220541690519015158152f35b8391503461024957826003193601126102495780359267ffffffffffffffff80851161083157366023860112156108315784830135908111610ac45760059281841b9083519660209361097a8585018a610fab565b88528388016024809483010191368311610ac0578401905b828210610a9d575050506109a4610f60565b9360019384549860018060a01b03976109c0898c16331461104a565b60ff8b60a01c16610a505760ff60a01b19909a16600160a01b1786559798899890865b610a00575b600880546001600160a01b031916898b161790558980f35b81518b1015610a4b578a811b820183015189168a5260098352838a20805460ff1916881790556000198b14610a395799860199866109e3565b634e487b7160e01b8a5260118552858afd5b6109e8565b835162461bcd60e51b81528086018490526022818801527f526577617264547261636b65723a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608490fd5b81356001600160a01b0381168103610abc578152908501908501610992565b8980fd5b8880fd5b634e487b7160e01b845260418352602484fd5b5050346102495760203660031901126102495760209181906001600160a01b03610aff610f45565b168152600f845220549051908152f35b50503461024957602036600319011261024957602090610b35610b30610f45565b61149e565b9051908152f35b8334610428578060031936011261042857610b556112f4565b610490611ef5565b833461042857602036600319011261042857610b7761102c565b610b8c60018060a01b0360015416331461104a565b62ff000060125491151560101b169062ff000019161760125580f35b50503461024957816003193601126102495760209060ff60015460a01c1690519015158152f35b5050346102495760203660031901126102495760209181906001600160a01b03610bf7610f45565b1681526010845220549051908152f35b8284346104285780600319360112610428575060ff60209254169051908152f35b50503461024957602090610c44610c3e36610f76565b9161136d565b90519015158152f35b83833461024957602036600319011261024957610c68610f45565b92610c716112f4565b60ff60125460101c16610c9557506001610c8d60209433611651565b925551908152f35b905162461bcd60e51b81529081906104b09082016112b2565b833461042857602036600319011261042857610cc861102c565b610cdd60018060a01b0360015416331461104a565b61ff0060125491151560081b169061ff0019161760125580f35b5050346102495781600319360112610249576020906005549051908152f35b505034610249578060031936011261024957906020916001610c8d610d39610f45565b610d41610f60565b90610d4a6112f4565b610d526119af565b611651565b50503461024957816003193601126102495760015490516001600160a01b039091168152602090f35b505034610249578160031936011261024957602090516127108152f35b5050346102495760203660031901126102495760209181906001600160a01b03610dc5610f45565b168152600d845220549051908152f35b833461042857608036600319011261042857610def610f45565b610df7610f60565b90606435906001600160a01b03821682036108315761049092610e186112f4565b610e206119af565b60443591611c68565b5050346102495780600319360112610249576020906105b0610e49610f45565b602435903361189c565b919050346104b457826003193601126104b457805191836002549060019082821c928281168015610f08575b60209586861082146107c1575084885290811561079f5750600114610eaf576107428686610738828b0383610fab565b929550600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b828410610ef5575050508261074294610738928201019438610727565b8054868501880152928601928101610ed8565b93607f1693610e7f565b83346104285761036c610f2436610f76565b60015490926001600160a01b0391610f3f908316331461104a565b1661108e565b600435906001600160a01b0382168203610f5b57565b600080fd5b602435906001600160a01b0382168203610f5b57565b6060906003190112610f5b576001600160a01b03906004358281168103610f5b57916024359081168103610f5b579060443590565b90601f8019910116810190811067ffffffffffffffff821117610fcd57604052565b634e487b7160e01b600052604160045260246000fd5b6020808252825181830181905290939260005b82811061101857505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ff6565b600435908115158203610f5b57565b602435908115158203610f5b57565b1561105157565b60405162461bcd60e51b815260206004820152601560248201527423b7bb32b93730b136329d103337b93134b23232b760591b6044820152606490fd5b60405163a9059cbb60e01b60208201526001600160a01b039290921660248301526044808301939093529181526110cf916110ca606483610fab565b6110d1565b565b60018060a01b0316906040516040810167ffffffffffffffff9082811082821117610fcd576040526020938483527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564858401526000808587829751910182855af1903d15611216573d928311611202579061116c9392916040519261115f88601f19601f8401160185610fab565b83523d868885013e611221565b8051918215918483156111de575b5050509050156111875750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152fd5b9193818094500103126102495782015190811515820361042857508038808461117a565b634e487b7160e01b85526041600452602485fd5b9061116c9392506060915b919290156112835750815115611235575090565b3b1561123e5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b8251909150156112965750805190602001fd5b60405162461bcd60e51b81529081906104b09060048301610fe3565b60809060208152602160208201527f526577617264547261636b65723a20616374696f6e206e6f7420656e61626c656040820152601960fa1b60608201520190565b600260005414611305576002600055565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b9190820391821161135757565b634e487b7160e01b600052601160045260246000fd5b9291906000933385526020946013865260409560ff8783205416611440576001600160a01b0383168083526007825287832033845282528783205486116113e3576113de9697836113d29388936113d99652600781528282209033835252205461134a565b338361189c565b6116db565b600190565b875162461bcd60e51b815260048101839052603060248201527f526577617264547261636b65723a207472616e7366657220616d6f756e74206560448201526f78636565647320616c6c6f77616e636560801b6064820152608490fd5b50506113de9394506116db565b8181029291811591840414171561135757565b9190820180921161135757565b60ff16604d811161135757600a0a90565b8115611488570490565b634e487b7160e01b600052601260045260246000fd5b6001600160a01b039081166000818152600d602090815260408083205492959492939284156115c05790826004949392600854168251958680926376f69fed60e11b82525afa9384156115b6578794611583575b506c0c9f2c9cd04674edea40000000938481029080820486149015171561156f579161155f9161156c9798600f61152f6115659796600c54611460565b93868352600e8152611553848420549a61154d60ff6004541661146d565b9061147e565b9683525220549061134a565b9061144d565b0490611460565b90565b634e487b7160e01b88526011600452602488fd5b9093508181813d83116115af575b61159b8183610fab565b810103126115ab575192386114f2565b8680fd5b503d611591565b81513d89823e3d90fd5b5093949250600e915052205490565b60085460405163f7c618c160e01b81526001600160a01b03916020908290600490829086165afa9081156116455760009161160b575b50905090565b6020813d821161163d575b8161162360209383610fab565b810103126102495751918216820361042857508038611605565b3d9150611616565b6040513d6000823e3d90fd5b60009161165d82611fe8565b6001600160a01b038281168452600e60205260408420805494905591839182611688575b5050505090565b826116b7917f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d495610f3f6115cf565b604080516001600160a01b039290921682526020820192909252a138818180611681565b6001600160a01b0390811691821561184157169182156117e85760ff601254166117db575b60009082825260209160068352604090828282205410611780579081857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9594935260068452611753838383205461134a565b86825260068552828220558681528161176f8482842054611460565b9188815260068652205551908152a3565b815162461bcd60e51b815260048101859052602e60248201527f526577617264547261636b65723a207472616e7366657220616d6f756e74206560448201526d7863656564732062616c616e636560901b6064820152608490fd5b6117e36119af565b611700565b60405162461bcd60e51b815260206004820152602b60248201527f526577617264547261636b65723a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602d60248201527f526577617264547261636b65723a207472616e736665722066726f6d2074686560448201526c207a65726f206164647265737360981b6064820152608490fd5b6001600160a01b0390811691821561195557169182156118fd5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260078252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602a60248201527f526577617264547261636b65723a20617070726f766520746f20746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602c60248201527f526577617264547261636b65723a20617070726f76652066726f6d207468652060448201526b7a65726f206164647265737360a01b6064820152608490fd5b33600052601360205260ff60406000205416156119c857565b60405162461bcd60e51b815260206004820152601860248201527f526577617264547261636b65723a20666f7262696464656e00000000000000006044820152606490fd5b15611a1457565b60405162461bcd60e51b815260206004820152601e60248201527f526577617264547261636b65723a20696e76616c6964205f616d6f756e7400006044820152606490fd5b15611a6057565b60405162461bcd60e51b8152602060048201526024808201527f526577617264547261636b65723a20696e76616c6964205f6465706f7369745460448201526337b5b2b760e11b6064820152608490fd5b92611abd811515611a0d565b60018060a01b038093169360009385855260209360098552604092611ae760ff8589205416611a59565b83516323b872dd60e01b8782015290831660248201523060448201526064808201869052815260a0810167ffffffffffffffff811182821017611c54578452611b3090886110d1565b611b3981611fe8565b1694858552600d8452611b4f8383872054611460565b868652600d855282862055600a84528185208186528452611b738383872054611460565b868652600a8552828620828752855282862055600b8452611b978383872054611460565b908552600b8452818520558415611c0157907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9291611bd882600554611460565b60055585855260068352611bef8282872054611460565b868652600684528186205551908152a3565b5162461bcd60e51b815260048101839052602760248201527f526577617264547261636b65723a206d696e7420746f20746865207a65726f206044820152666164647265737360c81b6064820152608490fd5b634e487b7160e01b88526041600452602488fd5b939290611c76831515611a0d565b60018060a01b038091169060009082825260209060098252604097611ca060ff8a86205416611a59565b611ca981611fe8565b1690818352600d815287832054868110611e9d5786611cc79161134a565b828452600d825288842055600a8152878320848452815287832054868110611e435786611cf39161134a565b828452600a8252888420858552825288842055600b8152611d17868985205461134a565b848452600b8252888420558115611dee5781835260068152858884205410611d98577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110cf979883855260068252611d74888287205461134a565b8486526006835281862055611d8b8860055461147e565b60055551878152a361108e565b60849088519062461bcd60e51b82526004820152602a60248201527f526577617264547261636b65723a206275726e20616d6f756e7420657863656560448201526964732062616c616e636560b01b6064820152fd5b60849088519062461bcd60e51b82526004820152602960248201527f526577617264547261636b65723a206275726e2066726f6d20746865207a65726044820152686f206164647265737360b81b6064820152fd5b885162461bcd60e51b815260048101839052602d60248201527f526577617264547261636b65723a205f616d6f756e742065786365656473206460448201526c65706f73697442616c616e636560981b6064820152608490fd5b885162461bcd60e51b815260048101839052602b60248201527f526577617264547261636b65723a205f616d6f756e742065786365656473207360448201526a1d185ad959105b5bdd5b9d60aa1b6064820152608490fd5b60055460018060a01b036008541660ff6004541660405190633b129c8d60e11b82528360048301526024820152602081604481600080965af1908115611fdd578291611fac575b50600c5492151580611fa3575b611f57575b5050156110cf57565b9092916c0c9f2c9cd04674edea4000000091828102928184041490151715611f8f57611f84929350611460565b80600c553880611f4e565b634e487b7160e01b84526011600452602484fd5b50801515611f49565b90506020813d8211611fd5575b81611fc660209383610fab565b81010312610249575138611f3c565b3d9150611fb9565b6040513d84823e3d90fd5b6005549060018060a01b0380600854169060ff6004541690604093845192633b129c8d60e11b845286600485015260248401526020928381604481600080995af190811561220d5785916121dc575b50600c54961515806121d3575b612189575b50851561218157168061205e575b5050505050565b808352600d8252838320546c0c9f2c9cd04674edea400000006120a561209161208b60ff6004541661146d565b8461147e565b848752600f865261155f888820548a61134a565b0495828552600e84526120bb8787872054611460565b90838652600e85528187872055600f855286862055151580612171575b6120e3575b50612057565b601083528585852054906120f691611460565b809683865260118552818787205460108752888820546121159161144d565b9061211f9161147e565b9260045460ff1661212f9061146d565b6121389161147e565b906121429161144d565b9061214c9161147e565b61215591611460565b90835260118252838320556010905220553880808080806120dd565b50600d83528484205415156120d8565b505050505050565b90956c0c9f2c9cd04674edea40000000918281029281840414901517156121bf57906121b491611460565b9485600c5538612049565b634e487b7160e01b85526011600452602485fd5b50801515612044565b90508381813d8311612206575b6121f38183610fab565b81010312612202575138612037565b8480fd5b503d6121e9565b86513d87823e3d90fdfea2646970667358221220a15d5a8bd4d64b027e3b6253d98bafdf4a86a4710dcfe4250320ec99413a3d9a64736f6c63430008130033",
|
|
"devdoc": {
|
|
"events": {
|
|
"Approval(address,address,uint256)": {
|
|
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
|
|
},
|
|
"Transfer(address,address,uint256)": {
|
|
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
|
|
}
|
|
},
|
|
"kind": "dev",
|
|
"methods": {},
|
|
"stateVariables": {
|
|
"allowance": {
|
|
"details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called."
|
|
},
|
|
"totalSupply": {
|
|
"details": "Returns the amount of tokens in existence."
|
|
}
|
|
},
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"version": 1
|
|
},
|
|
"storageLayout": {
|
|
"storage": [
|
|
{
|
|
"astId": 1566,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "_status",
|
|
"offset": 0,
|
|
"slot": "0",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"astId": 4715,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "gov",
|
|
"offset": 0,
|
|
"slot": "1",
|
|
"type": "t_address"
|
|
},
|
|
{
|
|
"astId": 5498,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "isInitialized",
|
|
"offset": 20,
|
|
"slot": "1",
|
|
"type": "t_bool"
|
|
},
|
|
{
|
|
"astId": 5500,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "name",
|
|
"offset": 0,
|
|
"slot": "2",
|
|
"type": "t_string_storage"
|
|
},
|
|
{
|
|
"astId": 5502,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "symbol",
|
|
"offset": 0,
|
|
"slot": "3",
|
|
"type": "t_string_storage"
|
|
},
|
|
{
|
|
"astId": 5505,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "decimals",
|
|
"offset": 0,
|
|
"slot": "4",
|
|
"type": "t_uint8"
|
|
},
|
|
{
|
|
"astId": 5508,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "totalSupply",
|
|
"offset": 0,
|
|
"slot": "5",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"astId": 5512,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "balances",
|
|
"offset": 0,
|
|
"slot": "6",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5518,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "allowance",
|
|
"offset": 0,
|
|
"slot": "7",
|
|
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
|
|
},
|
|
{
|
|
"astId": 5520,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "distributor",
|
|
"offset": 0,
|
|
"slot": "8",
|
|
"type": "t_address"
|
|
},
|
|
{
|
|
"astId": 5524,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "isDepositToken",
|
|
"offset": 0,
|
|
"slot": "9",
|
|
"type": "t_mapping(t_address,t_bool)"
|
|
},
|
|
{
|
|
"astId": 5531,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "depositBalances",
|
|
"offset": 0,
|
|
"slot": "10",
|
|
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
|
|
},
|
|
{
|
|
"astId": 5535,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "totalDepositSupply",
|
|
"offset": 0,
|
|
"slot": "11",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5537,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "cumulativeRewardPerToken",
|
|
"offset": 0,
|
|
"slot": "12",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"astId": 5542,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "stakedAmounts",
|
|
"offset": 0,
|
|
"slot": "13",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5546,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "claimableReward",
|
|
"offset": 0,
|
|
"slot": "14",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5550,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "previousCumulatedRewardPerToken",
|
|
"offset": 0,
|
|
"slot": "15",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5555,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "cumulativeRewards",
|
|
"offset": 0,
|
|
"slot": "16",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5560,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "averageStakedAmounts",
|
|
"offset": 0,
|
|
"slot": "17",
|
|
"type": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
{
|
|
"astId": 5562,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "inPrivateTransferMode",
|
|
"offset": 0,
|
|
"slot": "18",
|
|
"type": "t_bool"
|
|
},
|
|
{
|
|
"astId": 5564,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "inPrivateStakingMode",
|
|
"offset": 1,
|
|
"slot": "18",
|
|
"type": "t_bool"
|
|
},
|
|
{
|
|
"astId": 5566,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "inPrivateClaimingMode",
|
|
"offset": 2,
|
|
"slot": "18",
|
|
"type": "t_bool"
|
|
},
|
|
{
|
|
"astId": 5570,
|
|
"contract": "contracts/staking/RewardTracker.sol:RewardTracker",
|
|
"label": "isHandler",
|
|
"offset": 0,
|
|
"slot": "19",
|
|
"type": "t_mapping(t_address,t_bool)"
|
|
}
|
|
],
|
|
"types": {
|
|
"t_address": {
|
|
"encoding": "inplace",
|
|
"label": "address",
|
|
"numberOfBytes": "20"
|
|
},
|
|
"t_bool": {
|
|
"encoding": "inplace",
|
|
"label": "bool",
|
|
"numberOfBytes": "1"
|
|
},
|
|
"t_mapping(t_address,t_bool)": {
|
|
"encoding": "mapping",
|
|
"key": "t_address",
|
|
"label": "mapping(address => bool)",
|
|
"numberOfBytes": "32",
|
|
"value": "t_bool"
|
|
},
|
|
"t_mapping(t_address,t_mapping(t_address,t_uint256))": {
|
|
"encoding": "mapping",
|
|
"key": "t_address",
|
|
"label": "mapping(address => mapping(address => uint256))",
|
|
"numberOfBytes": "32",
|
|
"value": "t_mapping(t_address,t_uint256)"
|
|
},
|
|
"t_mapping(t_address,t_uint256)": {
|
|
"encoding": "mapping",
|
|
"key": "t_address",
|
|
"label": "mapping(address => uint256)",
|
|
"numberOfBytes": "32",
|
|
"value": "t_uint256"
|
|
},
|
|
"t_string_storage": {
|
|
"encoding": "bytes",
|
|
"label": "string",
|
|
"numberOfBytes": "32"
|
|
},
|
|
"t_uint256": {
|
|
"encoding": "inplace",
|
|
"label": "uint256",
|
|
"numberOfBytes": "32"
|
|
},
|
|
"t_uint8": {
|
|
"encoding": "inplace",
|
|
"label": "uint8",
|
|
"numberOfBytes": "1"
|
|
}
|
|
}
|
|
}
|
|
} |