Execute multiple Tezos Domains operations in a batch.
Placed a bid on the specified domain label in an auction.
bid
The name of the top level domain (e.g. tez
).
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
The name of the top level domain (e.g. tez
).
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
The name of the top level domain (e.g. tez
).
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.
The name of the domain (e.g. alice.tez
)
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
.
The name of the top level domain (e.g. tez
).
The address for which to get the balance.
Gets the information about an existing commitment created via commit
.
The name of the top level domain (e.g. tez
).
Gets the configuration of the specified TLD registrar.
The name of the top level domain (e.g. tez
).
Gets the NFT token id for a specified domain name.
The name of the domain (e.g. alice.tez
)
Renews the specified domain registration for the specified duration.
renew
The name of the top level domain (e.g. tez
).
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
The name of the top level domain (e.g. tez
).
Transfers the domain NFT token to a new owner.
The name of the domain (e.g. alice.tez
)
The address to transfer the token to.
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
The name of the top level domain (e.g. tez
).
The address of the recipient of the withdrawn funds.
Generated using TypeDoc
An interface that defines functions for buying and updating domains and reverse records.