Vaulta

blabberrefer

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "lock_set",
          "type": "bool"
        },
        {
          "name": "balance_locked_amount_0",
          "type": "int64"
        },
        {
          "name": "balance_locked_amount_1",
          "type": "int64"
        },
        {
          "name": "balance_locked_amount_2",
          "type": "int64"
        },
        {
          "name": "balance_locked_amount_3",
          "type": "int64"
        },
        {
          "name": "balance_locked_until_0",
          "type": "uint32"
        },
        {
          "name": "balance_locked_until_1",
          "type": "uint32"
        },
        {
          "name": "balance_locked_until_2",
          "type": "uint32"
        },
        {
          "name": "balance_locked_until_3",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "std_account",
          "type": "name"
        },
        {
          "name": "token_account",
          "type": "name"
        },
        {
          "name": "max_referrals",
          "type": "uint32"
        },
        {
          "name": "referral_bonus",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Table row type of referrals

    {
      "name": "referrals_table",
      "base": "",
      "fields": [
        {
          "name": "referred",
          "type": "uint64"
        },
        {
          "name": "payout_time",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in rwdpropro

    {
      "name": "rwdpropro",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "referred",
          "type": "name"
        },
        {
          "name": "nonce",
          "type": "string"
        }
      ]
    }
  • Action parameter in rwdprostd

    {
      "name": "rwdprostd",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "referred",
          "type": "public_key"
        },
        {
          "name": "nonce",
          "type": "string"
        }
      ]
    }
  • Action parameter in rwdstdpro

    {
      "name": "rwdstdpro",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "public_key"
        },
        {
          "name": "referred",
          "type": "name"
        },
        {
          "name": "nonce",
          "type": "string"
        }
      ]
    }
  • Action parameter in rwdstdstd

    {
      "name": "rwdstdstd",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "public_key"
        },
        {
          "name": "referred",
          "type": "public_key"
        },
        {
          "name": "nonce",
          "type": "string"
        }
      ]
    }
  • Table row type of settings

    {
      "name": "settings_s",
      "base": "",
      "fields": [
        {
          "name": "std_account",
          "type": "name"
        },
        {
          "name": "token_account",
          "type": "name"
        },
        {
          "name": "max_referrals",
          "type": "uint32"
        },
        {
          "name": "referral_bonus",
          "type": "asset"
        }
      ]
    }