Vaulta

orelo.trade

Contract

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

  • Activate

    Active protocol feature for multi-converter.

    Request Parameters
    currency symbol_code
    protocol_feature name
    enabled bool
  • Create converter

    Initializes a new converter.

    Request Parameters
    owner name
    token_code symbol_code
    initial_supply float64
  • Delete converter

    Deletes a converter with empty reserves.

    Request Parameters
    converter_currency_code symbol_code
  • Delete reserve

    Deletes an empty reserve in the converter.

    Request Parameters
    converter symbol_code
    reserve symbol_code
  • Fund

    Buys smart tokens with all connector tokens using the same percentage.

    Request Parameters
    sender name
    quantity asset
  • Log

    Log event

    Request Parameters
    event string
    version string
    data pair_string_string[]
  • Set reserve

    Initializes a new reserve in the converter. This updates the converter settings and can only be called by the converter owner after creation.

    Request Parameters
    converter_currency_code symbol_code
    currency symbol
    contract name
    ratio uint64
  • Set settings

    Set the multi-converter settings.

    Request Parameters
    params settings_t
  • Update fee

    Updates the converter fee. This updates the converter settings and can only be called by the converter owner after creation.

    Request Parameters
    currency symbol_code
    fee uint64
  • Update owner

    Change the converter's owner. This updates the converter settings and can only be called by the converter owner after creation.

    Request Parameters
    currency symbol_code
    new_owner name
  • Withdraw

    Called by liquidity providers withdrawing "temporary balances" before `fund`ing them into the reserve.

    Request Parameters
    sender name
    quantity asset
    converter_currency_code symbol_code