Rivus Staked COMAI
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Rivus Staked COMAI"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Rivus Staked COMAI"
ABI
ABI objects
Getter at block 21326677
APPROVE_WITHDRAWAL_ROLE() view returns (bytes32)
0x7e21c1f853a961caf8adc0c26c941d090de97558d402e0fe1d0eea44495dee7d
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXCHANGE_UPDATE_ROLE() view returns (bytes32)
0x8265d83785d3287e7d7481132632b4a43778b737fb1aeb3bb294f9e9984de840
MANAGE_STAKING_CONFIG_ROLE() view returns (bytes32)
0xcdc459158320f1e5dc6a2790e6223a1fae30e193e0b9c0c623cd787aee91ddd3
PAUSE_ROLE() view returns (bytes32)
0x139c2898040ef16910dc9f44dc697df79363da767d8bc92f2e310312b816e46d
TOKEN_SAFE_PULL_ROLE() view returns (bytes32)
0x9e3114703ec4a93cd6bc7e2610274229541e8ba5acacf7825f26bce4fae601e0
bridge() view returns (address)
0x0000000000000000000000000000000000000000
bridgingFee() view returns (uint256)
0
cap() view returns (uint256)
0
decimals() pure returns (uint8)
18
exchangeRate() view returns (uint256)
0
getTotalShares() view returns (uint256)
0
isPaused() view returns (bool)
false
lastRebaseTime() view returns (uint256)
0
lowerExchangeRateBound() view returns (uint256)
0
maxDepositPerRequest() view returns (uint256)
0
maxUnstakeRequests() view returns (uint256)
0
minStakingAmt() view returns (uint256)
0
name() pure returns (string)
Rivus Staked COMAI
nativeWalletReceiver() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
protocolVault() view returns (address)
0x0000000000000000000000000000000000000000
serviceFee() view returns (uint256)
0
stakingFee() view returns (uint256)
0
symbol() pure returns (string)
rsCOMAI
totalRsCOMAIMinted() view returns (uint256)
0
totalSupply() view returns (uint256)
0
unstakingFee() view returns (uint256)
0
upperExchangeRateBound() view returns (uint256)
0
withdrawalManager() view returns (address)
0x0000000000000000000000000000000000000000
wrappedToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address _owner, address _spender) view returns (uint256)
balanceOf(address _account) view returns (uint256)
calculateAmtAfterFee(uint256 wcomaiAmount) view returns (uint256, uint256, uint256)
getMintedRsCOMAIByShares(uint256 _sharesAmount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRsCOMAIbyWCOMAI(uint256 wcomaiAmount) view returns (uint256)
getSharesByMintedRsCOMAI(uint256 _RsCOMAIAmount) view returns (uint256)
getUnstakeRequestByUser(address user) view returns (struct RivusCOMAIUnstakeRequest[])
getWCOMAIByrsCOMAI(uint256 rsCOMAIAmount) view returns (uint256)
getWCOMAIByrsCOMAIAfterFee(uint256 rsCOMAIAmount) view returns (uint256, uint256, uint256)
hasRole(bytes32 role, address account) view returns (bool)
sharesOf(address _account) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
unstakeRequests(address, uint256) view returns (uint256 amount, uint256 comaiAmt, bool isReadyForUnstake, address wrappedToken, uint256 timestamp)
State-modifying
Events acceptOwnership()
approve(address _spender, uint256 _amount) returns (bool)
approveMultipleUnstakes(struct RivusCOMAIUserRequest[] requests)
decreaseAllowance(address _spender, uint256 _subtractedValue) returns (bool)
grantRole(bytes32 role, address account)
increaseAllowance(address _spender, uint256 _addedValue) returns (bool)
initialize(address _owner, address _wCOMAI, string _nativeTokenReceiver, address _protocolVault, address _bridge)
pullNativeToken(address to, uint256 amount)
rebase(uint256 apr)
renounceOwnership()
renounceRole(bytes32 role, address callerConfirmation)
requestUnstake(uint256 rsCOMAIAmt) payable
revokeRole(bytes32 role, address account)
safePullERC20(address tokenAddress, address to, uint256 amount)
setBridgingFee(uint256 _bridgingFee)
setLowerExchangeRateBound(uint256 _newLowerBound)
setMaxDepositPerRequest(uint256 _maxDepositPerRequest)
setMaxUnstakeRequest(uint256 _maxUnstakeRequests)
setMinStakingAmt(uint256 _minStakingAmt)
setNativeTokenReceiver(string _nativeWalletReceiver)
setPaused(bool _isPaused)
setProtocolVault(address _protocolVault)
setServiceFee(uint256 _serviceFee)
setStakingFee(uint256 _stakingFee)
setUnstakingFee(uint256 _unstakingFee)
setUpperExchangeRateBound(uint256 _newUpperBound)
setWCOMAI(address _wCOMAI)
setWithdrawalManager(address _withdrawalManager)
transfer(address _recipient, uint256 _amount) returns (bool)
transferFrom(address _sender, address _recipient, uint256 _amount) returns (bool)
transferOwnership(address newOwner)
transferShares(address _recipient, uint256 _sharesAmount) returns (uint256)
unstake(uint256 requestIndex)
updateBridge(address _bridge)
updateCap(uint256 _newCap)
updateExchangeRate(uint256 newRate)
wrap(uint256 wcomaiAmount) returns (uint256)
AdminUnstakeApproved(address indexed user, uint256 idx, uint256 approvedTimestamp)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed provider, uint256 amount, uint256 timestamp)
ContractPaused(bool paused)
ERC20TokenPulled(address tokenAddress, address to, uint256 amount)
Initialized(uint64 version)
LowerBoundUpdated(uint256 newLowerBound)
Mint(address indexed recipient, uint256 amount, uint256 timestamp)
NativeTokenPulled(address to, uint256 amount)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Rebase(uint256 apr, uint256 totalRsCOMAIMinted, uint256 totalShares, uint256 mintAmoount, uint256 timestamp)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SharesBurnt(address indexed account, uint256 preRebaseTokenAmount, uint256 postRebaseTokenAmount, uint256 sharesAmount)
Transfer(address indexed from, address indexed to, uint256 value)
TransferShares(address indexed from, address indexed to, uint256 sharesValue)
UpdateBridgeFee(uint256 bridgingFee)
UpdateExchangeRate(uint256 newRate)
UpdateMaxDepositPerRequest(uint256 maxDepositPerRequest)
UpdateMaxUnstakeRequest(uint256 maxUnstakeRequests)
UpdateMinStakingAmt(uint256 minStakingAmt)
UpdateNativeCommumeReceiver(string newNativeWalletReceiver)
UpdateProtocolVault(address newProtocolVault)
UpdateServiceFee(uint256 serviceFee)
UpdateStakingFee(uint256 stakingFee)
UpdateUnstakingFee(uint256 newUnstakingFee)
UpdateWComai(address newWCOMAI)
UpdateWithdrawalManager(address withdrawalManager)
UpperBoundUpdated(uint256 newUpperBound)
UserStake(address indexed user, uint256 stakeTimestamp, uint256 inComaiAmt, uint256 wstAmount)
UserUnstake(address indexed user, uint256 idx, uint256 unstakeTimestamp)
UserUnstakeRequested(address indexed user, uint256 idx, uint256 requestTimestamp, uint256 wstAmount, uint256 outComaiAmt, address wrappedToken)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()