Vaulta

stackpresale

Contract

The data structures defined by this contract.

  • Table row type of globalvars

    {
      "name": "globalvar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Action parameter in setactive

    {
      "name": "setactive",
      "base": "",
      "fields": [
        {
          "name": "active",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setglobal

    {
      "name": "setglobal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setprice

    {
      "name": "setprice",
      "base": "",
      "fields": [
        {
          "name": "eosprice",
          "type": "asset"
        },
        {
          "name": "tokenprice",
          "type": "asset"
        }
      ]
    }
  • Table row type of tradetokens

    {
      "name": "tradetoken",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "symbol_code"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "eosprice",
          "type": "uint64"
        },
        {
          "name": "tokenprice",
          "type": "uint64"
        },
        {
          "name": "in",
          "type": "uint64"
        },
        {
          "name": "out",
          "type": "uint64"
        },
        {
          "name": "times",
          "type": "uint64"
        }
      ]
    }