Vaulta

brdgext.xsat

Contract

The data structures defined by this contract.

  • {
      "name": "bridge_message_v0",
      "base": "",
      "fields": [
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "sender",
          "type": "bytes"
        },
        {
          "name": "timestamp",
          "type": "time_point"
        },
        {
          "name": "value",
          "type": "bytes"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config_t",
      "base": "",
      "fields": [
        {
          "name": "evm_gaslimit",
          "type": "uint64"
        },
        {
          "name": "evm_init_gaslimit",
          "type": "uint64"
        },
        {
          "name": "evm_account",
          "type": "name"
        },
        {
          "name": "evm_gas_token_contract",
          "type": "name"
        },
        {
          "name": "evm_gas_token_symbol",
          "type": "symbol"
        },
        {
          "name": "evm_gas_token_evm_precision",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in dpybridgeext

    {
      "name": "dpybridgeext",
      "base": "",
      "fields": []
    }
  • Table row type of helpers

    {
      "name": "helpers_t",
      "base": "",
      "fields": [
        {
          "name": "bridge_extension_helper_address",
          "type": "bytes"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "evm_account",
          "type": "name"
        },
        {
          "name": "gas_token_contract",
          "type": "name"
        },
        {
          "name": "gas_token_symbol",
          "type": "symbol"
        },
        {
          "name": "gas_evm_precision",
          "type": "uint64"
        },
        {
          "name": "gaslimit",
          "type": "uint64"
        },
        {
          "name": "init_gaslimit",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in onbridgemsg

    {
      "name": "onbridgemsg",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "bridge_message_t"
        }
      ]
    }
  • Action parameter in regtoken

    {
      "name": "regtoken",
      "base": "",
      "fields": [
        {
          "name": "token_address",
          "type": "string"
        },
        {
          "name": "portal_address",
          "type": "string"
        },
        {
          "name": "erc20_precision",
          "type": "uint8"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in setbridgeext

    {
      "name": "setbridgeext",
      "base": "",
      "fields": [
        {
          "name": "impl_address",
          "type": "string"
        }
      ]
    }
  • Action parameter in setgaslimit

    {
      "name": "setgaslimit",
      "base": "",
      "fields": [
        {
          "name": "gaslimit",
          "type": "uint64?"
        },
        {
          "name": "init_gaslimit",
          "type": "uint64?"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "token_t",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_address",
          "type": "bytes"
        },
        {
          "name": "portal_address",
          "type": "bytes"
        },
        {
          "name": "erc20_precision",
          "type": "uint8"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in unregtoken

    {
      "name": "unregtoken",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }