@relay-protocol/settlement-abis 2.0.4 → 2.0.6
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 +184 -24
- package/dist/index.d.ts +184 -24
- package/dist/index.js +184 -24
- package/dist/index.mjs +184 -24
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6748,6 +6748,11 @@ var RelayPriceOracle_default = [
|
|
|
6748
6748
|
type: "uint8",
|
|
6749
6749
|
internalType: "uint8"
|
|
6750
6750
|
},
|
|
6751
|
+
{
|
|
6752
|
+
name: "publishTime",
|
|
6753
|
+
type: "uint256",
|
|
6754
|
+
internalType: "uint256"
|
|
6755
|
+
},
|
|
6751
6756
|
{
|
|
6752
6757
|
name: "expiration",
|
|
6753
6758
|
type: "uint256",
|
|
@@ -6799,6 +6804,11 @@ var RelayPriceOracle_default = [
|
|
|
6799
6804
|
type: "uint8",
|
|
6800
6805
|
internalType: "uint8"
|
|
6801
6806
|
},
|
|
6807
|
+
{
|
|
6808
|
+
name: "publishTime",
|
|
6809
|
+
type: "uint256",
|
|
6810
|
+
internalType: "uint256"
|
|
6811
|
+
},
|
|
6802
6812
|
{
|
|
6803
6813
|
name: "expiration",
|
|
6804
6814
|
type: "uint256",
|
|
@@ -6862,6 +6872,11 @@ var RelayPriceOracle_default = [
|
|
|
6862
6872
|
type: "uint8",
|
|
6863
6873
|
internalType: "uint8"
|
|
6864
6874
|
},
|
|
6875
|
+
{
|
|
6876
|
+
name: "publishTime",
|
|
6877
|
+
type: "uint256",
|
|
6878
|
+
internalType: "uint256"
|
|
6879
|
+
},
|
|
6865
6880
|
{
|
|
6866
6881
|
name: "expiration",
|
|
6867
6882
|
type: "uint256",
|
|
@@ -6913,6 +6928,11 @@ var RelayPriceOracle_default = [
|
|
|
6913
6928
|
type: "uint8",
|
|
6914
6929
|
internalType: "uint8"
|
|
6915
6930
|
},
|
|
6931
|
+
{
|
|
6932
|
+
name: "publishTime",
|
|
6933
|
+
type: "uint256",
|
|
6934
|
+
internalType: "uint256"
|
|
6935
|
+
},
|
|
6916
6936
|
{
|
|
6917
6937
|
name: "expiration",
|
|
6918
6938
|
type: "uint256",
|
|
@@ -6976,6 +6996,11 @@ var RelayPriceOracle_default = [
|
|
|
6976
6996
|
type: "uint8",
|
|
6977
6997
|
internalType: "uint8"
|
|
6978
6998
|
},
|
|
6999
|
+
{
|
|
7000
|
+
name: "publishTime",
|
|
7001
|
+
type: "uint256",
|
|
7002
|
+
internalType: "uint256"
|
|
7003
|
+
},
|
|
6979
7004
|
{
|
|
6980
7005
|
name: "expiration",
|
|
6981
7006
|
type: "uint256",
|
|
@@ -7027,6 +7052,11 @@ var RelayPriceOracle_default = [
|
|
|
7027
7052
|
type: "uint8",
|
|
7028
7053
|
internalType: "uint8"
|
|
7029
7054
|
},
|
|
7055
|
+
{
|
|
7056
|
+
name: "publishTime",
|
|
7057
|
+
type: "uint256",
|
|
7058
|
+
internalType: "uint256"
|
|
7059
|
+
},
|
|
7030
7060
|
{
|
|
7031
7061
|
name: "expiration",
|
|
7032
7062
|
type: "uint256",
|
|
@@ -7095,6 +7125,11 @@ var RelayPriceOracle_default = [
|
|
|
7095
7125
|
type: "uint8",
|
|
7096
7126
|
internalType: "uint8"
|
|
7097
7127
|
},
|
|
7128
|
+
{
|
|
7129
|
+
name: "publishTime",
|
|
7130
|
+
type: "uint256",
|
|
7131
|
+
internalType: "uint256"
|
|
7132
|
+
},
|
|
7098
7133
|
{
|
|
7099
7134
|
name: "expiration",
|
|
7100
7135
|
type: "uint256",
|
|
@@ -7136,6 +7171,11 @@ var RelayPriceOracle_default = [
|
|
|
7136
7171
|
type: "uint8",
|
|
7137
7172
|
internalType: "uint8"
|
|
7138
7173
|
},
|
|
7174
|
+
{
|
|
7175
|
+
name: "publishTime",
|
|
7176
|
+
type: "uint256",
|
|
7177
|
+
internalType: "uint256"
|
|
7178
|
+
},
|
|
7139
7179
|
{
|
|
7140
7180
|
name: "expiration",
|
|
7141
7181
|
type: "uint256",
|
|
@@ -7189,6 +7229,11 @@ var RelayPriceOracle_default = [
|
|
|
7189
7229
|
type: "uint8",
|
|
7190
7230
|
internalType: "uint8"
|
|
7191
7231
|
},
|
|
7232
|
+
{
|
|
7233
|
+
name: "publishTime",
|
|
7234
|
+
type: "uint256",
|
|
7235
|
+
internalType: "uint256"
|
|
7236
|
+
},
|
|
7192
7237
|
{
|
|
7193
7238
|
name: "expiration",
|
|
7194
7239
|
type: "uint256",
|
|
@@ -7230,6 +7275,11 @@ var RelayPriceOracle_default = [
|
|
|
7230
7275
|
type: "uint8",
|
|
7231
7276
|
internalType: "uint8"
|
|
7232
7277
|
},
|
|
7278
|
+
{
|
|
7279
|
+
name: "publishTime",
|
|
7280
|
+
type: "uint256",
|
|
7281
|
+
internalType: "uint256"
|
|
7282
|
+
},
|
|
7233
7283
|
{
|
|
7234
7284
|
name: "expiration",
|
|
7235
7285
|
type: "uint256",
|
|
@@ -7271,6 +7321,11 @@ var RelayPriceOracle_default = [
|
|
|
7271
7321
|
type: "uint8",
|
|
7272
7322
|
internalType: "uint8"
|
|
7273
7323
|
},
|
|
7324
|
+
{
|
|
7325
|
+
name: "publishTime",
|
|
7326
|
+
type: "uint256",
|
|
7327
|
+
internalType: "uint256"
|
|
7328
|
+
},
|
|
7274
7329
|
{
|
|
7275
7330
|
name: "expiration",
|
|
7276
7331
|
type: "uint256",
|
|
@@ -7324,6 +7379,11 @@ var RelayPriceOracle_default = [
|
|
|
7324
7379
|
type: "uint8",
|
|
7325
7380
|
internalType: "uint8"
|
|
7326
7381
|
},
|
|
7382
|
+
{
|
|
7383
|
+
name: "publishTime",
|
|
7384
|
+
type: "uint256",
|
|
7385
|
+
internalType: "uint256"
|
|
7386
|
+
},
|
|
7327
7387
|
{
|
|
7328
7388
|
name: "expiration",
|
|
7329
7389
|
type: "uint256",
|
|
@@ -7365,6 +7425,11 @@ var RelayPriceOracle_default = [
|
|
|
7365
7425
|
type: "uint8",
|
|
7366
7426
|
internalType: "uint8"
|
|
7367
7427
|
},
|
|
7428
|
+
{
|
|
7429
|
+
name: "publishTime",
|
|
7430
|
+
type: "uint256",
|
|
7431
|
+
internalType: "uint256"
|
|
7432
|
+
},
|
|
7368
7433
|
{
|
|
7369
7434
|
name: "expiration",
|
|
7370
7435
|
type: "uint256",
|
|
@@ -7423,6 +7488,11 @@ var RelayPriceOracle_default = [
|
|
|
7423
7488
|
type: "uint8",
|
|
7424
7489
|
internalType: "uint8"
|
|
7425
7490
|
},
|
|
7491
|
+
{
|
|
7492
|
+
name: "publishTime",
|
|
7493
|
+
type: "uint256",
|
|
7494
|
+
internalType: "uint256"
|
|
7495
|
+
},
|
|
7426
7496
|
{
|
|
7427
7497
|
name: "expiration",
|
|
7428
7498
|
type: "uint256",
|
|
@@ -10771,6 +10841,11 @@ var BasicPricingOracle_default = [
|
|
|
10771
10841
|
type: "uint8",
|
|
10772
10842
|
internalType: "uint8"
|
|
10773
10843
|
},
|
|
10844
|
+
{
|
|
10845
|
+
name: "publishTime",
|
|
10846
|
+
type: "uint256",
|
|
10847
|
+
internalType: "uint256"
|
|
10848
|
+
},
|
|
10774
10849
|
{
|
|
10775
10850
|
name: "expiration",
|
|
10776
10851
|
type: "uint256",
|
|
@@ -10859,6 +10934,11 @@ var IBidAskOracle_default = [
|
|
|
10859
10934
|
type: "uint8",
|
|
10860
10935
|
internalType: "uint8"
|
|
10861
10936
|
},
|
|
10937
|
+
{
|
|
10938
|
+
name: "publishTime",
|
|
10939
|
+
type: "uint256",
|
|
10940
|
+
internalType: "uint256"
|
|
10941
|
+
},
|
|
10862
10942
|
{
|
|
10863
10943
|
name: "expiration",
|
|
10864
10944
|
type: "uint256",
|
|
@@ -10921,6 +11001,11 @@ var IPricingOracle_default = [
|
|
|
10921
11001
|
type: "uint8",
|
|
10922
11002
|
internalType: "uint8"
|
|
10923
11003
|
},
|
|
11004
|
+
{
|
|
11005
|
+
name: "publishTime",
|
|
11006
|
+
type: "uint256",
|
|
11007
|
+
internalType: "uint256"
|
|
11008
|
+
},
|
|
10924
11009
|
{
|
|
10925
11010
|
name: "expiration",
|
|
10926
11011
|
type: "uint256",
|
|
@@ -11049,6 +11134,11 @@ var SignedPricingOracle_default = [
|
|
|
11049
11134
|
type: "uint8",
|
|
11050
11135
|
internalType: "uint8"
|
|
11051
11136
|
},
|
|
11137
|
+
{
|
|
11138
|
+
name: "publishTime",
|
|
11139
|
+
type: "uint256",
|
|
11140
|
+
internalType: "uint256"
|
|
11141
|
+
},
|
|
11052
11142
|
{
|
|
11053
11143
|
name: "expiration",
|
|
11054
11144
|
type: "uint256",
|
|
@@ -11119,6 +11209,11 @@ var SignedPricingOracle_default = [
|
|
|
11119
11209
|
type: "uint8",
|
|
11120
11210
|
internalType: "uint8"
|
|
11121
11211
|
},
|
|
11212
|
+
{
|
|
11213
|
+
name: "publishTime",
|
|
11214
|
+
type: "uint256",
|
|
11215
|
+
internalType: "uint256"
|
|
11216
|
+
},
|
|
11122
11217
|
{
|
|
11123
11218
|
name: "expiration",
|
|
11124
11219
|
type: "uint256",
|
|
@@ -15022,6 +15117,11 @@ var MockPricingOracle_default = [
|
|
|
15022
15117
|
type: "uint8",
|
|
15023
15118
|
internalType: "uint8"
|
|
15024
15119
|
},
|
|
15120
|
+
{
|
|
15121
|
+
name: "publishTime",
|
|
15122
|
+
type: "uint256",
|
|
15123
|
+
internalType: "uint256"
|
|
15124
|
+
},
|
|
15025
15125
|
{
|
|
15026
15126
|
name: "expiration",
|
|
15027
15127
|
type: "uint256",
|
|
@@ -15078,6 +15178,11 @@ var MockPricingOracle_default = [
|
|
|
15078
15178
|
type: "uint8",
|
|
15079
15179
|
internalType: "uint8"
|
|
15080
15180
|
},
|
|
15181
|
+
{
|
|
15182
|
+
name: "publishTime",
|
|
15183
|
+
type: "uint256",
|
|
15184
|
+
internalType: "uint256"
|
|
15185
|
+
},
|
|
15081
15186
|
{
|
|
15082
15187
|
name: "expiration",
|
|
15083
15188
|
type: "uint256",
|
|
@@ -15117,6 +15222,11 @@ var MockPricingOracle_default = [
|
|
|
15117
15222
|
type: "uint8",
|
|
15118
15223
|
internalType: "uint8"
|
|
15119
15224
|
},
|
|
15225
|
+
{
|
|
15226
|
+
name: "publishTime",
|
|
15227
|
+
type: "uint256",
|
|
15228
|
+
internalType: "uint256"
|
|
15229
|
+
},
|
|
15120
15230
|
{
|
|
15121
15231
|
name: "expiration",
|
|
15122
15232
|
type: "uint256",
|
|
@@ -21703,30 +21813,6 @@ var RelayUsdRateLimiter_default = [
|
|
|
21703
21813
|
],
|
|
21704
21814
|
stateMutability: "view"
|
|
21705
21815
|
},
|
|
21706
|
-
{
|
|
21707
|
-
type: "function",
|
|
21708
|
-
name: "canConsume",
|
|
21709
|
-
inputs: [
|
|
21710
|
-
{
|
|
21711
|
-
name: "chainId",
|
|
21712
|
-
type: "string",
|
|
21713
|
-
internalType: "string"
|
|
21714
|
-
},
|
|
21715
|
-
{
|
|
21716
|
-
name: "usdValue",
|
|
21717
|
-
type: "uint256",
|
|
21718
|
-
internalType: "uint256"
|
|
21719
|
-
}
|
|
21720
|
-
],
|
|
21721
|
-
outputs: [
|
|
21722
|
-
{
|
|
21723
|
-
name: "ok",
|
|
21724
|
-
type: "bool",
|
|
21725
|
-
internalType: "bool"
|
|
21726
|
-
}
|
|
21727
|
-
],
|
|
21728
|
-
stateMutability: "view"
|
|
21729
|
-
},
|
|
21730
21816
|
{
|
|
21731
21817
|
type: "function",
|
|
21732
21818
|
name: "consume",
|
|
@@ -21881,6 +21967,64 @@ var RelayUsdRateLimiter_default = [
|
|
|
21881
21967
|
outputs: [],
|
|
21882
21968
|
stateMutability: "nonpayable"
|
|
21883
21969
|
},
|
|
21970
|
+
{
|
|
21971
|
+
type: "function",
|
|
21972
|
+
name: "resolveCanConsume",
|
|
21973
|
+
inputs: [
|
|
21974
|
+
{
|
|
21975
|
+
name: "tokenId",
|
|
21976
|
+
type: "uint256",
|
|
21977
|
+
internalType: "uint256"
|
|
21978
|
+
},
|
|
21979
|
+
{
|
|
21980
|
+
name: "amount",
|
|
21981
|
+
type: "uint256",
|
|
21982
|
+
internalType: "uint256"
|
|
21983
|
+
},
|
|
21984
|
+
{
|
|
21985
|
+
name: "data",
|
|
21986
|
+
type: "bytes",
|
|
21987
|
+
internalType: "bytes"
|
|
21988
|
+
}
|
|
21989
|
+
],
|
|
21990
|
+
outputs: [
|
|
21991
|
+
{
|
|
21992
|
+
name: "ok",
|
|
21993
|
+
type: "bool",
|
|
21994
|
+
internalType: "bool"
|
|
21995
|
+
}
|
|
21996
|
+
],
|
|
21997
|
+
stateMutability: "nonpayable"
|
|
21998
|
+
},
|
|
21999
|
+
{
|
|
22000
|
+
type: "function",
|
|
22001
|
+
name: "resolveCanConsumeBatch",
|
|
22002
|
+
inputs: [
|
|
22003
|
+
{
|
|
22004
|
+
name: "tokenIds",
|
|
22005
|
+
type: "uint256[]",
|
|
22006
|
+
internalType: "uint256[]"
|
|
22007
|
+
},
|
|
22008
|
+
{
|
|
22009
|
+
name: "amounts",
|
|
22010
|
+
type: "uint256[]",
|
|
22011
|
+
internalType: "uint256[]"
|
|
22012
|
+
},
|
|
22013
|
+
{
|
|
22014
|
+
name: "data",
|
|
22015
|
+
type: "bytes",
|
|
22016
|
+
internalType: "bytes"
|
|
22017
|
+
}
|
|
22018
|
+
],
|
|
22019
|
+
outputs: [
|
|
22020
|
+
{
|
|
22021
|
+
name: "ok",
|
|
22022
|
+
type: "bool",
|
|
22023
|
+
internalType: "bool"
|
|
22024
|
+
}
|
|
22025
|
+
],
|
|
22026
|
+
stateMutability: "nonpayable"
|
|
22027
|
+
},
|
|
21884
22028
|
{
|
|
21885
22029
|
type: "function",
|
|
21886
22030
|
name: "revokeRole",
|
|
@@ -22140,6 +22284,22 @@ var RelayUsdRateLimiter_default = [
|
|
|
22140
22284
|
}
|
|
22141
22285
|
]
|
|
22142
22286
|
},
|
|
22287
|
+
{
|
|
22288
|
+
type: "error",
|
|
22289
|
+
name: "ArrayLengthMismatch",
|
|
22290
|
+
inputs: [
|
|
22291
|
+
{
|
|
22292
|
+
name: "tokenIdsLength",
|
|
22293
|
+
type: "uint256",
|
|
22294
|
+
internalType: "uint256"
|
|
22295
|
+
},
|
|
22296
|
+
{
|
|
22297
|
+
name: "amountsLength",
|
|
22298
|
+
type: "uint256",
|
|
22299
|
+
internalType: "uint256"
|
|
22300
|
+
}
|
|
22301
|
+
]
|
|
22302
|
+
},
|
|
22143
22303
|
{
|
|
22144
22304
|
type: "error",
|
|
22145
22305
|
name: "ZeroAddress",
|