@sign-global/tokentable 0.4.1-beta.7 → 0.4.1-beta.8

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.
Files changed (23) hide show
  1. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.d.ts +0 -4
  2. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.js +0 -16
  3. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.js.map +1 -1
  4. package/dist/cjs/airdrop/contracts/solana/SolanaContractClient.js +1 -1
  5. package/dist/cjs/airdrop/contracts/solana/fee_collector.d.ts +20 -71
  6. package/dist/cjs/airdrop/contracts/solana/fee_collector.json +20 -71
  7. package/dist/cjs/airdrop/contracts/solana/fungible_token_distributor_solana.d.ts +64 -77
  8. package/dist/cjs/airdrop/contracts/solana/fungible_token_distributor_solana.json +65 -78
  9. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.d.ts +0 -4
  10. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.js +0 -16
  11. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.js.map +1 -1
  12. package/dist/esm/airdrop/contracts/solana/SolanaContractClient.js +1 -1
  13. package/dist/esm/airdrop/contracts/solana/fee_collector.d.ts +20 -71
  14. package/dist/esm/airdrop/contracts/solana/fee_collector.json +20 -71
  15. package/dist/esm/airdrop/contracts/solana/fungible_token_distributor_solana.d.ts +64 -77
  16. package/dist/esm/airdrop/contracts/solana/fungible_token_distributor_solana.json +65 -78
  17. package/package.json +1 -1
  18. package/src/airdrop/contracts/solana/SignatureAirdropService.ts +0 -20
  19. package/src/airdrop/contracts/solana/SolanaContractClient.ts +1 -1
  20. package/src/airdrop/contracts/solana/fee_collector.json +20 -71
  21. package/src/airdrop/contracts/solana/fee_collector.ts +20 -71
  22. package/src/airdrop/contracts/solana/fungible_token_distributor_solana.json +65 -78
  23. package/src/airdrop/contracts/solana/fungible_token_distributor_solana.ts +65 -78
@@ -104,41 +104,8 @@ export type FeeCollector = {
104
104
  "path": "authority"
105
105
  },
106
106
  {
107
- "kind": "const",
108
- "value": [
109
- 6,
110
- 221,
111
- 246,
112
- 225,
113
- 215,
114
- 101,
115
- 161,
116
- 147,
117
- 217,
118
- 203,
119
- 225,
120
- 70,
121
- 206,
122
- 235,
123
- 121,
124
- 172,
125
- 28,
126
- 180,
127
- 133,
128
- 237,
129
- 95,
130
- 91,
131
- 55,
132
- 145,
133
- 58,
134
- 140,
135
- 245,
136
- 133,
137
- 126,
138
- 255,
139
- 0,
140
- 169
141
- ]
107
+ "kind": "account",
108
+ "path": "tokenProgram"
142
109
  },
