@relay-protocol/settlement-abis 2.0.12 → 2.0.14
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/index.d.mts +34 -48
- package/dist/index.d.ts +34 -48
- package/dist/index.js +34 -47
- package/dist/index.mjs +34 -47
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9798,6 +9798,22 @@ var PoolDrawResolver = [
|
|
|
9798
9798
|
],
|
|
9799
9799
|
anonymous: false
|
|
9800
9800
|
},
|
|
9801
|
+
{
|
|
9802
|
+
type: "error",
|
|
9803
|
+
name: "AuthorizationCountMismatch",
|
|
9804
|
+
inputs: [
|
|
9805
|
+
{
|
|
9806
|
+
name: "legs",
|
|
9807
|
+
type: "uint256",
|
|
9808
|
+
internalType: "uint256"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
name: "authorizations",
|
|
9812
|
+
type: "uint256",
|
|
9813
|
+
internalType: "uint256"
|
|
9814
|
+
}
|
|
9815
|
+
]
|
|
9816
|
+
},
|
|
9801
9817
|
{
|
|
9802
9818
|
type: "error",
|
|
9803
9819
|
name: "InsufficientDrawLegOutput",
|
|
@@ -19385,29 +19401,10 @@ var HederaVmPayloadBuilder = [
|
|
|
19385
19401
|
name: "tokenNum",
|
|
19386
19402
|
type: "uint64",
|
|
19387
19403
|
internalType: "uint64"
|
|
19388
|
-
},
|
|
19389
|
-
{
|
|
19390
|
-
name: "gasPayer",
|
|
19391
|
-
type: "address",
|
|
19392
|
-
internalType: "address"
|
|
19393
19404
|
}
|
|
19394
19405
|
],
|
|
19395
19406
|
stateMutability: "nonpayable"
|
|
19396
19407
|
},
|
|
19397
|
-
{
|
|
19398
|
-
type: "function",
|
|
19399
|
-
name: "GAS_PAYER",
|
|
19400
|
-
inputs: [
|
|
19401
|
-
],
|
|
19402
|
-
outputs: [
|
|
19403
|
-
{
|
|
19404
|
-
name: "",
|
|
19405
|
-
type: "address",
|
|
19406
|
-
internalType: "address"
|
|
19407
|
-
}
|
|
19408
|
-
],
|
|
19409
|
-
stateMutability: "view"
|
|
19410
|
-
},
|
|
19411
19408
|
{
|
|
19412
19409
|
type: "function",
|
|
19413
19410
|
name: "MAX_FEE",
|
|
@@ -19455,7 +19452,7 @@ var HederaVmPayloadBuilder = [
|
|
|
19455
19452
|
name: "buildPayload",
|
|
19456
19453
|
inputs: [
|
|
19457
19454
|
{
|
|
19458
|
-
name: "
|
|
19455
|
+
name: "",
|
|
19459
19456
|
type: "string",
|
|
19460
19457
|
internalType: "string"
|
|
19461
19458
|
},
|
|
@@ -19577,6 +19574,11 @@ var HederaVmPayloadBuilder = [
|
|
|
19577
19574
|
type: "uint64",
|
|
19578
19575
|
internalType: "uint64"
|
|
19579
19576
|
},
|
|
19577
|
+
{
|
|
19578
|
+
name: "senderNum",
|
|
19579
|
+
type: "uint64",
|
|
19580
|
+
internalType: "uint64"
|
|
19581
|
+
},
|
|
19580
19582
|
{
|
|
19581
19583
|
name: "receiverNum",
|
|
19582
19584
|
type: "uint64",
|
|
@@ -19672,22 +19674,6 @@ var HederaVmPayloadBuilder = [
|
|
|
19672
19674
|
}
|
|
19673
19675
|
]
|
|
19674
19676
|
},
|
|
19675
|
-
{
|
|
19676
|
-
type: "error",
|
|
19677
|
-
name: "FeeExceedsPaidGas",
|
|
19678
|
-
inputs: [
|
|
19679
|
-
{
|
|
19680
|
-
name: "fee",
|
|
19681
|
-
type: "uint64",
|
|
19682
|
-
internalType: "uint64"
|
|
19683
|
-
},
|
|
19684
|
-
{
|
|
19685
|
-
name: "paidAmount",
|
|
19686
|
-
type: "uint256",
|
|
19687
|
-
internalType: "uint256"
|
|
19688
|
-
}
|
|
19689
|
-
]
|
|
19690
|
-
},
|
|
19691
19677
|
{
|
|
19692
19678
|
type: "error",
|
|
19693
19679
|
name: "FieldNumberTooLarge",
|
|
@@ -19699,17 +19685,6 @@ var HederaVmPayloadBuilder = [
|
|
|
19699
19685
|
}
|
|
19700
19686
|
]
|
|
19701
19687
|
},
|
|
19702
|
-
{
|
|
19703
|
-
type: "error",
|
|
19704
|
-
name: "GasNotPaid",
|
|
19705
|
-
inputs: [
|
|
19706
|
-
{
|
|
19707
|
-
name: "withdrawParamsHash",
|
|
19708
|
-
type: "bytes32",
|
|
19709
|
-
internalType: "bytes32"
|
|
19710
|
-
}
|
|
19711
|
-
]
|
|
19712
|
-
},
|
|
19713
19688
|
{
|
|
19714
19689
|
type: "error",
|
|
19715
19690
|
name: "InvalidAccount",
|
|
@@ -19811,7 +19786,18 @@ var HederaVmPayloadBuilder = [
|
|
|
19811
19786
|
},
|
|
19812
19787
|
{
|
|
19813
19788
|
type: "error",
|
|
19814
|
-
name: "
|
|
19789
|
+
name: "PayerIsSender",
|
|
19790
|
+
inputs: [
|
|
19791
|
+
{
|
|
19792
|
+
name: "accountNum",
|
|
19793
|
+
type: "uint64",
|
|
19794
|
+
internalType: "uint64"
|
|
19795
|
+
}
|
|
19796
|
+
]
|
|
19797
|
+
},
|
|
19798
|
+
{
|
|
19799
|
+
type: "error",
|
|
19800
|
+
name: "ReceiverIsSender",
|
|
19815
19801
|
inputs: [
|
|
19816
19802
|
{
|
|
19817
19803
|
name: "accountNum",
|
package/dist/index.d.ts
CHANGED
|
@@ -9798,6 +9798,22 @@ var PoolDrawResolver = [
|
|
|
9798
9798
|
],
|
|
9799
9799
|
anonymous: false
|
|
9800
9800
|
},
|
|
9801
|
+
{
|
|
9802
|
+
type: "error",
|
|
9803
|
+
name: "AuthorizationCountMismatch",
|
|
9804
|
+
inputs: [
|
|
9805
|
+
{
|
|
9806
|
+
name: "legs",
|
|
9807
|
+
type: "uint256",
|
|
9808
|
+
internalType: "uint256"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
name: "authorizations",
|
|
9812
|
+
type: "uint256",
|
|
9813
|
+
internalType: "uint256"
|
|
9814
|
+
}
|
|
9815
|
+
]
|
|
9816
|
+
},
|
|
9801
9817
|
{
|
|
9802
9818
|
type: "error",
|
|
9803
9819
|
name: "InsufficientDrawLegOutput",
|
|
@@ -19385,29 +19401,10 @@ var HederaVmPayloadBuilder = [
|
|
|
19385
19401
|
name: "tokenNum",
|
|
19386
19402
|
type: "uint64",
|
|
19387
19403
|
internalType: "uint64"
|
|
19388
|
-
},
|
|
19389
|
-
{
|
|
19390
|
-
name: "gasPayer",
|
|
19391
|
-
type: "address",
|
|
19392
|
-
internalType: "address"
|
|
19393
19404
|
}
|
|
19394
19405
|
],
|
|
19395
19406
|
stateMutability: "nonpayable"
|
|
19396
19407
|
},
|
|
19397
|
-
{
|
|
19398
|
-
type: "function",
|
|
19399
|
-
name: "GAS_PAYER",
|
|
19400
|
-
inputs: [
|
|
19401
|
-
],
|
|
19402
|
-
outputs: [
|
|
19403
|
-
{
|
|
19404
|
-
name: "",
|
|
19405
|
-
type: "address",
|
|
19406
|
-
internalType: "address"
|
|
19407
|
-
}
|
|
19408
|
-
],
|
|
19409
|
-
stateMutability: "view"
|
|
19410
|
-
},
|
|
19411
19408
|
{
|
|
19412
19409
|
type: "function",
|
|
19413
19410
|
name: "MAX_FEE",
|
|
@@ -19455,7 +19452,7 @@ var HederaVmPayloadBuilder = [
|
|
|
19455
19452
|
name: "buildPayload",
|
|
19456
19453
|
inputs: [
|
|
19457
19454
|
{
|
|
19458
|
-
name: "
|
|
19455
|
+
name: "",
|
|
19459
19456
|
type: "string",
|
|
19460
19457
|
internalType: "string"
|
|
19461
19458
|
},
|
|
@@ -19577,6 +19574,11 @@ var HederaVmPayloadBuilder = [
|
|
|
19577
19574
|
type: "uint64",
|
|
19578
19575
|
internalType: "uint64"
|
|
19579
19576
|
},
|
|
19577
|
+
{
|
|
19578
|
+
name: "senderNum",
|
|
19579
|
+
type: "uint64",
|
|
19580
|
+
internalType: "uint64"
|
|
19581
|
+
},
|
|
19580
19582
|
{
|
|
19581
19583
|
name: "receiverNum",
|
|
19582
19584
|
type: "uint64",
|
|
@@ -19672,22 +19674,6 @@ var HederaVmPayloadBuilder = [
|
|
|
19672
19674
|
}
|
|
19673
19675
|
]
|
|
19674
19676
|
},
|
|
19675
|
-
{
|
|
19676
|
-
type: "error",
|
|
19677
|
-
name: "FeeExceedsPaidGas",
|
|
19678
|
-
inputs: [
|
|
19679
|
-
{
|
|
19680
|
-
name: "fee",
|
|
19681
|
-
type: "uint64",
|
|
19682
|
-
internalType: "uint64"
|
|
19683
|
-
},
|
|
19684
|
-
{
|
|
19685
|
-
name: "paidAmount",
|
|
19686
|
-
type: "uint256",
|
|
19687
|
-
internalType: "uint256"
|
|
19688
|
-
}
|
|
19689
|
-
]
|
|
19690
|
-
},
|
|
19691
19677
|
{
|
|
19692
19678
|
type: "error",
|
|
19693
19679
|
name: "FieldNumberTooLarge",
|
|
@@ -19699,17 +19685,6 @@ var HederaVmPayloadBuilder = [
|
|
|
19699
19685
|
}
|
|
19700
19686
|
]
|
|
19701
19687
|
},
|
|
19702
|
-
{
|
|
19703
|
-
type: "error",
|
|
19704
|
-
name: "GasNotPaid",
|
|
19705
|
-
inputs: [
|
|
19706
|
-
{
|
|
19707
|
-
name: "withdrawParamsHash",
|
|
19708
|
-
type: "bytes32",
|
|
19709
|
-
internalType: "bytes32"
|
|
19710
|
-
}
|
|
19711
|
-
]
|
|
19712
|
-
},
|
|
19713
19688
|
{
|
|
19714
19689
|
type: "error",
|
|
19715
19690
|
name: "InvalidAccount",
|
|
@@ -19811,7 +19786,18 @@ var HederaVmPayloadBuilder = [
|
|
|
19811
19786
|
},
|
|
19812
19787
|
{
|
|
19813
19788
|
type: "error",
|
|
19814
|
-
name: "
|
|
19789
|
+
name: "PayerIsSender",
|
|
19790
|
+
inputs: [
|
|
19791
|
+
{
|
|
19792
|
+
name: "accountNum",
|
|
19793
|
+
type: "uint64",
|
|
19794
|
+
internalType: "uint64"
|
|
19795
|
+
}
|
|
19796
|
+
]
|
|
19797
|
+
},
|
|
19798
|
+
{
|
|
19799
|
+
type: "error",
|
|
19800
|
+
name: "ReceiverIsSender",
|
|
19815
19801
|
inputs: [
|
|
19816
19802
|
{
|
|
19817
19803
|
name: "accountNum",
|
package/dist/index.js
CHANGED
|
@@ -9763,6 +9763,22 @@ var PoolDrawResolver_default = [
|
|
|
9763
9763
|
],
|
|
9764
9764
|
anonymous: false
|
|
9765
9765
|
},
|
|
9766
|
+
{
|
|
9767
|
+
type: "error",
|
|
9768
|
+
name: "AuthorizationCountMismatch",
|
|
9769
|
+
inputs: [
|
|
9770
|
+
{
|
|
9771
|
+
name: "legs",
|
|
9772
|
+
type: "uint256",
|
|
9773
|
+
internalType: "uint256"
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
name: "authorizations",
|
|
9777
|
+
type: "uint256",
|
|
9778
|
+
internalType: "uint256"
|
|
9779
|
+
}
|
|
9780
|
+
]
|
|
9781
|
+
},
|
|
9766
9782
|
{
|
|
9767
9783
|
type: "error",
|
|
9768
9784
|
name: "InsufficientDrawLegOutput",
|
|
@@ -19164,28 +19180,10 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19164
19180
|
name: "tokenNum",
|
|
19165
19181
|
type: "uint64",
|
|
19166
19182
|
internalType: "uint64"
|
|
19167
|
-
},
|
|
19168
|
-
{
|
|
19169
|
-
name: "gasPayer",
|
|
19170
|
-
type: "address",
|
|
19171
|
-
internalType: "address"
|
|
19172
19183
|
}
|
|
19173
19184
|
],
|
|
19174
19185
|
stateMutability: "nonpayable"
|
|
19175
19186
|
},
|
|
19176
|
-
{
|
|
19177
|
-
type: "function",
|
|
19178
|
-
name: "GAS_PAYER",
|
|
19179
|
-
inputs: [],
|
|
19180
|
-
outputs: [
|
|
19181
|
-
{
|
|
19182
|
-
name: "",
|
|
19183
|
-
type: "address",
|
|
19184
|
-
internalType: "address"
|
|
19185
|
-
}
|
|
19186
|
-
],
|
|
19187
|
-
stateMutability: "view"
|
|
19188
|
-
},
|
|
19189
19187
|
{
|
|
19190
19188
|
type: "function",
|
|
19191
19189
|
name: "MAX_FEE",
|
|
@@ -19230,7 +19228,7 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19230
19228
|
name: "buildPayload",
|
|
19231
19229
|
inputs: [
|
|
19232
19230
|
{
|
|
19233
|
-
name: "
|
|
19231
|
+
name: "",
|
|
19234
19232
|
type: "string",
|
|
19235
19233
|
internalType: "string"
|
|
19236
19234
|
},
|
|
@@ -19350,6 +19348,11 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19350
19348
|
type: "uint64",
|
|
19351
19349
|
internalType: "uint64"
|
|
19352
19350
|
},
|
|
19351
|
+
{
|
|
19352
|
+
name: "senderNum",
|
|
19353
|
+
type: "uint64",
|
|
19354
|
+
internalType: "uint64"
|
|
19355
|
+
},
|
|
19353
19356
|
{
|
|
19354
19357
|
name: "receiverNum",
|
|
19355
19358
|
type: "uint64",
|
|
@@ -19445,22 +19448,6 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19445
19448
|
}
|
|
19446
19449
|
]
|
|
19447
19450
|
},
|
|
19448
|
-
{
|
|
19449
|
-
type: "error",
|
|
19450
|
-
name: "FeeExceedsPaidGas",
|
|
19451
|
-
inputs: [
|
|
19452
|
-
{
|
|
19453
|
-
name: "fee",
|
|
19454
|
-
type: "uint64",
|
|
19455
|
-
internalType: "uint64"
|
|
19456
|
-
},
|
|
19457
|
-
{
|
|
19458
|
-
name: "paidAmount",
|
|
19459
|
-
type: "uint256",
|
|
19460
|
-
internalType: "uint256"
|
|
19461
|
-
}
|
|
19462
|
-
]
|
|
19463
|
-
},
|
|
19464
19451
|
{
|
|
19465
19452
|
type: "error",
|
|
19466
19453
|
name: "FieldNumberTooLarge",
|
|
@@ -19472,17 +19459,6 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19472
19459
|
}
|
|
19473
19460
|
]
|
|
19474
19461
|
},
|
|
19475
|
-
{
|
|
19476
|
-
type: "error",
|
|
19477
|
-
name: "GasNotPaid",
|
|
19478
|
-
inputs: [
|
|
19479
|
-
{
|
|
19480
|
-
name: "withdrawParamsHash",
|
|
19481
|
-
type: "bytes32",
|
|
19482
|
-
internalType: "bytes32"
|
|
19483
|
-
}
|
|
19484
|
-
]
|
|
19485
|
-
},
|
|
19486
19462
|
{
|
|
19487
19463
|
type: "error",
|
|
19488
19464
|
name: "InvalidAccount",
|
|
@@ -19584,7 +19560,18 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19584
19560
|
},
|
|
19585
19561
|
{
|
|
19586
19562
|
type: "error",
|
|
19587
|
-
name: "
|
|
19563
|
+
name: "PayerIsSender",
|
|
19564
|
+
inputs: [
|
|
19565
|
+
{
|
|
19566
|
+
name: "accountNum",
|
|
19567
|
+
type: "uint64",
|
|
19568
|
+
internalType: "uint64"
|
|
19569
|
+
}
|
|
19570
|
+
]
|
|
19571
|
+
},
|
|
19572
|
+
{
|
|
19573
|
+
type: "error",
|
|
19574
|
+
name: "ReceiverIsSender",
|
|
19588
19575
|
inputs: [
|
|
19589
19576
|
{
|
|
19590
19577
|
name: "accountNum",
|
package/dist/index.mjs
CHANGED
|
@@ -9640,6 +9640,22 @@ var PoolDrawResolver_default = [
|
|
|
9640
9640
|
],
|
|
9641
9641
|
anonymous: false
|
|
9642
9642
|
},
|
|
9643
|
+
{
|
|
9644
|
+
type: "error",
|
|
9645
|
+
name: "AuthorizationCountMismatch",
|
|
9646
|
+
inputs: [
|
|
9647
|
+
{
|
|
9648
|
+
name: "legs",
|
|
9649
|
+
type: "uint256",
|
|
9650
|
+
internalType: "uint256"
|
|
9651
|
+
},
|
|
9652
|
+
{
|
|
9653
|
+
name: "authorizations",
|
|
9654
|
+
type: "uint256",
|
|
9655
|
+
internalType: "uint256"
|
|
9656
|
+
}
|
|
9657
|
+
]
|
|
9658
|
+
},
|
|
9643
9659
|
{
|
|
9644
9660
|
type: "error",
|
|
9645
9661
|
name: "InsufficientDrawLegOutput",
|
|
@@ -19041,28 +19057,10 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19041
19057
|
name: "tokenNum",
|
|
19042
19058
|
type: "uint64",
|
|
19043
19059
|
internalType: "uint64"
|
|
19044
|
-
},
|
|
19045
|
-
{
|
|
19046
|
-
name: "gasPayer",
|
|
19047
|
-
type: "address",
|
|
19048
|
-
internalType: "address"
|
|
19049
19060
|
}
|
|
19050
19061
|
],
|
|
19051
19062
|
stateMutability: "nonpayable"
|
|
19052
19063
|
},
|
|
19053
|
-
{
|
|
19054
|
-
type: "function",
|
|
19055
|
-
name: "GAS_PAYER",
|
|
19056
|
-
inputs: [],
|
|
19057
|
-
outputs: [
|
|
19058
|
-
{
|
|
19059
|
-
name: "",
|
|
19060
|
-
type: "address",
|
|
19061
|
-
internalType: "address"
|
|
19062
|
-
}
|
|
19063
|
-
],
|
|
19064
|
-
stateMutability: "view"
|
|
19065
|
-
},
|
|
19066
19064
|
{
|
|
19067
19065
|
type: "function",
|
|
19068
19066
|
name: "MAX_FEE",
|
|
@@ -19107,7 +19105,7 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19107
19105
|
name: "buildPayload",
|
|
19108
19106
|
inputs: [
|
|
19109
19107
|
{
|
|
19110
|
-
name: "
|
|
19108
|
+
name: "",
|
|
19111
19109
|
type: "string",
|
|
19112
19110
|
internalType: "string"
|
|
19113
19111
|
},
|
|
@@ -19227,6 +19225,11 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19227
19225
|
type: "uint64",
|
|
19228
19226
|
internalType: "uint64"
|
|
19229
19227
|
},
|
|
19228
|
+
{
|
|
19229
|
+
name: "senderNum",
|
|
19230
|
+
type: "uint64",
|
|
19231
|
+
internalType: "uint64"
|
|
19232
|
+
},
|
|
19230
19233
|
{
|
|
19231
19234
|
name: "receiverNum",
|
|
19232
19235
|
type: "uint64",
|
|
@@ -19322,22 +19325,6 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19322
19325
|
}
|
|
19323
19326
|
]
|
|
19324
19327
|
},
|
|
19325
|
-
{
|
|
19326
|
-
type: "error",
|
|
19327
|
-
name: "FeeExceedsPaidGas",
|
|
19328
|
-
inputs: [
|
|
19329
|
-
{
|
|
19330
|
-
name: "fee",
|
|
19331
|
-
type: "uint64",
|
|
19332
|
-
internalType: "uint64"
|
|
19333
|
-
},
|
|
19334
|
-
{
|
|
19335
|
-
name: "paidAmount",
|
|
19336
|
-
type: "uint256",
|
|
19337
|
-
internalType: "uint256"
|
|
19338
|
-
}
|
|
19339
|
-
]
|
|
19340
|
-
},
|
|
19341
19328
|
{
|
|
19342
19329
|
type: "error",
|
|
19343
19330
|
name: "FieldNumberTooLarge",
|
|
@@ -19349,17 +19336,6 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19349
19336
|
}
|
|
19350
19337
|
]
|
|
19351
19338
|
},
|
|
19352
|
-
{
|
|
19353
|
-
type: "error",
|
|
19354
|
-
name: "GasNotPaid",
|
|
19355
|
-
inputs: [
|
|
19356
|
-
{
|
|
19357
|
-
name: "withdrawParamsHash",
|
|
19358
|
-
type: "bytes32",
|
|
19359
|
-
internalType: "bytes32"
|
|
19360
|
-
}
|
|
19361
|
-
]
|
|
19362
|
-
},
|
|
19363
19339
|
{
|
|
19364
19340
|
type: "error",
|
|
19365
19341
|
name: "InvalidAccount",
|
|
@@ -19461,7 +19437,18 @@ var HederaVmPayloadBuilder_default = [
|
|
|
19461
19437
|
},
|
|
19462
19438
|
{
|
|
19463
19439
|
type: "error",
|
|
19464
|
-
name: "
|
|
19440
|
+
name: "PayerIsSender",
|
|
19441
|
+
inputs: [
|
|
19442
|
+
{
|
|
19443
|
+
name: "accountNum",
|
|
19444
|
+
type: "uint64",
|
|
19445
|
+
internalType: "uint64"
|
|
19446
|
+
}
|
|
19447
|
+
]
|
|
19448
|
+
},
|
|
19449
|
+
{
|
|
19450
|
+
type: "error",
|
|
19451
|
+
name: "ReceiverIsSender",
|
|
19465
19452
|
inputs: [
|
|
19466
19453
|
{
|
|
19467
19454
|
name: "accountNum",
|