Smart Contracts

Module: aesirx_web3_sponsorship_v1_0_0
back to overview
aesirx_web3_sponsorship_v1_0_0
Methods: 14
Instances: 1
Initialization

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

Parameters
None
Errors
None
Return
{
  "all_nonces": [
    [
      "<AccountAddress>",
      "<UInt64>"
    ]
  ],
  "sopid_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}

Parameters
{
  "sopid": "<String>",
  "token": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "sopid_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  "<AccountAddress>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<UInt64>"
]

Parameters
[
  "<String>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "queries": [
    "<String>"
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "id": "<String>",
  "implementors": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "Unauthorized": []
            },
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidSoPId": []
            },
            {
              "InsufficientFunds": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "message": {
    "contract_address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "entry_point": "<String>",
    "nonce": "<UInt64>",
    "payload": [
      "<UInt8>"
    ],
    "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
  },
  "signature": [
    [
      "<UInt8>",
      [
        [
          "<UInt8>",
          {
            "Enum": [
              {
                "Ed25519": [
                  "<String of size 128 containing lowercase hex characters.>"
                ]
              }
            ]
          }
        ]
      ]
    ]
  ],
  "signer": "<AccountAddress>"
}
Errors
None
Return
[
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>"
]

Parameters
{
  "message": {
    "contract_address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "entry_point": "<String>",
    "nonce": "<UInt64>",
    "payload": [
      "<UInt8>"
    ],
    "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
  },
  "signature": [
    [
      "<UInt8>",
      [
        [
          "<UInt8>",
          {
            "Enum": [
              {
                "Ed25519": [
                  "<String of size 128 containing lowercase hex characters.>"
                ]
              }
            ]
          }
        ]
      ]
    ]
  ],
  "signer": "<AccountAddress>"
}
Errors
None
Return
None

Parameters
{
  "contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "entry_point": "<String>",
  "nonce": "<UInt64>",
  "payload": [
    "<UInt8>"
  ],
  "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None
Address
🗎<9378,0>


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