Vaulta

sparkletrccd

Contract

The data structures defined by this contract.

  • Table row type of settings

    {
      "name": "Config",
      "base": "",
      "fields": [
        {
          "name": "bridge_contract",
          "type": "name"
        },
        {
          "name": "sparklet_token_contract",
          "type": "name"
        },
        {
          "name": "sparklet_token_symbol",
          "type": "symbol"
        },
        {
          "name": "cooldown_time_min",
          "type": "uint32"
        }
      ]
    }
  • Table row type of reclaims

    {
      "name": "Reclaim",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "string"
        },
        {
          "name": "blockchain",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "initiated_at",
          "type": "time_point_sec?"
        }
      ]
    }
  • Action parameter in addreclaim

    {
      "name": "add_reclaim",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "destination_blockchain",
          "type": "name"
        },
        {
          "name": "destination_address",
          "type": "string"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in configure

    {
      "name": "configure",
      "base": "",
      "fields": [
        {
          "name": "bridge_contract",
          "type": "name"
        },
        {
          "name": "sparklet_token_contract",
          "type": "name"
        },
        {
          "name": "sparklet_token_symbol",
          "type": "symbol"
        },
        {
          "name": "colldown_time_min",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in pushtobridge

    {
      "name": "push_to_bridge",
      "base": "",
      "fields": [
        {
          "name": "reclaim_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in reject

    {
      "name": "reject_reclaim",
      "base": "",
      "fields": [
        {
          "name": "reclaim_id",
          "type": "uint64"
        }
      ]
    }