Smart Contracts (Testnet)

Module: smart_contract_test_bench
back to overview
smart_contract_test_bench
Methods: 44
Instances: 23
Initialization

Parameters
"<UInt16>"
Errors
None
Event
None
Methods

Parameters
"<UInt8>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<UInt8>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<UInt8>"

Parameters
"<UInt16>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<UInt16>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<UInt16>"

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

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

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

Parameters
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<AccountAddress>"

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<String of size 64 containing lowercase hex characters.>"

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<String of size 64 containing lowercase hex characters.>"

Parameters
"<String of size 128 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<String of size 128 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<String of size 128 containing lowercase hex characters.>"

Parameters
"<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
"<String>"

Parameters
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        "<UInt8>"
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        "<UInt8>"
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        "<UInt8>"
      ]
    }
  ]
}

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

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

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

Parameters
{
  "account_address_value": "<AccountAddress>",
  "address_array": [
    {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  ],
  "address_value": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "contract_address_value": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "hash_value": "<String of size 64 containing lowercase hex characters.>",
  "option_value": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt8>"
        ]
      }
    ]
  },
  "public_key_value": "<String of size 64 containing lowercase hex characters.>",
  "signature_value": "<String of size 128 containing lowercase hex characters.>",
  "string_value": "<String>",
  "timestamp_value": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "u16_value": "<UInt16>",
  "u8_value": "<UInt8>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
{
  "account_address_value": "<AccountAddress>",
  "address_array": [
    {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  ],
  "address_value": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "contract_address_value": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "hash_value": "<String of size 64 containing lowercase hex characters.>",
  "option_value": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt8>"
        ]
      }
    ]
  },
  "public_key_value": "<String of size 64 containing lowercase hex characters.>",
  "signature_value": "<String of size 128 containing lowercase hex characters.>",
  "string_value": "<String>",
  "timestamp_value": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "u16_value": "<UInt16>",
  "u8_value": "<UInt8>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
{
  "account_address_value": "<AccountAddress>",
  "address_array": [
    {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  ],
  "address_value": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "contract_address_value": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "hash_value": "<String of size 64 containing lowercase hex characters.>",
  "option_value": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt8>"
        ]
      }
    ]
  },
  "public_key_value": "<String of size 64 containing lowercase hex characters.>",
  "signature_value": "<String of size 128 containing lowercase hex characters.>",
  "string_value": "<String>",
  "timestamp_value": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "u16_value": "<UInt16>",
  "u8_value": "<UInt8>"
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "SmartContractReverts": []
    },
    {
      "InvokeError": []
    }
  ]
}
Return
{
  "account_address_value": "<AccountAddress>",
  "address_array": [
    {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  ],
  "address_value": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "contract_address_value": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "hash_value": "<String of size 64 containing lowercase hex characters.>",
  "option_value": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt8>"
        ]
      }
    ]
  },
  "public_key_value": "<String of size 64 containing lowercase hex characters.>",
  "signature_value": "<String of size 128 containing lowercase hex characters.>",
  "string_value": "<String>",
  "timestamp_value": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "u16_value": "<UInt16>",
  "u8_value": "<UInt8>"
}


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