Vaulta

everstbridge

Contract

The data structures defined by this contract.

  • Table row type of bridgeassets

    {
      "name": "BridgeAsset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "counterpart_contract",
          "type": "string"
        },
        {
          "name": "eos_contract",
          "type": "name"
        },
        {
          "name": "eos_symbol",
          "type": "symbol"
        },
        {
          "name": "pow10_rate",
          "type": "int8"
        },
        {
          "name": "liquidity_source",
          "type": "name"
        }
      ]
    }
  • Table row type of brdgbalance

    {
      "name": "BridgeBalance",
      "base": "",
      "fields": [
        {
          "name": "bridge_id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of historytrx

    {
      "name": "HistoryTrx",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "transaction",
          "type": "checksum256"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "created_at",
          "type": "time_point"
        }
      ]
    }
  • Table row type of settings

    {
      "name": "Settings",
      "base": "",
      "fields": [
        {
          "name": "history_lifetime",
          "type": "uint64"
        }
      ]
    }
  • Table row type of transfers

    {
      "name": "TransferedAsset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in addbcasset

    {
      "name": "addbcasset",
      "base": "",
      "fields": [
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "counterpart_contract",
          "type": "string"
        },
        {
          "name": "eos_contract",
          "type": "name"
        },
        {
          "name": "eos_symbol",
          "type": "symbol"
        },
        {
          "name": "pow10_rate",
          "type": "int8"
        },
        {
          "name": "liquidity_source",
          "type": "name"
        }
      ]
    }
  • Action parameter in bridgein

    {
      "name": "bridgein",
      "base": "",
      "fields": [
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "eos_contract",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "string"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in bridgeout

    {
      "name": "bridgeout",
      "base": "",
      "fields": [
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "counterpart_contract",
          "type": "string"
        },
        {
          "name": "counterpart_trx",
          "type": "checksum256"
        },
        {
          "name": "from",
          "type": "string"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "string"
        }
      ]
    }
  • Action parameter in cleanhist

    {
      "name": "cleanhist",
      "base": "",
      "fields": [
        {
          "name": "amount",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in incfund

    {
      "name": "incfund",
      "base": "",
      "fields": [
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "eos_contract",
          "type": "name"
        },
        {
          "name": "liquidity_source",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in inlog

    {
      "name": "inlog",
      "base": "",
      "fields": [
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "counterpart_contract",
          "type": "string"
        },
        {
          "name": "eos_contract",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "string"
        },
        {
          "name": "quantity_original",
          "type": "asset"
        },
        {
          "name": "quantity_out",
          "type": "string"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in rembcasset

    {
      "name": "rembcasset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in sethistlife

    {
      "name": "sethistlife",
      "base": "",
      "fields": [
        {
          "name": "seconds",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }