Smart Contracts (Testnet)

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

Parameters
None
Errors
None
Event
None
Methods

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

Parameters
{
  "auction_id": "<UInt32>"
}
Errors
{
  "Enum": [
    {
      "OnlyAccount": []
    },
    {
      "BidBelowCurrentBid": []
    },
    {
      "BidBelowMinimumRaise": []
    },
    {
      "BidTooLate": []
    },
    {
      "AuctionAlreadyFinalized": []
    },
    {
      "AuctionNotFound": []
    },
    {
      "ParameterParsingError": []
    },
    {
      "AuctionStillActive": []
    }
  ]
}
Return
None

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

Parameters
{
  "auction_id": "<UInt32>"
}
Errors
{
  "Enum": [
    {
      "OnlyAccount": []
    },
    {
      "BidBelowCurrentBid": []
    },
    {
      "BidBelowMinimumRaise": []
    },
    {
      "BidTooLate": []
    },
    {
      "AuctionAlreadyFinalized": []
    },
    {
      "AuctionNotFound": []
    },
    {
      "ParameterParsingError": []
    },
    {
      "AuctionStillActive": []
    }
  ]
}
Return
None
Address
🗎<10258,0>


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