Smart Contracts (Testnet)

Module: Bridge
back to overview
Bridge
Methods: 13
Instances: 2
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
{
  "Enum": [
    {
      "Intact": []
    },
    {
      "Smashed": []
    }
  ]
}

Parameters
{
  "amount": "<UInt64>",
  "deadline": "<UInt64>",
  "destination_address": "<String>",
  "destination_chain": "<String>",
  "gas_commission": "<UInt64>",
  "nonce": "<UInt32>",
  "signature": [
    "<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>",
    "<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>"
  ],
  "token_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "transaction_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "amount": "<UInt64>",
  "recipient": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "source_address": "<String>",
  "source_chain": "<String>",
  "token_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "transaction_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "amount": "<UInt64>",
  "commission": "<UInt64>",
  "nonce": "<UInt32>",
  "recipient": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "signature": [
    "<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>",
    "<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>"
  ],
  "token_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "transaction_id": "<UInt64>"
}
Errors
None
Return
None

Parameters
{
  "amount": "<UInt64>",
  "recipient": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
"<String>"
Errors
None
Return
None

Parameters
"<UInt64>"
Errors
None
Return
None

Parameters
None
Errors
None
Return
"<UInt64>"

Parameters
None
Errors
None
Return
"<String>"

Parameters
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}
Errors
None
Return
"<UInt64>"

Parameters
{
  "amount": "<UInt64>",
  "gas_commission": "<UInt64>"
}
Errors
None
Return
"<UInt64>"


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