PlxTAO
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
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 "PlxTAO"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PlxTAO"
ABI
ABI objects
Getter at block 21314071
APPROVE_WITHDRAWAL_ROLE() view returns (bytes32)
0x7e21c1f853a961caf8adc0c26c941d090de97558d402e0fe1d0eea44495dee7d
BITTENSOR_CHAINID() view returns (uint16)
993
BITTENSOR_TOKEN_ADDRESS() view returns (string)
0x3078000000000000000000000000000000000000000000000000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXCHANGE_UPDATE_ROLE() view returns (bytes32)
0x8265d83785d3287e7d7481132632b4a43778b737fb1aeb3bb294f9e9984de840
MANAGE_STAKING_CONFIG_ROLE() view returns (bytes32)
0xcdc459158320f1e5dc6a2790e6223a1fae30e193e0b9c0c623cd787aee91ddd3
ONE_THOUSAND() view returns (uint256)
1000
PAUSE_ROLE() view returns (bytes32)
0x139c2898040ef16910dc9f44dc697df79363da767d8bc92f2e310312b816e46d
TOKEN_SAFE_PULL_ROLE() view returns (bytes32)
0x9e3114703ec4a93cd6bc7e2610274229541e8ba5acacf7825f26bce4fae601e0
batchTAOAmt() view returns (uint256)
0
bridgePercentFee() view returns (uint256)
0
bridgeWrapper() view returns (address)
0x0000000000000000000000000000000000000000
bridgingFee() view returns (uint256)
0
decimals() view returns (uint8)
9
exchangeRate() view returns (uint256)
0
isPaused() view returns (bool)
false
lowerExchangeRateBound() view returns (uint256)
0
maxDepositPerRequest() view returns (uint256)
0
maxSupply() view returns (uint256)
0
maxTaoForWrap() view returns (uint256)
0
maxUnstakeRequests() view returns (uint256)
0
minStakingAmt() view returns (uint256)
0
name() view returns (string)
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() view returns (string)
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 wtaoAmount) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUnstakeRequestByUser(address user) view returns (struct PlxTAOUnstakeRequest[])
getWTAOByWstTAO(uint256 wstTaoAmount) view returns (uint256)
getWTAOByWstTAOAfterFee(uint256 wstTaoAmount) view returns (uint256)
getWstTAObyWTAO(uint256 wtaoAmount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
unstakeRequests(address, uint256) view returns (uint256 amount, uint256 taoAmt, bool isReadyForUnstake, address wrappedToken, uint256 timestamp)
State-modifying
Events acceptOwnership()
approve(address spender, uint256 value) returns (bool)
approveMultipleUnstakes(struct PlxTAOUserRequest[] requests)
batchInternalFulfillUnstaking(struct PlxTAOUserRequest[] requests)
batchTransferBridgeBack(uint256 amount)
grantRole(bytes32 role, address account)
initialize(address initialOwner, uint256 initialSupply)
renounceOwnership()
renounceRole(bytes32 role, address callerConfirmation)
requestUnstake(uint256 wstTAOAmt) payable
revokeRole(bytes32 role, address account)
safePullERC20(address tokenAddress, address to, uint256 amount)
setBridgePercentFee(uint256 _bridgePercentFee)
setBridgeWrapper(address _bridgeWrapper)
setBridgingFee(uint256 _bridgingFee)
setLowerExchangeRateBound(uint256 _newLowerBound)
setMaxDepositPerRequest(uint256 _maxDepositPerRequest)
setMaxSupply(uint256 _maxSupply)
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)
setWTAO(address _wTAO)
setWithdrawalManager(address _withdrawalManager)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership(address newOwner)
unstake(uint256 requestIndex)
updateExchangeRate(uint256 newRate)
wrap(uint256 wtaoAmount)
AdminUnstakeApproved(address indexed user, uint256 idx, uint256 approvedTimestamp)
Approval(address indexed owner, address indexed spender, uint256 value)
ContractPaused(bool paused)
ERC20TokenPulled(address tokenAddress, address to, uint256 amount)
Initialized(uint64 version)
LowerBoundUpdated(uint256 newLowerBound)
NativeTokenPulled(address to, uint256 amount)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
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)
Transfer(address indexed from, address indexed to, uint256 value)
UpdateBridgeFee(uint256 bridgingFee)
UpdateBridgePercentFee(uint256 bridgePercentFee)
UpdateBridgeWrapper(address bridgeWrapper)
UpdateExchangeRate(uint256 newRate)
UpdateMaxDepositPerRequest(uint256 maxDepositPerRequest)
UpdateMaxSupply(uint256 newMaxSupply)
UpdateMaxUnstakeRequest(uint256 maxUnstakeRequests)
UpdateMinStakingAmt(uint256 minStakingAmt)
UpdateNativeFinneyReceiver(string newNativeWalletReceiver)
UpdateProtocolVault(address newProtocolVault)
UpdateServiceFee(uint256 serviceFee)
UpdateStakingFee(uint256 stakingFee)
UpdateUnstakingFee(uint256 newUnstakingFee)
UpdateWTao(address newWTAO)
UpdateWithdrawalManager(address withdrawalManager)
UpperBoundUpdated(uint256 newUpperBound)
UserStake(address indexed user, uint256 stakeTimestamp, uint256 inTaoAmt, uint256 wstAmount)
UserUnstake(address indexed user, uint256 idx, uint256 unstakeTimestamp)
UserUnstakeRequested(address indexed user, uint256 idx, uint256 requestTimestamp, uint256 wstAmount, uint256 outTaoAmt, address wrappedToken)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
FailedInnerCall()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)