143
110
  {
144
111
  "kind": "arg",
@@ -755,6 +722,12 @@ export type FeeCollector = {
755
722
  "writable": true,
756
723
  "signer": true
757
724
  },
725
+ {
726
+ "name": "newOwner",
727
+ "writable": true,
728
+ "signer": true,
729
+ "optional": true
730
+ },
758
731
  {
759
732
  "name": "systemProgram",
760
733
  "address": "11111111111111111111111111111111"
@@ -839,41 +812,8 @@ export type FeeCollector = {
839
812
  "path": "authority"
840
813
  },
841
814
  {
842
- "kind": "const",
843
- "value": [
844
- 6,
845
- 221,
846
- 246,
847
- 225,
848
- 215,
849
- 101,
850
- 161,
851
- 147,
852
- 217,
853
- 203,
854
- 225,
855
- 70,
856
- 206,
857
- 235,
858
- 121,
859
- 172,
860
- 28,
861
- 180,
862
- 133,
863
- 237,
864
- 95,
865
- 91,
866
- 55,
867
- 145,
868
- 58,
869
- 140,
870
- 245,
871
- 133,
872
- 126,
873
- 255,
874
- 0,
875
- 169
876
- ]
815
+ "kind": "account",
816
+ "path": "tokenProgram"
877
817
  },
878
818
  {
879
819
  "kind": "account",
@@ -1025,11 +965,16 @@ export type FeeCollector = {
1025
965
  },
1026
966
  {
1027
967
  "code": 6002,
968
+ "name": "notPermissioned",
969
+ "msg": "notPermissioned"
970
+ },
971
+ {
972
+ "code": 6003,
1028
973
  "name": "feesTooHigh",
1029
974
  "msg": "feesTooHigh"
1030
975
  },
1031
976
  {
1032
- "code": 6003,
977
+ "code": 6004,
1033
978
  "name": "invalidCallData",
1034
979
  "msg": "invalidCallData"
1035
980
  }
@@ -1108,6 +1053,10 @@ export type FeeCollector = {
1108
1053
  "name": "owner",
1109
1054
  "type": "pubkey"
1110
1055
  },
1056
+ {
1057
+ "name": "newOwner",
1058
+ "type": "pubkey"
1059
+ },
1111
1060
  {
1112
1061
  "name": "defaultFeesBips",
1113
1062
  "type": "u64"
@@ -80,41 +80,8 @@
80
80
  "path": "authority"
81
81
  },
82
82
  {
83
- "kind": "const",
84
- "value": [
85
- 6,
86
- 221,
87
- 246,
88
- 225,
89
- 215,
90
- 101,
91
- 161,
92
- 147,
93
- 217,
94
- 203,
95
- 225,
96
- 70,
97
- 206,
98
- 235,
99
- 121,
100
- 172,
101
- 28,
102
- 180,
103
- 133,
104
- 237,
105
- 95,
106
- 91,
107
- 55,
108
- 145,
109
- 58,
110
- 140,
111
- 245,
112
- 133,
113
- 126,
114
- 255,
115
- 0,
116
- 169
117
- ]
83
+ "kind": "account",
84
+ "path": "token_program"
118
85
  },
119
86
  {
120
87
  "kind": "account",
@@ -541,6 +508,50 @@
541
508
  }
542
509
  ]
543
510
  },
511
+ {
512
+ "name": "receive_program_admin",
513
+ "discriminator": [
514
+ 238,
515
+ 172,
516
+ 61,
517
+ 197,
518
+ 23,
519
+ 72,
520
+ 249,
521
+ 87
522
+ ],
523
+ "accounts": [
524
+ {
525
+ "name": "config",
526
+ "writable": true,
527
+ "pda": {
528
+ "seeds": [
529
+ {
530
+ "kind": "const",
531
+ "value": [
532
+ 99,
533
+ 111,
534
+ 110,
535
+ 102,
536
+ 105,
537
+ 103
538
+ ]
539
+ }
540
+ ]
541
+ }
542
+ },
543
+ {
544
+ "name": "authority",
545
+ "writable": true,
546
+ "signer": true
547
+ },
548
+ {
549
+ "name": "system_program",
550
+ "address": "11111111111111111111111111111111"
551
+ }
552
+ ],
553
+ "args": []
554
+ },
544
555
  {
545
556
  "name": "set_base_params",
546
557
  "discriminator": [
@@ -877,11 +888,6 @@
877
888
  "writable": true,
878
889
  "signer": true
879
890
  },
880
- {
881
- "name": "new_owner",
882
- "writable": true,
883
- "signer": true
884
- },
885
891
  {
886
892
  "name": "system_program",
887
893
  "address": "11111111111111111111111111111111"
@@ -938,7 +944,8 @@
938
944
  {
939
945
  "name": "new_admin",
940
946
  "writable": true,
941
- "signer": true
947
+ "signer": true,
948
+ "optional": true
942
949
  },
943
950
  {
944
951
  "name": "system_program",
@@ -1123,41 +1130,8 @@
1123
1130
  "path": "authority"
1124
1131
  },
1125
1132
  {
1126
- "kind": "const",
1127
- "value": [
1128
- 6,
1129
- 221,
1130
- 246,
1131
- 225,
1132
- 215,
1133
- 101,
1134
- 161,
1135
- 147,
1136
- 217,
1137
- 203,
1138
- 225,
1139
- 70,
1140
- 206,
1141
- 235,
1142
- 121,
1143
- 172,
1144
- 28,
1145
- 180,
1146
- 133,
1147
- 237,
1148
- 95,
1149
- 91,
1150
- 55,
1151
- 145,
1152
- 58,
1153
- 140,
1154
- 245,
1155
- 133,
1156
- 126,
1157
- 255,
1158
- 0,
1159
- 169
1160
- ]
1133
+ "kind": "account",
1134
+ "path": "token_program"
1161
1135
  },
1162
1136
  {
1163
1137
  "kind": "account",
@@ -1395,16 +1369,21 @@
1395
1369
  },
1396
1370
  {
1397
1371
  "code": 6009,
1372
+ "name": "NotPermissioned",
1373
+ "msg": "NotPermissioned"
1374
+ },
1375
+ {
1376
+ "code": 6010,
1398
1377
  "name": "OwnableUnauthorizedAccount",
1399
1378
  "msg": "OwnableUnauthorizedAccount"
1400
1379
  },
1401
1380
  {
1402
- "code": 6010,
1381
+ "code": 6011,
1403
1382
  "name": "InvalidFeeCollector",
1404
1383
  "msg": "InvalidFeeCollector"
1405
1384
  },
1406
1385
  {
1407
- "code": 6011,
1386
+ "code": 6012,
1408
1387
  "name": "Paused",
1409
1388
  "msg": "Paused"
1410
1389
  }
@@ -1511,6 +1490,10 @@
1511
1490
  {
1512
1491
  "name": "admin",
1513
1492
  "type": "pubkey"
1493
+ },
1494
+ {
1495
+ "name": "new_admin",
1496
+ "type": "pubkey"
1514
1497
  }
1515
1498
  ]
1516
1499
  }
@@ -1531,6 +1514,10 @@
1531
1514
  "name": "owner",
1532
1515
  "type": "pubkey"
1533
1516
  },
