BrAIn

Verified contract

Active on Ethereum with 214 txns
Deployed by via 0xe04bd897 at 20168770
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x8544f5be75911165993f6d1e98606280efdf35c389d88d091b7ea7e7ab8168cf
0x5a72a7214f0ff01302afcc6754c6a7f0e2fb92bcbc5596221eb1caaceb466b7d
0x36955e06b6a3256949343091899792cb86d3e677e9ab41488653d8afa501c0b4
0x3c154ccb3876e1d5100d2926f2f459ed01e711c0d508f67a0745c180d1adaede
0xec76e1ed20ea0f6f3c48981f78a5824abc13d21d57dfec95bfa573738454bc6e
0x2a55f18990c900edaa51c26a076f3b87c3aff3257add144a6a25b60f9a763089
0xf07c6a92165d68b29c0da29061f810480d552d73289b0df7536914faef525631
0x5578c5ce44b2dfe41bb94821bc8837389af66694522be980506acc03ecd9a64e
0xc4104187aaef6ef5bd50621c3ccd4d2390cd6c2f0d93919ec8e2f981fa150c68
0x64aaeefb2283d57a65d83a63de6a4f0db380e5a4efade5b5ffdc513528bd4067

Functions
Getter at block 21318006
TAX_DENOMINATOR(view returns (uint16)
10000
decimals(view returns (uint8)
18
finalPurchaseTaxNominator(view returns (uint16)
500
finalSaleTaxNominator(view returns (uint16)
500
lpRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
maximumBalance(view returns (uint256)
1000000000000000000000000
maximumTaxSwap(view returns (uint256)
700000000000000000000000
name(view returns (string)
BrAIn
owner(view returns (address)
0x648dbfcadaf019fda95642aadc3a490027136286
symbol(view returns (string)
BAI
taxDistributionThreshold(view returns (uint256)
700000000000000000000000
totalSupply(view returns (uint256)
100000000000000000000000000
tradingInitBlock(view returns (uint256)
20169346
tradingRestricted(view returns (bool)
false
treasury(view returns (address)
0x7f9bfccfb6a78643b83a8460c3dea1be5ad61868
undistributedETHTax(view returns (uint256)
0
undistributedTax(view returns (uint256)
258889476142564768416653
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
lpPairs(addressview returns (bool)
taxFree(addressview returns (bool)
unrestricted(addressview returns (bool)
State-modifying
approve(address spenderuint256 valuereturns (bool)
distributeETHTax(
renounceOwnership(
setFinalPurchaseTaxNominator(uint16 _finalPurchaseTaxNominator
setFinalSaleTaxNominator(uint16 _finalSaleTaxNominator
setLPPair(address _targetbool _isLPPair
setMaximumBalance(uint256 _maximumBalance
setMaximumTaxSwap(uint256 _maximumTaxSwap
setTaxDistributionThreshold(uint256 _taxDistributionThreshold
setTaxFree(address _targetbool _taxFree
setTradingRestricted(bool _tradingRestricted
setTreasury(address _treasury
setUnrestricted(address _targetbool _unrestricted
swapTaxToETH(
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
withdrawERC20(address _tokenaddress _to
withdrawETH(address _to
Events
Approval(address indexed owneraddress indexed spenderuint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address _lpRouter
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ETHWithdrawalFailed(
ExceededMaxTax(
ExceededMaximumBalance(
ExceededMaximumPurchaseInTransaction(
FailedCall(
InsufficientBalance(uint256 balanceuint256 needed
NoTaxToDistribute(
NoTaxToSwap(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
SafeERC20FailedOperation(address token
TaxDistributionFailed(