Vaulta

bananalocked

Contract

The data structures defined by this contract.

  • Table row type of reserves

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Struct property of actionproof

    {
      "name": "action",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "authorization",
          "type": "permission_level[]"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Struct property of cancela

    Struct property of cancelb

    Struct property of withdrawa

    Struct property of withdrawb

    {
      "name": "actionproof",
      "base": "",
      "fields": [
        {
          "name": "action",
          "type": "action"
        },
        {
          "name": "receipt",
          "type": "actreceipt"
        },
        {
          "name": "returnvalue",
          "type": "bytes"
        },
        {
          "name": "amproofpath",
          "type": "checksum256[]"
        }
      ]
    }
  • Struct property of actionproof

    {
      "name": "actreceipt",
      "base": "",
      "fields": [
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "act_digest",
          "type": "checksum256"
        },
        {
          "name": "global_sequence",
          "type": "uint64"
        },
        {
          "name": "recv_sequence",
          "type": "uint64"
        },
        {
          "name": "auth_sequence",
          "type": "authseq[]"
        },
        {
          "name": "code_sequence",
          "type": "varuint32"
        },
        {
          "name": "abi_sequence",
          "type": "varuint32"
        }
      ]
    }
  • Action parameter in addcontract

    {
      "name": "addcontract",
      "base": "",
      "fields": [
        {
          "name": "native_token_contract",
          "type": "name"
        },
        {
          "name": "paired_wraptoken_contract",
          "type": "name"
        }
      ]
    }
  • Struct property of heavyproof

    {
      "name": "anchorblock",
      "base": "",
      "fields": [
        {
          "name": "block",
          "type": "sblockheader"
        },
        {
          "name": "active_nodes",
          "type": "uint16[]"
        },
        {
          "name": "node_count",
          "type": "uint64"
        }
      ]
    }
  • Struct property of actreceipt

    {
      "name": "authseq",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "sequence",
          "type": "uint64"
        }
      ]
    }
  • Struct property of lightproof

    Struct property of sblockheader

    {
      "name": "blockheader",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "block_timestamp_type"
        },
        {
          "name": "producer",
          "type": "name"
        },
        {
          "name": "confirmed",
          "type": "uint16"
        },
        {
          "name": "previous",
          "type": "checksum256"
        },
        {
          "name": "transaction_mroot",
          "type": "checksum256"
        },
        {
          "name": "action_mroot",
          "type": "checksum256"
        },
        {
          "name": "schedule_version",
          "type": "uint32"
        },
        {
          "name": "new_producers",
          "type": "producer_schedule?"
        },
        {
          "name": "header_extensions",
          "type": "pair_uint16_bytes[]"
        }
      ]
    }
  • Action parameter in cancela

    {
      "name": "cancela",
      "base": "",
      "fields": [
        {
          "name": "prover",
          "type": "name"
        },
        {
          "name": "blockproof",
          "type": "heavyproof"
        },
        {
          "name": "actionproof",
          "type": "actionproof"
        }
      ]
    }
  • Action parameter in cancelb

    {
      "name": "cancelb",
      "base": "",
      "fields": [
        {
          "name": "prover",
          "type": "name"
        },
        {
          "name": "blockproof",
          "type": "lightproof"
        },
        {
          "name": "actionproof",
          "type": "actionproof"
        }
      ]
    }
  • Table row type of contractmap

    {
      "name": "contract_mapping",
      "base": "",
      "fields": [
        {
          "name": "native_token_contract",
          "type": "name"
        },
        {
          "name": "paired_wraptoken_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in delcontract

    {
      "name": "delcontract",
      "base": "",
      "fields": [
        {
          "name": "native_token_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in disable

    {
      "name": "disable",
      "base": "",
      "fields": []
    }
  • Action parameter in emitxfer

    {
      "name": "emitxfer",
      "base": "",
      "fields": [
        {
          "name": "xfer",
          "type": "xfer"
        }
      ]
    }
  • Action parameter in enable

    {
      "name": "enable",
      "base": "",
      "fields": []
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "chain_id",
          "type": "checksum256"
        },
        {
          "name": "bridge_contract",
          "type": "name"
        },
        {
          "name": "paired_chain_id",
          "type": "checksum256"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Struct property of cancela

    Struct property of hpstruct

    Struct property of withdrawa

    {
      "name": "heavyproof",
      "base": "",
      "fields": [
        {
          "name": "chain_id",
          "type": "checksum256"
        },
        {
          "name": "hashes",
          "type": "checksum256[]"
        },
        {
          "name": "blocktoprove",
          "type": "anchorblock"
        },
        {
          "name": "bftproof",
          "type": "sblockheader[]"
        }
      ]
    }
  • Table row type of heavyproof

    {
      "name": "hpstruct",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "hp",
          "type": "heavyproof"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "chain_id",
          "type": "checksum256"
        },
        {
          "name": "bridge_contract",
          "type": "name"
        },
        {
          "name": "paired_chain_id",
          "type": "checksum256"
        }
      ]
    }
  • Struct property of cancelb

    Struct property of lpstruct

    Struct property of withdrawb

    {
      "name": "lightproof",
      "base": "",
      "fields": [
        {
          "name": "chain_id",
          "type": "checksum256"
        },
        {
          "name": "header",
          "type": "blockheader"
        },
        {
          "name": "root",
          "type": "checksum256"
        },
        {
          "name": "bmproofpath",
          "type": "checksum256[]"
        }
      ]
    }
  • Table row type of lightproof

    {
      "name": "lpstruct",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "lp",
          "type": "lightproof"
        }
      ]
    }
  • Struct property of blockheader

    {
      "name": "pair_uint16_bytes",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "uint16"
        },
        {
          "name": "second",
          "type": "bytes"
        }
      ]
    }
  • Struct property of action

    {
      "name": "permission_level",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "permission",
          "type": "name"
        }
      ]
    }
  • Table row type of processed

    {
      "name": "processed",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "receipt_digest",
          "type": "checksum256"
        }
      ]
    }
  • Struct property of producer_schedule

    {
      "name": "producer_key",
      "base": "",
      "fields": [
        {
          "name": "producer_name",
          "type": "name"
        },
        {
          "name": "block_signing_key",
          "type": "public_key"
        }
      ]
    }
  • Struct property of blockheader

    {
      "name": "producer_schedule",
      "base": "",
      "fields": [
        {
          "name": "version",
          "type": "uint32"
        },
        {
          "name": "producers",
          "type": "producer_key[]"
        }
      ]
    }
  • Struct property of anchorblock

    Struct property of heavyproof

    {
      "name": "sblockheader",
      "base": "",
      "fields": [
        {
          "name": "header",
          "type": "blockheader"
        },
        {
          "name": "producer_signatures",
          "type": "signature[]"
        },
        {
          "name": "previous_bmroot",
          "type": "checksum256"
        },
        {
          "name": "bmproofpath",
          "type": "uint16[]"
        }
      ]
    }
  • Action parameter in withdrawa

    {
      "name": "withdrawa",
      "base": "",
      "fields": [
        {
          "name": "prover",
          "type": "name"
        },
        {
          "name": "blockproof",
          "type": "heavyproof"
        },
        {
          "name": "actionproof",
          "type": "actionproof"
        }
      ]
    }
  • Action parameter in withdrawb

    {
      "name": "withdrawb",
      "base": "",
      "fields": [
        {
          "name": "prover",
          "type": "name"
        },
        {
          "name": "blockproof",
          "type": "lightproof"
        },
        {
          "name": "actionproof",
          "type": "actionproof"
        }
      ]
    }
  • Struct property of emitxfer

    Table row type of xfer

    {
      "name": "xfer",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        },
        {
          "name": "beneficiary",
          "type": "name"
        }
      ]
    }