1517
+ {
1518
+ "name": "new_owner",
1519
+ "type": "pubkey"
1520
+ },
1534
1521
  {
1535
1522
  "name": "default_fees_bips",
1536
1523
  "type": "u64"
@@ -86,41 +86,8 @@ export type FungibleTokenDistributorSolana = {
86
86
  "path": "authority"
87
87
  },
88
88
  {
89
- "kind": "const",
90
- "value": [
91
- 6,
92
- 221,
93
- 246,
94
- 225,
95
- 215,
96
- 101,
97
- 161,
98
- 147,
99
- 217,
100
- 203,
101
- 225,
102
- 70,
103
- 206,
104
- 235,
105
- 121,
106
- 172,
107
- 28,
108
- 180,
109
- 133,
110
- 237,
111
- 95,
112
- 91,
113
- 55,
114
- 145,
115
- 58,
116
- 140,
117
- 245,
118
- 133,
119
- 126,
120
- 255,
121
- 0,
122
- 169
123
- ]
89
+ "kind": "account",
90
+ "path": "tokenProgram"
124
91
  },
125
92
  {
126
93
  "kind": "account",
@@ -547,6 +514,50 @@ export type FungibleTokenDistributorSolana = {
547
514
  }
548
515
  ]
549
516
  },
517
+ {
518
+ "name": "receiveProgramAdmin",
519
+ "discriminator": [
520
+ 238,
521
+ 172,
522
+ 61,
523
+ 197,
524
+ 23,
525
+ 72,
526
+ 249,
527
+ 87
528
+ ],
529
+ "accounts": [
530
+ {
531
+ "name": "config",
532
+ "writable": true,
533
+ "pda": {
534
+ "seeds": [
535
+ {
536
+ "kind": "const",
537
+ "value": [
538
+ 99,
539
+ 111,
540
+ 110,
541
+ 102,
542
+ 105,
543
+ 103
544
+ ]
545
+ }
546
+ ]
547
+ }
548
+ },
549
+ {
550
+ "name": "authority",
551
+ "writable": true,
552
+ "signer": true
553
+ },
554
+ {
555
+ "name": "systemProgram",
556
+ "address": "11111111111111111111111111111111"
557
+ }
558
+ ],
559
+ "args": []
560
+ },
550
561
  {
551
562
  "name": "setBaseParams",
552
563
  "discriminator": [
@@ -883,11 +894,6 @@ export type FungibleTokenDistributorSolana = {
883
894
  "writable": true,
884
895
  "signer": true
885
896
  },
886
- {
887
- "name": "newOwner",
888
- "writable": true,
889
- "signer": true
890
- },
891
897
  {
892
898
  "name": "systemProgram",
893
899
  "address": "11111111111111111111111111111111"
@@ -944,7 +950,8 @@ export type FungibleTokenDistributorSolana = {
944
950
  {
945
951
  "name": "newAdmin",
946
952
  "writable": true,
947
- "signer": true
953
+ "signer": true,
954
+ "optional": true
948
955
  },
949
956
  {
950
957
  "name": "systemProgram",
@@ -1129,41 +1136,8 @@ export type FungibleTokenDistributorSolana = {
1129
1136
  "path": "authority"
1130
1137
  },
1131
1138
  {
1132
- "kind": "const",
1133
- "value": [
1134
- 6,
1135
- 221,
1136
- 246,
1137
- 225,
1138
- 215,
1139
- 101,
1140
- 161,
1141
- 147,
1142
- 217,
1143
- 203,
1144
- 225,
1145
- 70,
1146
- 206,
1147
- 235,
1148
- 121,
1149
- 172,
1150
- 28,
1151
- 180,
1152
- 133,
1153
- 237,
1154
- 95,
1155
- 91,
1156
- 55,
1157
- 145,
1158
- 58,
1159
- 140,
1160
- 245,
1161
- 133,
1162
- 126,
1163
- 255,
1164
- 0,
1165
- 169
1166
- ]
1139
+ "kind": "account",
1140
+ "path": "tokenProgram"
1167
1141
  },
1168
1142
  {
1169
1143
  "kind": "account",
@@ -1401,16 +1375,21 @@ export type FungibleTokenDistributorSolana = {
1401
1375
  },
1402
1376
  {
1403
1377
  "code": 6009,
1378
+ "name": "notPermissioned",
1379
+ "msg": "notPermissioned"
1380
+ },
1381
+ {
1382
+ "code": 6010,
1404
1383
  "name": "ownableUnauthorizedAccount",
1405
1384
  "msg": "ownableUnauthorizedAccount"
1406
1385
  },
1407
1386
  {
1408
- "code": 6010,
1387
+ "code": 6011,
1409
1388
  "name": "invalidFeeCollector",
1410
1389
  "msg": "invalidFeeCollector"
1411
1390
  },
1412
1391
  {
1413
- "code": 6011,
1392
+ "code": 6012,
1414
1393
  "name": "paused",
1415
1394
  "msg": "paused"
1416
1395
  }
@@ -1517,6 +1496,10 @@ export type FungibleTokenDistributorSolana = {
1517
1496
  {
1518
1497
  "name": "admin",
1519
1498
  "type": "pubkey"
1499
+ },
1500
+ {
1501
+ "name": "newAdmin",
1502
+ "type": "pubkey"
1520
1503
  }
1521
1504
  ]
1522
1505
  }
@@ -1537,6 +1520,10 @@ export type FungibleTokenDistributorSolana = {
1537
1520
  "name": "owner",
1538
1521
  "type": "pubkey"
1539
1522
  },
1523
+ {
1524
+ "name": "newOwner",
1525
+ "type": "pubkey"
1526
+ },
1540
1527
  {
1541
1528
  "name": "defaultFeesBips",
1542
1529
  "type": "u64"