Vaulta

shares2token

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "inittoken",
      "base": "",
      "fields": [
        {
          "name": "market_id",
          "type": "uint64"
        },
        {
          "name": "sharetype",
          "type": "uint64"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "maptoken",
      "base": "",
      "fields": [
        {
          "name": "market_id",
          "type": "uint64"
        },
        {
          "name": "sharetype",
          "type": "uint64"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "marketasset",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "marketstate",
      "base": "",
      "fields": [
        {
          "name": "state",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "inittoken",
      "type": "inittoken",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: Close Token Balance\nsummary: 'inittoken'\nicon: /\n---\n\ninittoken"
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "account"
    },
    {
      "name": "maptokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "maptoken"
    },
    {
      "name": "marketasset",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "marketasset"
    },
    {
      "name": "marketstate",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "marketstate"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}