Trestle

Verified contract

Active on Ethereum with 9,869 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional variables
Native
Value $0.02
ERC-20
--
0x01a2ab7784ffec2e67a1b63c3a2c0159da26db80ead4dede458ddca7e076cf4d
0xacbbda01c98a4a49358f605578819a5fa8160a03a0ad81bc2b748382de31579b
0xc446f00edc53cc12e4cce7461496651944fa5e4dd900cc2bbb2e05980b3bb1ab
0xa316b998cc35fb259024cb4628708dd13b88c14378e83402e2bc34df308943f8
0x7b479ab454715649abe62f8be3e9908ae0dd86ad7b67d3af323051a448704807
0x8bc460c6b43db59e019a453277ffea06c4e5a662f25877152d89ce3e74335207
0x13eb6c922f4bf307903ba45c866d2de44fe0a6e0b62b7a7ec968acbb4298319c
0x08a1bfaee8a55c11d8d78bd3c34e807508995cd2946b30c2ee7031d36f17d331
0xfa59ecb8ae06d640667e7a65c7cecce1f47c40e1781e6d426f11d4d4176ae969
0x48d65bc891499eddd04a59809a6d53dc2bf8a5400002ca9e894501a9dd57f0a4

Functions
Getter at block 21284726
buyFee(view returns (uint24)
0
deadBlocks(view returns (uint8)
1
decimals(view returns (uint8)
18
emittedRewards(view returns (uint256)
0
emittedRewardsAcc(view returns (uint256)
0
feeDenominator(view returns (uint24)
10000
getMaxWalletPercentage(view returns (uint256)
100
lastEmittingBlock(view returns (uint256)
19203190
marketingFee(view returns (uint24)
0
maxMarketingFee(view returns (uint24)
8000
maxSwapFee(view returns (uint24)
3000
maxWallet(view returns (uint256)
1000000000000000000000000000
name(view returns (string)
Trestle
operator(view returns (address)
0x1964f3eaf7d8fca7e559468a384453d2d8490744
owner(view returns (address)
0x53dda415cc10822e00f5749670b0fe9713f44bf9
poolFee(view returns (uint24)
10000
remainingRewards(view returns (uint256)
0
rewardBalance(view returns (uint256)
0
rewardToken(view returns (address)
0xff9cb08752d3a9be72de14cce63f22fa19c24637
rewardTokenPerBlock(view returns (uint256)
0
router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
sellFee(view returns (uint24)
0
startBlock(view returns (uint256)
19141773
swapRouter(view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
symbol(view returns (string)
TRESTLE
totalRewardClaimed(view returns (uint256)
1451675
totalRewardDistributed(view returns (uint256)
132331578
totalShares(view returns (uint256)
227327803267549535993531255
totalSupply(view returns (uint256)
1000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
isBlacklisted(addressview returns (bool)
isOptin(addressview returns (bool)
pairs(addressview returns (bool)
pendingRewards(address addrview returns (uint256)
State-modifying
allocate(address touint256 amount
approve(address spenderuint256 valuereturns (bool)
burn(uint256 value
burnFrom(address accountuint256 value
claim(address to
createAmmPairWith(address token
distribute(uint256 amountOutMinimum
initialize(payable 
recordAmmPairWith(address token
removeFromBlacklist(address addr
removeLimits(
renounceOwnership(
resetEmittedRewardsUnsafe(
rewardOptin(
rewardOptout(
setFee(uint24 _buyFeeuint24 _sellFeeuint24 _marketingFee
setMaxWalletPercent(uint256 maxWalletPercent
setOperator(address _operator
setPoolFee(uint24 _poolFee
setRewardTokenPerBlock(uint256 _rewardTokenPerBlock
setRewardTokenPerBlockUnsafe(uint256 _rewardTokenPerBlock
swapCollectedTax(uint256 amountOutMin
sweep(address otherToken
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
withdrawEthereum(address touint256 amount
Events
AddToBlacklist(address addr
Approval(address indexed owneraddress indexed spenderuint256 value
Claim(address indexed addraddress indexed touint256 amount
Distribute(address indexed addruint256 amount
MaxWalletUpdated(uint256 newMaxWallet
OptIn(address addr
OptOut(address addr
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveFromBlacklist(address addr
Sweep(address indexed addraddress indexed tokenuint256 amount
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive
receive(
Errors
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(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token