Smart Contracts (Testnet)

Module: trader
back to overview
trader
Methods: 14
Instances: 2
Initialization

Parameters
{
  "inventory": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "tax_percent": "<UInt64>"
}
Errors
None
Event
None
Methods

Parameters
{
  "inventory": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "tax_percent": "<UInt64>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
{
  "amount": "<Amount in microCCD>",
  "recipient": "<AccountAddress>"
}
Errors
None
Return
None

Parameters
{
  "royalty_percent": "<UInt64>",
  "token_id": "<UInt64>",
  "url": "<String>"
}
Errors
None
Return
None

Parameters
{
  "price": "<Amount in microCCD>",
  "token_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "price": "<Amount in microCCD>",
  "royalty_percent": "<UInt64>",
  "token_id": "<UInt64>",
  "url": "<String>"
}
Errors
None
Return
None

Parameters
{
  "creator": "<AccountAddress>",
  "royalty_percent": "<UInt64>",
  "token_id": "<UInt64>",
  "url": "<String>"
}
Errors
None
Return
None

Parameters
{
  "creator": "<AccountAddress>",
  "receiver": "<AccountAddress>",
  "royalty_percent": "<UInt64>",
  "token_id": "<UInt64>",
  "url": "<String>"
}
Errors
None
Return
None

Parameters
{
  "token_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "receiver": "<AccountAddress>",
  "token_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "token_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "token_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "sender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": "<UInt64>"
}
Errors
None
Return
None


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