4 txs
7 calls
constructor
constructor(address vaultFactory, address networkMiddlewareService)
functions
ADMIN_FEE_BASE
viewfunction ADMIN_FEE_BASE() view returns (uint256)
ADMIN_FEE_CLAIM_ROLE
viewfunction ADMIN_FEE_CLAIM_ROLE() view returns (bytes32)
ADMIN_FEE_SET_ROLE
viewfunction ADMIN_FEE_SET_ROLE() view returns (bytes32)
adminFee
viewfunction adminFee() view returns (uint256)
claimable
viewfunction claimable(address token, address account, bytes data) view returns (uint256 amount)
claimableAdminFee
viewfunction claimableAdminFee(address token) view returns (uint256 amount)
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
lastUnclaimedReward
viewfunction lastUnclaimedReward(address account, address token, address network) view returns (uint256 rewardIndex)
NETWORK_MIDDLEWARE_SERVICE
viewfunction NETWORK_MIDDLEWARE_SERVICE() view returns (address)
rewards
viewfunction rewards(address token, address network, uint256) view returns (uint256 amount, uint48 timestamp)
rewardsLength
viewfunction rewardsLength(address token, address network) view returns (uint256)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
VAULT_FACTORY
viewfunction VAULT_FACTORY() view returns (address)
VAULT
viewfunction VAULT() view returns (address)
version
viewfunction version() view returns (uint64)
claimAdminFee
nonpayablefunction claimAdminFee(address recipient, address token)
claimRewards
nonpayablefunction claimRewards(address recipient, address token, bytes data)
distributeRewards
nonpayablefunction distributeRewards(address network, address token, uint256 amount, bytes data)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(tuple params)
multicall
nonpayablefunction multicall(bytes[] data) returns (bytes[] results)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setAdminFee
nonpayablefunction setAdminFee(uint256 adminFee_)
events
ClaimAdminFee
event ClaimAdminFee(address indexed recipient, uint256 amount)
ClaimRewards
event ClaimRewards(address indexed network, address indexed token, address indexed claimer, uint256 amount, address recipient)
ClaimRewardsExtra
event ClaimRewardsExtra(address indexed network, address indexed token, address indexed claimer, uint256 firstClaimedRewardIndex, uint256 rewardsClaimed)
DistributeRewards
event DistributeRewards(address indexed network, address indexed token, uint256 distributeAmount, uint256 adminFeeAmount, uint48 timestamp)
Initialized
event Initialized(uint64 version)
InitVault
event InitVault(address vault)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetAdminFee
event SetAdminFee(uint256 adminFee)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
AlreadySet
error AlreadySet()
FailedInnerCall
error FailedInnerCall()
HighAdminFee
error HighAdminFee()
InsufficientAdminFee
error InsufficientAdminFee()
InsufficientReward
error InsufficientReward()
InvalidAdminFee
error InvalidAdminFee()
InvalidHintsLength
error InvalidHintsLength()
InvalidInitialization
error InvalidInitialization()
InvalidRecipient
error InvalidRecipient()
InvalidRewardTimestamp
error InvalidRewardTimestamp()
MathOverflowedMulDiv
error MathOverflowedMulDiv()
MissingRoles
error MissingRoles()
NoRewardsToClaim
error NoRewardsToClaim()
NotInitializing
error NotInitializing()
NotNetwork
error NotNetwork()
NotNetworkMiddleware
error NotNetworkMiddleware()
NotVault
error NotVault()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeCastOverflowedUintDowncast
error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73e7b6dafe6e5e3d6f7fa3ed7624633e4518b1bc545af43d82803e903d91602b57fd5bf3