FriendshipDecagon

Verified contract

Active on Ethereum with 304 txns
Deployed by via 0xc521d480 at 16195355
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "FriendshipDecagon"

0x5df7a47f30fffdacfb4ef06895308eb81207a56f4047cd13e3028c1d36bcaf1d
0xcf69b50d83420bba4d797c2418f928ec78d531bb5491c21d922d593fc94babae
0x9bd2444a587ce7f26ffa9609df8a173f198e8ee72345dfb176e550a6823758e8
0x713d61bbd57baa7efb0638c44bb2e786eaf687205ddbfbeb403d788300d1bb03
0xa6ac74e5412f03518df84d0c33911f5eaa50430346996f79755311fbdcd37917
0xf0db82c7c04312ea124be7d8196766f477a29776c98cb1ecd05ca46bbd9ad75f
0xba192f3490b7c31ece05c13ace4889915129aac478946b7ad444ef26991952e2
0xa5f612408f2036e691bdb0fe3f80658cae3de0ac6e6f398f859b22f47e91bf9d
0x747d023b60adcb6600a14cc331685f71268e65ed8beca22beae7a88066b867b8
0x6264ea8016015c72127d983ba16cabab5f7dcd3317edea2a6abf76a397f55415

Functions
Getter at block 21428934
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
colourHashes(view returns (address)
0x563df01d07125c33a296de51335ec040517630e4
decagon(view returns (address)
0xd93206bd0062cc054e397ecccdb8436c3fa5700e
fee(view returns (uint256)
20000000000000000
friendshipMintEnabled(view returns (bool)
false
oneMintPerFriendship(view returns (bool)
false
tokenHashes(view returns (address)
0xa3b92fe58563ce841f50df08293237e4c866e14e
treasury(view returns (address)
0x99f20bea59ce9f464147b7de92e59684cff14a08
Read-only
generateColourHash(address _address1uint256 _tokenId1address _address2uint256 _tokenId2pure returns (bytes32 colourHash)
generateFriendshipHash(address _address1address _address2pure returns (bytes32 friendshipHash)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
minted(bytes32view returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
mintFriendshipDecagon(address _friendpayable returns (uint256 tokenId1uint256 tokenId2)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setColourHashes(address _newColourHashesAddress
setFee(uint256 _newFee
setTokenHashes(address _newTokenHashesAddress
setTreasury(address _newTreasury
toggleFriendshipMint(
toggleOneMintPerFriendship(
Events
ColourHashesSet(address indexed newIColourHashesAddress
FriendshipFeeSet(uint256 indexed newFee
FriendshipMintToggled(
FriendshipMinted(address friend1uint256 indexed tokenId1address friend2uint256 indexed tokenId2bytes32 indexed colourHash
OneMintPerFriendshipToggled(
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenHashesSet(address indexed newTokenHashes
TreasuryAddressSet(address indexed newTreasuryAddress
Constructor
constructor(uint256 _feeaddress _treasuryAddressaddress _decagonAddressaddress _tokenHashesAddressaddress _colourHashesAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressNotSet(
CannotMintFriendshipWithSelf(
FriendshipAlreadyExists(
FriendshipMintingDisabled(
NotEnoughEth(
TransferFailed(