Vaulta

candy.w

Contract

The data structures defined by this contract.

  • Action parameter in addtoken

    {
      "name": "addtoken",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "payer",
          "type": "name"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_getable",
          "type": "asset"
        },
        {
          "name": "min_getable",
          "type": "asset"
        }
      ]
    }
  • Table row type of comingsoon

    {
      "name": "comingsoon",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "lauch_time",
          "type": "time_point"
        }
      ]
    }
  • Action parameter in deleteglobal

    {
      "name": "deleteglobal",
      "base": "",
      "fields": []
    }
  • Action parameter in deletetoken

    {
      "name": "deletetoken",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in deleteuser

    {
      "name": "deleteuser",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "primary_key",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in edittoken

    {
      "name": "edittoken",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "payer",
          "type": "name"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_getable",
          "type": "asset"
        },
        {
          "name": "min_getable",
          "type": "asset"
        }
      ]
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "transfer_amount",
          "type": "uint64"
        },
        {
          "name": "for_special",
          "type": "bool"
        },
        {
          "name": "max_times",
          "type": "uint8"
        },
        {
          "name": "special_max_times",
          "type": "uint8"
        },
        {
          "name": "start_time",
          "type": "time_point"
        },
        {
          "name": "end_time",
          "type": "time_point"
        },
        {
          "name": "play_times",
          "type": "uint64"
        },
        {
          "name": "morning_low",
          "type": "uint64"
        },
        {
          "name": "morning_up",
          "type": "uint64"
        },
        {
          "name": "afternoon_low",
          "type": "uint64"
        },
        {
          "name": "afternoon_up",
          "type": "uint64"
        },
        {
          "name": "night_low",
          "type": "uint64"
        },
        {
          "name": "night_up",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in lauching

    {
      "name": "lauching",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "payer",
          "type": "name"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_getable",
          "type": "asset"
        },
        {
          "name": "min_getable",
          "type": "asset"
        },
        {
          "name": "lauch_time",
          "type": "time_point"
        }
      ]
    }
  • Action parameter in manureward

    {
      "name": "manureward",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "primary_key",
          "type": "uint64"
        }
      ]
    }
  • Table row type of reward

    {
      "name": "reward",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setglobal

    {
      "name": "setglobal",
      "base": "",
      "fields": [
        {
          "name": "transfer_amount",
          "type": "asset"
        },
        {
          "name": "for_special",
          "type": "bool"
        },
        {
          "name": "max_times",
          "type": "uint8"
        },
        {
          "name": "special_max_times",
          "type": "uint8"
        },
        {
          "name": "start_time",
          "type": "time_point"
        },
        {
          "name": "end_time",
          "type": "time_point"
        },
        {
          "name": "morning_low",
          "type": "uint64"
        },
        {
          "name": "morning_up",
          "type": "uint64"
        },
        {
          "name": "afternoon_low",
          "type": "uint64"
        },
        {
          "name": "afternoon_up",
          "type": "uint64"
        },
        {
          "name": "night_low",
          "type": "uint64"
        },
        {
          "name": "night_up",
          "type": "uint64"
        }
      ]
    }
  • Table row type of status

    {
      "name": "status",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "last_used_time",
          "type": "time_point"
        },
        {
          "name": "used_times",
          "type": "uint8"
        }
      ]
    }
  • Table row type of token

    {
      "name": "token",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "payer",
          "type": "name"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "paid",
          "type": "uint64"
        },
        {
          "name": "max_getable",
          "type": "uint32"
        },
        {
          "name": "min_getable",
          "type": "uint32"
        }
      ]
    }
  • Table row type of users

    {
      "name": "users",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        }
      ]
    }