WAI

Verified contract

Active on Base with 2,869 txns
Deployed by via 0xa35d5f3a at 13373131
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
Value $0
ERC-20
--
ERC-20
--
0x3d9f6125699caa5ac0f761f99641270d8a0cbf439a37caa639036680e7cd077f
0xeb2f0156465720a563c93af57177b6d06d8172a54b4760e2ba372dde03e8d844
0xf948127e53e81e8b9087f21d1a3f4efa6796e20a39330129c3548bc326fc5f8d
0xb760097f446e62b06fdcb8169c56bb0c19487e108e43b569eda432b85a786c4b
0x03f8c6ffaa4219d33ac51884f793da2daa4a1316e1214be2cb65f07d115968ae
0xf7fe8a869837ca79184f4dda7a20103fa866fab24b3256447438d28908f6529a
0xccd605f688ddd1e2aa52e1a97ba161db82bef81cae9203ed1fdbf5fb3b088c92
0x83b197821f1c4b01f8abbde866cc58231f441c566e12f23d384a7cbe492eb6fb
0xf1950380ffd81251386fa5646d257e75b0a01f6e0583d98adf0fab251dc6a6cf
0x74d3d49ad0cdaba5dbb30940d87dff3ebd738a906ca40733b651a0af53287433

Functions
Getter at block 22730706
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
decimals(view returns (uint8)
18
name(view returns (string)
WAI
projectBuyTaxBasisPoints(view returns (uint16)
0
projectSellTaxBasisPoints(view returns (uint16)
0
projectTaxPendingSwap(view returns (uint128)
0
projectTaxRecipient(view returns (address)
0x0fd4ecd1e6d302d989e0d2724e37e645f523da8b
symbol(view returns (string)
WAI
totalBuyTaxBasisPoints(view returns (uint256)
0
totalSellTaxBasisPoints(view returns (uint256)
0
totalSupply(view returns (uint256)
95961089630684457706264643
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isLiquidityPool(address queryAddress_view returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addLiquidityPool(address newLiquidityPool_
approve(address spenderuint256 valuereturns (bool)
burn(address accountuint256 amount
burn(uint256 value
distributeTaxTokens(
grantRole(bytes32 roleaddress account
mint(address touint256 amount
removeLiquidityPool(address removedLiquidityPool_
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setProjectTaxRates(uint16 newProjectBuyTaxBasisPoints_uint16 newProjectSellTaxBasisPoints_
setProjectTaxRecipient(address projectTaxRecipient_
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
withdrawERC20(address token_uint256 amount_
Events
Approval(address indexed owneraddress indexed spenderuint256 value
LiquidityPoolAdded(address addedPool
LiquidityPoolRemoved(address removedPool
ProjectTaxBasisPointsChanged(uint256 oldBuyBasisPointsuint256 newBuyBasisPointsuint256 oldSellBasisPointsuint256 newSellBasisPoints
ProjectTaxRecipientUpdated(address treasury
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
Constructor
constructor(struct BaseWaifuTokenBaseParameters baseParamsstruct BaseWaifuTokenERC20TaxParameters taxParams
Fallback and receive
fallback(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CannotWithdrawThisToken(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
FailedInnerCall(
LiquidityPoolCannotBeAddressZero(
LiquidityPoolMustBeAContractAddress(
SafeERC20FailedOperation(address token
TransferAmountExceedsBalance(
TransferFailed(
TransferFromZeroAddress(
TransferToZeroAddress(