FriendshipDecagon
Verified contract
Active on
Ethereum with 304 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xd932…700e
0xa3b9…e14e
0x563d…30e4
Balances ($0.00)
No balances found for "FriendshipDecagon"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16244584 | 2 years ago | | | 0 | 0.00040443032 | |
| 16243759 | 2 years ago | | | 0.02 | 0.0048668593 | |
| 16243748 | 2 years ago | | | 0.02 | 0.0044874080 | |
| 16242077 | 2 years ago | | | 0.02 | 0.0061085114 | |
| 16241791 | 2 years ago | | | 0.02 | 0.0065680365 | |
| 16239167 | 2 years ago | | | 0.02 | 0.0045785790 | |
| 16239150 | 2 years ago | | | 0.02 | 0.0041359192 | |
| 16238927 | 2 years ago | | | 0.02 | 0.0048644050 | |
| 16238435 | 2 years ago | | | 0.02 | 0.0043701401 | |
| 16238434 | 2 years ago | | | 0.02 | 0.0047683029 |
ABI
ABI objects
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 _address1, uint256 _tokenId1, address _address2, uint256 _tokenId2) pure returns (bytes32 colourHash)
generateFriendshipHash(address _address1, address _address2) pure returns (bytes32 friendshipHash)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
minted(bytes32) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
mintFriendshipDecagon(address _friend) payable returns (uint256 tokenId1, uint256 tokenId2)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setColourHashes(address _newColourHashesAddress)
setFee(uint256 _newFee)
setTokenHashes(address _newTokenHashesAddress)
setTreasury(address _newTreasury)
toggleFriendshipMint()
toggleOneMintPerFriendship()
ColourHashesSet(address indexed newIColourHashesAddress)
FriendshipFeeSet(uint256 indexed newFee)
FriendshipMintToggled()
FriendshipMinted(address friend1, uint256 indexed tokenId1, address friend2, uint256 indexed tokenId2, bytes32 indexed colourHash)
OneMintPerFriendshipToggled()
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokenHashesSet(address indexed newTokenHashes)
TreasuryAddressSet(address indexed newTreasuryAddress)
constructor(uint256 _fee, address _treasuryAddress, address _decagonAddress, address _tokenHashesAddress, address _colourHashesAddress)
This contract contains no fallback and receive objects.
AddressNotSet()
CannotMintFriendshipWithSelf()
FriendshipAlreadyExists()
FriendshipMintingDisabled()
NotEnoughEth()
TransferFailed()