/** * Endaoment API * The official Endaoment API & SDK endpoints * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { DonationSwapDtoQuote } from './DonationSwapDtoQuote'; /** * * @export * @interface DonationSwapDto */ export interface DonationSwapDto { /** * The address this transaction will be sent to * @type {string} * @memberof DonationSwapDto */ to: string; /** * The data this transaction will send to the destination contract * @type {string} * @memberof DonationSwapDto */ data: string; /** * The ETH value, if any, this transaction will send along. This value will only be > 0 if performing an ETH donation * @type {string} * @memberof DonationSwapDto */ value: string; /** * * @type {DonationSwapDtoQuote} * @memberof DonationSwapDto */ quote: DonationSwapDtoQuote; } /** * Check if a given object implements the DonationSwapDto interface. */ export declare function instanceOfDonationSwapDto(value: object): boolean; export declare function DonationSwapDtoFromJSON(json: any): DonationSwapDto; export declare function DonationSwapDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DonationSwapDto; export declare function DonationSwapDtoToJSON(value?: DonationSwapDto | null): any;