InstantPool
Last updated
Last updated
InstantPool contract is responsible for the instant BONE payout. When user requests such instant payout, this contracts allows user to receive their BONE tokens instantly without creating a withdrawal request. The fee instantPoolUsageFee
is applied to such payout.
bytes32 public constant PAUSE_ROLE = keccak256("PAUSE_ROLE");
- pauser role identifier
bytes32 public constant UNPAUSE_ROLE = keccak256("UNPAUSE_ROLE");
- unpauser role identifier
bytes32 public constant WITHDRAWER_ROLE = keccak256("WITHDRAWER_ROLE");
- withdrawer role identifier
Initializer function, not called after initialization. The following roles are granted:
DEFAULT_ADMIN_ROLE - DAO (admin)
WITHDRAWER_ROLE - KnBONE contract
Transfers the specified amount of the specified token (BONE) to receiver.
Pauses the InstantPool contract.
Unpauses the InstantPool contract.