Module Overview
Module Name secondary_market
Module Reference fe19b6f6cc
Verification Status Unverifiable
Age 185 days
Sender DjookyX
More Info
Deployed in block 31,626,342
Deployed in tx ed23
Methods 6
Contracts 1
Module Build Info
Verification Status:Unverifiable
Build Image Used:N/A
Build Command Used:N/A
Archive Hash:N/A
Link to Source Code:N/A
Explanation:No embedded build information found.
Module Schema
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "price": "<Amount in microCCD>",
  "token_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Std": []
    },
    {
      "SaleNotFound": []
    },
    {
      "NotEnoughFunds": []
    },
    {
      "TransferFailed": []
    },
    {
      "InvalidSender": []
    },
    {
      "InvalidInput": []
    },
    {
      "InvalidPaymentAmount": []
    },
    {
      "CcdTransferFailed": []
    },
    {
      "SaleNotActive": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
None

Parameters
{
  "sale_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Std": []
    },
    {
      "SaleNotFound": []
    },
    {
      "NotEnoughFunds": []
    },
    {
      "TransferFailed": []
    },
    {
      "InvalidSender": []
    },
    {
      "InvalidInput": []
    },
    {
      "InvalidPaymentAmount": []
    },
    {
      "CcdTransferFailed": []
    },
    {
      "SaleNotActive": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "next_sale_id": "<UInt64>",
  "sales": [
    [
      "<UInt64>",
      {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "price": "<Amount in microCCD>",
        "seller": "<AccountAddress>",
        "status": "<Bool>",
        "token_contract": {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        },
        "token_id": "<String with lowercase hex>"
      }
    ]
  ]
}

Parameters
"<UInt64>"
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "amount": "<String of size at most 74 containing an unsigned integer.>",
          "price": "<Amount in microCCD>",
          "seller": "<AccountAddress>",
          "status": "<Bool>",
          "token_contract": {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          "token_id": "<String with lowercase hex>"
        }
      ]
    }
  ]
}

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Std": []
    },
    {
      "SaleNotFound": []
    },
    {
      "NotEnoughFunds": []
    },
    {
      "TransferFailed": []
    },
    {
      "InvalidSender": []
    },
    {
      "InvalidInput": []
    },
    {
      "InvalidPaymentAmount": []
    },
    {
      "CcdTransferFailed": []
    },
    {
      "SaleNotActive": []
    }
  ]
}
Return
None
Module Usage