/** * 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 { NdaoSdkDonationSwapQuote } from './NdaoSdkDonationSwapQuote'; /** * * @export * @interface NdaoSdkDonationSwap */ export interface NdaoSdkDonationSwap { /** * The address this transaction will be sent to * @type {string} * @memberof NdaoSdkDonationSwap */ to: string; /** * The data this transaction will send to the destination contract * @type {string} * @memberof NdaoSdkDonationSwap */ 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 NdaoSdkDonationSwap */ value: string; /** * * @type {NdaoSdkDonationSwapQuote} * @memberof NdaoSdkDonationSwap */ quote: NdaoSdkDonationSwapQuote; } /** * Check if a given object implements the NdaoSdkDonationSwap interface. */ export declare function instanceOfNdaoSdkDonationSwap(value: object): boolean; export declare function NdaoSdkDonationSwapFromJSON(json: any): NdaoSdkDonationSwap; export declare function NdaoSdkDonationSwapFromJSONTyped(json: any, ignoreDiscriminator: boolean): NdaoSdkDonationSwap; export declare function NdaoSdkDonationSwapToJSON(value?: NdaoSdkDonationSwap | null): any;