FancyTraitV2Sale

Verified contract

Active on Ethereum with 1,547 txns
Deployed by via 0x89d69a92 at 15174476
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $38.2
ERC-20
--
0x3c2384f013b0f6fdd4894840181a0b3751f77038b163557b05bbc3b3079abe08
0x7dc6ae82ae85a8913aa96c1d70dc3a49d0cdb57f581f861c7b9440a157ff3ec8
0xd20a99d89ca5c7616cc2e105376a38bb59c9c6af876ef6126ef296eb26e577a1
0x8c867b7f7b3449b27736105cfb180438f7d3de5dd8456b0605418558c6ea989c
0xf796513400ead6f637e8b1625ed954edb492ba0e1b04bf6db84ea4f5ad5aa3ce
0xb9bba0a0fcb2ee1a3515bf2668e534f4084ad6309cbcdd3a496b8fb6d1e849c1
0xeb95756ccc940def2789e8beddc5173a9432875fb2ff80f6fd23197fbffd7d1e
0x35748c92f9e24f26f78259036cf3314081a53119d4656bcf863eaa39d816dc53
0x36e196987fd02c78154a00b66ad4a05ae226bead74fe86614e665d031b269643
0x85886a14e012e977e0eb896aa3abbc9de65498de255d7f6465e451ec54f02d8b

Functions
Getter at block 21166233
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
WITHDRAW_ROLE(view returns (bytes32)
0x5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec
fancyBearStakingContract(view returns (address)
0x786075ff1962f45ca0fa122d677b9f2925f4a8c6
fancyBearsContract(view returns (address)
0x87084ec881d5a15c918057f326790db177d218f2
fancyTraitsV2Contract(view returns (address)
0xebfaa4261935abec133b5dc41baf210a2b8eb24d
hiveContract(view returns (address)
0x35c6de1445889df00a9e8c4a2734cc10b02d868a
honeyJarsContract(view returns (address)
0x55f3bc084da207b7347538b74cc388deeb3ab448
honeyTokenContract(view returns (address)
0x33b4fe5e40e4903a0849ca97b3292eac3eb0aa36
honeyVestingContract(view returns (address)
0x7bb5178af214b8c5e714ee29d40045e37bc89d42
levelsContract(view returns (address)
0xc69661b848b02ce0288c58c0aa01d0d99cb85dfc
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getTokenPriceForTraitId(uint256 _traitIdaddress[] _tokenContractsview returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenSaleData(uint256view returns (uint256 ethPriceuint256 counteruint256 maxSupplybool saleActive)
State-modifying
clearCounter(uint256[] _tokenIds
grantRole(bytes32 roleaddress account
purchaseTraitsWithERC20(address _tokenContractuint256[] _traitTokenIdsuint256[] _amountPerTraitstruct FancyTraitV2SaleLevelAttributionArgs _levelAttributionArgspayable 
purchaseTraitsWithETH(uint256[] _traitTokenIdsuint256[] _amountPerTraitstruct FancyTraitV2SaleLevelAttributionArgs _levelAttributionArgspayable 
purchaseTraitsWithHoney(struct FancyTraitV2SalePurchaseData purchaseDatastruct FancyTraitV2SaleLevelAttributionArgs _levelAttributionArgs
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
toggleSale(uint256[] _tokenIds
updateERC20Price(uint256[] _traitTokenIdsaddress[][] _tokenContractsuint256[][] _prices
updateETHPrice(uint256[] _tokenIdsuint256[] _prices
updateMaxSupply(uint256[] _tokenIdsuint256[] _maxSupplies
updateSaleDataBulk(uint256[] _tokenIdsstruct FancyTraitV2SaleSaleDataUpdateArgs[] _saleDataUpdateArgs
withdrawERC20(address _beneficiaryaddress[] _tokenContractsuint256[] _amounts
withdrawETH(address _beneficiaryuint256 _amount
Events
CounterCleared(uint256 indexed _tokenId
ERC20PriceUpdated(uint256 indexed _tokenIdaddress indexed _tokenContractuint256 _price
ETHPriceUpdated(uint256 indexed _tokenIduint256 _price
MaxSupplyUpdated(uint256 indexed _tokenIduint256 _maxSupply
Purchase(address indexed _senderuint256[] _traitIdsuint256[] _quantities
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SaleDataDeleted(uint256 indexed _tokenId
SaleDataUpdated(uint256 indexed _tokenId
SaleToggled(uint256 indexed _tokenIdbool _saleActive
WithdrawERC20(address _destinationaddress _tokenContractuint256 _amount
WithdrawETH(address _destinationuint256 _amount
Constructor
constructor(address _fancyBearsContractaddress _honeyJarsContractaddress _honeyVestingContractaddress _fancyTraitsV2Contractaddress _honeyTokenContractaddress _levelsContractaddress _fancyBearStakingContractaddress _hiveContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.