/** * 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 FillRequestDto */ export interface FillRequestDto { /** * 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 FillRequestDto */ 'orderExpirationTimestamp': string; /** * The address of the taker of the order (seller of options) * @type {string} * @memberof FillRequestDto */ 'taker': string; /** * The amount of options being sold in whole units - qTokens have 18 decimals * @type {string} * @memberof FillRequestDto */ 'takingAmount': string; /** * * @type {QuoteDtoOptionAttributes} * @memberof FillRequestDto */ 'optionAttributes': QuoteDtoOptionAttributes; /** * The address of the asset that the option is being purchased with * @type {string} * @memberof FillRequestDto */ 'makerAsset': string; /** * * @type {QuoteDtoOrderTracking} * @memberof FillRequestDto */ '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 FillRequestDto */ 'orderCreationTimestamp': string; /** * The address of the maker of the order (signer of order, buyer of options) * @type {string} * @memberof FillRequestDto */ 'maker': string; /** * The amount of makerAsset being offered in exchange for takingAmount * @type {string} * @memberof FillRequestDto */ 'makingAmount': string; /** * The user who can submit the order to the chain. Zero address means anyone. * @type {string} * @memberof FillRequestDto */ '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 FillRequestDto */ '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 FillRequestDto */ '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 FillRequestDto */ 'signature': object; /** * 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 FillRequestDto */ 'makerSignature': object; }