Vaulta

yfcdsssystem

Contract

The data structures defined by this contract.

  • Table row type of allocates

    {
      "name": "allocate",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "bufbal",
          "type": "asset"
        },
        {
          "name": "poolbal",
          "type": "asset"
        },
        {
          "name": "time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of args

    {
      "name": "args",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol_code"
        },
        {
          "name": "aprs",
          "type": "float64"
        },
        {
          "name": "last_drip",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in dsrexec

    {
      "name": "dsrexec",
      "base": "",
      "fields": []
    }
  • Table row type of holders

    {
      "name": "holder",
      "base": "",
      "fields": [
        {
          "name": "holder",
          "type": "name"
        },
        {
          "name": "bal",
          "type": "asset"
        },
        {
          "name": "pool",
          "type": "uint64"
        },
        {
          "name": "release_time",
          "type": "time_point_sec"
        },
        {
          "name": "last_drip",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of pools

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bonus",
          "type": "float64"
        },
        {
          "name": "refund_delay_sec",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setpool

    {
      "name": "setpool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bonus",
          "type": "float64"
        },
        {
          "name": "refund_delay_sec",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in withdraw

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