File tree 2 files changed +78
-0
lines changed
2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1304
1304
"args" : [],
1305
1305
"returns" : " bool"
1306
1306
},
1307
+ {
1308
+ "name" : " setThreshold" ,
1309
+ "accounts" : [
1310
+ {
1311
+ "name" : " owner" ,
1312
+ "isMut" : false ,
1313
+ "isSigner" : true
1314
+ },
1315
+ {
1316
+ "name" : " config" ,
1317
+ "isMut" : true ,
1318
+ "isSigner" : false
1319
+ }
1320
+ ],
1321
+ "args" : [
1322
+ {
1323
+ "name" : " threshold" ,
1324
+ "type" : " u8"
1325
+ }
1326
+ ]
1327
+ },
1307
1328
{
1308
1329
"name" : " setWormholePeer" ,
1309
1330
"accounts" : [
2453
2474
"code" : 6027 ,
2454
2475
"name" : " InvalidMultisig" ,
2455
2476
"msg" : " InvalidMultisig"
2477
+ },
2478
+ {
2479
+ "code" : 6028 ,
2480
+ "name" : " ThresholdTooHigh" ,
2481
+ "msg" : " ThresholdTooHigh"
2456
2482
}
2457
2483
]
2458
2484
}
Original file line number Diff line number Diff line change @@ -1304,6 +1304,27 @@ export type ExampleNativeTokenTransfers = {
1304
1304
"args" : [ ] ,
1305
1305
"returns" : "bool"
1306
1306
} ,
1307
+ {
1308
+ "name" : "setThreshold" ,
1309
+ "accounts" : [
1310
+ {
1311
+ "name" : "owner" ,
1312
+ "isMut" : false ,
1313
+ "isSigner" : true
1314
+ } ,
1315
+ {
1316
+ "name" : "config" ,
1317
+ "isMut" : true ,
1318
+ "isSigner" : false
1319
+ }
1320
+ ] ,
1321
+ "args" : [
1322
+ {
1323
+ "name" : "threshold" ,
1324
+ "type" : "u8"
1325
+ }
1326
+ ]
1327
+ } ,
1307
1328
{
1308
1329
"name" : "setWormholePeer" ,
1309
1330
"accounts" : [
@@ -2453,6 +2474,11 @@ export type ExampleNativeTokenTransfers = {
2453
2474
"code" : 6027 ,
2454
2475
"name" : "InvalidMultisig" ,
2455
2476
"msg" : "InvalidMultisig"
2477
+ } ,
2478
+ {
2479
+ "code" : 6028 ,
2480
+ "name" : "ThresholdTooHigh" ,
2481
+ "msg" : "ThresholdTooHigh"
2456
2482
}
2457
2483
]
2458
2484
}
@@ -3762,6 +3788,27 @@ export const IDL: ExampleNativeTokenTransfers = {
3762
3788
"args" : [ ] ,
3763
3789
"returns" : "bool"
3764
3790
} ,
3791
+ {
3792
+ "name" : "setThreshold" ,
3793
+ "accounts" : [
3794
+ {
3795
+ "name" : "owner" ,
3796
+ "isMut" : false ,
3797
+ "isSigner" : true
3798
+ } ,
3799
+ {
3800
+ "name" : "config" ,
3801
+ "isMut" : true ,
3802
+ "isSigner" : false
3803
+ }
3804
+ ] ,
3805
+ "args" : [
3806
+ {
3807
+ "name" : "threshold" ,
3808
+ "type" : "u8"
3809
+ }
3810
+ ]
3811
+ } ,
3765
3812
{
3766
3813
"name" : "setWormholePeer" ,
3767
3814
"accounts" : [
@@ -4911,6 +4958,11 @@ export const IDL: ExampleNativeTokenTransfers = {
4911
4958
"code" : 6027 ,
4912
4959
"name" : "InvalidMultisig" ,
4913
4960
"msg" : "InvalidMultisig"
4961
+ } ,
4962
+ {
4963
+ "code" : 6028 ,
4964
+ "name" : "ThresholdTooHigh" ,
4965
+ "msg" : "ThresholdTooHigh"
4914
4966
}
4915
4967
]
4916
4968
}
You can’t perform that action at this time.
0 commit comments