Vaulta

d.e.yield

Contract

The actions for this contract with their input parameters and potential response data.

  • Approve

    Approves the {{protocol}} protocol for the Yield+ rewards program.

    Request Parameters
    protocol name
  • Claim

    Claims the Yield+ rewards for the {{protocol}} protocol.

    Request Parameters
    protocol name
    receiver name?
    evm_receiver string?
  • Claim Log

    Generates a log each time Yield+ rewards are claimed.

    Request Parameters
    protocol name
    category name
    receiver name
    evm_receiver string
    claimed asset
    balance asset
  • Request Parameters
    protocol name
    status name
    contracts name[]
    evm string[]
  • Create Log

    Generates a log when a protocol is created.

    Request Parameters
    protocol name
    status name
    category name
    metadata pair_name_string[]
  • Deny

    Denies the {{protocol}} protocol for the Yield+ rewards program.

    Request Parameters
    protocol name
  • Erase Log

    Generates a log when a protocol is erased.

    Request Parameters
    protocol name
  • init

    Initialize the rewards contract

    Request Parameters
    rewards extended_symbol
    oracle_contract name
    admin_contract name
  • Request Parameters
    protocol name
    status name
    category name
    metadata pair_name_string[]
  • Register Protocol

    Register the {{protocol}} protocol.

    Request Parameters
    protocol name
    category name
    metadata pair_name_string[]
  • Report

    Generates a report of the current TVL from the {{protocol}} protocol.

    Request Parameters
    protocol name
    period time_point_sec
    period_interval uint32
    tvl asset
    usd asset
  • Rewards Log

    Generates a log when rewards are generated from reports.

    Request Parameters
    protocol name
    category name
    period time_point_sec
    period_interval uint32
    tvl asset
    usd asset
    rewards asset
    balance asset
  • Set Category

    Sets the category of the {{protocol}} protocol.

    Request Parameters
    protocol name
    category name
  • Set Contracts

    Sets the smart contracts for the {{protocol}} protocol.

    Request Parameters
    protocol name
    contracts name[]
    evm_contracts string[]
  • Set Metadata

    Set the metadata for the {{protocol}} protocol.

    Request Parameters
    protocol name
    metadata pair_name_string[]
  • Set Meta Key

    Set the {{key}} metadata key to {{value}}.

    Request Parameters
    protocol name
    key name
    value string?
  • Set rate

    Set TVL rewards rate at {{annual_rate}} basis points.

    Request Parameters
    annual_rate int16?
    min_tvl_report asset?
    max_tvl_report asset?
  • Request Parameters
    protocol name
    status name
  • Unregister

    Unregister the {{protocol}} protocol.

    Request Parameters
    protocol name