Vaulta

allaglobalio

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of accountslock

    {
      "name": "accountslock",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in adduser

    {
      "name": "adduser",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Table row type of counter

    {
      "name": "counter",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "counter",
          "type": "uint64"
        }
      ]
    }
  • Table row type of coupon.req

    {
      "name": "coupon_req",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "created_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in couponapprov

    {
      "name": "couponapprov",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "is_approved",
          "type": "bool"
        }
      ]
    }
  • Action parameter in couponbuy

    {
      "name": "couponbuy",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in couponcancel

    {
      "name": "couponcancel",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in couponreq

    {
      "name": "couponreq",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stat",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Action parameter in deposit

    {
      "name": "deposit",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in endproduct

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

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "withdrawal_fee",
          "type": "uint64"
        },
        {
          "name": "referral_fee",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "referral_amount",
          "type": "asset"
        },
        {
          "name": "interest_amount",
          "type": "asset"
        },
        {
          "name": "withdraw_amount",
          "type": "asset"
        },
        {
          "name": "lockup_amount",
          "type": "asset"
        },
        {
          "name": "liabilities_amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in initcontract

    {
      "name": "initcontract",
      "base": "",
      "fields": [
        {
          "name": "withdrawal_fee",
          "type": "uint64"
        },
        {
          "name": "referral_fee",
          "type": "uint64"
        },
        {
          "name": "sym",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in initglobalva

    {
      "name": "initglobalva",
      "base": "",
      "fields": [
        {
          "name": "mode",
          "type": "int32"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in lock

    {
      "name": "lock",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in mergeprod

    {
      "name": "mergeprod",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in mkproduct

    {
      "name": "mkproduct",
      "base": "",
      "fields": [
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "rate",
          "type": "uint64"
        },
        {
          "name": "period",
          "type": "uint64"
        },
        {
          "name": "interest_period",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "asset"
        },
        {
          "name": "unit",
          "type": "asset"
        },
        {
          "name": "pre_fee",
          "type": "asset"
        },
        {
          "name": "lockup_rate",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in payment

    {
      "name": "payment",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "next_payment_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in payment2

    {
      "name": "payment2",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of payment.log

    {
      "name": "payment_log",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of product.info

    {
      "name": "product_info",
      "base": "",
      "fields": [
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "product_period",
          "type": "uint64"
        },
        {
          "name": "interest_rate",
          "type": "uint64"
        },
        {
          "name": "interest_period",
          "type": "uint64"
        },
        {
          "name": "lockup_rate",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "asset"
        },
        {
          "name": "unit",
          "type": "asset"
        },
        {
          "name": "invested",
          "type": "asset"
        },
        {
          "name": "pre_fee",
          "type": "asset"
        },
        {
          "name": "sequence",
          "type": "int32"
        }
      ]
    }
  • Table row type of product.user

    {
      "name": "product_users",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "total_interest",
          "type": "asset"
        },
        {
          "name": "remain_interest",
          "type": "asset"
        },
        {
          "name": "lockup_interest",
          "type": "asset"
        },
        {
          "name": "total_count",
          "type": "int32"
        },
        {
          "name": "remain_count",
          "type": "int32"
        },
        {
          "name": "created_at",
          "type": "uint64"
        },
        {
          "name": "expired_at",
          "type": "uint64"
        },
        {
          "name": "next_payment_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of referral

    {
      "name": "referral",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in referralto

    {
      "name": "referralto",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in removelog

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

    {
      "name": "removelogs",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in retire

    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in rmpayment2

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

    {
      "name": "rmpayment2s",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in rmproduct

    {
      "name": "rmproduct",
      "base": "",
      "fields": [
        {
          "name": "product_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmproductusr

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

    {
      "name": "subscription",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in transferto

    {
      "name": "transferto",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of tx.log

    {
      "name": "tx_log",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "int32"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "tx_id",
          "type": "checksum256"
        },
        {
          "name": "created_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in unlock

    {
      "name": "unlock",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in unsubscript

    {
      "name": "unsubscript",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "rate",
          "type": "uint64"
        }
      ]
    }
  • Table row type of users

    {
      "name": "users",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "referral",
          "type": "name"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }