Vaulta

claimlongmen

Contract

The data structures defined by this contract.

  • Action parameter in addbatch

    {
      "name": "addbatch",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "release_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in adduser

    {
      "name": "adduser",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in adduserbatch

    {
      "name": "adduserbatch",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "batch_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of batch

    {
      "name": "batch",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "release_time",
          "type": "uint64"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "uuid",
          "type": "string"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "to_claim",
          "type": "asset"
        }
      ]
    }
  • Table row type of claimrecord

    {
      "name": "claim_record",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "uuid",
          "type": "string"
        },
        {
          "name": "uuid_hash",
          "type": "checksum256"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "status",
          "type": "uint64"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": []
    }
  • Action parameter in delbatch

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

    {
      "name": "deluser",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in deluserbatch

    {
      "name": "deluserbatch",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "batch_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setclaimable

    {
      "name": "setclaimable",
      "base": "",
      "fields": [
        {
          "name": "claimable",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setdebug

    {
      "name": "setdebug",
      "base": "",
      "fields": [
        {
          "name": "debug_mode",
          "type": "bool"
        }
      ]
    }
  • Table row type of settings

    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "claimable",
          "type": "bool"
        },
        {
          "name": "debug_mode",
          "type": "bool"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Table row type of user

    {
      "name": "user",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "memo_hash",
          "type": "checksum256"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Table row type of userbatch

    {
      "name": "user_batch",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "batch_id",
          "type": "uint64"
        },
        {
          "name": "user_batch_key",
          "type": "checksum256"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }