Smart Contracts (Testnet)

Module: StateTest
back to overview
StateTest
Methods: 8
Instances: 1
Initialization

Parameters
{
  "v_account_address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "v_bool": "<Bool>",
  "v_enum": {
    "Enum": [
      {
        "First": []
      },
      {
        "Second": []
      }
    ]
  },
  "v_map_u8_u8": [
    [
      "<UInt8>",
      "<UInt8>"
    ]
  ],
  "v_string": "<String>",
  "v_string_t2": "<String>",
  "v_timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "v_u32": "<UInt32>",
  "v_u32_t2": "<UInt32>",
  "v_u8": "<UInt8>",
  "v_u8_t2": "<UInt8>",
  "v_vec_string": [
    "<String>"
  ]
}
Errors
None
Event
None
Methods

Parameters
None
Errors
None
Return
{
  "v_bool": "<Bool>",
  "v_enum": {
    "Enum": [
      {
        "First": []
      },
      {
        "Second": []
      }
    ]
  },
  "v_map_u8_u8": [
    [
      "<UInt8>",
      "<UInt8>"
    ]
  ],
  "v_string": "<String>",
  "v_string_t2": "<String>",
  "v_u32": "<UInt32>",
  "v_u32_t2": "<UInt32>",
  "v_u8": "<UInt8>",
  "v_u8_t2": "<UInt8>",
  "v_vec_string": [
    "<String>"
  ]
}

Parameters
None
Errors
None
Return
{
  "v_bool": "<Bool>"
}

Parameters
None
Errors
None
Return
{
  "v_u8": "<UInt8>"
}

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

Parameters
None
Errors
None
Return
{
  "v_string": "<String>",
  "v_u8": "<UInt8>"
}

Parameters
None
Errors
None
Return
{
  "v_u8": "<UInt8>",
  "v_u8_t2": "<UInt8>"
}

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

Parameters
None
Errors
None
Return
{
  "v_string": "<String>",
  "v_string_t2": "<String>"
}
Address
🗎<735,0>


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