@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.js
CHANGED
|
@@ -6870,6 +6870,11 @@ var RelayPriceOracle_default = [
|
|
|
6870
6870
|
type: "uint8",
|
|
6871
6871
|
internalType: "uint8"
|
|
6872
6872
|
},
|
|
6873
|
+
{
|
|
6874
|
+
name: "publishTime",
|
|
6875
|
+
type: "uint256",
|
|
6876
|
+
internalType: "uint256"
|
|
6877
|
+
},
|
|
6873
6878
|
{
|
|
6874
6879
|
name: "expiration",
|
|
6875
6880
|
type: "uint256",
|
|
@@ -6921,6 +6926,11 @@ var RelayPriceOracle_default = [
|
|
|
6921
6926
|
type: "uint8",
|
|
6922
6927
|
internalType: "uint8"
|
|
6923
6928
|
},
|
|
6929
|
+
{
|
|
6930
|
+
name: "publishTime",
|
|
6931
|
+
type: "uint256",
|
|
6932
|
+
internalType: "uint256"
|
|
6933
|
+
},
|
|
6924
6934
|
{
|
|
6925
6935
|
name: "expiration",
|
|
6926
6936
|
type: "uint256",
|
|
@@ -6984,6 +6994,11 @@ var RelayPriceOracle_default = [
|
|
|
6984
6994
|
type: "uint8",
|
|
6985
6995
|
internalType: "uint8"
|
|
6986
6996
|
},
|
|
6997
|
+
{
|
|
6998
|
+
name: "publishTime",
|
|
6999
|
+
type: "uint256",
|
|
7000
|
+
internalType: "uint256"
|
|
7001
|
+
},
|
|
6987
7002
|
{
|
|
6988
7003
|
name: "expiration",
|
|
6989
7004
|
type: "uint256",
|
|
@@ -7035,6 +7050,11 @@ var RelayPriceOracle_default = [
|
|
|
7035
7050
|
type: "uint8",
|
|
7036
7051
|
internalType: "uint8"
|
|
7037
7052
|
},
|
|
7053
|
+
{
|
|
7054
|
+
name: "publishTime",
|
|
7055
|
+
type: "uint256",
|
|
7056
|
+
internalType: "uint256"
|
|
7057
|
+
},
|
|
7038
7058
|
{
|
|
7039
7059
|
name: "expiration",
|
|
7040
7060
|
type: "uint256",
|
|
@@ -7098,6 +7118,11 @@ var RelayPriceOracle_default = [
|
|
|
7098
7118
|
type: "uint8",
|
|
7099
7119
|
internalType: "uint8"
|
|
7100
7120
|
},
|
|
7121
|
+
{
|
|
7122
|
+
name: "publishTime",
|
|
7123
|
+
type: "uint256",
|
|
7124
|
+
internalType: "uint256"
|
|
7125
|
+
},
|
|
7101
7126
|
{
|
|
7102
7127
|
name: "expiration",
|
|
7103
7128
|
type: "uint256",
|
|
@@ -7149,6 +7174,11 @@ var RelayPriceOracle_default = [
|
|
|
7149
7174
|
type: "uint8",
|
|
7150
7175
|
internalType: "uint8"
|
|
7151
7176
|
},
|
|
7177
|
+
{
|
|
7178
|
+
name: "publishTime",
|
|
7179
|
+
type: "uint256",
|
|
7180
|
+
internalType: "uint256"
|
|
7181
|
+
},
|
|
7152
7182
|
{
|
|
7153
7183
|
name: "expiration",
|
|
7154
7184
|
type: "uint256",
|
|
@@ -7217,6 +7247,11 @@ var RelayPriceOracle_default = [
|
|
|
7217
7247
|
type: "uint8",
|
|
7218
7248
|
internalType: "uint8"
|
|
7219
7249
|
},
|
|
7250
|
+
{
|
|
7251
|
+
name: "publishTime",
|
|
7252
|
+
type: "uint256",
|
|
7253
|
+
internalType: "uint256"
|
|
7254
|
+
},
|
|
7220
7255
|
{
|
|
7221
7256
|
name: "expiration",
|
|
7222
7257
|
type: "uint256",
|
|
@@ -7258,6 +7293,11 @@ var RelayPriceOracle_default = [
|
|
|
7258
7293
|
type: "uint8",
|
|
7259
7294
|
internalType: "uint8"
|
|
7260
7295
|
},
|
|
7296
|
+
{
|
|
7297
|
+
name: "publishTime",
|
|
7298
|
+
type: "uint256",
|
|
7299
|
+
internalType: "uint256"
|
|
7300
|
+
},
|
|
7261
7301
|
{
|
|
7262
7302
|
name: "expiration",
|
|
7263
7303
|
type: "uint256",
|
|
@@ -7311,6 +7351,11 @@ var RelayPriceOracle_default = [
|
|
|
7311
7351
|
type: "uint8",
|
|
7312
7352
|
internalType: "uint8"
|
|
7313
7353
|
},
|
|
7354
|
+
{
|
|
7355
|
+
name: "publishTime",
|
|
7356
|
+
type: "uint256",
|
|
7357
|
+
internalType: "uint256"
|
|
7358
|
+
},
|
|
7314
7359
|
{
|
|
7315
7360
|
name: "expiration",
|
|
7316
7361
|
type: "uint256",
|
|
@@ -7352,6 +7397,11 @@ var RelayPriceOracle_default = [
|
|
|
7352
7397
|
type: "uint8",
|
|
7353
7398
|
internalType: "uint8"
|
|
7354
7399
|
},
|
|
7400
|
+
{
|
|
7401
|
+
name: "publishTime",
|
|
7402
|
+
type: "uint256",
|
|
7403
|
+
internalType: "uint256"
|
|
7404
|
+
},
|
|
7355
7405
|
{
|
|
7356
7406
|
name: "expiration",
|
|
7357
7407
|
type: "uint256",
|
|
@@ -7393,6 +7443,11 @@ var RelayPriceOracle_default = [
|
|
|
7393
7443
|
type: "uint8",
|
|
7394
7444
|
internalType: "uint8"
|
|
7395
7445
|
},
|
|
7446
|
+
{
|
|
7447
|
+
name: "publishTime",
|
|
7448
|
+
type: "uint256",
|
|
7449
|
+
internalType: "uint256"
|
|
7450
|
+
},
|
|
7396
7451
|
{
|
|
7397
7452
|
name: "expiration",
|
|
7398
7453
|
type: "uint256",
|
|
@@ -7446,6 +7501,11 @@ var RelayPriceOracle_default = [
|
|
|
7446
7501
|
type: "uint8",
|
|
7447
7502
|
internalType: "uint8"
|
|
7448
7503
|
},
|
|
7504
|
+
{
|
|
7505
|
+
name: "publishTime",
|
|
7506
|
+
type: "uint256",
|
|
7507
|
+
internalType: "uint256"
|
|
7508
|
+
},
|
|
7449
7509
|
{
|
|
7450
7510
|
name: "expiration",
|
|
7451
7511
|
type: "uint256",
|
|
@@ -7487,6 +7547,11 @@ var RelayPriceOracle_default = [
|
|
|
7487
7547
|
type: "uint8",
|
|
7488
7548
|
internalType: "uint8"
|
|
7489
7549
|
},
|
|
7550
|
+
{
|
|
7551
|
+
name: "publishTime",
|
|
7552
|
+
type: "uint256",
|
|
7553
|
+
internalType: "uint256"
|
|
7554
|
+
},
|
|
7490
7555
|
{
|
|
7491
7556
|
name: "expiration",
|
|
7492
7557
|
type: "uint256",
|
|
@@ -7545,6 +7610,11 @@ var RelayPriceOracle_default = [
|
|
|
7545
7610
|
type: "uint8",
|
|
7546
7611
|
internalType: "uint8"
|
|
7547
7612
|
},
|
|
7613
|
+
{
|
|
7614
|
+
name: "publishTime",
|
|
7615
|
+
type: "uint256",
|
|
7616
|
+
internalType: "uint256"
|
|
7617
|
+
},
|
|
7548
7618
|
{
|
|
7549
7619
|
name: "expiration",
|
|
7550
7620
|
type: "uint256",
|
|
@@ -10893,6 +10963,11 @@ var BasicPricingOracle_default = [
|
|
|
10893
10963
|
type: "uint8",
|
|
10894
10964
|
internalType: "uint8"
|
|
10895
10965
|
},
|
|
10966
|
+
{
|
|
10967
|
+
name: "publishTime",
|
|
10968
|
+
type: "uint256",
|
|
10969
|
+
internalType: "uint256"
|
|
10970
|
+
},
|
|
10896
10971
|
{
|
|
10897
10972
|
name: "expiration",
|
|
10898
10973
|
type: "uint256",
|
|
@@ -10981,6 +11056,11 @@ var IBidAskOracle_default = [
|
|
|
10981
11056
|
type: "uint8",
|
|
10982
11057
|
internalType: "uint8"
|
|
10983
11058
|
},
|
|
11059
|
+
{
|
|
11060
|
+
name: "publishTime",
|
|
11061
|
+
type: "uint256",
|
|
11062
|
+
internalType: "uint256"
|
|
11063
|
+
},
|
|
10984
11064
|
{
|
|
10985
11065
|
name: "expiration",
|
|
10986
11066
|
type: "uint256",
|
|
@@ -11043,6 +11123,11 @@ var IPricingOracle_default = [
|
|
|
11043
11123
|
type: "uint8",
|
|
11044
11124
|
internalType: "uint8"
|
|
11045
11125
|
},
|
|
11126
|
+
{
|
|
11127
|
+
name: "publishTime",
|
|
11128
|
+
type: "uint256",
|
|
11129
|
+
internalType: "uint256"
|
|
11130
|
+
},
|
|
11046
11131
|
{
|
|
11047
11132
|
name: "expiration",
|
|
11048
11133
|
type: "uint256",
|
|
@@ -11171,6 +11256,11 @@ var SignedPricingOracle_default = [
|
|
|
11171
11256
|
type: "uint8",
|
|
11172
11257
|
internalType: "uint8"
|
|
11173
11258
|
},
|
|
11259
|
+
{
|
|
11260
|
+
name: "publishTime",
|
|
11261
|
+
type: "uint256",
|
|
11262
|
+
internalType: "uint256"
|
|
11263
|
+
},
|
|
11174
11264
|
{
|
|
11175
11265
|
name: "expiration",
|
|
11176
11266
|
type: "uint256",
|
|
@@ -11241,6 +11331,11 @@ var SignedPricingOracle_default = [
|
|
|
11241
11331
|
type: "uint8",
|
|
11242
11332
|
internalType: "uint8"
|
|
11243
11333
|
},
|
|
11334
|
+
{
|
|
11335
|
+
name: "publishTime",
|
|
11336
|
+
type: "uint256",
|
|
11337
|
+
internalType: "uint256"
|
|
11338
|
+
},
|
|
11244
11339
|
{
|
|
11245
11340
|
name: "expiration",
|
|
11246
11341
|
type: "uint256",
|
|
@@ -15144,6 +15239,11 @@ var MockPricingOracle_default = [
|
|
|
15144
15239
|
type: "uint8",
|
|
15145
15240
|
internalType: "uint8"
|
|
15146
15241
|
},
|
|
15242
|
+
{
|
|
15243
|
+
name: "publishTime",
|
|
15244
|
+
type: "uint256",
|
|
15245
|
+
internalType: "uint256"
|
|
15246
|
+
},
|
|
15147
15247
|
{
|
|
15148
15248
|
name: "expiration",
|
|
15149
15249
|
type: "uint256",
|
|
@@ -15200,6 +15300,11 @@ var MockPricingOracle_default = [
|
|
|
15200
15300
|
type: "uint8",
|
|
15201
15301
|
internalType: "uint8"
|
|
15202
15302
|
},
|
|
15303
|
+
{
|
|
15304
|
+
name: "publishTime",
|
|
15305
|
+
type: "uint256",
|
|
15306
|
+
internalType: "uint256"
|
|
15307
|
+
},
|
|
15203
15308
|
{
|
|
15204
15309
|
name: "expiration",
|
|
15205
15310
|
type: "uint256",
|
|
@@ -15239,6 +15344,11 @@ var MockPricingOracle_default = [
|
|
|
15239
15344
|
type: "uint8",
|
|
15240
15345
|
internalType: "uint8"
|
|
15241
15346
|
},
|
|
15347
|
+
{
|
|
15348
|
+
name: "publishTime",
|
|
15349
|
+
type: "uint256",
|
|
15350
|
+
internalType: "uint256"
|
|
15351
|
+
},
|
|
15242
15352
|
{
|
|
15243
15353
|
name: "expiration",
|
|
15244
15354
|
type: "uint256",
|
|
@@ -21825,30 +21935,6 @@ var RelayUsdRateLimiter_default = [
|
|
|
21825
21935
|
],
|
|
21826
21936
|
stateMutability: "view"
|
|
21827
21937
|
},
|
|
21828
|
-
{
|
|
21829
|
-
type: "function",
|
|
21830
|
-
name: "canConsume",
|
|
21831
|
-
inputs: [
|
|
21832
|
-
{
|
|
21833
|
-
name: "chainId",
|
|
21834
|
-
type: "string",
|
|
21835
|
-
internalType: "string"
|
|
21836
|
-
},
|
|
21837
|
-
{
|
|
21838
|
-
name: "usdValue",
|
|
21839
|
-
type: "uint256",
|
|
21840
|
-
internalType: "uint256"
|
|
21841
|
-
}
|
|
21842
|
-
],
|
|
21843
|
-
outputs: [
|
|
21844
|
-
{
|
|
21845
|
-
name: "ok",
|
|
21846
|
-
type: "bool",
|
|
21847
|
-
internalType: "bool"
|
|
21848
|
-
}
|
|
21849
|
-
],
|
|
21850
|
-
stateMutability: "view"
|
|
21851
|
-
},
|
|
21852
21938
|
{
|
|
21853
21939
|
type: "function",
|
|
21854
21940
|
name: "consume",
|
|
@@ -22003,6 +22089,64 @@ var RelayUsdRateLimiter_default = [
|
|
|
22003
22089
|
outputs: [],
|
|
22004
22090
|
stateMutability: "nonpayable"
|
|
22005
22091
|
},
|
|
22092
|
+
{
|
|
22093
|
+
type: "function",
|
|
22094
|
+
name: "resolveCanConsume",
|
|
22095
|
+
inputs: [
|
|
22096
|
+
{
|
|
22097
|
+
name: "tokenId",
|
|
22098
|
+
type: "uint256",
|
|
22099
|
+
internalType: "uint256"
|
|
22100
|
+
},
|
|
22101
|
+
{
|
|
22102
|
+
name: "amount",
|
|
22103
|
+
type: "uint256",
|
|
22104
|
+
internalType: "uint256"
|
|
22105
|
+
},
|
|
22106
|
+
{
|
|
22107
|
+
name: "data",
|
|
22108
|
+
type: "bytes",
|
|
22109
|
+
internalType: "bytes"
|
|
22110
|
+
}
|
|
22111
|
+
],
|
|
22112
|
+
outputs: [
|
|
22113
|
+
{
|
|
22114
|
+
name: "ok",
|
|
22115
|
+
type: "bool",
|
|
22116
|
+
internalType: "bool"
|
|
22117
|
+
}
|
|
22118
|
+
],
|
|
22119
|
+
stateMutability: "nonpayable"
|
|
22120
|
+
},
|
|
22121
|
+
{
|
|
22122
|
+
type: "function",
|
|
22123
|
+
name: "resolveCanConsumeBatch",
|
|
22124
|
+
inputs: [
|
|
22125
|
+
{
|
|
22126
|
+
name: "tokenIds",
|
|
22127
|
+
type: "uint256[]",
|
|
22128
|
+
internalType: "uint256[]"
|
|
22129
|
+
},
|
|
22130
|
+
{
|
|
22131
|
+
name: "amounts",
|
|
22132
|
+
type: "uint256[]",
|
|
22133
|
+
internalType: "uint256[]"
|
|
22134
|
+
},
|
|
22135
|
+
{
|
|
22136
|
+
name: "data",
|
|
22137
|
+
type: "bytes",
|
|
22138
|
+
internalType: "bytes"
|
|
22139
|
+
}
|
|
22140
|
+
],
|
|
22141
|
+
outputs: [
|
|
22142
|
+
{
|
|
22143
|
+
name: "ok",
|
|
22144
|
+
type: "bool",
|
|
22145
|
+
internalType: "bool"
|
|
22146
|
+
}
|
|
22147
|
+
],
|
|
22148
|
+
stateMutability: "nonpayable"
|
|
22149
|
+
},
|
|
22006
22150
|
{
|
|
22007
22151
|
type: "function",
|
|
22008
22152
|
name: "revokeRole",
|
|
@@ -22262,6 +22406,22 @@ var RelayUsdRateLimiter_default = [
|
|
|
22262
22406
|
}
|
|
22263
22407
|
]
|
|
22264
22408
|
},
|
|
22409
|
+
{
|
|
22410
|
+
type: "error",
|
|
22411
|
+
name: "ArrayLengthMismatch",
|
|
22412
|
+
inputs: [
|
|
22413
|
+
{
|
|
22414
|
+
name: "tokenIdsLength",
|
|
22415
|
+
type: "uint256",
|
|
22416
|
+
internalType: "uint256"
|
|
22417
|
+
},
|
|
22418
|
+
{
|
|
22419
|
+
name: "amountsLength",
|
|
22420
|
+
type: "uint256",
|
|
22421
|
+
internalType: "uint256"
|
|
22422
|
+
}
|
|
22423
|
+
]
|
|
22424
|
+
},
|
|
22265
22425
|
{
|
|
22266
22426
|
type: "error",
|
|
22267
22427
|
name: "ZeroAddress",
|