File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,24 @@ export enum Cluster {
99 testnet = "testnet" ,
1010}
1111
12+ export enum Protocol {
13+ Airdrops = "airdrops" ,
14+ Lockup = "lockup" ,
15+ }
16+
17+ export namespace Version {
18+ export enum Airdrops {
19+ V1_0 = "v1.0" ,
20+ }
21+
22+ export enum Lockup {
23+ V1_0 = "v1.0" ,
24+ }
25+ }
26+
1227export const enums = {
1328 ChainCode,
1429 Cluster,
30+ Protocol,
31+ Version,
1532} ;
Original file line number Diff line number Diff line change 11export { chains } from "./chains" ;
2+ export * from "./types" ;
Original file line number Diff line number Diff line change @@ -21,4 +21,13 @@ export namespace Solana {
2121 cluster : Cluster ;
2222 } ;
2323 } ;
24+
25+ export type Protocol = `${enums . Protocol } ` | enums . Protocol ;
26+
27+ export namespace Version {
28+ export type Airdrops = `${enums . Version . Airdrops } ` | enums . Version . Airdrops ;
29+ export type Lockup = `${enums . Version . Lockup } ` | enums . Version . Lockup ;
30+ }
31+
32+ export type Version = Version . Airdrops | Version . Lockup ;
2433}
You can’t perform that action at this time.
0 commit comments