{"abi":[{"type":"function","name":"ADMIN_FEE_BASE","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"ADMIN_FEE_CLAIM_ROLE","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"ADMIN_FEE_SET_ROLE","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"NETWORK_MIDDLEWARE_SERVICE","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"VAULT","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"VAULT_FACTORY","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"adminFee","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"claimAdminFee","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"claimRewards","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"claimable","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"account","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"claimableAdminFee","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"distributeRewards","inputs":[{"name":"network","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"lastUnclaimedReward","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"network","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"rewards","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"network","type":"address","internalType":"address"},{"name":"rewardIndex","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"timestamp","type":"uint48","internalType":"uint48"}],"stateMutability":"view"},{"type":"function","name":"rewardsLength","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"network","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"setAdminFee","inputs":[{"name":"adminFee","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"version","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"event","name":"ClaimAdminFee","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ClaimRewards","inputs":[{"name":"network","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"claimer","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"recipient","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"ClaimRewardsExtra","inputs":[{"name":"network","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"claimer","type":"address","indexed":true,"internalType":"address"},{"name":"firstClaimedRewardIndex","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"rewardsClaimed","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DistributeRewards","inputs":[{"name":"network","type":"address","indexed":true,"internalType":"address"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"distributeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"adminFeeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"timestamp","type":"uint48","indexed":false,"internalType":"uint48"}],"anonymous":false},{"type":"event","name":"InitVault","inputs":[{"name":"vault","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SetAdminFee","inputs":[{"name":"adminFee","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AlreadySet","inputs":[]},{"type":"error","name":"HighAdminFee","inputs":[]},{"type":"error","name":"InsufficientAdminFee","inputs":[]},{"type":"error","name":"InsufficientReward","inputs":[]},{"type":"error","name":"InvalidAdminFee","inputs":[]},{"type":"error","name":"InvalidHintsLength","inputs":[]},{"type":"error","name":"InvalidRecipient","inputs":[]},{"type":"error","name":"InvalidRewardTimestamp","inputs":[]},{"type":"error","name":"MissingRoles","inputs":[]},{"type":"error","name":"NoRewardsToClaim","inputs":[]},{"type":"error","name":"NotNetwork","inputs":[]},{"type":"error","name":"NotNetworkMiddleware","inputs":[]},{"type":"error","name":"NotVault","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"ADMIN_FEE_BASE()":"c00460ea","ADMIN_FEE_CLAIM_ROLE()":"cb6ba75d","ADMIN_FEE_SET_ROLE()":"a01fe38e","NETWORK_MIDDLEWARE_SERVICE()":"2c9d45b3","VAULT()":"411557d1","VAULT_FACTORY()":"103f2907","adminFee()":"a0be06f9","claimAdminFee(address,address)":"7d1b56e5","claimRewards(address,address,bytes)":"5d0b5205","claimable(address,address,bytes)":"76ee5656","claimableAdminFee(address)":"04fe4748","distributeRewards(address,address,uint256,bytes)":"239723ed","lastUnclaimedReward(address,address,address)":"3f3be072","rewards(address,address,uint256)":"63497dc7","rewardsLength(address,address)":"9162aaa0","setAdminFee(uint256)":"8beb60b6","version()":"54fd4d50"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HighAdminFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientAdminFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientReward\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAdminFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidHintsLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRecipient\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRewardTimestamp\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingRoles\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRewardsToClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotNetwork\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotNetworkMiddleware\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotVault\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ClaimAdminFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"ClaimRewards\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"firstClaimedRewardIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardsClaimed\",\"type\":\"uint256\"}],\"name\":\"ClaimRewardsExtra\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"distributeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"adminFeeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"timestamp\",\"type\":\"uint48\"}],\"name\":\"DistributeRewards\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"name\":\"InitVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"adminFee\",\"type\":\"uint256\"}],\"name\":\"SetAdminFee\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_FEE_BASE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ADMIN_FEE_CLAIM_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ADMIN_FEE_SET_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NETWORK_MIDDLEWARE_SERVICE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VAULT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VAULT_FACTORY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"claimAdminFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"claimRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"claimable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"claimableAdminFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"distributeRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"}],\"name\":\"lastUnclaimedReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rewardIndex\",\"type\":\"uint256\"}],\"name\":\"rewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"timestamp\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"}],\"name\":\"rewardsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"adminFee\",\"type\":\"uint256\"}],\"name\":\"setAdminFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"ClaimAdminFee(address,uint256)\":{\"params\":{\"amount\":\"amount of the fee claimed\",\"recipient\":\"account that received the fee\"}},\"ClaimRewards(address,address,address,uint256,address)\":{\"params\":{\"amount\":\"amount of tokens\",\"claimer\":\"address of the claimer\",\"network\":\"network whose rewards are claimed\",\"recipient\":\"address of the tokens' recipient\",\"token\":\"address of the token\"}},\"ClaimRewardsExtra(address,address,address,uint256,uint256)\":{\"params\":{\"claimer\":\"address of the claimer\",\"firstClaimedRewardIndex\":\"first claimed reward index\",\"network\":\"network whose rewards are claimed\",\"rewardsClaimed\":\"number of rewards claimed\",\"token\":\"address of the token\"}},\"DistributeRewards(address,address,uint256,uint256,uint48)\":{\"params\":{\"adminFeeAmount\":\"amount of tokens to keep as an admin fee\",\"distributeAmount\":\"amount of tokens to distribute\",\"network\":\"network on behalf of which the reward is distributed\",\"timestamp\":\"timestamp of the distribution\",\"token\":\"address of the token\"}},\"InitVault(address)\":{\"params\":{\"vault\":\"address of the vault\"}},\"SetAdminFee(uint256)\":{\"params\":{\"adminFee\":\"new admin fee\"}}},\"kind\":\"dev\",\"methods\":{\"ADMIN_FEE_BASE()\":{\"returns\":{\"_0\":\"maximum admin fee\"}},\"ADMIN_FEE_CLAIM_ROLE()\":{\"returns\":{\"_0\":\"identifier of the admin fee claimer role\"}},\"ADMIN_FEE_SET_ROLE()\":{\"returns\":{\"_0\":\"identifier of the admin fee setter role\"}},\"NETWORK_MIDDLEWARE_SERVICE()\":{\"returns\":{\"_0\":\"address of the network middleware service\"}},\"VAULT()\":{\"returns\":{\"_0\":\"address of the vault\"}},\"VAULT_FACTORY()\":{\"returns\":{\"_0\":\"address of the vault factory\"}},\"adminFee()\":{\"returns\":{\"_0\":\"admin fee\"}},\"claimAdminFee(address,address)\":{\"details\":\"Only the vault owner can call this function.\",\"params\":{\"recipient\":\"account that will receive the fee\",\"token\":\"address of the token\"}},\"claimRewards(address,address,bytes)\":{\"params\":{\"data\":\"some data to use\",\"recipient\":\"address of the tokens' recipient\",\"token\":\"address of the token\"}},\"claimable(address,address,bytes)\":{\"params\":{\"account\":\"address of the claimer\",\"data\":\"some data to use\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"amount of claimable tokens\"}},\"claimableAdminFee(address)\":{\"params\":{\"token\":\"address of the token\"},\"returns\":{\"_0\":\"claimable admin fee\"}},\"distributeRewards(address,address,uint256,bytes)\":{\"params\":{\"amount\":\"amount of tokens\",\"data\":\"some data to use\",\"network\":\"network on behalf of which the reward to distribute\",\"token\":\"address of the token\"}},\"lastUnclaimedReward(address,address,address)\":{\"params\":{\"account\":\"address of the account\",\"network\":\"address of the network\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"first index of the unclaimed rewards\"}},\"rewards(address,address,uint256)\":{\"params\":{\"network\":\"address of the network\",\"rewardIndex\":\"index of the reward distribution using the token\",\"token\":\"address of the token\"},\"returns\":{\"amount\":\"amount of tokens to be distributed\",\"timestamp\":\"time point stakes must taken into account at\"}},\"rewardsLength(address,address)\":{\"params\":{\"network\":\"address of the network\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"total number of the rewards using the token by the network\"}},\"setAdminFee(uint256)\":{\"details\":\"Only the ADMIN_FEE_SET_ROLE holder can call this function.\",\"params\":{\"adminFee\":\"admin fee (up to ADMIN_FEE_BASE inclusively)\"}},\"version()\":{\"details\":\"Must return 2 for this one.\",\"returns\":{\"_0\":\"version of the staker rewards contract\"}}},\"version\":1},\"userdoc\":{\"events\":{\"ClaimAdminFee(address,uint256)\":{\"notice\":\"Emitted when an admin fee is claimed.\"},\"ClaimRewards(address,address,address,uint256,address)\":{\"notice\":\"Emitted when a reward is claimed.\"},\"ClaimRewardsExtra(address,address,address,uint256,uint256)\":{\"notice\":\"Emitted when a reward is claimed.\"},\"DistributeRewards(address,address,uint256,uint256,uint48)\":{\"notice\":\"Emitted when a reward is distributed.\"},\"InitVault(address)\":{\"notice\":\"Emitted when a vault is initialized.\"},\"SetAdminFee(uint256)\":{\"notice\":\"Emitted when the admin fee is set.\"}},\"kind\":\"user\",\"methods\":{\"ADMIN_FEE_BASE()\":{\"notice\":\"Get the maximum admin fee (= 100%).\"},\"ADMIN_FEE_CLAIM_ROLE()\":{\"notice\":\"Get the admin fee claimer's role.\"},\"ADMIN_FEE_SET_ROLE()\":{\"notice\":\"Get the admin fee setter's role.\"},\"NETWORK_MIDDLEWARE_SERVICE()\":{\"notice\":\"Get the network middleware service's address.\"},\"VAULT()\":{\"notice\":\"Get the vault's address.\"},\"VAULT_FACTORY()\":{\"notice\":\"Get the vault factory's address.\"},\"adminFee()\":{\"notice\":\"Get an admin fee.\"},\"claimAdminFee(address,address)\":{\"notice\":\"Claim an admin fee.\"},\"claimRewards(address,address,bytes)\":{\"notice\":\"Claim rewards using a given token.\"},\"claimable(address,address,bytes)\":{\"notice\":\"Get an amount of rewards claimable by a particular account of a given token.\"},\"claimableAdminFee(address)\":{\"notice\":\"Get a claimable admin fee amount for a particular token.\"},\"distributeRewards(address,address,uint256,bytes)\":{\"notice\":\"Distribute rewards on behalf of a particular network using a given token.\"},\"lastUnclaimedReward(address,address,address)\":{\"notice\":\"Get the first index of the unclaimed rewards using a particular token by a given account.\"},\"rewards(address,address,uint256)\":{\"notice\":\"Get a particular reward distribution.\"},\"rewardsLength(address,address)\":{\"notice\":\"Get a total number of rewards using a particular token for a given network.\"},\"setAdminFee(uint256)\":{\"notice\":\"Set an admin fee.\"},\"version()\":{\"notice\":\"Get a version of the staker rewards contract (different versions mean different interfaces).\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/defaultStakerRewards/IDefaultStakerRewards.sol\":\"IDefaultStakerRewards\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@symbioticfi/core/=lib/core/\",\":core/=lib/core/\",\":ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\"],\"viaIR\":true},\"sources\":{\"src/interfaces/defaultStakerRewards/IDefaultStakerRewards.sol\":{\"keccak256\":\"0xc7ee0e2ffe9f592a6a295d216ab221cbacfcbeccbb06be6098e2b1e46863f6fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e6c09ad742a4836d07a4ec910f582a58991503f0244290c4a6c23fe641749e1a\",\"dweb:/ipfs/QmVR4k1D3ZNQVdJ1vkWpeZ1MAotsH4WTwCuu6Z2X1UJEb7\"]},\"src/interfaces/stakerRewards/IStakerRewards.sol\":{\"keccak256\":\"0x7516733d48956a5d54243c843b977b402a3b53998b81dc0e9ec89afeabc2a60e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53571bf204dc1ccedc4a5f8154d4ad014c20e66f6196b062e260e14a7d0b6f4a\",\"dweb:/ipfs/QmT6JRgPjvQ5DEiFUMyrGxv6qxU1ZvyKMstdigtEKVpF41\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.25+commit.b61c2a91"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"AlreadySet"},{"inputs":[],"type":"error","name":"HighAdminFee"},{"inputs":[],"type":"error","name":"InsufficientAdminFee"},{"inputs":[],"type":"error","name":"InsufficientReward"},{"inputs":[],"type":"error","name":"InvalidAdminFee"},{"inputs":[],"type":"error","name":"InvalidHintsLength"},{"inputs":[],"type":"error","name":"InvalidRecipient"},{"inputs":[],"type":"error","name":"InvalidRewardTimestamp"},{"inputs":[],"type":"error","name":"MissingRoles"},{"inputs":[],"type":"error","name":"NoRewardsToClaim"},{"inputs":[],"type":"error","name":"NotNetwork"},{"inputs":[],"type":"error","name":"NotNetworkMiddleware"},{"inputs":[],"type":"error","name":"NotVault"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false}],"type":"event","name":"ClaimAdminFee","anonymous":false},{"inputs":[{"internalType":"address","name":"network","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"claimer","type":"address","indexed":true},{"internalType":"uint256","name":"amount","type":"uint256","indexed":false},{"internalType":"address","name":"recipient","type":"address","indexed":false}],"type":"event","name":"ClaimRewards","anonymous":false},{"inputs":[{"internalType":"address","name":"network","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"address","name":"claimer","type":"address","indexed":true},{"internalType":"uint256","name":"firstClaimedRewardIndex","type":"uint256","indexed":false},{"internalType":"uint256","name":"rewardsClaimed","type":"uint256","indexed":false}],"type":"event","name":"ClaimRewardsExtra","anonymous":false},{"inputs":[{"internalType":"address","name":"network","type":"address","indexed":true},{"internalType":"address","name":"token","type":"address","indexed":true},{"internalType":"uint256","name":"distributeAmount","type":"uint256","indexed":false},{"internalType":"uint256","name":"adminFeeAmount","type":"uint256","indexed":false},{"internalType":"uint48","name":"timestamp","type":"uint48","indexed":false}],"type":"event","name":"DistributeRewards","anonymous":false},{"inputs":[{"internalType":"address","name":"vault","type":"address","indexed":false}],"type":"event","name":"InitVault","anonymous":false},{"inputs":[{"internalType":"uint256","name":"adminFee","type":"uint256","indexed":false}],"type":"event","name":"SetAdminFee","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"ADMIN_FEE_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"ADMIN_FEE_CLAIM_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"ADMIN_FEE_SET_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"NETWORK_MIDDLEWARE_SERVICE","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"VAULT","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"VAULT_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"adminFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"token","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"claimAdminFee"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"claimRewards"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"view","type":"function","name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"stateMutability":"view","type":"function","name":"claimableAdminFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"network","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"distributeRewards"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"network","type":"address"}],"stateMutability":"view","type":"function","name":"lastUnclaimedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"network","type":"address"},{"internalType":"uint256","name":"rewardIndex","type":"uint256"}],"stateMutability":"view","type":"function","name":"rewards","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint48","name":"timestamp","type":"uint48"}]},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"network","type":"address"}],"stateMutability":"view","type":"function","name":"rewardsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"uint256","name":"adminFee","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"setAdminFee"},{"inputs":[],"stateMutability":"view","type":"function","name":"version","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]}],"devdoc":{"kind":"dev","methods":{"ADMIN_FEE_BASE()":{"returns":{"_0":"maximum admin fee"}},"ADMIN_FEE_CLAIM_ROLE()":{"returns":{"_0":"identifier of the admin fee claimer role"}},"ADMIN_FEE_SET_ROLE()":{"returns":{"_0":"identifier of the admin fee setter role"}},"NETWORK_MIDDLEWARE_SERVICE()":{"returns":{"_0":"address of the network middleware service"}},"VAULT()":{"returns":{"_0":"address of the vault"}},"VAULT_FACTORY()":{"returns":{"_0":"address of the vault factory"}},"adminFee()":{"returns":{"_0":"admin fee"}},"claimAdminFee(address,address)":{"details":"Only the vault owner can call this function.","params":{"recipient":"account that will receive the fee","token":"address of the token"}},"claimRewards(address,address,bytes)":{"params":{"data":"some data to use","recipient":"address of the tokens' recipient","token":"address of the token"}},"claimable(address,address,bytes)":{"params":{"account":"address of the claimer","data":"some data to use","token":"address of the token"},"returns":{"_0":"amount of claimable tokens"}},"claimableAdminFee(address)":{"params":{"token":"address of the token"},"returns":{"_0":"claimable admin fee"}},"distributeRewards(address,address,uint256,bytes)":{"params":{"amount":"amount of tokens","data":"some data to use","network":"network on behalf of which the reward to distribute","token":"address of the token"}},"lastUnclaimedReward(address,address,address)":{"params":{"account":"address of the account","network":"address of the network","token":"address of the token"},"returns":{"_0":"first index of the unclaimed rewards"}},"rewards(address,address,uint256)":{"params":{"network":"address of the network","rewardIndex":"index of the reward distribution using the token","token":"address of the token"},"returns":{"amount":"amount of tokens to be distributed","timestamp":"time point stakes must taken into account at"}},"rewardsLength(address,address)":{"params":{"network":"address of the network","token":"address of the token"},"returns":{"_0":"total number of the rewards using the token by the network"}},"setAdminFee(uint256)":{"details":"Only the ADMIN_FEE_SET_ROLE holder can call this function.","params":{"adminFee":"admin fee (up to ADMIN_FEE_BASE inclusively)"}},"version()":{"details":"Must return 2 for this one.","returns":{"_0":"version of the staker rewards contract"}}},"version":1},"userdoc":{"kind":"user","methods":{"ADMIN_FEE_BASE()":{"notice":"Get the maximum admin fee (= 100%)."},"ADMIN_FEE_CLAIM_ROLE()":{"notice":"Get the admin fee claimer's role."},"ADMIN_FEE_SET_ROLE()":{"notice":"Get the admin fee setter's role."},"NETWORK_MIDDLEWARE_SERVICE()":{"notice":"Get the network middleware service's address."},"VAULT()":{"notice":"Get the vault's address."},"VAULT_FACTORY()":{"notice":"Get the vault factory's address."},"adminFee()":{"notice":"Get an admin fee."},"claimAdminFee(address,address)":{"notice":"Claim an admin fee."},"claimRewards(address,address,bytes)":{"notice":"Claim rewards using a given token."},"claimable(address,address,bytes)":{"notice":"Get an amount of rewards claimable by a particular account of a given token."},"claimableAdminFee(address)":{"notice":"Get a claimable admin fee amount for a particular token."},"distributeRewards(address,address,uint256,bytes)":{"notice":"Distribute rewards on behalf of a particular network using a given token."},"lastUnclaimedReward(address,address,address)":{"notice":"Get the first index of the unclaimed rewards using a particular token by a given account."},"rewards(address,address,uint256)":{"notice":"Get a particular reward distribution."},"rewardsLength(address,address)":{"notice":"Get a total number of rewards using a particular token for a given network."},"setAdminFee(uint256)":{"notice":"Set an admin fee."},"version()":{"notice":"Get a version of the staker rewards contract (different versions mean different interfaces)."}},"version":1}},"settings":{"remappings":["@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@symbioticfi/core/=lib/core/","core/=lib/core/","ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/interfaces/defaultStakerRewards/IDefaultStakerRewards.sol":"IDefaultStakerRewards"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"src/interfaces/defaultStakerRewards/IDefaultStakerRewards.sol":{"keccak256":"0xc7ee0e2ffe9f592a6a295d216ab221cbacfcbeccbb06be6098e2b1e46863f6fc","urls":["bzz-raw://e6c09ad742a4836d07a4ec910f582a58991503f0244290c4a6c23fe641749e1a","dweb:/ipfs/QmVR4k1D3ZNQVdJ1vkWpeZ1MAotsH4WTwCuu6Z2X1UJEb7"],"license":"MIT"},"src/interfaces/stakerRewards/IStakerRewards.sol":{"keccak256":"0x7516733d48956a5d54243c843b977b402a3b53998b81dc0e9ec89afeabc2a60e","urls":["bzz-raw://53571bf204dc1ccedc4a5f8154d4ad014c20e66f6196b062e260e14a7d0b6f4a","dweb:/ipfs/QmT6JRgPjvQ5DEiFUMyrGxv6qxU1ZvyKMstdigtEKVpF41"],"license":"MIT"}},"version":1},"id":136}