/** * Rolla Yield API - Market Maker * Rolla Yield API provides a RESTful API for fetching assets, options and quotes * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { QuoteDtoOptionAttributes } from './quote-dto-option-attributes'; import { QuoteDtoOrderTracking } from './quote-dto-order-tracking'; /** * * @export * @interface QuoteDto */ export interface QuoteDto { /** * The timestamp when the order expires. If the block timestamp is after this timestamp when the order is submitted to the chain by the taker, the order will fail. * @type {string} * @memberof QuoteDto */ 'orderExpirationTimestamp': string; /** * The address of the taker of the order (seller of options) * @type {string} * @memberof QuoteDto */ 'taker': string; /** * The amount of options being sold in whole units - qTokens have 18 decimals * @type {string} * @memberof QuoteDto */ 'takingAmount': string; /** * * @type {QuoteDtoOptionAttributes} * @memberof QuoteDto */ 'optionAttributes': QuoteDtoOptionAttributes; /** * The address of the asset that the option is being purchased with * @type {string} * @memberof QuoteDto */ 'makerAsset': string; /** * * @type {QuoteDtoOrderTracking} * @memberof QuoteDto */ 'orderTracking': QuoteDtoOrderTracking; /** * The timestamp when the order was created. This is used for the cancel all functionality. When the on chain cancellation timestamp of the maker is after the orderCreationTimestamp, the order will fail. * @type {string} * @memberof QuoteDto */ 'orderCreationTimestamp': string; /** * The address of the maker of the order (signer of order, buyer of options) * @type {string} * @memberof QuoteDto */ 'maker': string; /** * The amount of makerAsset being offered in exchange for takingAmount * @type {string} * @memberof QuoteDto */ 'makingAmount': string; /** * The user who can submit the order to the chain. Zero address means anyone. * @type {string} * @memberof QuoteDto */ 'allowedSender': string; /** * If the OrderProtocol contract is being called by a contract address and not directly by an EOA, the contract used to call the order protocol must be in the whitelist specified. If the whitelist is the zero address, any contract is allowed. Note, this doesnt prevent transitive calls i.e. contract B can call contract A which is whitelisted in whitelist and the order would succeed. * @type {string} * @memberof QuoteDto */ 'whitelist': string; /** * Whether the taker is the signer of the order. If true, the taker is the signer of the order. If false, the maker is the signer of the order. * @type {boolean} * @memberof QuoteDto */ 'takerIsSigner': boolean; /** * To generate a signature from an order, the EIP712 standard can be used along with a private key. This is verified by Rolla when you send us a quote response after we request one. * @type {object} * @memberof QuoteDto */ 'signature': object; }