{"abi":[{"type":"function","name":"NETWORK_MIDDLEWARE_SERVICE","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"balance","inputs":[{"name":"network","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"claimRewards","inputs":[{"name":"recipient","type":"address","internalType":"address"},{"name":"network","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"totalClaimable","type":"uint256","internalType":"uint256"},{"name":"proof","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"claimed","inputs":[{"name":"network","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"account","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":"root","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"root","inputs":[{"name":"network","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"event","name":"ClaimRewards","inputs":[{"name":"recipient","type":"address","indexed":false,"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":"address"},{"name":"amount","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":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"root","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"error","name":"InsufficientBalance","inputs":[]},{"type":"error","name":"InsufficientTotalClaimable","inputs":[]},{"type":"error","name":"InsufficientTransfer","inputs":[]},{"type":"error","name":"InvalidProof","inputs":[]},{"type":"error","name":"NotNetworkMiddleware","inputs":[]},{"type":"error","name":"RootNotSet","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"NETWORK_MIDDLEWARE_SERVICE()":"2c9d45b3","balance(address,address)":"b203bb99","claimRewards(address,address,address,uint256,bytes32[])":"315447db","claimed(address,address,address)":"1a5289a9","distributeRewards(address,address,uint256,bytes32)":"48a78da7","root(address,address)":"aadf2afe"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientTotalClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientTransfer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotNetworkMiddleware\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RootNotSet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"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\"}],\"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\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"DistributeRewards\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"NETWORK_MIDDLEWARE_SERVICE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalClaimable\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"claimed\",\"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\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"distributeRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"network\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"root\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"ClaimRewards(address,address,address,address,uint256)\":{\"params\":{\"amount\":\"amount of tokens claimed\",\"claimer\":\"address of the rewards' claimer\",\"network\":\"address of the network\",\"recipient\":\"address of the rewards' recipient\",\"token\":\"address of the token\"}},\"DistributeRewards(address,address,uint256,bytes32)\":{\"details\":\"The Merkle tree's leaves must represent an account and a claimable amount (the total amount of the reward tokens for the whole time).\",\"params\":{\"amount\":\"amount of tokens sent to the contract\",\"network\":\"address of the network that distributed rewards\",\"root\":\"Merkle root of the rewards distribution\",\"token\":\"address of the token\"}}},\"kind\":\"dev\",\"methods\":{\"NETWORK_MIDDLEWARE_SERVICE()\":{\"returns\":{\"_0\":\"address of the network middleware service\"}},\"balance(address,address)\":{\"params\":{\"network\":\"address of the network\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"amount of tokens that can be claimed\"}},\"claimRewards(address,address,address,uint256,bytes32[])\":{\"params\":{\"network\":\"address of the network\",\"proof\":\"Merkle proof of the reward distribution\",\"recipient\":\"address of the rewards' recipient\",\"token\":\"address of the token\",\"totalClaimable\":\"total amount of the reward tokens for the whole time\"},\"returns\":{\"amount\":\"amount of tokens claimed\"}},\"claimed(address,address,address)\":{\"params\":{\"account\":\"address of the claimer\",\"network\":\"address of the network\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"claimed amount of tokens\"}},\"distributeRewards(address,address,uint256,bytes32)\":{\"params\":{\"amount\":\"amount of tokens to send to the contract\",\"network\":\"address of the network\",\"root\":\"Merkle root of the reward distribution\",\"token\":\"address of the token\"}},\"root(address,address)\":{\"params\":{\"network\":\"address of the network\",\"token\":\"address of the token\"},\"returns\":{\"_0\":\"Merkle root of the reward distribution\"}}},\"version\":1},\"userdoc\":{\"events\":{\"ClaimRewards(address,address,address,address,uint256)\":{\"notice\":\"Emitted when rewards are claimed by a particular account for a particular network using a given token.\"},\"DistributeRewards(address,address,uint256,bytes32)\":{\"notice\":\"Emitted when rewards are distributed by a particular network using a given token by providing a Merkle root.\"}},\"kind\":\"user\",\"methods\":{\"NETWORK_MIDDLEWARE_SERVICE()\":{\"notice\":\"Get the network middleware service's address.\"},\"balance(address,address)\":{\"notice\":\"Get an amount of tokens that can be claimed for a particular network.\"},\"claimRewards(address,address,address,uint256,bytes32[])\":{\"notice\":\"Claim rewards for a particular network and token by providing a Merkle proof.\"},\"claimed(address,address,address)\":{\"notice\":\"Get a claimed amount of rewards for a particular account, network, and token.\"},\"distributeRewards(address,address,uint256,bytes32)\":{\"notice\":\"Distribute rewards by a particular network using a given token by providing a Merkle root.\"},\"root(address,address)\":{\"notice\":\"Get a Merkle root of a reward distribution for a particular network and token.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/defaultOperatorRewards/IDefaultOperatorRewards.sol\":\"IDefaultOperatorRewards\"},\"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/defaultOperatorRewards/IDefaultOperatorRewards.sol\":{\"keccak256\":\"0xb0ba8270d29fa1af4a8024f20072d13bb2eefd3aa10a77dc4650829e738ddb28\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6db9eca4620c65a96bc68d3b32d1b92f90558a354be72ac525e689162fda4b06\",\"dweb:/ipfs/QmV5TQpb7b9RMUrMNPw9n1rJX1TRyb573tUoG7rye2W1m4\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.25+commit.b61c2a91"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"InsufficientBalance"},{"inputs":[],"type":"error","name":"InsufficientTotalClaimable"},{"inputs":[],"type":"error","name":"InsufficientTransfer"},{"inputs":[],"type":"error","name":"InvalidProof"},{"inputs":[],"type":"error","name":"NotNetworkMiddleware"},{"inputs":[],"type":"error","name":"RootNotSet"},{"inputs":[{"internalType":"address","name":"recipient","type":"address","indexed":false},{"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}],"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":"amount","type":"uint256","indexed":false},{"internalType":"bytes32","name":"root","type":"bytes32","indexed":false}],"type":"event","name":"DistributeRewards","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"NETWORK_MIDDLEWARE_SERVICE","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"network","type":"address"},{"internalType":"address","name":"token","type":"address"}],"stateMutability":"view","type":"function","name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"network","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"totalClaimable","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"stateMutability":"nonpayable","type":"function","name":"claimRewards","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"network","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"claimed","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":"bytes32","name":"root","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"distributeRewards"},{"inputs":[{"internalType":"address","name":"network","type":"address"},{"internalType":"address","name":"token","type":"address"}],"stateMutability":"view","type":"function","name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{"NETWORK_MIDDLEWARE_SERVICE()":{"returns":{"_0":"address of the network middleware service"}},"balance(address,address)":{"params":{"network":"address of the network","token":"address of the token"},"returns":{"_0":"amount of tokens that can be claimed"}},"claimRewards(address,address,address,uint256,bytes32[])":{"params":{"network":"address of the network","proof":"Merkle proof of the reward distribution","recipient":"address of the rewards' recipient","token":"address of the token","totalClaimable":"total amount of the reward tokens for the whole time"},"returns":{"amount":"amount of tokens claimed"}},"claimed(address,address,address)":{"params":{"account":"address of the claimer","network":"address of the network","token":"address of the token"},"returns":{"_0":"claimed amount of tokens"}},"distributeRewards(address,address,uint256,bytes32)":{"params":{"amount":"amount of tokens to send to the contract","network":"address of the network","root":"Merkle root of the reward distribution","token":"address of the token"}},"root(address,address)":{"params":{"network":"address of the network","token":"address of the token"},"returns":{"_0":"Merkle root of the reward distribution"}}},"version":1},"userdoc":{"kind":"user","methods":{"NETWORK_MIDDLEWARE_SERVICE()":{"notice":"Get the network middleware service's address."},"balance(address,address)":{"notice":"Get an amount of tokens that can be claimed for a particular network."},"claimRewards(address,address,address,uint256,bytes32[])":{"notice":"Claim rewards for a particular network and token by providing a Merkle proof."},"claimed(address,address,address)":{"notice":"Get a claimed amount of rewards for a particular account, network, and token."},"distributeRewards(address,address,uint256,bytes32)":{"notice":"Distribute rewards by a particular network using a given token by providing a Merkle root."},"root(address,address)":{"notice":"Get a Merkle root of a reward distribution for a particular network and token."}},"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/defaultOperatorRewards/IDefaultOperatorRewards.sol":"IDefaultOperatorRewards"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"src/interfaces/defaultOperatorRewards/IDefaultOperatorRewards.sol":{"keccak256":"0xb0ba8270d29fa1af4a8024f20072d13bb2eefd3aa10a77dc4650829e738ddb28","urls":["bzz-raw://6db9eca4620c65a96bc68d3b32d1b92f90558a354be72ac525e689162fda4b06","dweb:/ipfs/QmV5TQpb7b9RMUrMNPw9n1rJX1TRyb573tUoG7rye2W1m4"],"license":"MIT"}},"version":1},"id":143}