gill
Version:
a modern javascript/typescript client library for interacting with the Solana blockchain
22 lines • 806 B
TypeScript
/**
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun codama to update it.
*
* @see https://github.com/codama-idl/codama
*/
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
export type Reservation = {
address: Address;
spotsRemaining: bigint;
totalSpots: bigint;
};
export type ReservationArgs = {
address: Address;
spotsRemaining: number | bigint;
totalSpots: number | bigint;
};
export declare function getReservationEncoder(): Encoder<ReservationArgs>;
export declare function getReservationDecoder(): Decoder<Reservation>;
export declare function getReservationCodec(): Codec<ReservationArgs, Reservation>;
//# sourceMappingURL=reservation.d.ts.map