Vaulta

brdgext.xsat

Contract

{
  "version": "eosio::abi/1.2",
  "types": [
    {
      "new_type_name": "bridge_message_t",
      "type": "variant_bridge_message_v0"
    }
  ],
  "structs": [
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "dpybridgeext",
      "base": "",
      "fields": []
    },
    {
      "name": "helpers_t",
      "base": "",
      "fields": [
        {
          "name": "bridge_extension_helper_address",
          "type": "bytes"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "onbridgemsg",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "bridge_message_t"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "setbridgeext",
      "base": "",
      "fields": [
        {
          "name": "impl_address",
          "type": "string"
        }
      ]
    },
    {
      "name": "setgaslimit",
      "base": "",
      "fields": [
        {
          "name": "gaslimit",
          "type": "uint64?"
        },
        {
          "name": "init_gaslimit",
          "type": "uint64?"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "unregtoken",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "dpybridgeext",
      "type": "dpybridgeext",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "onbridgemsg",
      "type": "onbridgemsg",
      "ricardian_contract": ""
    },
    {
      "name": "regtoken",
      "type": "regtoken",
      "ricardian_contract": ""
    },
    {
      "name": "setbridgeext",
      "type": "setbridgeext",
      "ricardian_contract": ""
    },
    {
      "name": "setgaslimit",
      "type": "setgaslimit",
      "ricardian_contract": ""
    },
    {
      "name": "unregtoken",
      "type": "unregtoken",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config_t"
    },
    {
      "name": "helpers",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "helpers_t"
    },
    {
      "name": "tokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "token_t"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [
    {
      "name": "variant_bridge_message_v0",
      "types": [
        "bridge_message_v0"
      ]
    }
  ],
  "action_results": []
}