@craftec/flowcraft-sdk 0.1.5 → 0.1.7
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/dist/idl.json +69 -0
- package/package.json +1 -1
package/dist/idl.json
CHANGED
|
@@ -468,6 +468,49 @@
|
|
|
468
468
|
],
|
|
469
469
|
"args": []
|
|
470
470
|
},
|
|
471
|
+
{
|
|
472
|
+
"name": "close_config",
|
|
473
|
+
"docs": [
|
|
474
|
+
"Close config account (admin only) - for migration/reinitialization"
|
|
475
|
+
],
|
|
476
|
+
"discriminator": [
|
|
477
|
+
145,
|
|
478
|
+
9,
|
|
479
|
+
72,
|
|
480
|
+
157,
|
|
481
|
+
95,
|
|
482
|
+
125,
|
|
483
|
+
61,
|
|
484
|
+
85
|
|
485
|
+
],
|
|
486
|
+
"accounts": [
|
|
487
|
+
{
|
|
488
|
+
"name": "admin",
|
|
489
|
+
"writable": true,
|
|
490
|
+
"signer": true
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "config",
|
|
494
|
+
"writable": true,
|
|
495
|
+
"pda": {
|
|
496
|
+
"seeds": [
|
|
497
|
+
{
|
|
498
|
+
"kind": "const",
|
|
499
|
+
"value": [
|
|
500
|
+
99,
|
|
501
|
+
111,
|
|
502
|
+
110,
|
|
503
|
+
102,
|
|
504
|
+
105,
|
|
505
|
+
103
|
|
506
|
+
]
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"args": []
|
|
513
|
+
},
|
|
471
514
|
{
|
|
472
515
|
"name": "create_pool",
|
|
473
516
|
"docs": [
|
|
@@ -857,6 +900,24 @@
|
|
|
857
900
|
{
|
|
858
901
|
"name": "subscriber"
|
|
859
902
|
},
|
|
903
|
+
{
|
|
904
|
+
"name": "config",
|
|
905
|
+
"pda": {
|
|
906
|
+
"seeds": [
|
|
907
|
+
{
|
|
908
|
+
"kind": "const",
|
|
909
|
+
"value": [
|
|
910
|
+
99,
|
|
911
|
+
111,
|
|
912
|
+
110,
|
|
913
|
+
102,
|
|
914
|
+
105,
|
|
915
|
+
103
|
|
916
|
+
]
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
}
|
|
920
|
+
},
|
|
860
921
|
{
|
|
861
922
|
"name": "pool",
|
|
862
923
|
"writable": true,
|
|
@@ -941,6 +1002,10 @@
|
|
|
941
1002
|
"name": "payer_token_account",
|
|
942
1003
|
"writable": true
|
|
943
1004
|
},
|
|
1005
|
+
{
|
|
1006
|
+
"name": "treasury_token_account",
|
|
1007
|
+
"writable": true
|
|
1008
|
+
},
|
|
944
1009
|
{
|
|
945
1010
|
"name": "token_program",
|
|
946
1011
|
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
@@ -1510,6 +1575,10 @@
|
|
|
1510
1575
|
"name": "difference",
|
|
1511
1576
|
"type": "u64"
|
|
1512
1577
|
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "fee",
|
|
1580
|
+
"type": "u64"
|
|
1581
|
+
},
|
|
1513
1582
|
{
|
|
1514
1583
|
"name": "is_upgrade",
|
|
1515
1584
|
"type": "bool"
|