XSwapToken
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
4 additional
variables
Balances ($0.00)
No balances found for "XSwapToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "XSwapToken"
ABI
ABI objects
Getter at block 23055723
decimals() view returns (uint8)
0
feeCollector() view returns (address)
0x0000000000000000000000000000000000000000
firstTransactionTime() view returns (uint256)
0
getBurners() view returns (address[])
[]
getMinters() view returns (address[])
[]
maxSupply() view returns (uint256)
0
name() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
symbol() view returns (string)
taxRatePrecision() view returns (uint256)
1000000
tokenDecimals() view returns (uint8)
0
totalSupply() view returns (uint256)
0
transferUnlockTime() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
calculateTax(address sender, address recipient, uint256 amount) view returns (uint256)
isAllowedToTransferBeforeUnlock(address) view returns (bool)
isBurner(address burner) view returns (bool)
isFeeExempt(address) view returns (bool)
isLiquidityPair(address) view returns (bool)
isLiquidityProvider(address) view returns (bool)
isMinter(address minter) view returns (bool)
taxBrackets(uint256) view returns (uint256 timeThreshold, uint256 buyTaxPercentage, uint256 sellTaxPercentage)
State-modifying
Events acceptOwnership()
addLiquidityPair(address _liquidityPair)
addLiquidityProvider(address _liquidityProvider)
approve(address spender, uint256 amount) returns (bool)
burn(uint256 amount)
burnFrom(address account, uint256 amount)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
grantBurnRole(address burner)
grantMintAndBurnRoles(address burnAndMinter)
grantMintRole(address minter)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(string name, string symbol, uint8 decimals_, struct XSwapTokenTaxBracket[] _initialTaxBrackets, uint256 _maxSupply, address _feeCollector, address owner)
mint(address account, uint256 amount)
removeLiquidityPair(address _liquidityPair)
removeLiquidityProvider(address _liquidityProvider)
renounceOwnership()
revokeBurnRole(address burner)
revokeMintRole(address minter)
setFeeCollector(address _feeCollector)
setFeeExemption(address _account, bool _isExempt)
setTaxBrackets(struct XSwapTokenTaxBracket[] _newTaxBrackets)
setTransferAllowanceBeforeUnlock(address _account, bool _isAllowed)
setTransferUnlockTime(uint256 _transferUnlockTime)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AddLiquidityPair(address liquidityPair)
AddLiquidityProvider(address liquidityProvider)
AdminChanged(address previousAdmin, address newAdmin)
Approval(address indexed owner, address indexed spender, uint256 value)
BeaconUpgraded(address indexed beacon)
BurnAccessGranted(address indexed burner)
BurnAccessRevoked(address indexed burner)
Initialized(uint8 version)
MintAccessGranted(address indexed minter)
MintAccessRevoked(address indexed minter)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoveLiquidityPair(address liquidityPair)
RemoveLiquidityProvider(address liquidityProvider)
SetFeeCollector(address feeCollector)
SetFeeExemption(address account, bool isExempt)
SetTaxBrackets(struct XSwapTokenTaxBracket[] newTaxBrackets)
SetTransferAllowanceBeforeUnlock(address account, bool isAllowed)
SetTransferUnlockTime(uint256 transferUnlockTime)
TaxCharged(address sender, address recipient, uint256 taxAmount)
Transfer(address indexed from, address indexed to, uint256 value)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
MaxSupplyExceeded(uint256 supplyAfterMint)
SenderNotBurner(address sender)
SenderNotMinter(address sender)
TaxBracketsUnsorted(uint256 index)
TransfersNotAllowedYet()