Vaulta

dgame5555555

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in allocate

    {
      "name": "allocate",
      "base": "",
      "fields": []
    }
  • Action parameter in buy

    {
      "name": "buy",
      "base": "",
      "fields": [
        {
          "name": "customer",
          "type": "name"
        },
        {
          "name": "issue",
          "type": "uint64"
        },
        {
          "name": "numbers",
          "type": "uint8[]"
        },
        {
          "name": "quantity",
          "type": "uint64"
        }
      ]
    }
  • Table row type of items

    {
      "name": "item",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "sales",
          "type": "uint64"
        }
      ]
    }
  • Table row type of orders

    {
      "name": "order",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "uint128"
        }
      ]
    }
  • Action parameter in provide

    {
      "name": "provide",
      "base": "",
      "fields": [
        {
          "name": "provider",
          "type": "name"
        },
        {
          "name": "issue",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  • Table row type of providers

    {
      "name": "provider",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "sales",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in receive

    {
      "name": "receive",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Table row type of results

    {
      "name": "result",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "issue",
          "type": "uint64"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "uint64"
        },
        {
          "name": "prize",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in settle

    {
      "name": "settle",
      "base": "",
      "fields": [
        {
          "name": "number",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in start

    {
      "name": "start",
      "base": "",
      "fields": [
        {
          "name": "issue",
          "type": "uint64"
        },
        {
          "name": "publication_date",
          "type": "uint64"
        }
      ]
    }
  • Table row type of stats

    {
      "name": "stats",
      "base": "",
      "fields": [
        {
          "name": "issue",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "sales",
          "type": "uint64"
        },
        {
          "name": "orders",
          "type": "uint64"
        },
        {
          "name": "provider_orders",
          "type": "uint64"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "publication_date",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in update

    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "publication_date",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "uint64"
        }
      ]
    }