Expand description
§What to re-export, what to hide?
- export contract struct itself, but try to avoid export instance type (instead, use ::new() to get a handle)
- avoid exporting
xxCallandxxReturntypes, they usually can be converted/transmuted from existing struct - Event types should be exported
- structs should be exported and renamed with
xxSolsuffix to avoid confusion with other rust types- see module doc for more explanation on types duplication issue in alloy
Generated by the following Solidity interface…
interface RewardClaim {
error AccessControlBadConfirmation();
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
error AddressEmptyCode(address target);
error AlreadyClaimed();
error DailyLimitExceeded();
error DailyLimitTooHigh();
error DefaultAdminCannotBeRenounced();
error DefaultAdminCannotBeRevoked();
error ERC1967InvalidImplementation(address implementation);
error ERC1967NonPayable();
error EnforcedPause();
error ExpectedPause();
error FailedInnerCall();
error InvalidAuthRoot();
error InvalidInitialization();
error InvalidRewardAmount();
error NoChangeRequired();
error NotInitializing();
error ReentrancyGuardReentrantCall();
error UUPSUnauthorizedCallContext();
error UUPSUnsupportedProxiableUUID(bytes32 slot);
error ZeroAdminAddress();
error ZeroDailyLimit();
error ZeroLightClientAddress();
error ZeroPauserAddress();
error ZeroTokenAddress();
error ZeroTotalSupply();
event DailyLimitUpdated(uint256 oldLimit, uint256 newLimit);
event Initialized(uint64 version);
event Paused(address account);
event RewardsClaimed(address indexed user, uint256 amount);
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
event Unpaused(address account);
event Upgraded(address indexed implementation);
constructor();
function BPS_DENOMINATOR() external view returns (uint256);
function DEFAULT_ADMIN_ROLE() external view returns (bytes32);
function MAX_DAILY_LIMIT_BASIS_POINTS() external view returns (uint256);
function PAUSER_ROLE() external view returns (bytes32);
function UPGRADE_INTERFACE_VERSION() external view returns (string memory);
function claimRewards(uint256 lifetimeRewards, bytes memory authData) external;
function claimedRewards(address claimer) external view returns (uint256 claimed);
function currentAdmin() external view returns (address);
function dailyLimitWei() external view returns (uint256);
function espToken() external view returns (address);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function getVersion() external pure returns (uint8 majorVersion, uint8 minorVersion, uint8 patchVersion);
function grantRole(bytes32 role, address account) external;
function hasRole(bytes32 role, address account) external view returns (bool);
function initialize(address _admin, address _espToken, address _lightClient, address _pauser) external;
function lastSetDailyLimitBasisPoints() external view returns (uint256);
function lightClient() external view returns (address);
function pause() external;
function paused() external view returns (bool);
function proxiableUUID() external view returns (bytes32);
function renounceRole(bytes32 role, address callerConfirmation) external;
function revokeRole(bytes32 role, address account) external;
function setDailyLimit(uint256 basisPoints) external;
function supportsInterface(bytes4 interfaceId) external view returns (bool);
function totalClaimed() external view returns (uint256);
function unpause() external;
function upgradeToAndCall(address newImplementation, bytes memory data) external payable;
}…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "BPS_DENOMINATOR",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "DEFAULT_ADMIN_ROLE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "MAX_DAILY_LIMIT_BASIS_POINTS",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "PAUSER_ROLE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "UPGRADE_INTERFACE_VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "claimRewards",
"inputs": [
{
"name": "lifetimeRewards",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "authData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "claimedRewards",
"inputs": [
{
"name": "claimer",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "claimed",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "currentAdmin",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "dailyLimitWei",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "espToken",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract EspTokenV2"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getRoleAdmin",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getVersion",
"inputs": [],
"outputs": [
{
"name": "majorVersion",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "minorVersion",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "patchVersion",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "grantRole",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "hasRole",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initialize",
"inputs": [
{
"name": "_admin",
"type": "address",
"internalType": "address"
},
{
"name": "_espToken",
"type": "address",
"internalType": "address"
},
{
"name": "_lightClient",
"type": "address",
"internalType": "address"
},
{
"name": "_pauser",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "lastSetDailyLimitBasisPoints",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "lightClient",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract LightClientV3"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "pause",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "paused",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "proxiableUUID",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceRole",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "callerConfirmation",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "revokeRole",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setDailyLimit",
"inputs": [
{
"name": "basisPoints",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "supportsInterface",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "totalClaimed",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "unpause",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgradeToAndCall",
"inputs": [
{
"name": "newImplementation",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "event",
"name": "DailyLimitUpdated",
"inputs": [
{
"name": "oldLimit",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "newLimit",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Paused",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RewardsClaimed",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RoleAdminChanged",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "previousAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RoleGranted",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RoleRevoked",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Unpaused",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Upgraded",
"inputs": [
{
"name": "implementation",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AccessControlBadConfirmation",
"inputs": []
},
{
"type": "error",
"name": "AccessControlUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
},
{
"name": "neededRole",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"type": "error",
"name": "AddressEmptyCode",
"inputs": [
{
"name": "target",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "AlreadyClaimed",
"inputs": []
},
{
"type": "error",
"name": "DailyLimitExceeded",
"inputs": []
},
{
"type": "error",
"name": "DailyLimitTooHigh",
"inputs": []
},
{
"type": "error",
"name": "DefaultAdminCannotBeRenounced",
"inputs": []
},
{
"type": "error",
"name": "DefaultAdminCannotBeRevoked",
"inputs": []
},
{
"type": "error",
"name": "ERC1967InvalidImplementation",
"inputs": [
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC1967NonPayable",
"inputs": []
},
{
"type": "error",
"name": "EnforcedPause",
"inputs": []
},
{
"type": "error",
"name": "ExpectedPause",
"inputs": []
},
{
"type": "error",
"name": "FailedInnerCall",
"inputs": []
},
{
"type": "error",
"name": "InvalidAuthRoot",
"inputs": []
},
{
"type": "error",
"name": "InvalidInitialization",
"inputs": []
},
{
"type": "error",
"name": "InvalidRewardAmount",
"inputs": []
},
{
"type": "error",
"name": "NoChangeRequired",
"inputs": []
},
{
"type": "error",
"name": "NotInitializing",
"inputs": []
},
{
"type": "error",
"name": "ReentrancyGuardReentrantCall",
"inputs": []
},
{
"type": "error",
"name": "UUPSUnauthorizedCallContext",
"inputs": []
},
{
"type": "error",
"name": "UUPSUnsupportedProxiableUUID",
"inputs": [
{
"name": "slot",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"type": "error",
"name": "ZeroAdminAddress",
"inputs": []
},
{
"type": "error",
"name": "ZeroDailyLimit",
"inputs": []
},
{
"type": "error",
"name": "ZeroLightClientAddress",
"inputs": []
},
{
"type": "error",
"name": "ZeroPauserAddress",
"inputs": []
},
{
"type": "error",
"name": "ZeroTokenAddress",
"inputs": []
},
{
"type": "error",
"name": "ZeroTotalSupply",
"inputs": []
}
]Structs§
- Access
Control BadConfirmation - Custom error with signature
AccessControlBadConfirmation()and selector0x6697b232. - Access
Control Unauthorized Account - Custom error with signature
AccessControlUnauthorizedAccount(address,bytes32)and selector0xe2517d3f. - Address
Empty Code - Custom error with signature
AddressEmptyCode(address)and selector0x9996b315. - Already
Claimed - Custom error with signature
AlreadyClaimed()and selector0x646cf558. - BPS_
DENOMINATOR Call - Function with signature
BPS_DENOMINATOR()and selector0xe1a45218. - BPS_
DENOMINATOR Return - Container type for the return parameters of the
BPS_DENOMINATOR()function. - DEFAULT_
ADMIN_ ROLE Call - Function with signature
DEFAULT_ADMIN_ROLE()and selector0xa217fddf. - DEFAULT_
ADMIN_ ROLE Return - Container type for the return parameters of the
DEFAULT_ADMIN_ROLE()function. - Daily
Limit Exceeded - Custom error with signature
DailyLimitExceeded()and selector0x194bd314. - Daily
Limit TooHigh - Custom error with signature
DailyLimitTooHigh()and selector0xc5d2ae53. - Daily
Limit Updated - Event with signature
DailyLimitUpdated(uint256,uint256)and selector0x207c4cbdf55ec315a13f0d5e047732ec5d947da056e706593aa509909941cedf. - Default
Admin Cannot BeRenounced - Custom error with signature
DefaultAdminCannotBeRenounced()and selector0x8b78631d. - Default
Admin Cannot BeRevoked - Custom error with signature
DefaultAdminCannotBeRevoked()and selector0xb0b5fb99. - ERC1967
Invalid Implementation - Custom error with signature
ERC1967InvalidImplementation(address)and selector0x4c9c8ce3. - ERC1967
NonPayable - Custom error with signature
ERC1967NonPayable()and selector0xb398979f. - Enforced
Pause - Custom error with signature
EnforcedPause()and selector0xd93c0665. - Expected
Pause - Custom error with signature
ExpectedPause()and selector0x8dfc202b. - Failed
Inner Call - Custom error with signature
FailedInnerCall()and selector0x1425ea42. - Initialized
- Event with signature
Initialized(uint64)and selector0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2. - Invalid
Auth Root - Custom error with signature
InvalidAuthRoot()and selector0x328b8878. - Invalid
Initialization - Custom error with signature
InvalidInitialization()and selector0xf92ee8a9. - Invalid
Reward Amount - Custom error with signature
InvalidRewardAmount()and selector0x38539865. - MAX_
DAILY_ LIMIT_ BASIS_ POINTS Call - Function with signature
MAX_DAILY_LIMIT_BASIS_POINTS()and selector0xcf21395b. - MAX_
DAILY_ LIMIT_ BASIS_ POINTS Return - Container type for the return parameters of the
MAX_DAILY_LIMIT_BASIS_POINTS()function. - NoChange
Required - Custom error with signature
NoChangeRequired()and selector0xa863aec9. - NotInitializing
- Custom error with signature
NotInitializing()and selector0xd7e6bcf8. - PAUSER_
ROLE Call - Function with signature
PAUSER_ROLE()and selector0xe63ab1e9. - PAUSER_
ROLE Return - Container type for the return parameters of the
PAUSER_ROLE()function. - Paused
- Event with signature
Paused(address)and selector0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258. - Reentrancy
Guard Reentrant Call - Custom error with signature
ReentrancyGuardReentrantCall()and selector0x3ee5aeb5. - Reward
Claim Instance - A
RewardClaiminstance. - Rewards
Claimed - Event with signature
RewardsClaimed(address,uint256)and selector0xfc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe. - Role
Admin Changed - Event with signature
RoleAdminChanged(bytes32,bytes32,bytes32)and selector0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff. - Role
Granted - Event with signature
RoleGranted(bytes32,address,address)and selector0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d. - Role
Revoked - Event with signature
RoleRevoked(bytes32,address,address)and selector0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b. - UPGRADE_
INTERFACE_ VERSION Call - Function with signature
UPGRADE_INTERFACE_VERSION()and selector0xad3cb1cc. - UPGRADE_
INTERFACE_ VERSION Return - Container type for the return parameters of the
UPGRADE_INTERFACE_VERSION()function. - UUPS
Unauthorized Call Context - Custom error with signature
UUPSUnauthorizedCallContext()and selector0xe07c8dba. - UUPS
Unsupported ProxiableUUID - Custom error with signature
UUPSUnsupportedProxiableUUID(bytes32)and selector0xaa1d49a4. - Unpaused
- Event with signature
Unpaused(address)and selector0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa. - Upgraded
- Event with signature
Upgraded(address)and selector0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b. - Zero
Admin Address - Custom error with signature
ZeroAdminAddress()and selector0x3ef39b81. - Zero
Daily Limit - Custom error with signature
ZeroDailyLimit()and selector0x9b11a8bd. - Zero
Light Client Address - Custom error with signature
ZeroLightClientAddress()and selector0xfcabddbd. - Zero
Pauser Address - Custom error with signature
ZeroPauserAddress()and selector0xa74995ab. - Zero
Token Address - Custom error with signature
ZeroTokenAddress()and selector0x6b093aad. - Zero
Total Supply - Custom error with signature
ZeroTotalSupply()and selector0x48b50023. - claim
Rewards Call - Function with signature
claimRewards(uint256,bytes)and selector0x549dd8c3. - claim
Rewards Return - Container type for the return parameters of the
claimRewards(uint256,bytes)function. - claimed
Rewards Call - Function with signature
claimedRewards(address)and selector0xbd834345. - claimed
Rewards Return - Container type for the return parameters of the
claimedRewards(address)function. - constructor
Call - Constructor`.
- current
Admin Call - Function with signature
currentAdmin()and selector0xba4bcd72. - current
Admin Return - Container type for the return parameters of the
currentAdmin()function. - daily
Limit WeiCall - Function with signature
dailyLimitWei()and selector0x2cca74d8. - daily
Limit WeiReturn - Container type for the return parameters of the
dailyLimitWei()function. - espToken
Call - Function with signature
espToken()and selector0xf092e13a. - espToken
Return - Container type for the return parameters of the
espToken()function. - getRole
Admin Call - Function with signature
getRoleAdmin(bytes32)and selector0x248a9ca3. - getRole
Admin Return - Container type for the return parameters of the
getRoleAdmin(bytes32)function. - getVersion
Call - Function with signature
getVersion()and selector0x0d8e6e2c. - getVersion
Return - Container type for the return parameters of the
getVersion()function. - grant
Role Call - Function with signature
grantRole(bytes32,address)and selector0x2f2ff15d. - grant
Role Return - Container type for the return parameters of the
grantRole(bytes32,address)function. - hasRole
Call - Function with signature
hasRole(bytes32,address)and selector0x91d14854. - hasRole
Return - Container type for the return parameters of the
hasRole(bytes32,address)function. - initialize
Call - Function with signature
initialize(address,address,address,address)and selector0xf8c8765e. - initialize
Return - Container type for the return parameters of the
initialize(address,address,address,address)function. - last
SetDaily Limit Basis Points Call - Function with signature
lastSetDailyLimitBasisPoints()and selector0x0f6ca1d6. - last
SetDaily Limit Basis Points Return - Container type for the return parameters of the
lastSetDailyLimitBasisPoints()function. - light
Client Call - Function with signature
lightClient()and selector0xb5700e68. - light
Client Return - Container type for the return parameters of the
lightClient()function. - pause
Call - Function with signature
pause()and selector0x8456cb59. - pause
Return - Container type for the return parameters of the
pause()function. - paused
Call - Function with signature
paused()and selector0x5c975abb. - paused
Return - Container type for the return parameters of the
paused()function. - proxiableUUID
Call - Function with signature
proxiableUUID()and selector0x52d1902d. - proxiableUUID
Return - Container type for the return parameters of the
proxiableUUID()function. - renounce
Role Call - Function with signature
renounceRole(bytes32,address)and selector0x36568abe. - renounce
Role Return - Container type for the return parameters of the
renounceRole(bytes32,address)function. - revoke
Role Call - Function with signature
revokeRole(bytes32,address)and selector0xd547741f. - revoke
Role Return - Container type for the return parameters of the
revokeRole(bytes32,address)function. - setDaily
Limit Call - Function with signature
setDailyLimit(uint256)and selector0xb20d30a9. - setDaily
Limit Return - Container type for the return parameters of the
setDailyLimit(uint256)function. - supports
Interface Call - Function with signature
supportsInterface(bytes4)and selector0x01ffc9a7. - supports
Interface Return - Container type for the return parameters of the
supportsInterface(bytes4)function. - total
Claimed Call - Function with signature
totalClaimed()and selector0xd54ad2a1. - total
Claimed Return - Container type for the return parameters of the
totalClaimed()function. - unpause
Call - Function with signature
unpause()and selector0x3f4ba83a. - unpause
Return - Container type for the return parameters of the
unpause()function. - upgrade
ToAnd Call Call - Function with signature
upgradeToAndCall(address,bytes)and selector0x4f1ef286. - upgrade
ToAnd Call Return - Container type for the return parameters of the
upgradeToAndCall(address,bytes)function.
Enums§
- Reward
Claim Calls - Container for all the
RewardClaimfunction calls. - Reward
Claim Errors - Container for all the
RewardClaimcustom errors. - Reward
Claim Events - Container for all the
RewardClaimevents.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
RewardClaimcontract instance.