Karrot

Verified contract

Active on Ethereum with 2,125 txns
Deployed by via 0x243d4cde at 17744396
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
Native
Value $334.15
ERC-20
--
0x79b94fabce149038788cf584f8e195206736e48e66ad2b1f26d91723f0f07b03
0xbc4b5d8c4f6b6277c3d0cede6e4adf55a8e0ef937efccc1bd14af964aa48c226
0x2082e3181c83faeb38d427e83b2be4b58f54136b6d1006ee7248470528893818
0x4e7c911d0e1884de18a4e10bf31ee1046cc33b75b429a3293496556e54da21bd
0x6269b625b799ff64955276fb751ebbc09c13f51c96b278ca24e72d2e1a286c87
0x4810b50215bd82ab915207680476ee4051c79fc06139e848763cc00d657ce11d
0x3391be6a4db4274619bcb746a6ccda0f4f625f879916880eb3b89544218d8e29
0x9cd00c5300e65bc3f9053020713d17e0190b97b9615ce3f23be906d370cd1ee4
0xa7e93e6358f50d724c88cdf6f1adaf6ffc73399b1f8445dec0bbaa7a04230421
0x5e8274ea92c8e7ec705061775f8929f6d897510d376058491b2fade705e43909

Functions
Getter at block 21247289
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
KARROTS_AIRDROP_SUPPLY(view returns (uint256)
664864864871000000000000000000
KARROTS_DECIMALS(view returns (uint256)
1000000000000000000
KARROTS_INTERNAL_DECIMALS(view returns (uint256)
1000000000000000000000000
KARROTS_LP_SUPPLY(view returns (uint256)
1329729729743000000000000000000
KARROTS_PRESALE_SUPPLY(view returns (uint256)
1163513513525000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
PERCENTAGE_DENOMINATOR(view returns (uint256)
10000
REBASER_ROLE(view returns (bytes32)
0x5fde63b561377d1441afa201ff619faac2ff8fed70a7fbdbe7a5cb07768c0b75
_totalFragmentSupply(view returns (uint160)
9642698382922965617611669202950
buyTaxRate(view returns (uint16)
100
config(view returns (address)
0x1b7d040a501f19f1e28ed9fe58e307a9516ee733
decimals(view returns (uint8)
18
divertTaxToStolenPoolRate(view returns (uint256)
100
getTotalSupply(view returns (uint256)
9642698382922965617611669202950
karrotsScalingFactor(view returns (uint64)
125811890281720
maxScaleFactorAdjust(view returns (uint256)
10
maxScaleFactorDecreasePercentagePerDebase(view returns (uint16)
1200
maxScalingFactor(view returns (uint256)
151078267183136663124984693650232438
name(view returns (string)
Karrot
outputAddress(view returns (address)
0xd7d4da7332b7d993b7910a54b2815a171bc66519
owner(view returns (address)
0x3809d11a9efd74e4ee7c280704306ae50e65ed39
sellTaxRate(view returns (uint16)
200
symbol(view returns (string)
KARROT
taxSwapAmountThreshold(view returns (uint256)
500000000000000000000000000
totalSupply(view returns (uint256)
9642698382922965617611669202950
tradingIsOpen(view returns (bool)
false
Read-only
allowance(address owner_address spenderview returns (uint256)
balanceOf(address whoview returns (uint256)
balanceOfUnderlying(address whoview returns (uint256)
computeTax(address _toaddress _fromuint256 _valueview returns (uint256)
fragmentToKarrots(uint256 fragmentview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isDexAddress(addressview returns (bool)
karrotsToFragment(uint256 karrotsview returns (uint256)
nonces(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
swapPath(uint256view returns (address)
State-modifying
addDexAddress(address _addr
approve(address spenderuint256 valuereturns (bool)
burn(uint256 amount
burnFrom(address accountuint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
mint(address touint256 amountreturns (bool)
rebase(uint256 epochuint256 indexDeltabool positivereturns (uint256)
removeDexAddress(address _addr
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBuyTaxRate(uint16 _buyTaxRate
setConfigManagerAddress(address _configManager
setDivertTaxToStolenPoolRate(uint256 _divertTaxToStolenPoolRate
setMaxScaleFactorAdjust(uint256 _adjustFactor
setMaxScaleFactorDecreasePercentagePerDebase(uint256 _maxScaleFactorDecreasePercentagePerDebase
setOutputAddress(address _outputAddress
setSellTaxRate(uint16 _sellTaxRate
setTaxSwapAmountThreshold(uint256 _taxSwapAmountThreshold
swapContractKarrotsToEth(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
withdrawERC20FromContract(address _toaddress _token
withdrawEthFromContract(address _to
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address fromuint256 amount
Mint(address touint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Rebase(uint256 epochuint256 prevKarrotsScalingFactoruint256 newKarrotsScalingFactor
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(address _configManagerAddressaddress[] teamMemberAddressesuint256[] teamMemberTokenAmountsstring _namestring _symbol
Fallback and receive
receive(
Errors
CallerIsNotConfig(
CallerIsNotStolenPool(
ForwardFailed(
InvalidRecipient(
MaxScalingFactorTooLow(
MustHaveMinterRole(
MustHaveRebaserRole(
NotEnoughBalance(
OutputAddressNotSet(
TradingIsNotOpen(
ZeroAddressNotAllowed(