TREX

Verified contract

Active on Base with 392 txns
Deployed by via 0xe32615a9 at 11339259
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
ERC-20
--
0x0335b4059a292ecf6e91a7689439c2d6e6f4c4af7b4a610ece3f954f87cd99b5
0x59173d91baf5543e65530ab6698d256869ce480e66d6d60970740e1cab9c8efd
0x1d33eb4e92c6212215b72aada00833fcde86fed1bddb45981951f27dd71b8b02
0x5176d3e37cf270aa826918e869d7a3c0e8563988a3eb5a5ae7cbd4d73dc67527
0xc396341a5103ca0655405035531b7d0820dbe84c472c4d9cdea21b1f911b97ec
0x2e876c7a56ef1ed6ff1780e3e9fde277a808c638a5813c2e96c7965462b1d512
0x385049e3f16871c272e3806e35be770a5e018ebed62b49bbc8e0f6dbd9999811
0xce880b3c15c03e63b2bfa3805d877406439b02fbbf9d988c6003b71cde824023
0x9371f7bae40909582a20f83db45aae740747ceb1697f5de64839719492bd25c5
0x06eab4be241329f15a579364eaae432c0f75c5fd164ca407a803a7a4c46808f4

Functions
Getter at block 22770047
DOMAIN_SEPARATOR(view returns (bytes32)
0x4e9c73636560e17b87a775d87c8662c0a75cca51a58378558f11fcd2dadbf3e5
ID_ENCODING_PREFIX(view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819968
decimals(view returns (uint8)
18
erc20TotalSupply(view returns (uint256)
10000000000000000000000
erc721TotalSupply(view returns (uint256)
4044
getERC721QueueLength(view returns (uint256)
2803
minted(view returns (uint256)
4044
name(view returns (string)
TREX
owner(view returns (address)
0x63975e760dc68b2985803bc329d40b7cc4f309c6
symbol(view returns (string)
TREX
totalSupply(view returns (uint256)
10000000000000000000000
units(view returns (uint256)
1000000000000000000
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
erc20BalanceOf(address owner_view returns (uint256)
erc721BalanceOf(address owner_view returns (uint256)
erc721TransferExempt(address target_view returns (bool)
getApproved(uint256view returns (address)
getERC721TokensInQueue(uint256 start_uint256 count_view returns (uint256[])
isApprovedForAll(addressaddressview returns (bool)
nonces(addressview returns (uint256)
owned(address owner_view returns (uint256[])
ownerOf(uint256 id_view returns (address erc721Owner)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 id_view returns (string)
State-modifying
approve(address spender_uint256 valueOrId_returns (bool)
erc20Approve(address spender_uint256 value_returns (bool)
erc20TransferFrom(address from_address to_uint256 value_returns (bool)
erc721Approve(address spender_uint256 id_
erc721TransferFrom(address from_address to_uint256 id_
permit(address owner_address spender_uint256 value_uint256 deadline_uint8 v_bytes32 r_bytes32 s_
renounceOwnership(
safeTransferFrom(address from_address to_uint256 id_
safeTransferFrom(address from_address to_uint256 id_bytes data_
setApprovalForAll(address operator_bool approved_
setERC721TransferExempt(address account_bool value_
setSelfERC721TransferExempt(bool state_
setTokenURI(string _url
transfer(address to_uint256 value_returns (bool)
transferFrom(address from_address to_uint256 valueOrId_returns (bool)
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed spenderuint256 indexed id
Approval(address indexed owneraddress indexed spenderuint256 value
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 amount
Transfer(address indexed fromaddress indexed touint256 indexed id
Constructor
constructor(address salecontract_string name_string symbol_uint8 decimals_uint256 maxTotalSupplyERC721_address initialOwner_address initialMintRecipient_address uniswapSwapRouter_address uniswapV3NonfungiblePositionManager_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyExists(
DecimalsTooLow(
ERC404UniswapV3ExemptFactoryMismatch(
ERC404UniswapV3ExemptWETH9Mismatch(
InsufficientAllowance(
InvalidApproval(
InvalidExemption(
InvalidOperator(
InvalidRecipient(
InvalidSender(
InvalidSigner(
InvalidSpender(
InvalidTokenId(
MintLimitReached(
NotFound(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
OwnedIndexOverflow(
PermitDeadlineExpired(
QueueEmpty(
QueueFull(
QueueOutOfBounds(
RecipientIsERC721TransferExempt(
Unauthorized(
UnsafeRecipient(