@floorlaunchpad/sdk 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -0
- package/LICENSE +201 -60
- package/README.md +45 -24
- package/dist/abi/evm-event-names.js +12 -0
- package/dist/abi/evm.gen.js +130 -0
- package/dist/abi/functions.gen.js +144 -0
- package/dist/abi/index.js +17 -0
- package/dist/abi/solana.gen.js +128 -0
- package/dist/burn.js +21 -0
- package/dist/client/evm/index.js +191 -0
- package/dist/client/index.js +19 -0
- package/dist/client/solana/index.js +259 -0
- package/dist/client/types.js +5 -0
- package/dist/codec.js +77 -0
- package/dist/config/codeHash.js +9 -0
- package/dist/config/generated.js +746 -0
- package/dist/config/index.js +49 -0
- package/dist/config/registry.gen.js +118 -0
- package/dist/config/solana-genesis.js +7 -0
- package/dist/ed25519.js +31 -0
- package/dist/errors.js +249 -0
- package/dist/events/index.js +40 -0
- package/dist/events/types.gen.js +3 -0
- package/dist/evm/abi.js +283 -0
- package/dist/evm/balances.js +26 -0
- package/dist/evm/chains.js +144 -0
- package/dist/evm/floor/abi.gen.js +195 -0
- package/dist/evm/floor/calls.js +230 -0
- package/dist/evm/floor/create.js +49 -0
- package/dist/evm/floor/events.js +41 -0
- package/dist/evm/floor/iface.js +44 -0
- package/dist/evm/items.js +209 -0
- package/dist/evm/keccak.js +118 -0
- package/dist/evm/multicall.js +30 -0
- package/dist/evm/router.js +184 -0
- package/dist/evm/zap.js +128 -0
- package/dist/fixtures.js +53 -0
- package/dist/generated/index.js +28 -0
- package/dist/generated/interface.gen.js +146 -0
- package/dist/handle.js +22 -0
- package/dist/index.js +91 -7
- package/dist/indexer/bodies.js +473 -0
- package/dist/indexer/client.js +104 -0
- package/dist/indexer/contract.js +349 -0
- package/dist/indexer/decode.js +97 -0
- package/dist/indexer/partners.js +100 -0
- package/dist/indexer/paths.js +127 -0
- package/dist/indexer/read.js +109 -0
- package/dist/indexer/stream.js +71 -0
- package/dist/lock.js +16 -0
- package/dist/math/fixed.js +154 -0
- package/dist/math/genesis.js +39 -0
- package/dist/math/index.js +20 -0
- package/dist/math/u256.js +49 -0
- package/dist/math/v2/ask.js +162 -0
- package/dist/math/v2/book.js +607 -0
- package/dist/math/v2/circulating.js +62 -0
- package/dist/math/v2/create.js +122 -0
- package/dist/math/v2/display.js +208 -0
- package/dist/math/v2/error.js +17 -0
- package/dist/math/v2/feasibility.js +174 -0
- package/dist/math/v2/fees.js +121 -0
- package/dist/math/v2/holders.js +105 -0
- package/dist/math/v2/milestones.js +40 -0
- package/dist/math/v2/pow.js +69 -0
- package/dist/math/v2/preset.js +151 -0
- package/dist/math/v2/receipt.js +108 -0
- package/dist/math/v2/relay.js +217 -0
- package/dist/math/v2/rows.js +365 -0
- package/dist/math/v2/split.js +111 -0
- package/dist/math/v2/sqrt.js +84 -0
- package/dist/math/v2/supply.js +21 -0
- package/dist/math/v2/team.js +75 -0
- package/dist/math/v2/trade.js +126 -0
- package/dist/math/v2/wide.js +51 -0
- package/dist/quote.js +6 -0
- package/dist/registryPrice.js +23 -0
- package/dist/route/edge-jupiter.js +42 -0
- package/dist/route/edge.js +11 -0
- package/dist/route/graph.js +51 -0
- package/dist/route/path.js +75 -0
- package/dist/route/quote.js +15 -0
- package/dist/route-jupiter.js +35 -0
- package/dist/route.js +8 -0
- package/dist/sha256.js +61 -0
- package/dist/solana/alt.js +18 -0
- package/dist/solana/floor/accounts.js +390 -0
- package/dist/solana/floor/borsh.js +66 -0
- package/dist/solana/floor/create.js +65 -0
- package/dist/solana/floor/events.js +140 -0
- package/dist/solana/floor/genesis.js +91 -0
- package/dist/solana/floor/genesisList.js +68 -0
- package/dist/solana/floor/instructions.js +435 -0
- package/dist/solana/floor/metadata.js +198 -0
- package/dist/solana/floor/mint.js +206 -0
- package/dist/solana/floor/program.js +64 -0
- package/dist/solana/floor/registry.js +83 -0
- package/dist/solana/instruction.js +49 -0
- package/dist/solana/pda.js +88 -0
- package/dist/solana/tx.js +138 -0
- package/dist/v2/burnPreview.js +35 -0
- package/dist/v2/circulating.js +11 -0
- package/dist/v2/claimAllEvm.js +70 -0
- package/dist/v2/claims-evm.js +120 -0
- package/dist/v2/claims.js +218 -0
- package/dist/v2/dead.js +21 -0
- package/dist/v2/devbuy.js +37 -0
- package/dist/v2/events.js +115 -0
- package/dist/v2/evm.js +299 -0
- package/dist/v2/evmReads.js +76 -0
- package/dist/v2/genesis.js +76 -0
- package/dist/v2/layouts.js +217 -0
- package/dist/v2/market-evm.js +74 -0
- package/dist/v2/presetRowEvm.js +45 -0
- package/dist/v2/press.js +106 -0
- package/dist/v2/quoteMint.js +52 -0
- package/dist/v2/receipt-tx.js +149 -0
- package/dist/v2/route-alt.js +114 -0
- package/dist/v2/route.js +389 -0
- package/dist/v2/solana.js +391 -0
- package/dist/v2/solanaSettle.js +97 -0
- package/dist/v2/tx/evm.js +126 -0
- package/dist/v2/tx/genesis.js +47 -0
- package/dist/v2/tx/index.js +5 -0
- package/dist/v2/tx/solana.js +118 -0
- package/dist/v2/types.js +13 -0
- package/docs/aggregator.md +61 -0
- package/docs/bot.md +50 -0
- package/docs/frontend.md +29 -0
- package/docs/wallet.md +54 -0
- package/package.json +428 -32
- package/src/abi/evm-event-names.ts +12 -0
- package/src/abi/evm.gen.ts +139 -0
- package/src/abi/functions.gen.ts +154 -0
- package/src/abi/index.ts +30 -0
- package/src/abi/solana.gen.ts +138 -0
- package/src/burn.ts +37 -0
- package/src/client/evm/index.ts +199 -0
- package/src/client/index.ts +23 -0
- package/src/client/solana/index.ts +260 -0
- package/src/client/types.ts +162 -0
- package/src/codec.ts +77 -0
- package/src/config/codeHash.ts +9 -0
- package/src/config/generated.ts +746 -0
- package/src/config/index.ts +91 -0
- package/src/config/registry.gen.ts +118 -0
- package/src/config/solana-genesis.ts +7 -0
- package/src/ed25519.ts +31 -0
- package/src/errors.ts +270 -0
- package/src/events/index.ts +44 -0
- package/src/events/types.gen.ts +831 -0
- package/src/evm/abi.ts +292 -0
- package/src/evm/balances.ts +26 -0
- package/src/evm/chains.ts +167 -0
- package/src/evm/floor/abi.gen.ts +195 -0
- package/src/evm/floor/calls.ts +247 -0
- package/src/evm/floor/create.ts +68 -0
- package/src/evm/floor/events.ts +51 -0
- package/src/evm/floor/iface.ts +45 -0
- package/src/evm/items.ts +252 -0
- package/src/evm/keccak.ts +118 -0
- package/src/evm/multicall.ts +43 -0
- package/src/evm/router.ts +209 -0
- package/src/evm/zap.ts +152 -0
- package/src/fixtures.ts +53 -0
- package/src/generated/index.ts +29 -0
- package/src/generated/interface.gen.ts +153 -0
- package/src/handle.ts +22 -0
- package/src/index.ts +91 -6
- package/src/indexer/bodies.ts +528 -0
- package/src/indexer/client.ts +178 -0
- package/src/indexer/contract.ts +410 -0
- package/src/indexer/decode.ts +109 -0
- package/src/indexer/partners.ts +109 -0
- package/src/indexer/paths.ts +190 -0
- package/src/indexer/read.ts +119 -0
- package/src/indexer/stream.ts +83 -0
- package/src/lock.ts +16 -0
- package/src/math/fixed.ts +154 -0
- package/src/math/genesis.ts +39 -0
- package/src/math/index.ts +24 -0
- package/src/math/u256.ts +49 -0
- package/src/math/v2/ask.ts +218 -0
- package/src/math/v2/book.ts +660 -0
- package/src/math/v2/circulating.ts +69 -0
- package/src/math/v2/create.ts +139 -0
- package/src/math/v2/display.ts +250 -0
- package/src/math/v2/error.ts +19 -0
- package/src/math/v2/feasibility.ts +200 -0
- package/src/math/v2/fees.ts +121 -0
- package/src/math/v2/holders.ts +124 -0
- package/src/math/v2/milestones.ts +51 -0
- package/src/math/v2/pow.ts +71 -0
- package/src/math/v2/preset.ts +189 -0
- package/src/math/v2/receipt.ts +162 -0
- package/src/math/v2/relay.ts +235 -0
- package/src/math/v2/rows.ts +412 -0
- package/src/math/v2/split.ts +160 -0
- package/src/math/v2/sqrt.ts +86 -0
- package/src/math/v2/supply.ts +27 -0
- package/src/math/v2/team.ts +75 -0
- package/src/math/v2/trade.ts +145 -0
- package/src/math/v2/wide.ts +52 -0
- package/src/quote.ts +6 -0
- package/src/registryPrice.ts +28 -0
- package/src/route/edge-jupiter.ts +71 -0
- package/src/route/edge.ts +22 -0
- package/src/route/graph.ts +77 -0
- package/src/route/path.ts +84 -0
- package/src/route/quote.ts +46 -0
- package/src/route-jupiter.ts +36 -0
- package/src/route.ts +8 -0
- package/src/sha256.ts +61 -0
- package/src/solana/alt.ts +25 -0
- package/src/solana/floor/accounts.ts +393 -0
- package/src/solana/floor/borsh.ts +66 -0
- package/src/solana/floor/create.ts +89 -0
- package/src/solana/floor/events.ts +147 -0
- package/src/solana/floor/genesis.ts +111 -0
- package/src/solana/floor/genesisList.ts +75 -0
- package/src/solana/floor/instructions.ts +491 -0
- package/src/solana/floor/metadata.ts +246 -0
- package/src/solana/floor/mint.ts +242 -0
- package/src/solana/floor/program.ts +64 -0
- package/src/solana/floor/registry.ts +96 -0
- package/src/solana/instruction.ts +61 -0
- package/src/solana/pda.ts +91 -0
- package/src/solana/tx.ts +143 -0
- package/src/v2/burnPreview.ts +52 -0
- package/src/v2/circulating.ts +22 -0
- package/src/v2/claimAllEvm.ts +97 -0
- package/src/v2/claims-evm.ts +179 -0
- package/src/v2/claims.ts +288 -0
- package/src/v2/dead.ts +21 -0
- package/src/v2/devbuy.ts +55 -0
- package/src/v2/events.ts +131 -0
- package/src/v2/evm.ts +349 -0
- package/src/v2/evmReads.ts +121 -0
- package/src/v2/genesis.ts +80 -0
- package/src/v2/layouts.ts +219 -0
- package/src/v2/market-evm.ts +95 -0
- package/src/v2/presetRowEvm.ts +54 -0
- package/src/v2/press.ts +124 -0
- package/src/v2/quoteMint.ts +63 -0
- package/src/v2/receipt-tx.ts +251 -0
- package/src/v2/route-alt.ts +114 -0
- package/src/v2/route.ts +494 -0
- package/src/v2/solana.ts +439 -0
- package/src/v2/solanaSettle.ts +117 -0
- package/src/v2/tx/evm.ts +152 -0
- package/src/v2/tx/genesis.ts +66 -0
- package/src/v2/tx/index.ts +5 -0
- package/src/v2/tx/solana.ts +140 -0
- package/src/v2/types.ts +284 -0
- package/dist/adapter.d.ts +0 -28
- package/dist/adapter.d.ts.map +0 -1
- package/dist/adapter.js +0 -2
- package/dist/adapter.js.map +0 -1
- package/dist/chain.d.ts +0 -23
- package/dist/chain.d.ts.map +0 -1
- package/dist/chain.js +0 -25
- package/dist/chain.js.map +0 -1
- package/dist/client.d.ts +0 -26
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -43
- package/dist/client.js.map +0 -1
- package/dist/dex-adapter.d.ts +0 -228
- package/dist/dex-adapter.d.ts.map +0 -1
- package/dist/dex-adapter.js +0 -407
- package/dist/dex-adapter.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/quotes.d.ts +0 -12
- package/dist/quotes.d.ts.map +0 -1
- package/dist/quotes.gen.d.ts +0 -8
- package/dist/quotes.gen.d.ts.map +0 -1
- package/dist/quotes.gen.js +0 -2170
- package/dist/quotes.gen.js.map +0 -1
- package/dist/quotes.js +0 -24
- package/dist/quotes.js.map +0 -1
- package/dist/types.d.ts +0 -111
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/src/adapter.ts +0 -20
- package/src/chain.ts +0 -39
- package/src/client.ts +0 -41
- package/src/dex-adapter.ts +0 -477
- package/src/quotes.gen.ts +0 -2170
- package/src/quotes.ts +0 -29
- package/src/types.ts +0 -115
|
@@ -0,0 +1,831 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export interface SolLaunchCreatedFields {
|
|
4
|
+
launch: string;
|
|
5
|
+
mint: string;
|
|
6
|
+
quoteMint: string;
|
|
7
|
+
creator: string;
|
|
8
|
+
id: bigint;
|
|
9
|
+
presetId: number;
|
|
10
|
+
presetVersion: number;
|
|
11
|
+
presetHash: Uint8Array;
|
|
12
|
+
p0X64: bigint;
|
|
13
|
+
raise: bigint;
|
|
14
|
+
windowTokens: bigint;
|
|
15
|
+
creatorBuyTokens: bigint;
|
|
16
|
+
createFee: bigint;
|
|
17
|
+
name: Uint8Array;
|
|
18
|
+
symbol: Uint8Array;
|
|
19
|
+
slot: bigint;
|
|
20
|
+
ts: bigint;
|
|
21
|
+
listed: boolean;
|
|
22
|
+
quoteUsdCentsX64: bigint;
|
|
23
|
+
nativeCreateFee: bigint;
|
|
24
|
+
}
|
|
25
|
+
export interface SolGraduatedFields {
|
|
26
|
+
launch: string;
|
|
27
|
+
priceX64: bigint;
|
|
28
|
+
windowRaised: bigint;
|
|
29
|
+
windowTokens: bigint;
|
|
30
|
+
slot: bigint;
|
|
31
|
+
ts: bigint;
|
|
32
|
+
}
|
|
33
|
+
export interface SolPotsSweptFields {
|
|
34
|
+
launch: string;
|
|
35
|
+
amount: bigint;
|
|
36
|
+
reason: number;
|
|
37
|
+
}
|
|
38
|
+
export interface SolClaimedFields {
|
|
39
|
+
wallet: string;
|
|
40
|
+
sender: string;
|
|
41
|
+
launch: string;
|
|
42
|
+
quoteMint: string;
|
|
43
|
+
types: number;
|
|
44
|
+
creator: bigint;
|
|
45
|
+
creatorRef: bigint;
|
|
46
|
+
teamSlot: bigint;
|
|
47
|
+
traderRef: bigint;
|
|
48
|
+
extra: bigint;
|
|
49
|
+
amount: bigint;
|
|
50
|
+
teamBuy: bigint | null;
|
|
51
|
+
shareBought: bigint | null;
|
|
52
|
+
typesHi: number | null;
|
|
53
|
+
}
|
|
54
|
+
export interface SolTeamShareBoughtFields {
|
|
55
|
+
launch: string;
|
|
56
|
+
member: string;
|
|
57
|
+
place: number;
|
|
58
|
+
spent: bigint;
|
|
59
|
+
refund: bigint;
|
|
60
|
+
tokens: bigint;
|
|
61
|
+
shareLeft: bigint;
|
|
62
|
+
boughtOwed: bigint;
|
|
63
|
+
day: bigint;
|
|
64
|
+
firstToday: boolean;
|
|
65
|
+
ts: bigint;
|
|
66
|
+
}
|
|
67
|
+
export interface SolPlatformWithdrawnFields {
|
|
68
|
+
launch: string;
|
|
69
|
+
quoteMint: string;
|
|
70
|
+
destination: string;
|
|
71
|
+
amount: bigint;
|
|
72
|
+
owedAfter: bigint;
|
|
73
|
+
}
|
|
74
|
+
export interface SolHolderWithdrawnFields {
|
|
75
|
+
launch: string;
|
|
76
|
+
quoteMint: string;
|
|
77
|
+
destination: string;
|
|
78
|
+
amount: bigint;
|
|
79
|
+
owedAfter: bigint;
|
|
80
|
+
}
|
|
81
|
+
export interface SolPresetWrittenFields {
|
|
82
|
+
id: number;
|
|
83
|
+
rowVersion: number;
|
|
84
|
+
enabled: boolean;
|
|
85
|
+
deleted: boolean;
|
|
86
|
+
}
|
|
87
|
+
export interface SolQuoteWrittenFields {
|
|
88
|
+
mint: string;
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
createFee: bigint;
|
|
91
|
+
usdCentsX64: bigint;
|
|
92
|
+
admittedCaps: number;
|
|
93
|
+
}
|
|
94
|
+
export interface SolConfigWrittenFields {
|
|
95
|
+
authority: string;
|
|
96
|
+
pendingAuthority: string;
|
|
97
|
+
timelock: string;
|
|
98
|
+
referralAuthority: string;
|
|
99
|
+
createPaused: boolean;
|
|
100
|
+
holderDest: string;
|
|
101
|
+
nativeCreateFee: bigint;
|
|
102
|
+
treasury: string | null;
|
|
103
|
+
priceUpdater: string | null;
|
|
104
|
+
}
|
|
105
|
+
export interface SolMetadataBaseSetFields {
|
|
106
|
+
base: Uint8Array;
|
|
107
|
+
len: number;
|
|
108
|
+
}
|
|
109
|
+
export interface SolTeamSlotOpenedFields {
|
|
110
|
+
launch: string;
|
|
111
|
+
rateBps: number;
|
|
112
|
+
price: bigint;
|
|
113
|
+
}
|
|
114
|
+
export interface SolTeamSlotMemberFields {
|
|
115
|
+
launch: string;
|
|
116
|
+
index: number;
|
|
117
|
+
key: Uint8Array;
|
|
118
|
+
kind: number;
|
|
119
|
+
state: number;
|
|
120
|
+
paid: bigint;
|
|
121
|
+
requested: bigint;
|
|
122
|
+
bought: bigint;
|
|
123
|
+
boughtPpm: number;
|
|
124
|
+
}
|
|
125
|
+
export interface SolTraderRefOpenedFields {
|
|
126
|
+
trader: string;
|
|
127
|
+
quoteMint: string;
|
|
128
|
+
tiers: string[];
|
|
129
|
+
}
|
|
130
|
+
export interface SolTraderLinkOpenedFields {
|
|
131
|
+
trader: string;
|
|
132
|
+
tiers: string[];
|
|
133
|
+
}
|
|
134
|
+
export interface SolTraderRefClearedFields {
|
|
135
|
+
trader: string;
|
|
136
|
+
records: number;
|
|
137
|
+
}
|
|
138
|
+
export interface SolCreatorBuyUnlockedFields {
|
|
139
|
+
launch: string;
|
|
140
|
+
creator: string;
|
|
141
|
+
tokens: bigint;
|
|
142
|
+
members: bigint[] | null;
|
|
143
|
+
paid: bigint | null;
|
|
144
|
+
}
|
|
145
|
+
export interface SolRefOwedOpenedFields {
|
|
146
|
+
referrer: string;
|
|
147
|
+
quoteMint: string;
|
|
148
|
+
}
|
|
149
|
+
export interface SolRefsRolledFields {
|
|
150
|
+
quoteMint: string;
|
|
151
|
+
traderRefs: number;
|
|
152
|
+
amount: bigint;
|
|
153
|
+
}
|
|
154
|
+
export interface SolGenesisAcceptedFields {
|
|
155
|
+
oldSale: string;
|
|
156
|
+
count: number;
|
|
157
|
+
totalMigrated: bigint;
|
|
158
|
+
donation: bigint;
|
|
159
|
+
}
|
|
160
|
+
export interface SolHandleBoundFields {
|
|
161
|
+
launch: string;
|
|
162
|
+
index: number;
|
|
163
|
+
handle: Uint8Array;
|
|
164
|
+
wallet: string;
|
|
165
|
+
}
|
|
166
|
+
export interface SolQuoteShortFields {
|
|
167
|
+
launch: string;
|
|
168
|
+
quoteVault: bigint;
|
|
169
|
+
quoteBooked: bigint;
|
|
170
|
+
short: bigint;
|
|
171
|
+
slot: bigint;
|
|
172
|
+
}
|
|
173
|
+
export interface SolBackingCreditedFields {
|
|
174
|
+
launch: string;
|
|
175
|
+
donor: string;
|
|
176
|
+
amount: bigint;
|
|
177
|
+
fAfter: bigint;
|
|
178
|
+
slot: bigint;
|
|
179
|
+
}
|
|
180
|
+
export interface SolCutWithdrawnFields {
|
|
181
|
+
launch: string;
|
|
182
|
+
amount: bigint;
|
|
183
|
+
cutOwedAfter: bigint;
|
|
184
|
+
}
|
|
185
|
+
export interface SolRoleRegisteredFields {
|
|
186
|
+
wallet: string;
|
|
187
|
+
page: number;
|
|
188
|
+
launch: string;
|
|
189
|
+
roles: number;
|
|
190
|
+
}
|
|
191
|
+
export interface SolClaimsLutSetFields {
|
|
192
|
+
wallet: string;
|
|
193
|
+
lookupTable: string;
|
|
194
|
+
}
|
|
195
|
+
export interface SolNativeFeesWithdrawnFields {
|
|
196
|
+
destination: string;
|
|
197
|
+
amount: bigint;
|
|
198
|
+
owedAfter: bigint;
|
|
199
|
+
}
|
|
200
|
+
export interface SolGenesisContributedFields {
|
|
201
|
+
wallet: string;
|
|
202
|
+
amount: bigint;
|
|
203
|
+
walletTotal: bigint;
|
|
204
|
+
liveTotal: bigint;
|
|
205
|
+
}
|
|
206
|
+
export interface SolGenesisMigratedRefundedFields {
|
|
207
|
+
wallet: string;
|
|
208
|
+
amount: bigint;
|
|
209
|
+
liveTotal: bigint;
|
|
210
|
+
}
|
|
211
|
+
export interface SolGenesisOpenedFields {
|
|
212
|
+
launch: string;
|
|
213
|
+
mint: string;
|
|
214
|
+
raised: bigint;
|
|
215
|
+
tokens: bigint;
|
|
216
|
+
donation: bigint;
|
|
217
|
+
p0X64: bigint;
|
|
218
|
+
weightTotal: bigint;
|
|
219
|
+
slotRateBps: number;
|
|
220
|
+
quoteMint: string | null;
|
|
221
|
+
floorUsdcIn: bigint | null;
|
|
222
|
+
refund: bigint | null;
|
|
223
|
+
usdcExcess: bigint | null;
|
|
224
|
+
solConverted: bigint | null;
|
|
225
|
+
usdcConverted: bigint | null;
|
|
226
|
+
solUnconverted: bigint | null;
|
|
227
|
+
usdcRefund: bigint | null;
|
|
228
|
+
}
|
|
229
|
+
export interface SolGenesisClaimedFields {
|
|
230
|
+
wallet: string;
|
|
231
|
+
migratedCredit: bigint;
|
|
232
|
+
phase3Credit: bigint;
|
|
233
|
+
tokens: bigint;
|
|
234
|
+
refund: bigint | null;
|
|
235
|
+
listedCredit: bigint | null;
|
|
236
|
+
usdcRefund: bigint | null;
|
|
237
|
+
}
|
|
238
|
+
export interface SolGenesisRefundOwedFields {
|
|
239
|
+
wallet: string;
|
|
240
|
+
amount: bigint;
|
|
241
|
+
usdc: bigint | null;
|
|
242
|
+
}
|
|
243
|
+
export interface SolGenesisRefundPaidFields {
|
|
244
|
+
wallet: string;
|
|
245
|
+
to: string;
|
|
246
|
+
amount: bigint;
|
|
247
|
+
usdc: bigint | null;
|
|
248
|
+
usdcTo: string | null;
|
|
249
|
+
}
|
|
250
|
+
export interface SolGenesisDustSweptFields {
|
|
251
|
+
launch: string;
|
|
252
|
+
amount: bigint;
|
|
253
|
+
usdc: bigint | null;
|
|
254
|
+
}
|
|
255
|
+
export interface SolGenesisSolConvertedFields {
|
|
256
|
+
caller: string;
|
|
257
|
+
lamports: bigint;
|
|
258
|
+
usdc: bigint;
|
|
259
|
+
solUsdCentsX64: bigint;
|
|
260
|
+
usdcUsdCentsX64: bigint;
|
|
261
|
+
discountBps: number;
|
|
262
|
+
solConverted: bigint;
|
|
263
|
+
usdcConverted: bigint;
|
|
264
|
+
usdcCaps: bigint;
|
|
265
|
+
}
|
|
266
|
+
export interface SolGenesisWagmiBoughtFields {
|
|
267
|
+
floorLaunch: string;
|
|
268
|
+
usdcIn: bigint;
|
|
269
|
+
floorOut: bigint;
|
|
270
|
+
}
|
|
271
|
+
export interface SolGenesisWagmiOpenedFields {
|
|
272
|
+
launch: string;
|
|
273
|
+
mint: string;
|
|
274
|
+
floorIn: bigint;
|
|
275
|
+
tokens: bigint;
|
|
276
|
+
floorRefund: bigint;
|
|
277
|
+
p0X64: bigint;
|
|
278
|
+
quoteUsdCentsX64: bigint | null;
|
|
279
|
+
capTokens: bigint | null;
|
|
280
|
+
overCapFloor: bigint | null;
|
|
281
|
+
overCapTokens: bigint | null;
|
|
282
|
+
}
|
|
283
|
+
export interface SolGenesisWagmiClaimedFields {
|
|
284
|
+
wallet: string;
|
|
285
|
+
tokens: bigint;
|
|
286
|
+
floorBack: bigint;
|
|
287
|
+
}
|
|
288
|
+
export interface SolGenesisWagmiDustSweptFields {
|
|
289
|
+
launch: string;
|
|
290
|
+
floor: bigint;
|
|
291
|
+
}
|
|
292
|
+
export interface SolGenesisListedContributedFields {
|
|
293
|
+
wallet: string;
|
|
294
|
+
amount: bigint;
|
|
295
|
+
walletListed: bigint;
|
|
296
|
+
allowanceLeft: bigint;
|
|
297
|
+
liveTotal: bigint;
|
|
298
|
+
}
|
|
299
|
+
export interface SolGenesisListRootSetFields {
|
|
300
|
+
signer: string;
|
|
301
|
+
oldRoot: Uint8Array;
|
|
302
|
+
newRoot: Uint8Array;
|
|
303
|
+
}
|
|
304
|
+
export interface SolBurnsSyncedFields {
|
|
305
|
+
launch: string;
|
|
306
|
+
incinerated: bigint;
|
|
307
|
+
supply: bigint;
|
|
308
|
+
sOut: bigint;
|
|
309
|
+
floorAfterX64: bigint;
|
|
310
|
+
slot: bigint;
|
|
311
|
+
}
|
|
312
|
+
export interface SolTokensBurnedFields {
|
|
313
|
+
launch: string;
|
|
314
|
+
wallet: string;
|
|
315
|
+
role: number;
|
|
316
|
+
place: number;
|
|
317
|
+
fromTeamBuy: bigint;
|
|
318
|
+
fromWallet: bigint;
|
|
319
|
+
balanceBefore: bigint;
|
|
320
|
+
owedAfter: bigint;
|
|
321
|
+
split: bigint[];
|
|
322
|
+
supply: bigint;
|
|
323
|
+
sOut: bigint;
|
|
324
|
+
floorAfterX64: bigint;
|
|
325
|
+
slot: bigint;
|
|
326
|
+
fromShareBought: bigint | null;
|
|
327
|
+
}
|
|
328
|
+
export interface SolLaunchCreatedV2Fields {
|
|
329
|
+
launch: string;
|
|
330
|
+
mint: string;
|
|
331
|
+
quoteMint: string;
|
|
332
|
+
creator: string;
|
|
333
|
+
id: bigint;
|
|
334
|
+
presetId: number;
|
|
335
|
+
presetVersion: number;
|
|
336
|
+
presetHash: Uint8Array;
|
|
337
|
+
p0X64: bigint;
|
|
338
|
+
raise: bigint;
|
|
339
|
+
windowTokens: bigint;
|
|
340
|
+
creatorBuyTokens: bigint;
|
|
341
|
+
createFee: bigint;
|
|
342
|
+
name: Uint8Array;
|
|
343
|
+
symbol: Uint8Array;
|
|
344
|
+
slot: bigint;
|
|
345
|
+
ts: bigint;
|
|
346
|
+
listed: boolean;
|
|
347
|
+
quoteUsdCentsX64: bigint;
|
|
348
|
+
nativeCreateFee: bigint;
|
|
349
|
+
rowVersion: number;
|
|
350
|
+
sqrtP0: bigint;
|
|
351
|
+
}
|
|
352
|
+
export interface SolTradeFields {
|
|
353
|
+
launch: string;
|
|
354
|
+
trader: string;
|
|
355
|
+
isBuy: boolean;
|
|
356
|
+
quoteGross: bigint;
|
|
357
|
+
quoteNet: bigint;
|
|
358
|
+
refund: bigint;
|
|
359
|
+
tokens: bigint;
|
|
360
|
+
fees: bigint[];
|
|
361
|
+
traderRef: bigint;
|
|
362
|
+
fromResale: bigint;
|
|
363
|
+
fromFirst: bigint;
|
|
364
|
+
unfilled: bigint;
|
|
365
|
+
sqrtBefore: bigint;
|
|
366
|
+
sqrtAfter: bigint;
|
|
367
|
+
sqrtF: bigint;
|
|
368
|
+
floor: bigint;
|
|
369
|
+
cushion: bigint;
|
|
370
|
+
sCirc: bigint;
|
|
371
|
+
steps: number;
|
|
372
|
+
budgetHit: boolean;
|
|
373
|
+
slot: bigint;
|
|
374
|
+
ts: bigint;
|
|
375
|
+
kind: number;
|
|
376
|
+
creatorRef: bigint;
|
|
377
|
+
recipient: string;
|
|
378
|
+
bidMoney: bigint;
|
|
379
|
+
msPaid: bigint[];
|
|
380
|
+
}
|
|
381
|
+
export interface SolHolderPositionOpenedFields {
|
|
382
|
+
launch: string;
|
|
383
|
+
owner: string;
|
|
384
|
+
amount: bigint;
|
|
385
|
+
}
|
|
386
|
+
export interface SolHolderPositionClosedFields {
|
|
387
|
+
launch: string;
|
|
388
|
+
owner: string;
|
|
389
|
+
amount: bigint;
|
|
390
|
+
paid: bigint;
|
|
391
|
+
}
|
|
392
|
+
export interface SolHolderIndexRolledFields {
|
|
393
|
+
launch: string;
|
|
394
|
+
index: bigint;
|
|
395
|
+
wMatured: bigint;
|
|
396
|
+
wPending: bigint;
|
|
397
|
+
carry: bigint;
|
|
398
|
+
}
|
|
399
|
+
export interface SolDeadSyncedFields {
|
|
400
|
+
launch: string;
|
|
401
|
+
added: bigint;
|
|
402
|
+
deadTokens: bigint;
|
|
403
|
+
sCirc: bigint;
|
|
404
|
+
}
|
|
405
|
+
export interface SolGenesisRaiseBoughtFields {
|
|
406
|
+
launch: string;
|
|
407
|
+
trader: string;
|
|
408
|
+
isBuy: boolean;
|
|
409
|
+
quoteGross: bigint;
|
|
410
|
+
quoteNet: bigint;
|
|
411
|
+
refund: bigint;
|
|
412
|
+
tokens: bigint;
|
|
413
|
+
fees: bigint[];
|
|
414
|
+
traderRef: bigint;
|
|
415
|
+
fromResale: bigint;
|
|
416
|
+
fromFirst: bigint;
|
|
417
|
+
unfilled: bigint;
|
|
418
|
+
sqrtBefore: bigint;
|
|
419
|
+
sqrtAfter: bigint;
|
|
420
|
+
sqrtF: bigint;
|
|
421
|
+
floor: bigint;
|
|
422
|
+
cushion: bigint;
|
|
423
|
+
sCirc: bigint;
|
|
424
|
+
steps: number;
|
|
425
|
+
budgetHit: boolean;
|
|
426
|
+
slot: bigint;
|
|
427
|
+
ts: bigint;
|
|
428
|
+
kind: number;
|
|
429
|
+
creatorRef: bigint;
|
|
430
|
+
recipient: string;
|
|
431
|
+
bidMoney: bigint;
|
|
432
|
+
msPaid: bigint[];
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type SolanaEventMap = {
|
|
436
|
+
LaunchCreated: SolLaunchCreatedFields;
|
|
437
|
+
Graduated: SolGraduatedFields;
|
|
438
|
+
PotsSwept: SolPotsSweptFields;
|
|
439
|
+
Claimed: SolClaimedFields;
|
|
440
|
+
TeamShareBought: SolTeamShareBoughtFields;
|
|
441
|
+
PlatformWithdrawn: SolPlatformWithdrawnFields;
|
|
442
|
+
HolderWithdrawn: SolHolderWithdrawnFields;
|
|
443
|
+
PresetWritten: SolPresetWrittenFields;
|
|
444
|
+
QuoteWritten: SolQuoteWrittenFields;
|
|
445
|
+
ConfigWritten: SolConfigWrittenFields;
|
|
446
|
+
MetadataBaseSet: SolMetadataBaseSetFields;
|
|
447
|
+
TeamSlotOpened: SolTeamSlotOpenedFields;
|
|
448
|
+
TeamSlotMember: SolTeamSlotMemberFields;
|
|
449
|
+
TraderRefOpened: SolTraderRefOpenedFields;
|
|
450
|
+
TraderLinkOpened: SolTraderLinkOpenedFields;
|
|
451
|
+
TraderRefCleared: SolTraderRefClearedFields;
|
|
452
|
+
CreatorBuyUnlocked: SolCreatorBuyUnlockedFields;
|
|
453
|
+
RefOwedOpened: SolRefOwedOpenedFields;
|
|
454
|
+
RefsRolled: SolRefsRolledFields;
|
|
455
|
+
GenesisAccepted: SolGenesisAcceptedFields;
|
|
456
|
+
HandleBound: SolHandleBoundFields;
|
|
457
|
+
QuoteShort: SolQuoteShortFields;
|
|
458
|
+
BackingCredited: SolBackingCreditedFields;
|
|
459
|
+
CutWithdrawn: SolCutWithdrawnFields;
|
|
460
|
+
RoleRegistered: SolRoleRegisteredFields;
|
|
461
|
+
ClaimsLutSet: SolClaimsLutSetFields;
|
|
462
|
+
NativeFeesWithdrawn: SolNativeFeesWithdrawnFields;
|
|
463
|
+
GenesisContributed: SolGenesisContributedFields;
|
|
464
|
+
GenesisMigratedRefunded: SolGenesisMigratedRefundedFields;
|
|
465
|
+
GenesisOpened: SolGenesisOpenedFields;
|
|
466
|
+
GenesisClaimed: SolGenesisClaimedFields;
|
|
467
|
+
GenesisRefundOwed: SolGenesisRefundOwedFields;
|
|
468
|
+
GenesisRefundPaid: SolGenesisRefundPaidFields;
|
|
469
|
+
GenesisDustSwept: SolGenesisDustSweptFields;
|
|
470
|
+
GenesisSolConverted: SolGenesisSolConvertedFields;
|
|
471
|
+
GenesisWagmiBought: SolGenesisWagmiBoughtFields;
|
|
472
|
+
GenesisWagmiOpened: SolGenesisWagmiOpenedFields;
|
|
473
|
+
GenesisWagmiClaimed: SolGenesisWagmiClaimedFields;
|
|
474
|
+
GenesisWagmiDustSwept: SolGenesisWagmiDustSweptFields;
|
|
475
|
+
GenesisListedContributed: SolGenesisListedContributedFields;
|
|
476
|
+
GenesisListRootSet: SolGenesisListRootSetFields;
|
|
477
|
+
BurnsSynced: SolBurnsSyncedFields;
|
|
478
|
+
TokensBurned: SolTokensBurnedFields;
|
|
479
|
+
LaunchCreatedV2: SolLaunchCreatedV2Fields;
|
|
480
|
+
Trade: SolTradeFields;
|
|
481
|
+
HolderPositionOpened: SolHolderPositionOpenedFields;
|
|
482
|
+
HolderPositionClosed: SolHolderPositionClosedFields;
|
|
483
|
+
HolderIndexRolled: SolHolderIndexRolledFields;
|
|
484
|
+
DeadSynced: SolDeadSyncedFields;
|
|
485
|
+
GenesisRaiseBought: SolGenesisRaiseBoughtFields;
|
|
486
|
+
};
|
|
487
|
+
export type SolanaEvent = { [N in keyof SolanaEventMap]: { chain: "solana"; name: N; fields: SolanaEventMap[N] } }[keyof SolanaEventMap];
|
|
488
|
+
|
|
489
|
+
export interface EvmTradeFields {
|
|
490
|
+
launchId: bigint;
|
|
491
|
+
trader: string;
|
|
492
|
+
recipient: string;
|
|
493
|
+
isBuy: boolean;
|
|
494
|
+
quoteGross: bigint;
|
|
495
|
+
quoteNet: bigint;
|
|
496
|
+
refund: bigint;
|
|
497
|
+
tokens: bigint;
|
|
498
|
+
fees: bigint[];
|
|
499
|
+
traderRef: bigint;
|
|
500
|
+
fromResale: bigint;
|
|
501
|
+
fromFirst: bigint;
|
|
502
|
+
unfilled: bigint;
|
|
503
|
+
sqrtBefore: bigint;
|
|
504
|
+
sqrtAfter: bigint;
|
|
505
|
+
sqrtF: bigint;
|
|
506
|
+
floor: bigint;
|
|
507
|
+
cushion: bigint;
|
|
508
|
+
sCirc: bigint;
|
|
509
|
+
steps: bigint;
|
|
510
|
+
budgetHit: boolean;
|
|
511
|
+
slot: bigint;
|
|
512
|
+
ts: bigint;
|
|
513
|
+
kind: bigint;
|
|
514
|
+
creatorRef: bigint;
|
|
515
|
+
bidMoney: bigint;
|
|
516
|
+
msPaid: bigint[];
|
|
517
|
+
}
|
|
518
|
+
export interface EvmHolderIndexRolledFields {
|
|
519
|
+
launchId: bigint;
|
|
520
|
+
index: bigint;
|
|
521
|
+
wMatured: bigint;
|
|
522
|
+
wPending: bigint;
|
|
523
|
+
carry: bigint;
|
|
524
|
+
}
|
|
525
|
+
export interface EvmDeadSyncedFields {
|
|
526
|
+
launchId: bigint;
|
|
527
|
+
added: bigint;
|
|
528
|
+
deadTokens: bigint;
|
|
529
|
+
sCirc: bigint;
|
|
530
|
+
}
|
|
531
|
+
export interface EvmBackingCreditedFields {
|
|
532
|
+
launchId: bigint;
|
|
533
|
+
donor: string;
|
|
534
|
+
amount: bigint;
|
|
535
|
+
fAfter: bigint;
|
|
536
|
+
slot: bigint;
|
|
537
|
+
}
|
|
538
|
+
export interface EvmTokensBurnedV2Fields {
|
|
539
|
+
launchId: bigint;
|
|
540
|
+
wallet: string;
|
|
541
|
+
role: bigint;
|
|
542
|
+
place: bigint;
|
|
543
|
+
fromTeamBuy: bigint;
|
|
544
|
+
fromWallet: bigint;
|
|
545
|
+
balanceBefore: bigint;
|
|
546
|
+
owedAfter: bigint;
|
|
547
|
+
split: bigint[];
|
|
548
|
+
supply: bigint;
|
|
549
|
+
sOut: bigint;
|
|
550
|
+
floorAfterX64: bigint;
|
|
551
|
+
fromShareBought: bigint;
|
|
552
|
+
}
|
|
553
|
+
export interface EvmOptedInFields {
|
|
554
|
+
a: string;
|
|
555
|
+
}
|
|
556
|
+
export interface EvmClaimSkippedFields {
|
|
557
|
+
wallet: string;
|
|
558
|
+
quote: string;
|
|
559
|
+
amount: bigint;
|
|
560
|
+
}
|
|
561
|
+
export interface EvmClaimedFields {
|
|
562
|
+
wallet: string;
|
|
563
|
+
sender: string;
|
|
564
|
+
quote: string;
|
|
565
|
+
types: bigint;
|
|
566
|
+
creator: bigint;
|
|
567
|
+
creatorRef: bigint;
|
|
568
|
+
teamSlot: bigint;
|
|
569
|
+
traderRef: bigint;
|
|
570
|
+
holder: bigint;
|
|
571
|
+
extra: bigint;
|
|
572
|
+
amount: bigint;
|
|
573
|
+
}
|
|
574
|
+
export interface EvmConfigWrittenFields {
|
|
575
|
+
authority: string;
|
|
576
|
+
pendingAuthority: string;
|
|
577
|
+
timelock: string;
|
|
578
|
+
referralAuthority: string;
|
|
579
|
+
createPaused: boolean;
|
|
580
|
+
holderDest: string;
|
|
581
|
+
}
|
|
582
|
+
export interface EvmCreatorBuyUnlockedFields {
|
|
583
|
+
launchId: bigint;
|
|
584
|
+
creator: string;
|
|
585
|
+
tokens: bigint;
|
|
586
|
+
members: bigint[];
|
|
587
|
+
paid: bigint;
|
|
588
|
+
}
|
|
589
|
+
export interface EvmGraduatedFields {
|
|
590
|
+
launchId: bigint;
|
|
591
|
+
windowPriceX64: bigint;
|
|
592
|
+
priceX64: bigint;
|
|
593
|
+
windowRaised: bigint;
|
|
594
|
+
windowTokens: bigint;
|
|
595
|
+
}
|
|
596
|
+
export interface EvmHandleBoundFields {
|
|
597
|
+
handleId: string;
|
|
598
|
+
wallet: string;
|
|
599
|
+
moved: bigint;
|
|
600
|
+
}
|
|
601
|
+
export interface EvmHandleOwedMovedFields {
|
|
602
|
+
handleId: string;
|
|
603
|
+
wallet: string;
|
|
604
|
+
moved: bigint;
|
|
605
|
+
}
|
|
606
|
+
export interface EvmHolderWithdrawnFields {
|
|
607
|
+
quote: string;
|
|
608
|
+
to: string;
|
|
609
|
+
amount: bigint;
|
|
610
|
+
owedAfter: bigint;
|
|
611
|
+
}
|
|
612
|
+
export interface EvmLaunchCreatedFields {
|
|
613
|
+
launchId: bigint;
|
|
614
|
+
token: string;
|
|
615
|
+
quote: string;
|
|
616
|
+
creator: string;
|
|
617
|
+
presetId: bigint;
|
|
618
|
+
presetVersion: bigint;
|
|
619
|
+
presetHash: string;
|
|
620
|
+
p0X64: bigint;
|
|
621
|
+
raise: bigint;
|
|
622
|
+
windowTokens: bigint;
|
|
623
|
+
creatorBuyTokens: bigint;
|
|
624
|
+
createFee: bigint;
|
|
625
|
+
name: string;
|
|
626
|
+
symbol: string;
|
|
627
|
+
uri: string;
|
|
628
|
+
listed: boolean;
|
|
629
|
+
quoteUsdCentsX64: bigint;
|
|
630
|
+
nativeCreateFee: bigint;
|
|
631
|
+
}
|
|
632
|
+
export interface EvmMetadataBaseSetFields {
|
|
633
|
+
base: string;
|
|
634
|
+
}
|
|
635
|
+
export interface EvmNativeCreateFeeSetFields {
|
|
636
|
+
fee: bigint;
|
|
637
|
+
}
|
|
638
|
+
export interface EvmPayoutClaimedFields {
|
|
639
|
+
wallet: string;
|
|
640
|
+
sender: string;
|
|
641
|
+
quote: string;
|
|
642
|
+
to: string;
|
|
643
|
+
amount: bigint;
|
|
644
|
+
}
|
|
645
|
+
export interface EvmPayoutOwedFields {
|
|
646
|
+
wallet: string;
|
|
647
|
+
quote: string;
|
|
648
|
+
amount: bigint;
|
|
649
|
+
}
|
|
650
|
+
export interface EvmPlatformWithdrawnFields {
|
|
651
|
+
quote: string;
|
|
652
|
+
to: string;
|
|
653
|
+
amount: bigint;
|
|
654
|
+
owedAfter: bigint;
|
|
655
|
+
}
|
|
656
|
+
export interface EvmPotsSweptFields {
|
|
657
|
+
launchId: bigint;
|
|
658
|
+
amount: bigint;
|
|
659
|
+
reason: bigint;
|
|
660
|
+
}
|
|
661
|
+
export interface EvmPresetWrittenFields {
|
|
662
|
+
id: bigint;
|
|
663
|
+
rowVersion: bigint;
|
|
664
|
+
enabled: boolean;
|
|
665
|
+
deleted: boolean;
|
|
666
|
+
}
|
|
667
|
+
export interface EvmPriceUpdaterSetFields {
|
|
668
|
+
previous: string;
|
|
669
|
+
updater: string;
|
|
670
|
+
}
|
|
671
|
+
export interface EvmQuoteCapSetFields {
|
|
672
|
+
token: string;
|
|
673
|
+
cap: bigint;
|
|
674
|
+
}
|
|
675
|
+
export interface EvmQuoteWrittenFields {
|
|
676
|
+
token: string;
|
|
677
|
+
enabled: boolean;
|
|
678
|
+
createFee: bigint;
|
|
679
|
+
usdCentsX64: bigint;
|
|
680
|
+
}
|
|
681
|
+
export interface EvmTeamBuyClaimedFields {
|
|
682
|
+
launchId: bigint;
|
|
683
|
+
wallet: string;
|
|
684
|
+
place: bigint;
|
|
685
|
+
tokens: bigint;
|
|
686
|
+
}
|
|
687
|
+
export interface EvmTeamShareBoughtFields {
|
|
688
|
+
launchId: bigint;
|
|
689
|
+
member: string;
|
|
690
|
+
place: bigint;
|
|
691
|
+
spent: bigint;
|
|
692
|
+
refund: bigint;
|
|
693
|
+
tokens: bigint;
|
|
694
|
+
shareLeft: bigint;
|
|
695
|
+
boughtOwed: bigint;
|
|
696
|
+
day: bigint;
|
|
697
|
+
firstToday: boolean;
|
|
698
|
+
}
|
|
699
|
+
export interface EvmTeamShareBoughtClaimedFields {
|
|
700
|
+
launchId: bigint;
|
|
701
|
+
wallet: string;
|
|
702
|
+
tokens: bigint;
|
|
703
|
+
}
|
|
704
|
+
export interface EvmTeamSlotMemberFields {
|
|
705
|
+
launchId: bigint;
|
|
706
|
+
index: bigint;
|
|
707
|
+
key: string;
|
|
708
|
+
kind: bigint;
|
|
709
|
+
state: bigint;
|
|
710
|
+
paid: bigint;
|
|
711
|
+
requested: bigint;
|
|
712
|
+
bought: bigint;
|
|
713
|
+
boughtPpm: bigint;
|
|
714
|
+
}
|
|
715
|
+
export interface EvmTeamSlotOpenedFields {
|
|
716
|
+
launchId: bigint;
|
|
717
|
+
rateBps: bigint;
|
|
718
|
+
price: bigint;
|
|
719
|
+
}
|
|
720
|
+
export interface EvmTradeV1Fields {
|
|
721
|
+
launchId: bigint;
|
|
722
|
+
trader: string;
|
|
723
|
+
recipient: string;
|
|
724
|
+
isBuy: boolean;
|
|
725
|
+
quoteGross: bigint;
|
|
726
|
+
quoteNet: bigint;
|
|
727
|
+
refund: bigint;
|
|
728
|
+
tokens: bigint;
|
|
729
|
+
fees: bigint[];
|
|
730
|
+
traderRef: bigint;
|
|
731
|
+
split: bigint[];
|
|
732
|
+
credits: bigint[];
|
|
733
|
+
priceBeforeX64: bigint;
|
|
734
|
+
priceAfterX64: bigint;
|
|
735
|
+
floorAfterX64: bigint;
|
|
736
|
+
floor: bigint;
|
|
737
|
+
cushion: bigint;
|
|
738
|
+
reserveTokens: bigint;
|
|
739
|
+
sOut: bigint;
|
|
740
|
+
floorToken: bigint;
|
|
741
|
+
msPlatform: bigint;
|
|
742
|
+
msFloor: bigint;
|
|
743
|
+
tailPay: bigint;
|
|
744
|
+
tailToFloor: bigint;
|
|
745
|
+
tailTokens: bigint;
|
|
746
|
+
tailFromFloor: bigint;
|
|
747
|
+
tailFromMoney: bigint;
|
|
748
|
+
msHolder: bigint;
|
|
749
|
+
polOut: bigint;
|
|
750
|
+
polPay: bigint;
|
|
751
|
+
polTokens: bigint;
|
|
752
|
+
polGross: bigint;
|
|
753
|
+
holderFee: bigint;
|
|
754
|
+
liveBuyPriceX64: bigint;
|
|
755
|
+
polMoney: bigint;
|
|
756
|
+
}
|
|
757
|
+
export interface EvmTraderRefClearedFields {
|
|
758
|
+
trader: string;
|
|
759
|
+
}
|
|
760
|
+
export interface EvmTraderRefOpenedFields {
|
|
761
|
+
trader: string;
|
|
762
|
+
tiers: string[];
|
|
763
|
+
}
|
|
764
|
+
export interface EvmTreasurySetFields {
|
|
765
|
+
previous: string;
|
|
766
|
+
treasury: string;
|
|
767
|
+
}
|
|
768
|
+
export interface EvmZappedFields {
|
|
769
|
+
sender: string;
|
|
770
|
+
to: string;
|
|
771
|
+
launchId: bigint;
|
|
772
|
+
tokenIn: string;
|
|
773
|
+
amountIn: bigint;
|
|
774
|
+
quoteIn: bigint;
|
|
775
|
+
tokensOut: bigint;
|
|
776
|
+
refundIn: bigint;
|
|
777
|
+
refundQuote: bigint;
|
|
778
|
+
}
|
|
779
|
+
export interface EvmApprovalFields {
|
|
780
|
+
owner: string;
|
|
781
|
+
spender: string;
|
|
782
|
+
value: bigint;
|
|
783
|
+
}
|
|
784
|
+
export interface EvmTransferFields {
|
|
785
|
+
from: string;
|
|
786
|
+
to: string;
|
|
787
|
+
value: bigint;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export type EvmEventMap = {
|
|
791
|
+
Trade: EvmTradeFields;
|
|
792
|
+
HolderIndexRolled: EvmHolderIndexRolledFields;
|
|
793
|
+
DeadSynced: EvmDeadSyncedFields;
|
|
794
|
+
BackingCredited: EvmBackingCreditedFields;
|
|
795
|
+
TokensBurnedV2: EvmTokensBurnedV2Fields;
|
|
796
|
+
OptedIn: EvmOptedInFields;
|
|
797
|
+
ClaimSkipped: EvmClaimSkippedFields;
|
|
798
|
+
Claimed: EvmClaimedFields;
|
|
799
|
+
ConfigWritten: EvmConfigWrittenFields;
|
|
800
|
+
CreatorBuyUnlocked: EvmCreatorBuyUnlockedFields;
|
|
801
|
+
Graduated: EvmGraduatedFields;
|
|
802
|
+
HandleBound: EvmHandleBoundFields;
|
|
803
|
+
HandleOwedMoved: EvmHandleOwedMovedFields;
|
|
804
|
+
HolderWithdrawn: EvmHolderWithdrawnFields;
|
|
805
|
+
LaunchCreated: EvmLaunchCreatedFields;
|
|
806
|
+
MetadataBaseSet: EvmMetadataBaseSetFields;
|
|
807
|
+
NativeCreateFeeSet: EvmNativeCreateFeeSetFields;
|
|
808
|
+
PayoutClaimed: EvmPayoutClaimedFields;
|
|
809
|
+
PayoutOwed: EvmPayoutOwedFields;
|
|
810
|
+
PlatformWithdrawn: EvmPlatformWithdrawnFields;
|
|
811
|
+
PotsSwept: EvmPotsSweptFields;
|
|
812
|
+
PresetWritten: EvmPresetWrittenFields;
|
|
813
|
+
PriceUpdaterSet: EvmPriceUpdaterSetFields;
|
|
814
|
+
QuoteCapSet: EvmQuoteCapSetFields;
|
|
815
|
+
QuoteWritten: EvmQuoteWrittenFields;
|
|
816
|
+
TeamBuyClaimed: EvmTeamBuyClaimedFields;
|
|
817
|
+
TeamShareBought: EvmTeamShareBoughtFields;
|
|
818
|
+
TeamShareBoughtClaimed: EvmTeamShareBoughtClaimedFields;
|
|
819
|
+
TeamSlotMember: EvmTeamSlotMemberFields;
|
|
820
|
+
TeamSlotOpened: EvmTeamSlotOpenedFields;
|
|
821
|
+
TradeV1: EvmTradeV1Fields;
|
|
822
|
+
TraderRefCleared: EvmTraderRefClearedFields;
|
|
823
|
+
TraderRefOpened: EvmTraderRefOpenedFields;
|
|
824
|
+
TreasurySet: EvmTreasurySetFields;
|
|
825
|
+
Zapped: EvmZappedFields;
|
|
826
|
+
Approval: EvmApprovalFields;
|
|
827
|
+
Transfer: EvmTransferFields;
|
|
828
|
+
};
|
|
829
|
+
export type EvmEvent = { [N in keyof EvmEventMap]: { chain: "evm"; name: N; fields: EvmEventMap[N]; address?: string } }[keyof EvmEventMap];
|
|
830
|
+
|
|
831
|
+
export const SHARED_EVENT_NAMES = ["BackingCredited","Claimed","ConfigWritten","CreatorBuyUnlocked","DeadSynced","Graduated","HandleBound","HolderIndexRolled","HolderWithdrawn","LaunchCreated","MetadataBaseSet","PlatformWithdrawn","PotsSwept","PresetWritten","QuoteWritten","TeamShareBought","TeamSlotMember","TeamSlotOpened","Trade","TraderRefCleared","TraderRefOpened"] as const;
|