DiamondMarketV2
Verified contract
Active on
Ethereum with 1,253 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xa78b…6bd8
Balances ($0.00)
No balances found for "DiamondMarketV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21134029 | a month ago | | | 0 | 0.00042695592 | |
| 21134025 | a month ago | | | 0 | 0.00040282995 | |
| 21134021 | a month ago | | | 0 | 0.00040379715 | |
| 21102054 | a month ago | | | 0 | 0.00033157975 | |
| 21102050 | a month ago | | | 0 | 0.00035814629 | |
| 21102046 | a month ago | | | 0 | 0.00031325808 | |
| 21088380 | a month ago | | | 0 | 0.00036359940 | |
| 21083150 | a month ago | | | 0 | 0.00091738701 | |
| 21083149 | a month ago | | | 0 | 0.00095650828 | |
| 21083148 | a month ago | | | 0 | 0.00096555101 |
ABI
ABI objects
Getter at block 21326533
GOLD() view returns (address)
0xa78bcbb74b822e74a847897d2d1d2d5ee2c76bd8
USD() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
buyPrice() view returns (uint256)
100000
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=Swords Dungeons Diamond Market, version=v1, chainId=1, verifyingContract=0x78032cbe0d311d83c9c42e3bbe1820c0c3961b0b, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
owner() view returns (address)
0xc49ded5d4669ac8d4c4e2a564a98d6b34649654f
sellPrice() view returns (uint256)
100000
signer() view returns (address)
0x1d4f4c4c1247063593256cfa0845a9181d6731b6
treasurer() view returns (address)
0x5c2f4549ea428012e4aca86a89993032ec822a0d
Read-only
getNonce(address user) view returns (uint256 nonce)
nonces(address) view returns (uint256)
State-modifying
Events buy(uint32 quantity, uint32 expired)
permitSell(uint32 quantity, uint32 expired, bytes signature)
rechargeGold(uint256 amount, uint32 expired)
renounceOwnership()
setGold(address _gold)
setPrice(uint256 _buy, uint256 _sell)
setSigner(address _signer)
setTreasurer(address _treasurer)
setUsd(address _usd)
transferOwnership(address newOwner)
Bought(address who, uint256 quantity, uint256 amount)
EIP712DomainChanged()
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Recharged(address who, uint256 amount)
Sold(address who, uint256 quantity, uint256 amount)
constructor(address _treasurer, address _signer, address _usd, address _gold, uint256 _buyPrice, uint256 _sellPrice)
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
FailedInnerCall()
InvalidShortString()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
StringTooLong(string str)