Vaulta

lpr.defi

Contract

The data structures defined by this contract.

  • Action parameter in claimall

    {
      "name": "claimall",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • Action parameter in createpool

    {
      "name": "createpool",
      "base": "",
      "fields": [
        {
          "name": "reserve_id",
          "type": "uint64"
        },
        {
          "name": "reward_contract",
          "type": "name"
        },
        {
          "name": "reward_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in notifyclaim

    {
      "name": "notifyclaim",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "symbol_code"
        },
        {
          "name": "rewards",
          "type": "asset"
        }
      ]
    }
  • Table row type of pools

    {
      "name": "pool_item",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "reserve_id",
          "type": "uint64"
        },
        {
          "name": "lpc",
          "type": "symbol_code"
        },
        {
          "name": "bsym",
          "type": "symbol"
        },
        {
          "name": "btokens",
          "type": "uint64"
        },
        {
          "name": "reward_contract",
          "type": "name"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "acc_reward_per_share",
          "type": "uint128"
        }
      ]
    }
  • Action parameter in removepool

    {
      "name": "removepool",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rewards

    {
      "name": "reward_item",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "btokens",
          "type": "uint64"
        },
        {
          "name": "debt",
          "type": "uint64"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        }
      ]
    }
  • Table row type of tableid

    {
      "name": "tableid",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }