UNPKG

goosefx-amm-sdk

Version:

SDK for the GooseFx AMM

1 lines 1.14 kB
{"version":3,"sources":["../../../src/common/txTool/txType.ts"],"sourcesContent":["export enum TxVersion {\n \"V0\",\n \"LEGACY\",\n}\n\nexport const InstructionType = {\n CreateAccount: \"CreateAccount\",\n InitAccount: \"InitAccount\",\n CreateATA: \"CreateATA\",\n CloseAccount: \"CloseAccount\",\n TransferAmount: \"TransferAmount\",\n InitMint: \"InitMint\",\n MintTo: \"MintTo\",\n\n SetComputeUnitPrice: \"SetComputeUnitPrice\",\n SetComputeUnitLimit: \"SetComputeUnitLimit\",\n\n CpmmInitUserLiquidity: \"CpmmInitUserLiquidity\",\n CpmmCreatePool: \"CpmmCreatePool\",\n CpmmAddLiquidity: \"CpmmAddLiquidity\",\n CpmmWithdrawLiquidity: \"CpmmWithdrawLiquidity\",\n CpmmSwapBaseIn: \"CpmmSwapBaseIn\",\n CpmmSwapBaseOut: \"CpmmSwapBaseOut\",\n CpmmOracleSwapBaseIn: \"CpmmOracleSwapBaseIn\",\n};\n"],"mappings":"AAAO,IAAKA,OACVA,IAAA,WACAA,IAAA,mBAFUA,OAAA,IAKCC,EAAkB,CAC7B,cAAe,gBACf,YAAa,cACb,UAAW,YACX,aAAc,eACd,eAAgB,iBAChB,SAAU,WACV,OAAQ,SAER,oBAAqB,sBACrB,oBAAqB,sBAErB,sBAAuB,wBACvB,eAAgB,iBAChB,iBAAkB,mBAClB,sBAAuB,wBACvB,eAAgB,iBAChB,gBAAiB,kBACjB,qBAAsB,sBACxB","names":["TxVersion","InstructionType"]}