@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.d.mts
CHANGED
|
@@ -6889,6 +6889,11 @@ var RelayPriceOracle = [
|
|
|
6889
6889
|
type: "uint8",
|
|
6890
6890
|
internalType: "uint8"
|
|
6891
6891
|
},
|
|
6892
|
+
{
|
|
6893
|
+
name: "publishTime",
|
|
6894
|
+
type: "uint256",
|
|
6895
|
+
internalType: "uint256"
|
|
6896
|
+
},
|
|
6892
6897
|
{
|
|
6893
6898
|
name: "expiration",
|
|
6894
6899
|
type: "uint256",
|
|
@@ -6940,6 +6945,11 @@ var RelayPriceOracle = [
|
|
|
6940
6945
|
type: "uint8",
|
|
6941
6946
|
internalType: "uint8"
|
|
6942
6947
|
},
|
|
6948
|
+
{
|
|
6949
|
+
name: "publishTime",
|
|
6950
|
+
type: "uint256",
|
|
6951
|
+
internalType: "uint256"
|
|
6952
|
+
},
|
|
6943
6953
|
{
|
|
6944
6954
|
name: "expiration",
|
|
6945
6955
|
type: "uint256",
|
|
@@ -7003,6 +7013,11 @@ var RelayPriceOracle = [
|
|
|
7003
7013
|
type: "uint8",
|
|
7004
7014
|
internalType: "uint8"
|
|
7005
7015
|
},
|
|
7016
|
+
{
|
|
7017
|
+
name: "publishTime",
|
|
7018
|
+
type: "uint256",
|
|
7019
|
+
internalType: "uint256"
|
|
7020
|
+
},
|
|
7006
7021
|
{
|
|
7007
7022
|
name: "expiration",
|
|
7008
7023
|
type: "uint256",
|
|
@@ -7054,6 +7069,11 @@ var RelayPriceOracle = [
|
|
|
7054
7069
|
type: "uint8",
|
|
7055
7070
|
internalType: "uint8"
|
|
7056
7071
|
},
|
|
7072
|
+
{
|
|
7073
|
+
name: "publishTime",
|
|
7074
|
+
type: "uint256",
|
|
7075
|
+
internalType: "uint256"
|
|
7076
|
+
},
|
|
7057
7077
|
{
|
|
7058
7078
|
name: "expiration",
|
|
7059
7079
|
type: "uint256",
|
|
@@ -7117,6 +7137,11 @@ var RelayPriceOracle = [
|
|
|
7117
7137
|
type: "uint8",
|
|
7118
7138
|
internalType: "uint8"
|
|
7119
7139
|
},
|
|
7140
|
+
{
|
|
7141
|
+
name: "publishTime",
|
|
7142
|
+
type: "uint256",
|
|
7143
|
+
internalType: "uint256"
|
|
7144
|
+
},
|
|
7120
7145
|
{
|
|
7121
7146
|
name: "expiration",
|
|
7122
7147
|
type: "uint256",
|
|
@@ -7168,6 +7193,11 @@ var RelayPriceOracle = [
|
|
|
7168
7193
|
type: "uint8",
|
|
7169
7194
|
internalType: "uint8"
|
|
7170
7195
|
},
|
|
7196
|
+
{
|
|
7197
|
+
name: "publishTime",
|
|
7198
|
+
type: "uint256",
|
|
7199
|
+
internalType: "uint256"
|
|
7200
|
+
},
|
|
7171
7201
|
{
|
|
7172
7202
|
name: "expiration",
|
|
7173
7203
|
type: "uint256",
|
|
@@ -7236,6 +7266,11 @@ var RelayPriceOracle = [
|
|
|
7236
7266
|
type: "uint8",
|
|
7237
7267
|
internalType: "uint8"
|
|
7238
7268
|
},
|
|
7269
|
+
{
|
|
7270
|
+
name: "publishTime",
|
|
7271
|
+
type: "uint256",
|
|
7272
|
+
internalType: "uint256"
|
|
7273
|
+
},
|
|
7239
7274
|
{
|
|
7240
7275
|
name: "expiration",
|
|
7241
7276
|
type: "uint256",
|
|
@@ -7277,6 +7312,11 @@ var RelayPriceOracle = [
|
|
|
7277
7312
|
type: "uint8",
|
|
7278
7313
|
internalType: "uint8"
|
|
7279
7314
|
},
|
|
7315
|
+
{
|
|
7316
|
+
name: "publishTime",
|
|
7317
|
+
type: "uint256",
|
|
7318
|
+
internalType: "uint256"
|
|
7319
|
+
},
|
|
7280
7320
|
{
|
|
7281
7321
|
name: "expiration",
|
|
7282
7322
|
type: "uint256",
|
|
@@ -7330,6 +7370,11 @@ var RelayPriceOracle = [
|
|
|
7330
7370
|
type: "uint8",
|
|
7331
7371
|
internalType: "uint8"
|
|
7332
7372
|
},
|
|
7373
|
+
{
|
|
7374
|
+
name: "publishTime",
|
|
7375
|
+
type: "uint256",
|
|
7376
|
+
internalType: "uint256"
|
|
7377
|
+
},
|
|
7333
7378
|
{
|
|
7334
7379
|
name: "expiration",
|
|
7335
7380
|
type: "uint256",
|
|
@@ -7371,6 +7416,11 @@ var RelayPriceOracle = [
|
|
|
7371
7416
|
type: "uint8",
|
|
7372
7417
|
internalType: "uint8"
|
|
7373
7418
|
},
|
|
7419
|
+
{
|
|
7420
|
+
name: "publishTime",
|
|
7421
|
+
type: "uint256",
|
|
7422
|
+
internalType: "uint256"
|
|
7423
|
+
},
|
|
7374
7424
|
{
|
|
7375
7425
|
name: "expiration",
|
|
7376
7426
|
type: "uint256",
|
|
@@ -7412,6 +7462,11 @@ var RelayPriceOracle = [
|
|
|
7412
7462
|
type: "uint8",
|
|
7413
7463
|
internalType: "uint8"
|
|
7414
7464
|
},
|
|
7465
|
+
{
|
|
7466
|
+
name: "publishTime",
|
|
7467
|
+
type: "uint256",
|
|
7468
|
+
internalType: "uint256"
|
|
7469
|
+
},
|
|
7415
7470
|
{
|
|
7416
7471
|
name: "expiration",
|
|
7417
7472
|
type: "uint256",
|
|
@@ -7465,6 +7520,11 @@ var RelayPriceOracle = [
|
|
|
7465
7520
|
type: "uint8",
|
|
7466
7521
|
internalType: "uint8"
|
|
7467
7522
|
},
|
|
7523
|
+
{
|
|
7524
|
+
name: "publishTime",
|
|
7525
|
+
type: "uint256",
|
|
7526
|
+
internalType: "uint256"
|
|
7527
|
+
},
|
|
7468
7528
|
{
|
|
7469
7529
|
name: "expiration",
|
|
7470
7530
|
type: "uint256",
|
|
@@ -7506,6 +7566,11 @@ var RelayPriceOracle = [
|
|
|
7506
7566
|
type: "uint8",
|
|
7507
7567
|
internalType: "uint8"
|
|
7508
7568
|
},
|
|
7569
|
+
{
|
|
7570
|
+
name: "publishTime",
|
|
7571
|
+
type: "uint256",
|
|
7572
|
+
internalType: "uint256"
|
|
7573
|
+
},
|
|
7509
7574
|
{
|
|
7510
7575
|
name: "expiration",
|
|
7511
7576
|
type: "uint256",
|
|
@@ -7564,6 +7629,11 @@ var RelayPriceOracle = [
|
|
|
7564
7629
|
type: "uint8",
|
|
7565
7630
|
internalType: "uint8"
|
|
7566
7631
|
},
|
|
7632
|
+
{
|
|
7633
|
+
name: "publishTime",
|
|
7634
|
+
type: "uint256",
|
|
7635
|
+
internalType: "uint256"
|
|
7636
|
+
},
|
|
7567
7637
|
{
|
|
7568
7638
|
name: "expiration",
|
|
7569
7639
|
type: "uint256",
|
|
@@ -10943,6 +11013,11 @@ var BasicPricingOracle = [
|
|
|
10943
11013
|
type: "uint8",
|
|
10944
11014
|
internalType: "uint8"
|
|
10945
11015
|
},
|
|
11016
|
+
{
|
|
11017
|
+
name: "publishTime",
|
|
11018
|
+
type: "uint256",
|
|
11019
|
+
internalType: "uint256"
|
|
11020
|
+
},
|
|
10946
11021
|
{
|
|
10947
11022
|
name: "expiration",
|
|
10948
11023
|
type: "uint256",
|
|
@@ -11030,6 +11105,11 @@ var IBidAskOracle = [
|
|
|
11030
11105
|
type: "uint8",
|
|
11031
11106
|
internalType: "uint8"
|
|
11032
11107
|
},
|
|
11108
|
+
{
|
|
11109
|
+
name: "publishTime",
|
|
11110
|
+
type: "uint256",
|
|
11111
|
+
internalType: "uint256"
|
|
11112
|
+
},
|
|
11033
11113
|
{
|
|
11034
11114
|
name: "expiration",
|
|
11035
11115
|
type: "uint256",
|
|
@@ -11091,6 +11171,11 @@ var IPricingOracle = [
|
|
|
11091
11171
|
type: "uint8",
|
|
11092
11172
|
internalType: "uint8"
|
|
11093
11173
|
},
|
|
11174
|
+
{
|
|
11175
|
+
name: "publishTime",
|
|
11176
|
+
type: "uint256",
|
|
11177
|
+
internalType: "uint256"
|
|
11178
|
+
},
|
|
11094
11179
|
{
|
|
11095
11180
|
name: "expiration",
|
|
11096
11181
|
type: "uint256",
|
|
@@ -11221,6 +11306,11 @@ var SignedPricingOracle = [
|
|
|
11221
11306
|
type: "uint8",
|
|
11222
11307
|
internalType: "uint8"
|
|
11223
11308
|
},
|
|
11309
|
+
{
|
|
11310
|
+
name: "publishTime",
|
|
11311
|
+
type: "uint256",
|
|
11312
|
+
internalType: "uint256"
|
|
11313
|
+
},
|
|
11224
11314
|
{
|
|
11225
11315
|
name: "expiration",
|
|
11226
11316
|
type: "uint256",
|
|
@@ -11291,6 +11381,11 @@ var SignedPricingOracle = [
|
|
|
11291
11381
|
type: "uint8",
|
|
11292
11382
|
internalType: "uint8"
|
|
11293
11383
|
},
|
|
11384
|
+
{
|
|
11385
|
+
name: "publishTime",
|
|
11386
|
+
type: "uint256",
|
|
11387
|
+
internalType: "uint256"
|
|
11388
|
+
},
|
|
11294
11389
|
{
|
|
11295
11390
|
name: "expiration",
|
|
11296
11391
|
type: "uint256",
|
|
@@ -15300,6 +15395,11 @@ var MockPricingOracle = [
|
|
|
15300
15395
|
type: "uint8",
|
|
15301
15396
|
internalType: "uint8"
|
|
15302
15397
|
},
|
|
15398
|
+
{
|
|
15399
|
+
name: "publishTime",
|
|
15400
|
+
type: "uint256",
|
|
15401
|
+
internalType: "uint256"
|
|
15402
|
+
},
|
|
15303
15403
|
{
|
|
15304
15404
|
name: "expiration",
|
|
15305
15405
|
type: "uint256",
|
|
@@ -15356,6 +15456,11 @@ var MockPricingOracle = [
|
|
|
15356
15456
|
type: "uint8",
|
|
15357
15457
|
internalType: "uint8"
|
|
15358
15458
|
},
|
|
15459
|
+
{
|
|
15460
|
+
name: "publishTime",
|
|
15461
|
+
type: "uint256",
|
|
15462
|
+
internalType: "uint256"
|
|
15463
|
+
},
|
|
15359
15464
|
{
|
|
15360
15465
|
name: "expiration",
|
|
15361
15466
|
type: "uint256",
|
|
@@ -15395,6 +15500,11 @@ var MockPricingOracle = [
|
|
|
15395
15500
|
type: "uint8",
|
|
15396
15501
|
internalType: "uint8"
|
|
15397
15502
|
},
|
|
15503
|
+
{
|
|
15504
|
+
name: "publishTime",
|
|
15505
|
+
type: "uint256",
|
|
15506
|
+
internalType: "uint256"
|
|
15507
|
+
},
|
|
15398
15508
|
{
|
|
15399
15509
|
name: "expiration",
|
|
15400
15510
|
type: "uint256",
|
|
@@ -22110,30 +22220,6 @@ var RelayUsdRateLimiter = [
|
|
|
22110
22220
|
],
|
|
22111
22221
|
stateMutability: "view"
|
|
22112
22222
|
},
|
|
22113
|
-
{
|
|
22114
|
-
type: "function",
|
|
22115
|
-
name: "canConsume",
|
|
22116
|
-
inputs: [
|
|
22117
|
-
{
|
|
22118
|
-
name: "chainId",
|
|
22119
|
-
type: "string",
|
|
22120
|
-
internalType: "string"
|
|
22121
|
-
},
|
|
22122
|
-
{
|
|
22123
|
-
name: "usdValue",
|
|
22124
|
-
type: "uint256",
|
|
22125
|
-
internalType: "uint256"
|
|
22126
|
-
}
|
|
22127
|
-
],
|
|
22128
|
-
outputs: [
|
|
22129
|
-
{
|
|
22130
|
-
name: "ok",
|
|
22131
|
-
type: "bool",
|
|
22132
|
-
internalType: "bool"
|
|
22133
|
-
}
|
|
22134
|
-
],
|
|
22135
|
-
stateMutability: "view"
|
|
22136
|
-
},
|
|
22137
22223
|
{
|
|
22138
22224
|
type: "function",
|
|
22139
22225
|
name: "consume",
|
|
@@ -22290,6 +22376,64 @@ var RelayUsdRateLimiter = [
|
|
|
22290
22376
|
],
|
|
22291
22377
|
stateMutability: "nonpayable"
|
|
22292
22378
|
},
|
|
22379
|
+
{
|
|
22380
|
+
type: "function",
|
|
22381
|
+
name: "resolveCanConsume",
|
|
22382
|
+
inputs: [
|
|
22383
|
+
{
|
|
22384
|
+
name: "tokenId",
|
|
22385
|
+
type: "uint256",
|
|
22386
|
+
internalType: "uint256"
|
|
22387
|
+
},
|
|
22388
|
+
{
|
|
22389
|
+
name: "amount",
|
|
22390
|
+
type: "uint256",
|
|
22391
|
+
internalType: "uint256"
|
|
22392
|
+
},
|
|
22393
|
+
{
|
|
22394
|
+
name: "data",
|
|
22395
|
+
type: "bytes",
|
|
22396
|
+
internalType: "bytes"
|
|
22397
|
+
}
|
|
22398
|
+
],
|
|
22399
|
+
outputs: [
|
|
22400
|
+
{
|
|
22401
|
+
name: "ok",
|
|
22402
|
+
type: "bool",
|
|
22403
|
+
internalType: "bool"
|
|
22404
|
+
}
|
|
22405
|
+
],
|
|
22406
|
+
stateMutability: "nonpayable"
|
|
22407
|
+
},
|
|
22408
|
+
{
|
|
22409
|
+
type: "function",
|
|
22410
|
+
name: "resolveCanConsumeBatch",
|
|
22411
|
+
inputs: [
|
|
22412
|
+
{
|
|
22413
|
+
name: "tokenIds",
|
|
22414
|
+
type: "uint256[]",
|
|
22415
|
+
internalType: "uint256[]"
|
|
22416
|
+
},
|
|
22417
|
+
{
|
|
22418
|
+
name: "amounts",
|
|
22419
|
+
type: "uint256[]",
|
|
22420
|
+
internalType: "uint256[]"
|
|
22421
|
+
},
|
|
22422
|
+
{
|
|
22423
|
+
name: "data",
|
|
22424
|
+
type: "bytes",
|
|
22425
|
+
internalType: "bytes"
|
|
22426
|
+
}
|
|
22427
|
+
],
|
|
22428
|
+
outputs: [
|
|
22429
|
+
{
|
|
22430
|
+
name: "ok",
|
|
22431
|
+
type: "bool",
|
|
22432
|
+
internalType: "bool"
|
|
22433
|
+
}
|
|
22434
|
+
],
|
|
22435
|
+
stateMutability: "nonpayable"
|
|
22436
|
+
},
|
|
22293
22437
|
{
|
|
22294
22438
|
type: "function",
|
|
22295
22439
|
name: "revokeRole",
|
|
@@ -22553,6 +22697,22 @@ var RelayUsdRateLimiter = [
|
|
|
22553
22697
|
}
|
|
22554
22698
|
]
|
|
22555
22699
|
},
|
|
22700
|
+
{
|
|
22701
|
+
type: "error",
|
|
22702
|
+
name: "ArrayLengthMismatch",
|
|
22703
|
+
inputs: [
|
|
22704
|
+
{
|
|
22705
|
+
name: "tokenIdsLength",
|
|
22706
|
+
type: "uint256",
|
|
22707
|
+
internalType: "uint256"
|
|
22708
|
+
},
|
|
22709
|
+
{
|
|
22710
|
+
name: "amountsLength",
|
|
22711
|
+
type: "uint256",
|
|
22712
|
+
internalType: "uint256"
|
|
22713
|
+
}
|
|
22714
|
+
]
|
|
22715
|
+
},
|
|
22556
22716
|
{
|
|
22557
22717
|
type: "error",
|
|
22558
22718
|
name: "ZeroAddress",
|