Smart Contracts (Testnet)

Module: aesirx_web3_whitelist_local_v_2_0_3
back to overview
aesirx_web3_whitelist_local_v_2_0_3
Methods: 5
Instances: 1
Initialization

Parameters
None
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": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "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": []
    },
    {
      "Web3IdContractNotSet": []
    }
  ]
}
Return
None

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

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

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


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