DiamondMarketV2

Verified contract

Active on Ethereum with 1,253 txns
Deployed by via 0x179dc175 at 20337954
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "DiamondMarketV2"

0x7a662898ffffd6fc44cb373a03a116ae0c7aa40078d64c5fbcd4895afbd6a6af
0x3a8fe30bbc540ffbc028582bfb50cf7b644031ca85ff73e0a73da07c2dad28da
0xb3795b7c5fb740ea6e0ee7968bd507fcd1159f7bc9cf867605e488e6ddf52a81
0xf1ed81c5a33e8042a42fb252f481adbdb7d79c35ac02ac811e8dcbcac129dd4a
0x20b6c1d08ff3540c009f8fabb21d0930ea0caf44c75e99f86b177c564ee700e4
0xc49229584a0b0b6c259d7a31170df8c07b50519b272ac46052922c49de4ce851
0x2621e3efbca419f732d6548fb299bdcf363f05f73e78f69650d6d4a782c0e346
0x02658fd8b74ae1574f8cf76831946c1ccae3911485debf72617876a24b30acdb
0xf99d3e7d8739068f1060b3577700cac59bb175bf82f01ff219c3668002e20d02
0x7b5ab2bcabbb2d8766634a16840a733ee95ad889ba211cf966c161d49b3e5571

Functions
Getter at block 21326533
GOLD(view returns (address)
0xa78bcbb74b822e74a847897d2d1d2d5ee2c76bd8
USD(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
buyPrice(view returns (uint256)
100000
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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 userview returns (uint256 nonce)
nonces(addressview returns (uint256)
State-modifying
buy(uint32 quantityuint32 expired
permitSell(uint32 quantityuint32 expiredbytes signature
rechargeGold(uint256 amountuint32 expired
renounceOwnership(
setGold(address _gold
setPrice(uint256 _buyuint256 _sell
setSigner(address _signer
setTreasurer(address _treasurer
setUsd(address _usd
transferOwnership(address newOwner
Events
Bought(address whouint256 quantityuint256 amount
EIP712DomainChanged(
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Recharged(address whouint256 amount
Sold(address whouint256 quantityuint256 amount
Constructor
constructor(address _treasureraddress _signeraddress _usdaddress _golduint256 _buyPriceuint256 _sellPrice
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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