@relay-protocol/settlement-abis 2.0.3 → 2.0.5
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/README.md +10 -10
- package/dist/index.d.mts +608 -15
- package/dist/index.d.ts +608 -15
- package/dist/index.js +602 -17
- package/dist/index.mjs +602 -17
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6397,6 +6397,19 @@ var RelayOracleV2_default = [
|
|
|
6397
6397
|
|
|
6398
6398
|
// src/abis/RelayPriceOracle.sol/IPriceFeedAdapter.json
|
|
6399
6399
|
var IPriceFeedAdapter_default = [
|
|
6400
|
+
{
|
|
6401
|
+
type: "function",
|
|
6402
|
+
name: "ORACLE",
|
|
6403
|
+
inputs: [],
|
|
6404
|
+
outputs: [
|
|
6405
|
+
{
|
|
6406
|
+
name: "",
|
|
6407
|
+
type: "address",
|
|
6408
|
+
internalType: "address"
|
|
6409
|
+
}
|
|
6410
|
+
],
|
|
6411
|
+
stateMutability: "view"
|
|
6412
|
+
},
|
|
6400
6413
|
{
|
|
6401
6414
|
type: "function",
|
|
6402
6415
|
name: "decodeAndVerify",
|
|
@@ -6440,6 +6453,28 @@ var IPriceFeedAdapter_default = [
|
|
|
6440
6453
|
}
|
|
6441
6454
|
],
|
|
6442
6455
|
stateMutability: "nonpayable"
|
|
6456
|
+
},
|
|
6457
|
+
{
|
|
6458
|
+
type: "error",
|
|
6459
|
+
name: "InvalidOracle",
|
|
6460
|
+
inputs: [
|
|
6461
|
+
{
|
|
6462
|
+
name: "oracle",
|
|
6463
|
+
type: "address",
|
|
6464
|
+
internalType: "address"
|
|
6465
|
+
}
|
|
6466
|
+
]
|
|
6467
|
+
},
|
|
6468
|
+
{
|
|
6469
|
+
type: "error",
|
|
6470
|
+
name: "UnauthorizedCaller",
|
|
6471
|
+
inputs: [
|
|
6472
|
+
{
|
|
6473
|
+
name: "caller",
|
|
6474
|
+
type: "address",
|
|
6475
|
+
internalType: "address"
|
|
6476
|
+
}
|
|
6477
|
+
]
|
|
6443
6478
|
}
|
|
6444
6479
|
];
|
|
6445
6480
|
|
|
@@ -6456,6 +6491,32 @@ var RelayPriceOracle_default = [
|
|
|
6456
6491
|
],
|
|
6457
6492
|
stateMutability: "nonpayable"
|
|
6458
6493
|
},
|
|
6494
|
+
{
|
|
6495
|
+
type: "function",
|
|
6496
|
+
name: "MAX_AGE_SECONDS_UPPER_BOUND",
|
|
6497
|
+
inputs: [],
|
|
6498
|
+
outputs: [
|
|
6499
|
+
{
|
|
6500
|
+
name: "",
|
|
6501
|
+
type: "uint32",
|
|
6502
|
+
internalType: "uint32"
|
|
6503
|
+
}
|
|
6504
|
+
],
|
|
6505
|
+
stateMutability: "view"
|
|
6506
|
+
},
|
|
6507
|
+
{
|
|
6508
|
+
type: "function",
|
|
6509
|
+
name: "MAX_FUTURE_SECONDS_UPPER_BOUND",
|
|
6510
|
+
inputs: [],
|
|
6511
|
+
outputs: [
|
|
6512
|
+
{
|
|
6513
|
+
name: "",
|
|
6514
|
+
type: "uint32",
|
|
6515
|
+
internalType: "uint32"
|
|
6516
|
+
}
|
|
6517
|
+
],
|
|
6518
|
+
stateMutability: "view"
|
|
6519
|
+
},
|
|
6459
6520
|
{
|
|
6460
6521
|
type: "function",
|
|
6461
6522
|
name: "MAX_PRICE_BATCH_SIZE",
|
|
@@ -6469,6 +6530,30 @@ var RelayPriceOracle_default = [
|
|
|
6469
6530
|
],
|
|
6470
6531
|
stateMutability: "view"
|
|
6471
6532
|
},
|
|
6533
|
+
{
|
|
6534
|
+
type: "function",
|
|
6535
|
+
name: "cachedPublishTimes",
|
|
6536
|
+
inputs: [
|
|
6537
|
+
{
|
|
6538
|
+
name: "providerId",
|
|
6539
|
+
type: "bytes32",
|
|
6540
|
+
internalType: "bytes32"
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
name: "feedId",
|
|
6544
|
+
type: "bytes32",
|
|
6545
|
+
internalType: "bytes32"
|
|
6546
|
+
}
|
|
6547
|
+
],
|
|
6548
|
+
outputs: [
|
|
6549
|
+
{
|
|
6550
|
+
name: "publishTime",
|
|
6551
|
+
type: "uint256",
|
|
6552
|
+
internalType: "uint256"
|
|
6553
|
+
}
|
|
6554
|
+
],
|
|
6555
|
+
stateMutability: "view"
|
|
6556
|
+
},
|
|
6472
6557
|
{
|
|
6473
6558
|
type: "function",
|
|
6474
6559
|
name: "currencyToTokenId",
|
|
@@ -6596,6 +6681,25 @@ var RelayPriceOracle_default = [
|
|
|
6596
6681
|
],
|
|
6597
6682
|
stateMutability: "view"
|
|
6598
6683
|
},
|
|
6684
|
+
{
|
|
6685
|
+
type: "function",
|
|
6686
|
+
name: "providerMaxFutureSeconds",
|
|
6687
|
+
inputs: [
|
|
6688
|
+
{
|
|
6689
|
+
name: "providerId",
|
|
6690
|
+
type: "bytes32",
|
|
6691
|
+
internalType: "bytes32"
|
|
6692
|
+
}
|
|
6693
|
+
],
|
|
6694
|
+
outputs: [
|
|
6695
|
+
{
|
|
6696
|
+
name: "maxFutureSeconds",
|
|
6697
|
+
type: "uint32",
|
|
6698
|
+
internalType: "uint32"
|
|
6699
|
+
}
|
|
6700
|
+
],
|
|
6701
|
+
stateMutability: "view"
|
|
6702
|
+
},
|
|
6599
6703
|
{
|
|
6600
6704
|
type: "function",
|
|
6601
6705
|
name: "renounceOwnership",
|
|
@@ -6644,6 +6748,11 @@ var RelayPriceOracle_default = [
|
|
|
6644
6748
|
type: "uint8",
|
|
6645
6749
|
internalType: "uint8"
|
|
6646
6750
|
},
|
|
6751
|
+
{
|
|
6752
|
+
name: "publishTime",
|
|
6753
|
+
type: "uint256",
|
|
6754
|
+
internalType: "uint256"
|
|
6755
|
+
},
|
|
6647
6756
|
{
|
|
6648
6757
|
name: "expiration",
|
|
6649
6758
|
type: "uint256",
|
|
@@ -6695,6 +6804,11 @@ var RelayPriceOracle_default = [
|
|
|
6695
6804
|
type: "uint8",
|
|
6696
6805
|
internalType: "uint8"
|
|
6697
6806
|
},
|
|
6807
|
+
{
|
|
6808
|
+
name: "publishTime",
|
|
6809
|
+
type: "uint256",
|
|
6810
|
+
internalType: "uint256"
|
|
6811
|
+
},
|
|
6698
6812
|
{
|
|
6699
6813
|
name: "expiration",
|
|
6700
6814
|
type: "uint256",
|
|
@@ -6758,6 +6872,11 @@ var RelayPriceOracle_default = [
|
|
|
6758
6872
|
type: "uint8",
|
|
6759
6873
|
internalType: "uint8"
|
|
6760
6874
|
},
|
|
6875
|
+
{
|
|
6876
|
+
name: "publishTime",
|
|
6877
|
+
type: "uint256",
|
|
6878
|
+
internalType: "uint256"
|
|
6879
|
+
},
|
|
6761
6880
|
{
|
|
6762
6881
|
name: "expiration",
|
|
6763
6882
|
type: "uint256",
|
|
@@ -6809,6 +6928,11 @@ var RelayPriceOracle_default = [
|
|
|
6809
6928
|
type: "uint8",
|
|
6810
6929
|
internalType: "uint8"
|
|
6811
6930
|
},
|
|
6931
|
+
{
|
|
6932
|
+
name: "publishTime",
|
|
6933
|
+
type: "uint256",
|
|
6934
|
+
internalType: "uint256"
|
|
6935
|
+
},
|
|
6812
6936
|
{
|
|
6813
6937
|
name: "expiration",
|
|
6814
6938
|
type: "uint256",
|
|
@@ -6872,6 +6996,11 @@ var RelayPriceOracle_default = [
|
|
|
6872
6996
|
type: "uint8",
|
|
6873
6997
|
internalType: "uint8"
|
|
6874
6998
|
},
|
|
6999
|
+
{
|
|
7000
|
+
name: "publishTime",
|
|
7001
|
+
type: "uint256",
|
|
7002
|
+
internalType: "uint256"
|
|
7003
|
+
},
|
|
6875
7004
|
{
|
|
6876
7005
|
name: "expiration",
|
|
6877
7006
|
type: "uint256",
|
|
@@ -6923,6 +7052,11 @@ var RelayPriceOracle_default = [
|
|
|
6923
7052
|
type: "uint8",
|
|
6924
7053
|
internalType: "uint8"
|
|
6925
7054
|
},
|
|
7055
|
+
{
|
|
7056
|
+
name: "publishTime",
|
|
7057
|
+
type: "uint256",
|
|
7058
|
+
internalType: "uint256"
|
|
7059
|
+
},
|
|
6926
7060
|
{
|
|
6927
7061
|
name: "expiration",
|
|
6928
7062
|
type: "uint256",
|
|
@@ -6991,6 +7125,11 @@ var RelayPriceOracle_default = [
|
|
|
6991
7125
|
type: "uint8",
|
|
6992
7126
|
internalType: "uint8"
|
|
6993
7127
|
},
|
|
7128
|
+
{
|
|
7129
|
+
name: "publishTime",
|
|
7130
|
+
type: "uint256",
|
|
7131
|
+
internalType: "uint256"
|
|
7132
|
+
},
|
|
6994
7133
|
{
|
|
6995
7134
|
name: "expiration",
|
|
6996
7135
|
type: "uint256",
|
|
@@ -7032,6 +7171,11 @@ var RelayPriceOracle_default = [
|
|
|
7032
7171
|
type: "uint8",
|
|
7033
7172
|
internalType: "uint8"
|
|
7034
7173
|
},
|
|
7174
|
+
{
|
|
7175
|
+
name: "publishTime",
|
|
7176
|
+
type: "uint256",
|
|
7177
|
+
internalType: "uint256"
|
|
7178
|
+
},
|
|
7035
7179
|
{
|
|
7036
7180
|
name: "expiration",
|
|
7037
7181
|
type: "uint256",
|
|
@@ -7085,6 +7229,11 @@ var RelayPriceOracle_default = [
|
|
|
7085
7229
|
type: "uint8",
|
|
7086
7230
|
internalType: "uint8"
|
|
7087
7231
|
},
|
|
7232
|
+
{
|
|
7233
|
+
name: "publishTime",
|
|
7234
|
+
type: "uint256",
|
|
7235
|
+
internalType: "uint256"
|
|
7236
|
+
},
|
|
7088
7237
|
{
|
|
7089
7238
|
name: "expiration",
|
|
7090
7239
|
type: "uint256",
|
|
@@ -7126,6 +7275,11 @@ var RelayPriceOracle_default = [
|
|
|
7126
7275
|
type: "uint8",
|
|
7127
7276
|
internalType: "uint8"
|
|
7128
7277
|
},
|
|
7278
|
+
{
|
|
7279
|
+
name: "publishTime",
|
|
7280
|
+
type: "uint256",
|
|
7281
|
+
internalType: "uint256"
|
|
7282
|
+
},
|
|
7129
7283
|
{
|
|
7130
7284
|
name: "expiration",
|
|
7131
7285
|
type: "uint256",
|
|
@@ -7167,6 +7321,11 @@ var RelayPriceOracle_default = [
|
|
|
7167
7321
|
type: "uint8",
|
|
7168
7322
|
internalType: "uint8"
|
|
7169
7323
|
},
|
|
7324
|
+
{
|
|
7325
|
+
name: "publishTime",
|
|
7326
|
+
type: "uint256",
|
|
7327
|
+
internalType: "uint256"
|
|
7328
|
+
},
|
|
7170
7329
|
{
|
|
7171
7330
|
name: "expiration",
|
|
7172
7331
|
type: "uint256",
|
|
@@ -7220,6 +7379,11 @@ var RelayPriceOracle_default = [
|
|
|
7220
7379
|
type: "uint8",
|
|
7221
7380
|
internalType: "uint8"
|
|
7222
7381
|
},
|
|
7382
|
+
{
|
|
7383
|
+
name: "publishTime",
|
|
7384
|
+
type: "uint256",
|
|
7385
|
+
internalType: "uint256"
|
|
7386
|
+
},
|
|
7223
7387
|
{
|
|
7224
7388
|
name: "expiration",
|
|
7225
7389
|
type: "uint256",
|
|
@@ -7261,6 +7425,11 @@ var RelayPriceOracle_default = [
|
|
|
7261
7425
|
type: "uint8",
|
|
7262
7426
|
internalType: "uint8"
|
|
7263
7427
|
},
|
|
7428
|
+
{
|
|
7429
|
+
name: "publishTime",
|
|
7430
|
+
type: "uint256",
|
|
7431
|
+
internalType: "uint256"
|
|
7432
|
+
},
|
|
7264
7433
|
{
|
|
7265
7434
|
name: "expiration",
|
|
7266
7435
|
type: "uint256",
|
|
@@ -7319,6 +7488,11 @@ var RelayPriceOracle_default = [
|
|
|
7319
7488
|
type: "uint8",
|
|
7320
7489
|
internalType: "uint8"
|
|
7321
7490
|
},
|
|
7491
|
+
{
|
|
7492
|
+
name: "publishTime",
|
|
7493
|
+
type: "uint256",
|
|
7494
|
+
internalType: "uint256"
|
|
7495
|
+
},
|
|
7322
7496
|
{
|
|
7323
7497
|
name: "expiration",
|
|
7324
7498
|
type: "uint256",
|
|
@@ -7432,6 +7606,11 @@ var RelayPriceOracle_default = [
|
|
|
7432
7606
|
name: "adapter",
|
|
7433
7607
|
type: "address",
|
|
7434
7608
|
internalType: "address"
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
name: "maxFutureSeconds",
|
|
7612
|
+
type: "uint32",
|
|
7613
|
+
internalType: "uint32"
|
|
7435
7614
|
}
|
|
7436
7615
|
],
|
|
7437
7616
|
outputs: [],
|
|
@@ -7558,6 +7737,12 @@ var RelayPriceOracle_default = [
|
|
|
7558
7737
|
type: "address",
|
|
7559
7738
|
indexed: true,
|
|
7560
7739
|
internalType: "address"
|
|
7740
|
+
},
|
|
7741
|
+
{
|
|
7742
|
+
name: "maxFutureSeconds",
|
|
7743
|
+
type: "uint32",
|
|
7744
|
+
indexed: false,
|
|
7745
|
+
internalType: "uint32"
|
|
7561
7746
|
}
|
|
7562
7747
|
],
|
|
7563
7748
|
anonymous: false
|
|
@@ -7609,6 +7794,38 @@ var RelayPriceOracle_default = [
|
|
|
7609
7794
|
name: "InvalidFeedId",
|
|
7610
7795
|
inputs: []
|
|
7611
7796
|
},
|
|
7797
|
+
{
|
|
7798
|
+
type: "error",
|
|
7799
|
+
name: "InvalidMaxAgeSeconds",
|
|
7800
|
+
inputs: [
|
|
7801
|
+
{
|
|
7802
|
+
name: "maxAgeSeconds",
|
|
7803
|
+
type: "uint32",
|
|
7804
|
+
internalType: "uint32"
|
|
7805
|
+
},
|
|
7806
|
+
{
|
|
7807
|
+
name: "maxAgeSecondsUpperBound",
|
|
7808
|
+
type: "uint32",
|
|
7809
|
+
internalType: "uint32"
|
|
7810
|
+
}
|
|
7811
|
+
]
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
type: "error",
|
|
7815
|
+
name: "InvalidMaxFutureSeconds",
|
|
7816
|
+
inputs: [
|
|
7817
|
+
{
|
|
7818
|
+
name: "maxFutureSeconds",
|
|
7819
|
+
type: "uint32",
|
|
7820
|
+
internalType: "uint32"
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
name: "maxFutureSecondsUpperBound",
|
|
7824
|
+
type: "uint32",
|
|
7825
|
+
internalType: "uint32"
|
|
7826
|
+
}
|
|
7827
|
+
]
|
|
7828
|
+
},
|
|
7612
7829
|
{
|
|
7613
7830
|
type: "error",
|
|
7614
7831
|
name: "InvalidPriceFeedAdapter",
|
|
@@ -7620,11 +7837,37 @@ var RelayPriceOracle_default = [
|
|
|
7620
7837
|
}
|
|
7621
7838
|
]
|
|
7622
7839
|
},
|
|
7840
|
+
{
|
|
7841
|
+
type: "error",
|
|
7842
|
+
name: "InvalidPriceFeedAdapterOracle",
|
|
7843
|
+
inputs: [
|
|
7844
|
+
{
|
|
7845
|
+
name: "adapter",
|
|
7846
|
+
type: "address",
|
|
7847
|
+
internalType: "address"
|
|
7848
|
+
},
|
|
7849
|
+
{
|
|
7850
|
+
name: "expectedOracle",
|
|
7851
|
+
type: "address",
|
|
7852
|
+
internalType: "address"
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
name: "actualOracle",
|
|
7856
|
+
type: "address",
|
|
7857
|
+
internalType: "address"
|
|
7858
|
+
}
|
|
7859
|
+
]
|
|
7860
|
+
},
|
|
7623
7861
|
{
|
|
7624
7862
|
type: "error",
|
|
7625
7863
|
name: "InvalidProviderId",
|
|
7626
7864
|
inputs: []
|
|
7627
7865
|
},
|
|
7866
|
+
{
|
|
7867
|
+
type: "error",
|
|
7868
|
+
name: "InvalidPublishTime",
|
|
7869
|
+
inputs: []
|
|
7870
|
+
},
|
|
7628
7871
|
{
|
|
7629
7872
|
type: "error",
|
|
7630
7873
|
name: "OwnableInvalidOwner",
|
|
@@ -7694,6 +7937,48 @@ var RelayPriceOracle_default = [
|
|
|
7694
7937
|
type: "error",
|
|
7695
7938
|
name: "PriceFeedCallFailed",
|
|
7696
7939
|
inputs: []
|
|
7940
|
+
},
|
|
7941
|
+
{
|
|
7942
|
+
type: "error",
|
|
7943
|
+
name: "PriceTimestampRollback",
|
|
7944
|
+
inputs: [
|
|
7945
|
+
{
|
|
7946
|
+
name: "providerId",
|
|
7947
|
+
type: "bytes32",
|
|
7948
|
+
internalType: "bytes32"
|
|
7949
|
+
},
|
|
7950
|
+
{
|
|
7951
|
+
name: "feedId",
|
|
7952
|
+
type: "bytes32",
|
|
7953
|
+
internalType: "bytes32"
|
|
7954
|
+
},
|
|
7955
|
+
{
|
|
7956
|
+
name: "publishTime",
|
|
7957
|
+
type: "uint256",
|
|
7958
|
+
internalType: "uint256"
|
|
7959
|
+
},
|
|
7960
|
+
{
|
|
7961
|
+
name: "cachedPublishTime",
|
|
7962
|
+
type: "uint256",
|
|
7963
|
+
internalType: "uint256"
|
|
7964
|
+
}
|
|
7965
|
+
]
|
|
7966
|
+
},
|
|
7967
|
+
{
|
|
7968
|
+
type: "error",
|
|
7969
|
+
name: "PriceTimestampTooFarInFuture",
|
|
7970
|
+
inputs: [
|
|
7971
|
+
{
|
|
7972
|
+
name: "publishTime",
|
|
7973
|
+
type: "uint256",
|
|
7974
|
+
internalType: "uint256"
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
name: "maxPublishTime",
|
|
7978
|
+
type: "uint256",
|
|
7979
|
+
internalType: "uint256"
|
|
7980
|
+
}
|
|
7981
|
+
]
|
|
7697
7982
|
}
|
|
7698
7983
|
];
|
|
7699
7984
|
|
|
@@ -10556,6 +10841,11 @@ var BasicPricingOracle_default = [
|
|
|
10556
10841
|
type: "uint8",
|
|
10557
10842
|
internalType: "uint8"
|
|
10558
10843
|
},
|
|
10844
|
+
{
|
|
10845
|
+
name: "publishTime",
|
|
10846
|
+
type: "uint256",
|
|
10847
|
+
internalType: "uint256"
|
|
10848
|
+
},
|
|
10559
10849
|
{
|
|
10560
10850
|
name: "expiration",
|
|
10561
10851
|
type: "uint256",
|
|
@@ -10644,6 +10934,11 @@ var IBidAskOracle_default = [
|
|
|
10644
10934
|
type: "uint8",
|
|
10645
10935
|
internalType: "uint8"
|
|
10646
10936
|
},
|
|
10937
|
+
{
|
|
10938
|
+
name: "publishTime",
|
|
10939
|
+
type: "uint256",
|
|
10940
|
+
internalType: "uint256"
|
|
10941
|
+
},
|
|
10647
10942
|
{
|
|
10648
10943
|
name: "expiration",
|
|
10649
10944
|
type: "uint256",
|
|
@@ -10706,6 +11001,11 @@ var IPricingOracle_default = [
|
|
|
10706
11001
|
type: "uint8",
|
|
10707
11002
|
internalType: "uint8"
|
|
10708
11003
|
},
|
|
11004
|
+
{
|
|
11005
|
+
name: "publishTime",
|
|
11006
|
+
type: "uint256",
|
|
11007
|
+
internalType: "uint256"
|
|
11008
|
+
},
|
|
10709
11009
|
{
|
|
10710
11010
|
name: "expiration",
|
|
10711
11011
|
type: "uint256",
|
|
@@ -10834,6 +11134,11 @@ var SignedPricingOracle_default = [
|
|
|
10834
11134
|
type: "uint8",
|
|
10835
11135
|
internalType: "uint8"
|
|
10836
11136
|
},
|
|
11137
|
+
{
|
|
11138
|
+
name: "publishTime",
|
|
11139
|
+
type: "uint256",
|
|
11140
|
+
internalType: "uint256"
|
|
11141
|
+
},
|
|
10837
11142
|
{
|
|
10838
11143
|
name: "expiration",
|
|
10839
11144
|
type: "uint256",
|
|
@@ -10904,6 +11209,11 @@ var SignedPricingOracle_default = [
|
|
|
10904
11209
|
type: "uint8",
|
|
10905
11210
|
internalType: "uint8"
|
|
10906
11211
|
},
|
|
11212
|
+
{
|
|
11213
|
+
name: "publishTime",
|
|
11214
|
+
type: "uint256",
|
|
11215
|
+
internalType: "uint256"
|
|
11216
|
+
},
|
|
10907
11217
|
{
|
|
10908
11218
|
name: "expiration",
|
|
10909
11219
|
type: "uint256",
|
|
@@ -14660,17 +14970,41 @@ var EmptyPayloadBuilder_default = [
|
|
|
14660
14970
|
],
|
|
14661
14971
|
outputs: [
|
|
14662
14972
|
{
|
|
14663
|
-
name: "hashes",
|
|
14664
|
-
type: "bytes32[]",
|
|
14665
|
-
internalType: "bytes32[]"
|
|
14973
|
+
name: "hashes",
|
|
14974
|
+
type: "bytes32[]",
|
|
14975
|
+
internalType: "bytes32[]"
|
|
14976
|
+
}
|
|
14977
|
+
],
|
|
14978
|
+
stateMutability: "pure"
|
|
14979
|
+
}
|
|
14980
|
+
];
|
|
14981
|
+
|
|
14982
|
+
// src/abis/mocks/MockPriceFeedAdapter.sol/MockPriceFeedAdapter.json
|
|
14983
|
+
var MockPriceFeedAdapter_default = [
|
|
14984
|
+
{
|
|
14985
|
+
type: "constructor",
|
|
14986
|
+
inputs: [
|
|
14987
|
+
{
|
|
14988
|
+
name: "_oracle",
|
|
14989
|
+
type: "address",
|
|
14990
|
+
internalType: "address"
|
|
14991
|
+
}
|
|
14992
|
+
],
|
|
14993
|
+
stateMutability: "nonpayable"
|
|
14994
|
+
},
|
|
14995
|
+
{
|
|
14996
|
+
type: "function",
|
|
14997
|
+
name: "ORACLE",
|
|
14998
|
+
inputs: [],
|
|
14999
|
+
outputs: [
|
|
15000
|
+
{
|
|
15001
|
+
name: "",
|
|
15002
|
+
type: "address",
|
|
15003
|
+
internalType: "address"
|
|
14666
15004
|
}
|
|
14667
15005
|
],
|
|
14668
|
-
stateMutability: "
|
|
14669
|
-
}
|
|
14670
|
-
];
|
|
14671
|
-
|
|
14672
|
-
// src/abis/mocks/MockPriceFeedAdapter.sol/MockPriceFeedAdapter.json
|
|
14673
|
-
var MockPriceFeedAdapter_default = [
|
|
15006
|
+
stateMutability: "view"
|
|
15007
|
+
},
|
|
14674
15008
|
{
|
|
14675
15009
|
type: "function",
|
|
14676
15010
|
name: "decodeAndVerify",
|
|
@@ -14713,7 +15047,7 @@ var MockPriceFeedAdapter_default = [
|
|
|
14713
15047
|
internalType: "uint256"
|
|
14714
15048
|
}
|
|
14715
15049
|
],
|
|
14716
|
-
stateMutability: "
|
|
15050
|
+
stateMutability: "view"
|
|
14717
15051
|
},
|
|
14718
15052
|
{
|
|
14719
15053
|
type: "error",
|
|
@@ -14730,6 +15064,28 @@ var MockPriceFeedAdapter_default = [
|
|
|
14730
15064
|
internalType: "bytes32"
|
|
14731
15065
|
}
|
|
14732
15066
|
]
|
|
15067
|
+
},
|
|
15068
|
+
{
|
|
15069
|
+
type: "error",
|
|
15070
|
+
name: "InvalidOracle",
|
|
15071
|
+
inputs: [
|
|
15072
|
+
{
|
|
15073
|
+
name: "oracle",
|
|
15074
|
+
type: "address",
|
|
15075
|
+
internalType: "address"
|
|
15076
|
+
}
|
|
15077
|
+
]
|
|
15078
|
+
},
|
|
15079
|
+
{
|
|
15080
|
+
type: "error",
|
|
15081
|
+
name: "UnauthorizedCaller",
|
|
15082
|
+
inputs: [
|
|
15083
|
+
{
|
|
15084
|
+
name: "caller",
|
|
15085
|
+
type: "address",
|
|
15086
|
+
internalType: "address"
|
|
15087
|
+
}
|
|
15088
|
+
]
|
|
14733
15089
|
}
|
|
14734
15090
|
];
|
|
14735
15091
|
|
|
@@ -14761,6 +15117,11 @@ var MockPricingOracle_default = [
|
|
|
14761
15117
|
type: "uint8",
|
|
14762
15118
|
internalType: "uint8"
|
|
14763
15119
|
},
|
|
15120
|
+
{
|
|
15121
|
+
name: "publishTime",
|
|
15122
|
+
type: "uint256",
|
|
15123
|
+
internalType: "uint256"
|
|
15124
|
+
},
|
|
14764
15125
|
{
|
|
14765
15126
|
name: "expiration",
|
|
14766
15127
|
type: "uint256",
|
|
@@ -14817,6 +15178,11 @@ var MockPricingOracle_default = [
|
|
|
14817
15178
|
type: "uint8",
|
|
14818
15179
|
internalType: "uint8"
|
|
14819
15180
|
},
|
|
15181
|
+
{
|
|
15182
|
+
name: "publishTime",
|
|
15183
|
+
type: "uint256",
|
|
15184
|
+
internalType: "uint256"
|
|
15185
|
+
},
|
|
14820
15186
|
{
|
|
14821
15187
|
name: "expiration",
|
|
14822
15188
|
type: "uint256",
|
|
@@ -14856,6 +15222,11 @@ var MockPricingOracle_default = [
|
|
|
14856
15222
|
type: "uint8",
|
|
14857
15223
|
internalType: "uint8"
|
|
14858
15224
|
},
|
|
15225
|
+
{
|
|
15226
|
+
name: "publishTime",
|
|
15227
|
+
type: "uint256",
|
|
15228
|
+
internalType: "uint256"
|
|
15229
|
+
},
|
|
14859
15230
|
{
|
|
14860
15231
|
name: "expiration",
|
|
14861
15232
|
type: "uint256",
|
|
@@ -20162,6 +20533,11 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20162
20533
|
{
|
|
20163
20534
|
type: "constructor",
|
|
20164
20535
|
inputs: [
|
|
20536
|
+
{
|
|
20537
|
+
name: "_oracle",
|
|
20538
|
+
type: "address",
|
|
20539
|
+
internalType: "address"
|
|
20540
|
+
},
|
|
20165
20541
|
{
|
|
20166
20542
|
name: "verifierProxy",
|
|
20167
20543
|
type: "address",
|
|
@@ -20188,6 +20564,19 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20188
20564
|
],
|
|
20189
20565
|
stateMutability: "view"
|
|
20190
20566
|
},
|
|
20567
|
+
{
|
|
20568
|
+
type: "function",
|
|
20569
|
+
name: "ORACLE",
|
|
20570
|
+
inputs: [],
|
|
20571
|
+
outputs: [
|
|
20572
|
+
{
|
|
20573
|
+
name: "",
|
|
20574
|
+
type: "address",
|
|
20575
|
+
internalType: "address"
|
|
20576
|
+
}
|
|
20577
|
+
],
|
|
20578
|
+
stateMutability: "view"
|
|
20579
|
+
},
|
|
20191
20580
|
{
|
|
20192
20581
|
type: "function",
|
|
20193
20582
|
name: "REPORT_V3_SCHEMA",
|
|
@@ -20248,6 +20637,11 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20248
20637
|
type: "int192",
|
|
20249
20638
|
internalType: "int192"
|
|
20250
20639
|
},
|
|
20640
|
+
{
|
|
20641
|
+
name: "validFromTimestamp",
|
|
20642
|
+
type: "uint32",
|
|
20643
|
+
internalType: "uint32"
|
|
20644
|
+
},
|
|
20251
20645
|
{
|
|
20252
20646
|
name: "observationsTimestamp",
|
|
20253
20647
|
type: "uint32",
|
|
@@ -20331,6 +20725,59 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20331
20725
|
}
|
|
20332
20726
|
]
|
|
20333
20727
|
},
|
|
20728
|
+
{
|
|
20729
|
+
type: "error",
|
|
20730
|
+
name: "InvalidBidAsk",
|
|
20731
|
+
inputs: [
|
|
20732
|
+
{
|
|
20733
|
+
name: "benchmarkPrice",
|
|
20734
|
+
type: "int192",
|
|
20735
|
+
internalType: "int192"
|
|
20736
|
+
},
|
|
20737
|
+
{
|
|
20738
|
+
name: "bid",
|
|
20739
|
+
type: "int192",
|
|
20740
|
+
internalType: "int192"
|
|
20741
|
+
},
|
|
20742
|
+
{
|
|
20743
|
+
name: "ask",
|
|
20744
|
+
type: "int192",
|
|
20745
|
+
internalType: "int192"
|
|
20746
|
+
}
|
|
20747
|
+
]
|
|
20748
|
+
},
|
|
20749
|
+
{
|
|
20750
|
+
type: "error",
|
|
20751
|
+
name: "InvalidOracle",
|
|
20752
|
+
inputs: [
|
|
20753
|
+
{
|
|
20754
|
+
name: "oracle",
|
|
20755
|
+
type: "address",
|
|
20756
|
+
internalType: "address"
|
|
20757
|
+
}
|
|
20758
|
+
]
|
|
20759
|
+
},
|
|
20760
|
+
{
|
|
20761
|
+
type: "error",
|
|
20762
|
+
name: "InvalidReportTimeRange",
|
|
20763
|
+
inputs: [
|
|
20764
|
+
{
|
|
20765
|
+
name: "validFromTimestamp",
|
|
20766
|
+
type: "uint32",
|
|
20767
|
+
internalType: "uint32"
|
|
20768
|
+
},
|
|
20769
|
+
{
|
|
20770
|
+
name: "observationsTimestamp",
|
|
20771
|
+
type: "uint32",
|
|
20772
|
+
internalType: "uint32"
|
|
20773
|
+
},
|
|
20774
|
+
{
|
|
20775
|
+
name: "expiresAt",
|
|
20776
|
+
type: "uint32",
|
|
20777
|
+
internalType: "uint32"
|
|
20778
|
+
}
|
|
20779
|
+
]
|
|
20780
|
+
},
|
|
20334
20781
|
{
|
|
20335
20782
|
type: "error",
|
|
20336
20783
|
name: "InvalidVerifierProxy",
|
|
@@ -20363,6 +20810,38 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20363
20810
|
}
|
|
20364
20811
|
]
|
|
20365
20812
|
},
|
|
20813
|
+
{
|
|
20814
|
+
type: "error",
|
|
20815
|
+
name: "TimestampRollback",
|
|
20816
|
+
inputs: [
|
|
20817
|
+
{
|
|
20818
|
+
name: "feedId",
|
|
20819
|
+
type: "bytes32",
|
|
20820
|
+
internalType: "bytes32"
|
|
20821
|
+
},
|
|
20822
|
+
{
|
|
20823
|
+
name: "observationsTimestamp",
|
|
20824
|
+
type: "uint32",
|
|
20825
|
+
internalType: "uint32"
|
|
20826
|
+
},
|
|
20827
|
+
{
|
|
20828
|
+
name: "latestObservationsTimestamp",
|
|
20829
|
+
type: "uint32",
|
|
20830
|
+
internalType: "uint32"
|
|
20831
|
+
}
|
|
20832
|
+
]
|
|
20833
|
+
},
|
|
20834
|
+
{
|
|
20835
|
+
type: "error",
|
|
20836
|
+
name: "UnauthorizedCaller",
|
|
20837
|
+
inputs: [
|
|
20838
|
+
{
|
|
20839
|
+
name: "caller",
|
|
20840
|
+
type: "address",
|
|
20841
|
+
internalType: "address"
|
|
20842
|
+
}
|
|
20843
|
+
]
|
|
20844
|
+
},
|
|
20366
20845
|
{
|
|
20367
20846
|
type: "error",
|
|
20368
20847
|
name: "UnsupportedReportSchema",
|
|
@@ -20456,6 +20935,11 @@ var StorkFastAdapter_default = [
|
|
|
20456
20935
|
{
|
|
20457
20936
|
type: "constructor",
|
|
20458
20937
|
inputs: [
|
|
20938
|
+
{
|
|
20939
|
+
name: "_oracle",
|
|
20940
|
+
type: "address",
|
|
20941
|
+
internalType: "address"
|
|
20942
|
+
},
|
|
20459
20943
|
{
|
|
20460
20944
|
name: "storkFastVerifier",
|
|
20461
20945
|
type: "address",
|
|
@@ -20464,6 +20948,19 @@ var StorkFastAdapter_default = [
|
|
|
20464
20948
|
],
|
|
20465
20949
|
stateMutability: "nonpayable"
|
|
20466
20950
|
},
|
|
20951
|
+
{
|
|
20952
|
+
type: "function",
|
|
20953
|
+
name: "ORACLE",
|
|
20954
|
+
inputs: [],
|
|
20955
|
+
outputs: [
|
|
20956
|
+
{
|
|
20957
|
+
name: "",
|
|
20958
|
+
type: "address",
|
|
20959
|
+
internalType: "address"
|
|
20960
|
+
}
|
|
20961
|
+
],
|
|
20962
|
+
stateMutability: "view"
|
|
20963
|
+
},
|
|
20467
20964
|
{
|
|
20468
20965
|
type: "function",
|
|
20469
20966
|
name: "STORK_FAST_VERIFIER",
|
|
@@ -20492,27 +20989,35 @@ var StorkFastAdapter_default = [
|
|
|
20492
20989
|
},
|
|
20493
20990
|
{
|
|
20494
20991
|
type: "function",
|
|
20495
|
-
name: "
|
|
20496
|
-
inputs: [
|
|
20992
|
+
name: "cachedReportHash",
|
|
20993
|
+
inputs: [],
|
|
20994
|
+
outputs: [
|
|
20497
20995
|
{
|
|
20498
|
-
name: "
|
|
20996
|
+
name: "",
|
|
20499
20997
|
type: "bytes32",
|
|
20500
20998
|
internalType: "bytes32"
|
|
20501
20999
|
}
|
|
20502
21000
|
],
|
|
20503
|
-
|
|
21001
|
+
stateMutability: "view"
|
|
21002
|
+
},
|
|
21003
|
+
{
|
|
21004
|
+
type: "function",
|
|
21005
|
+
name: "cachedReportValues",
|
|
21006
|
+
inputs: [
|
|
20504
21007
|
{
|
|
20505
|
-
name: "
|
|
21008
|
+
name: "feedId",
|
|
20506
21009
|
type: "bytes32",
|
|
20507
21010
|
internalType: "bytes32"
|
|
20508
|
-
}
|
|
21011
|
+
}
|
|
21012
|
+
],
|
|
21013
|
+
outputs: [
|
|
20509
21014
|
{
|
|
20510
21015
|
name: "quantizedValue",
|
|
20511
21016
|
type: "int192",
|
|
20512
21017
|
internalType: "int192"
|
|
20513
21018
|
},
|
|
20514
21019
|
{
|
|
20515
|
-
name: "
|
|
21020
|
+
name: "timestampNs",
|
|
20516
21021
|
type: "uint64",
|
|
20517
21022
|
internalType: "uint64"
|
|
20518
21023
|
}
|
|
@@ -20587,6 +21092,43 @@ var StorkFastAdapter_default = [
|
|
|
20587
21092
|
],
|
|
20588
21093
|
stateMutability: "nonpayable"
|
|
20589
21094
|
},
|
|
21095
|
+
{
|
|
21096
|
+
type: "error",
|
|
21097
|
+
name: "ConflictingPriceAtTimestamp",
|
|
21098
|
+
inputs: [
|
|
21099
|
+
{
|
|
21100
|
+
name: "feedId",
|
|
21101
|
+
type: "bytes32",
|
|
21102
|
+
internalType: "bytes32"
|
|
21103
|
+
},
|
|
21104
|
+
{
|
|
21105
|
+
name: "timestampNs",
|
|
21106
|
+
type: "uint64",
|
|
21107
|
+
internalType: "uint64"
|
|
21108
|
+
},
|
|
21109
|
+
{
|
|
21110
|
+
name: "latestValue",
|
|
21111
|
+
type: "int192",
|
|
21112
|
+
internalType: "int192"
|
|
21113
|
+
},
|
|
21114
|
+
{
|
|
21115
|
+
name: "newValue",
|
|
21116
|
+
type: "int192",
|
|
21117
|
+
internalType: "int192"
|
|
21118
|
+
}
|
|
21119
|
+
]
|
|
21120
|
+
},
|
|
21121
|
+
{
|
|
21122
|
+
type: "error",
|
|
21123
|
+
name: "DuplicateAssetId",
|
|
21124
|
+
inputs: [
|
|
21125
|
+
{
|
|
21126
|
+
name: "assetId",
|
|
21127
|
+
type: "uint16",
|
|
21128
|
+
internalType: "uint16"
|
|
21129
|
+
}
|
|
21130
|
+
]
|
|
21131
|
+
},
|
|
20590
21132
|
{
|
|
20591
21133
|
type: "error",
|
|
20592
21134
|
name: "FeedNotInPayload",
|
|
@@ -20598,6 +21140,17 @@ var StorkFastAdapter_default = [
|
|
|
20598
21140
|
}
|
|
20599
21141
|
]
|
|
20600
21142
|
},
|
|
21143
|
+
{
|
|
21144
|
+
type: "error",
|
|
21145
|
+
name: "InvalidOracle",
|
|
21146
|
+
inputs: [
|
|
21147
|
+
{
|
|
21148
|
+
name: "oracle",
|
|
21149
|
+
type: "address",
|
|
21150
|
+
internalType: "address"
|
|
21151
|
+
}
|
|
21152
|
+
]
|
|
21153
|
+
},
|
|
20601
21154
|
{
|
|
20602
21155
|
type: "error",
|
|
20603
21156
|
name: "InvalidStorkFastVerifier",
|
|
@@ -20613,6 +21166,38 @@ var StorkFastAdapter_default = [
|
|
|
20613
21166
|
internalType: "int192"
|
|
20614
21167
|
}
|
|
20615
21168
|
]
|
|
21169
|
+
},
|
|
21170
|
+
{
|
|
21171
|
+
type: "error",
|
|
21172
|
+
name: "TimestampRollback",
|
|
21173
|
+
inputs: [
|
|
21174
|
+
{
|
|
21175
|
+
name: "feedId",
|
|
21176
|
+
type: "bytes32",
|
|
21177
|
+
internalType: "bytes32"
|
|
21178
|
+
},
|
|
21179
|
+
{
|
|
21180
|
+
name: "timestampNs",
|
|
21181
|
+
type: "uint64",
|
|
21182
|
+
internalType: "uint64"
|
|
21183
|
+
},
|
|
21184
|
+
{
|
|
21185
|
+
name: "latestTimestampNs",
|
|
21186
|
+
type: "uint64",
|
|
21187
|
+
internalType: "uint64"
|
|
21188
|
+
}
|
|
21189
|
+
]
|
|
21190
|
+
},
|
|
21191
|
+
{
|
|
21192
|
+
type: "error",
|
|
21193
|
+
name: "UnauthorizedCaller",
|
|
21194
|
+
inputs: [
|
|
21195
|
+
{
|
|
21196
|
+
name: "caller",
|
|
21197
|
+
type: "address",
|
|
21198
|
+
internalType: "address"
|
|
21199
|
+
}
|
|
21200
|
+
]
|
|
20616
21201
|
}
|
|
20617
21202
|
];
|
|
20618
21203
|
|