{"abi":[{"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":"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":"version","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"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":"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}],"bytecode":{"object":"0x60808060405234601557610225908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c8063239723ed1461008f57806354fd4d50146100745780635d0b520514610064576376ee565614610045575f80fd5b34610060576100533661019e565b50505060206040515f8152f35b5f80fd5b34610060576100723661019e565b005b34610060575f36600319011261006057602060405160028152f35b34610060576080366003190112610060576001600160a01b0360043581811690819003610060576024359182168092036100605760443560643567ffffffffffffffff8111610060577f52c39ebed294659631d22a2341c526a86ab683888dccb1429ac42c6e413d4b7b9161010a6060923690600401610128565b5060405190808252602082015265ffffffffffff42166040820152a3005b81601f820112156100605780359067ffffffffffffffff9283831161018a5760405193601f8401601f19908116603f011685019081118582101761018a576040528284526020838301011161006057815f926020809301838601378301015290565b634e487b7160e01b5f52604160045260245ffd5b6060600319820112610060576001600160a01b039160043583811681036100605792602435908116810361006057916044359067ffffffffffffffff8211610060576101ec91600401610128565b9056fea264697066735822122023b750580826014d326020bb4839b53e17694f1db7ea50e3f005dc23ff1ada5d64736f6c63430008190033","sourceMap":"144:674:147:-:0;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040526004361015610011575f80fd5b5f3560e01c8063239723ed1461008f57806354fd4d50146100745780635d0b520514610064576376ee565614610045575f80fd5b34610060576100533661019e565b50505060206040515f8152f35b5f80fd5b34610060576100723661019e565b005b34610060575f36600319011261006057602060405160028152f35b34610060576080366003190112610060576001600160a01b0360043581811690819003610060576024359182168092036100605760443560643567ffffffffffffffff8111610060577f52c39ebed294659631d22a2341c526a86ab683888dccb1429ac42c6e413d4b7b9161010a6060923690600401610128565b5060405190808252602082015265ffffffffffff42166040820152a3005b81601f820112156100605780359067ffffffffffffffff9283831161018a5760405193601f8401601f19908116603f011685019081118582101761018a576040528284526020838301011161006057815f926020809301838601378301015290565b634e487b7160e01b5f52604160045260245ffd5b6060600319820112610060576001600160a01b039160043583811681036100605792602435908116810361006057916044359067ffffffffffffffff8211610060576101ec91600401610128565b9056fea264697066735822122023b750580826014d326020bb4839b53e17694f1db7ea50e3f005dc23ff1ada5d64736f6c63430008190033","sourceMap":"144:674:147:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;144:674:147;;;;;;;280:1;144:674;;;;;;;;;-1:-1:-1;;144:674:147;;;;-1:-1:-1;;;;;144:674:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;584:74;144:674;;;;;;;;;:::i;:::-;;;;;;;;;;;;;641:15;144:674;;;;;584:74;144:674;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;144:674:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;144:674:147;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;144:674:147;;;;;-1:-1:-1;144:674:147;;;-1:-1:-1;;144:674:147;;;;;-1:-1:-1;;;;;144:674:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o","linkReferences":{}},"methodIdentifiers":{"claimRewards(address,address,bytes)":"5d0b5205","claimable(address,address,bytes)":"76ee5656","distributeRewards(address,address,uint256,bytes)":"239723ed","version()":"54fd4d50"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\":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\"},{\"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\":\"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\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"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\"}},\"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\"}}},\"kind\":\"dev\",\"methods\":{\"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\"}},\"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\"}}},\"stateVariables\":{\"version\":{\"details\":\"Must return 2 for this one.\",\"return\":\"version of the staker rewards contract\",\"returns\":{\"_0\":\"version of the staker rewards contract\"}}},\"version\":1},\"userdoc\":{\"events\":{\"ClaimRewards(address,address,address,uint256,address)\":{\"notice\":\"Emitted when a reward is claimed.\"},\"DistributeRewards(address,address,uint256,uint256,uint48)\":{\"notice\":\"Emitted when a reward is distributed.\"}},\"kind\":\"user\",\"methods\":{\"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.\"},\"distributeRewards(address,address,uint256,bytes)\":{\"notice\":\"Distribute rewards on behalf of a particular network using a given token.\"},\"version()\":{\"notice\":\"Get a version of the staker rewards contract (different versions mean different interfaces).\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/mocks/SimpleStakerRewards.sol\":\"SimpleStakerRewards\"},\"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/stakerRewards/IStakerRewards.sol\":{\"keccak256\":\"0x7516733d48956a5d54243c843b977b402a3b53998b81dc0e9ec89afeabc2a60e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53571bf204dc1ccedc4a5f8154d4ad014c20e66f6196b062e260e14a7d0b6f4a\",\"dweb:/ipfs/QmT6JRgPjvQ5DEiFUMyrGxv6qxU1ZvyKMstdigtEKVpF41\"]},\"test/mocks/SimpleStakerRewards.sol\":{\"keccak256\":\"0x340984102c59c38eed6f53063f48d73c4b51b84d11ff32b3680f1de5f88b3094\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5e416d887958dff71f8aa89e255cd51a24c37e7b4d3b00d632ff8b945843d8dc\",\"dweb:/ipfs/QmdLiRUzEfW1nyyc9AaMa5hyzwcTPdJzCAEiPttgGDubg5\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.25+commit.b61c2a91"},"language":"Solidity","output":{"abi":[{"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":"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":"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":"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":[],"stateMutability":"view","type":"function","name":"version","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]}],"devdoc":{"kind":"dev","methods":{"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"}},"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"}}},"version":1},"userdoc":{"kind":"user","methods":{"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."},"distributeRewards(address,address,uint256,bytes)":{"notice":"Distribute rewards on behalf of a particular network using a given token."},"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":{"test/mocks/SimpleStakerRewards.sol":"SimpleStakerRewards"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"src/interfaces/stakerRewards/IStakerRewards.sol":{"keccak256":"0x7516733d48956a5d54243c843b977b402a3b53998b81dc0e9ec89afeabc2a60e","urls":["bzz-raw://53571bf204dc1ccedc4a5f8154d4ad014c20e66f6196b062e260e14a7d0b6f4a","dweb:/ipfs/QmT6JRgPjvQ5DEiFUMyrGxv6qxU1ZvyKMstdigtEKVpF41"],"license":"MIT"},"test/mocks/SimpleStakerRewards.sol":{"keccak256":"0x340984102c59c38eed6f53063f48d73c4b51b84d11ff32b3680f1de5f88b3094","urls":["bzz-raw://5e416d887958dff71f8aa89e255cd51a24c37e7b4d3b00d632ff8b945843d8dc","dweb:/ipfs/QmdLiRUzEfW1nyyc9AaMa5hyzwcTPdJzCAEiPttgGDubg5"],"license":"MIT"}},"version":1},"id":147}