PlxTAO

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xbd6a61ef at 20431622
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PlxTAO"

No transactions found for "PlxTAO"


Functions
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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calculateAmtAfterFee(uint256 wtaoAmountview returns (uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUnstakeRequestByUser(address userview returns (struct PlxTAOUnstakeRequest[])
getWTAOByWstTAO(uint256 wstTaoAmountview returns (uint256)
getWTAOByWstTAOAfterFee(uint256 wstTaoAmountview returns (uint256)
getWstTAObyWTAO(uint256 wtaoAmountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
unstakeRequests(addressuint256view returns (uint256 amountuint256 taoAmtbool isReadyForUnstakeaddress wrappedTokenuint256 timestamp)
State-modifying
acceptOwnership(
approve(address spenderuint256 valuereturns (bool)
approveMultipleUnstakes(struct PlxTAOUserRequest[] requests
batchInternalFulfillUnstaking(struct PlxTAOUserRequest[] requests
batchTransferBridgeBack(uint256 amount
grantRole(bytes32 roleaddress account
initialize(address initialOwneruint256 initialSupply
renounceOwnership(
renounceRole(bytes32 roleaddress callerConfirmation
requestUnstake(uint256 wstTAOAmtpayable 
revokeRole(bytes32 roleaddress account
safePullERC20(address tokenAddressaddress touint256 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 touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
unstake(uint256 requestIndex
updateExchangeRate(uint256 newRate
wrap(uint256 wtaoAmount
Events
AdminUnstakeApproved(address indexed useruint256 idxuint256 approvedTimestamp
Approval(address indexed owneraddress indexed spenderuint256 value
ContractPaused(bool paused
ERC20TokenPulled(address tokenAddressaddress touint256 amount
Initialized(uint64 version
LowerBoundUpdated(uint256 newLowerBound
NativeTokenPulled(address touint256 amount
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 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 useruint256 stakeTimestampuint256 inTaoAmtuint256 wstAmount
UserUnstake(address indexed useruint256 idxuint256 unstakeTimestamp
UserUnstakeRequested(address indexed useruint256 idxuint256 requestTimestampuint256 wstAmountuint256 outTaoAmtaddress wrappedToken
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 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