Vaulta

d.e.yield

Contract

The data structures defined by this contract.

  • Action parameter in approve

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

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "receiver",
          "type": "name?"
        },
        {
          "name": "evm_receiver",
          "type": "string?"
        }
      ]
    }
  • Action parameter in claimlog

    {
      "name": "claimlog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "evm_receiver",
          "type": "string"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config_row",
      "base": "",
      "fields": [
        {
          "name": "annual_rate",
          "type": "uint16"
        },
        {
          "name": "min_tvl_report",
          "type": "asset"
        },
        {
          "name": "max_tvl_report",
          "type": "asset"
        },
        {
          "name": "rewards",
          "type": "extended_symbol"
        },
        {
          "name": "oracle_contract",
          "type": "name"
        },
        {
          "name": "admin_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in contractslog

    {
      "name": "contractslog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "contracts",
          "type": "name[]"
        },
        {
          "name": "evm",
          "type": "string[]"
        }
      ]
    }
  • Action parameter in createlog

    {
      "name": "createlog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "metadata",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Action parameter in deny

    {
      "name": "deny",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        }
      ]
    }
  • Action parameter in eraselog

    {
      "name": "eraselog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        }
      ]
    }
  • Struct property of config_row

    Struct property of init

    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "rewards",
          "type": "extended_symbol"
        },
        {
          "name": "oracle_contract",
          "type": "name"
        },
        {
          "name": "admin_contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in metadatalog

    {
      "name": "metadatalog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "metadata",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Struct property of createlog

    Struct property of metadatalog

    Struct property of protocols_row

    Struct property of regprotocol

    Struct property of setmetadata

    {
      "name": "pair_name_string",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "name"
        },
        {
          "name": "second",
          "type": "string"
        }
      ]
    }
  • Table row type of protocols

    {
      "name": "protocols_row",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "contracts",
          "type": "name[]"
        },
        {
          "name": "evm_contracts",
          "type": "string[]"
        },
        {
          "name": "tvl",
          "type": "asset"
        },
        {
          "name": "usd",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "extended_asset"
        },
        {
          "name": "metadata",
          "type": "pair_name_string[]"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        },
        {
          "name": "claimed_at",
          "type": "time_point_sec"
        },
        {
          "name": "period_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in regprotocol

    {
      "name": "regprotocol",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "metadata",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Action parameter in report

    {
      "name": "report",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "period",
          "type": "time_point_sec"
        },
        {
          "name": "period_interval",
          "type": "uint32"
        },
        {
          "name": "tvl",
          "type": "asset"
        },
        {
          "name": "usd",
          "type": "asset"
        }
      ]
    }
  • Action parameter in rewardslog

    {
      "name": "rewardslog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "period",
          "type": "time_point_sec"
        },
        {
          "name": "period_interval",
          "type": "uint32"
        },
        {
          "name": "tvl",
          "type": "asset"
        },
        {
          "name": "usd",
          "type": "asset"
        },
        {
          "name": "rewards",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setcategory

    {
      "name": "setcategory",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        }
      ]
    }
  • Action parameter in setcontracts

    {
      "name": "setcontracts",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "contracts",
          "type": "name[]"
        },
        {
          "name": "evm_contracts",
          "type": "string[]"
        }
      ]
    }
  • Action parameter in setmetadata

    {
      "name": "setmetadata",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "metadata",
          "type": "pair_name_string[]"
        }
      ]
    }
  • Action parameter in setmetakey

    {
      "name": "setmetakey",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "string?"
        }
      ]
    }
  • Action parameter in setrate

    {
      "name": "setrate",
      "base": "",
      "fields": [
        {
          "name": "annual_rate",
          "type": "int16?"
        },
        {
          "name": "min_tvl_report",
          "type": "asset?"
        },
        {
          "name": "max_tvl_report",
          "type": "asset?"
        }
      ]
    }
  • Table row type of state

    {
      "name": "state_row",
      "base": "",
      "fields": [
        {
          "name": "active_protocols",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in statuslog

    {
      "name": "statuslog",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        },
        {
          "name": "status",
          "type": "name"
        }
      ]
    }
  • Action parameter in unregister

    {
      "name": "unregister",
      "base": "",
      "fields": [
        {
          "name": "protocol",
          "type": "name"
        }
      ]
    }