Placed a bid on the specified domain label in an auction.
bid
Buys the specified domain as a second phase of the Commitment scheme using FIFS model.
Note that only after [[commit
]] was called and a period of time that can be discovered from [[getCommitment
]] has elapsed, buy
can be executed.
buy
Either creates a reverse record for the sender address, or updates the reverse record related to the senders address (in case the sender is different from the reverse record owner).
claim_reverse_record
Creates and stores a commitment as a first phase of the Commitment scheme to buy a domain using FIFS model.
commit
Gets the information about how domain can be acquired.
Possible states are:
Unobtainable
- TLD is disabled or auctions weren't launched yetTaken
- The domain is already owned by someoneCanBeAuctioned
- An auction for this domain can be startedAuctionInProgress
- An auction for this domain is in progress (at least 1 bid has been placed)CanBeSettled
- An auction for this domain has ended and the owner of the winning bid can claim itCanBeBought
- This domain can be bought directlyThe return value of this method also contains additional information about auction or buy/renewal where applicable.
Gets so called 'bidder balance' of the specified address.
When a bid is placed in an auction and then outbid by another bid, the former bid amount is stored in the contract
under it's senders address. The original bidder can then use this balance for another bid, or withdraw it by calling
[[withdraw
]].
Gets the information about an existing commitment created via [[commit
]].
Renews the specified domain registration for the specified duration.
renew
Either creates a subdomain under an existing owned domain, or updates an existing domain if you own it's direct parent, but don't own the domain itself.
set_child_record
Claims the specified domain after an auction was won.
settle
Updates an existing owned domain.
update_record
Updates an existing owned reverse record.
update_reverse_record
Withdraws all funds stored in the contract under the senders balance (see [[getBidderBalance
]]) and
sends them to the specified recipient address.
withdraw
An interface that defines functions for buying and updating domains and reverse records.