Smart Contracts (Testnet)

Module: auction
back to overview
auction
Methods: 4
Instances: 1
Initialization

Parameters
{
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "item": "<String>",
  "minimum_raise": "<UInt64>"
}
Errors
None
Event
None
Methods

Parameters
None
Errors
{
  "Enum": [
    {
      "OnlyAccount": []
    },
    {
      "BidBelowCurrentBid": []
    },
    {
      "BidBelowMinimumRaise": []
    },
    {
      "BidTooLate": []
    },
    {
      "AuctionAlreadyFinalized": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "auction_state": {
    "Enum": [
      {
        "NotSoldYet": []
      },
      {
        "Sold": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "highest_bidder": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "item": "<String>",
  "minimum_raise": "<UInt64>"
}

Parameters
None
Errors
None
Return
"<Amount in microCCD>"

Parameters
None
Errors
{
  "Enum": [
    {
      "AuctionStillActive": []
    },
    {
      "AuctionAlreadyFinalized": []
    }
  ]
}
Return
None
Address
🗎<6779,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership