Last updated 3 years ago
An entrypoint that setups a new Auction contract (see ).
auction
address
An address of a new Auction contract
const dexCoreAddress = "KT1..."; const auctionAddress = "KT1..."; const dexCore = await tezos.contract.at(dexCoreAddress); const operation = await dexCore.methods.set_auction(auctionAddress).send(); await operation.confirmation();
400 - sender of the transaction is not current administrator.
400
sender
412 - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
412