This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-prototype-builtins */ | |
import { Project, SourceFile, VariableDeclarationKind } from 'ts-morph'; | |
import prettier from 'prettier'; | |
import * as fs from 'fs'; | |
import colors from 'colors'; | |
// This works if you reference the struct in the instruction parameters EX: | |
// pub fn buy_tensor_pool_listing_v1<'info>( | |
// ctx: Context<'_, '_, '_, 'info, BuyTensorPoolListingV1<'info>>, | |
// config: tensorswap::PoolConfig, |