Smart Contracts (Testnet)

Module: sponsored_tx_enabled_auction
back to overview
sponsored_tx_enabled_auction
Methods: 6
Instances: 2
Initialization

Parameters
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}
Errors
None
Event
{
  "Enum": [
    {
      "AddItemEvent": {
        "item_index": "<UInt16>"
      }
    }
  ]
}
Methods

Parameters
{
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "minimum_bid": "<String of size at most 74 containing an unsigned integer.>",
  "name": "<String>",
  "start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
None

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "data": "<UInt16>",
  "from": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "StartEndTimeError": []
    },
    {
      "EndTimeError": []
    },
    {
      "OnlyAccount": []
    },
    {
      "BidNotGreaterCurrentBid": []
    },
    {
      "BidTooLate": []
    },
    {
      "AuctionAlreadyFinalized": []
    },
    {
      "NoItem": []
    },
    {
      "AuctionStillActive": []
    },
    {
      "NotTokenContract": []
    },
    {
      "WrongTokenID": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": []
    },
    {
      "Trap": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    }
  ]
}
Return
None

Parameters
"<UInt16>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "StartEndTimeError": []
    },
    {
      "EndTimeError": []
    },
    {
      "OnlyAccount": []
    },
    {
      "BidNotGreaterCurrentBid": []
    },
    {
      "BidTooLate": []
    },
    {
      "AuctionAlreadyFinalized": []
    },
    {
      "NoItem": []
    },
    {
      "AuctionStillActive": []
    },
    {
      "NotTokenContract": []
    },
    {
      "WrongTokenID": []
    },
    {
      "InvokeContractError": []
    },
    {
      "ParseResult": []
    },
    {
      "InvalidResponse": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": []
    },
    {
      "Trap": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "cis2_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "counter": "<UInt16>",
  "item_states": [
    [
      "<UInt16>",
      {
        "auction_state": {
          "Enum": [
            {
              "NotSoldYet": []
            },
            {
              "Sold": [
                "<AccountAddress>"
              ]
            }
          ]
        },
        "creator": "<AccountAddress>",
        "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "highest_bid": "<String of size at most 74 containing an unsigned integer.>",
        "highest_bidder": {
          "Enum": [
            {
              "None": []
            },
            {
              "Some": [
                "<AccountAddress>"
              ]
            }
          ]
        },
        "name": "<String>",
        "start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "token_id": "<String with lowercase hex>"
      }
    ]
  ]
}

Parameters
"<UInt16>"
Errors
None
Return
{
  "auction_state": {
    "Enum": [
      {
        "NotSoldYet": []
      },
      {
        "Sold": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "creator": "<AccountAddress>",
  "end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "highest_bid": "<String of size at most 74 containing an unsigned integer.>",
  "highest_bidder": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "name": "<String>",
  "start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token_id": "<String with lowercase hex>"
}

Parameters
"<UInt16>"
Errors
None
Return
None


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