Smart Contracts

Module: aesirx_web3_whitelist
back to overview
aesirx_web3_whitelist
Methods: 5
Instances: 0
Initialization

Parameters
{
  "payment": "<UInt64>",
  "web3id_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Event
None
Methods

Parameters
None
Errors
None
Return
{
  "all_web3ids": [
    "<String>"
  ],
  "paid_web3ids": [
    "<String>"
  ],
  "payment": "<UInt64>",
  "state": [
    [
      "<String>",
      {
        "operators": [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        ],
        "token": "<String with lowercase hex>"
      }
    ]
  ],
  "web3id_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}

Parameters
{
  "operator": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token": "<String with lowercase hex>",
  "web3id": "<String>"
}
Errors
{
  "Enum": [
    {
      "Unauthorized": []
    },
    {
      "ParseParams": []
    },
    {
      "TokenIdAlreadyExists": []
    },
    {
      "Web3IdAlreadyExists": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidWeb3Id": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Web3IdUnpaid": []
    },
    {
      "Web3IdUnregistered": []
    }
  ]
}
Return
None

Parameters
{
  "web3id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "web3id": "<String>"
}
Errors
{
  "Enum": [
    {
      "Unauthorized": []
    },
    {
      "ParseParams": []
    },
    {
      "TokenIdAlreadyExists": []
    },
    {
      "Web3IdAlreadyExists": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidWeb3Id": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Web3IdUnpaid": []
    },
    {
      "Web3IdUnregistered": []
    }
  ]
}
Return
None

Parameters
{
  "payment": "<UInt64>",
  "web3id_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "Unauthorized": []
    },
    {
      "ParseParams": []
    },
    {
      "TokenIdAlreadyExists": []
    },
    {
      "Web3IdAlreadyExists": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidWeb3Id": []
    },
    {
      "InvokeTransferError": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Web3IdUnpaid": []
    },
    {
      "Web3IdUnregistered": []
    }
  ]
}
Return
None
Address
🗎<8603,0>


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