Vaulta

ttbbddttbbdd

Contract

The data structures defined by this contract.

  • Action parameter in calcuincome

    {
      "name": "calcuincome",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "childprofit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in emptyall

    {
      "name": "emptyall",
      "base": "",
      "fields": []
    }
  • Action parameter in givemininer

    {
      "name": "givemininer",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "packageid",
          "type": "uint64"
        },
        {
          "name": "giveid",
          "type": "uint16"
        },
        {
          "name": "givecount",
          "type": "int32"
        }
      ]
    }
  • Action parameter in init

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

    {
      "name": "modifypkg",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "interest",
          "type": "uint64"
        }
      ]
    }
  • Table row type of packages

    {
      "name": "packages",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "maxprofit",
          "type": "asset"
        },
        {
          "name": "children",
          "type": "uint8"
        },
        {
          "name": "during",
          "type": "uint64"
        },
        {
          "name": "interest",
          "type": "uint64"
        },
        {
          "name": "cpupower",
          "type": "uint64"
        },
        {
          "name": "isopen",
          "type": "bool"
        }
      ]
    }
  • Table row type of records

    {
      "name": "records",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "isgift",
          "type": "bool"
        },
        {
          "name": "pkgid",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "starttime",
          "type": "uint64"
        },
        {
          "name": "lasttime",
          "type": "uint64"
        },
        {
          "name": "endtime",
          "type": "uint64"
        },
        {
          "name": "interest",
          "type": "int64"
        },
        {
          "name": "cpupower",
          "type": "uint64"
        },
        {
          "name": "maxprofit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setpkgisopen

    {
      "name": "setpkgisopen",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "isopen",
          "type": "bool"
        }
      ]
    }
  • Action parameter in updatevip

    {
      "name": "updatevip",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "viplevel",
          "type": "int8"
        }
      ]
    }
  • Table row type of users

    {
      "name": "users",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "ids",
          "type": "uint64[]"
        },
        {
          "name": "gives",
          "type": "uint16[]"
        },
        {
          "name": "viplevel",
          "type": "int8"
        },
        {
          "name": "cpupower",
          "type": "uint64"
        },
        {
          "name": "childprofit",
          "type": "asset"
        },
        {
          "name": "totalrevenue",
          "type": "asset"
        },
        {
          "name": "maxrevenue",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }