@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.js
CHANGED
|
@@ -6519,6 +6519,19 @@ var RelayOracleV2_default = [
|
|
|
6519
6519
|
|
|
6520
6520
|
// src/abis/RelayPriceOracle.sol/IPriceFeedAdapter.json
|
|
6521
6521
|
var IPriceFeedAdapter_default = [
|
|
6522
|
+
{
|
|
6523
|
+
type: "function",
|
|
6524
|
+
name: "ORACLE",
|
|
6525
|
+
inputs: [],
|
|
6526
|
+
outputs: [
|
|
6527
|
+
{
|
|
6528
|
+
name: "",
|
|
6529
|
+
type: "address",
|
|
6530
|
+
internalType: "address"
|
|
6531
|
+
}
|
|
6532
|
+
],
|
|
6533
|
+
stateMutability: "view"
|
|
6534
|
+
},
|
|
6522
6535
|
{
|
|
6523
6536
|
type: "function",
|
|
6524
6537
|
name: "decodeAndVerify",
|
|
@@ -6562,6 +6575,28 @@ var IPriceFeedAdapter_default = [
|
|
|
6562
6575
|
}
|
|
6563
6576
|
],
|
|
6564
6577
|
stateMutability: "nonpayable"
|
|
6578
|
+
},
|
|
6579
|
+
{
|
|
6580
|
+
type: "error",
|
|
6581
|
+
name: "InvalidOracle",
|
|
6582
|
+
inputs: [
|
|
6583
|
+
{
|
|
6584
|
+
name: "oracle",
|
|
6585
|
+
type: "address",
|
|
6586
|
+
internalType: "address"
|
|
6587
|
+
}
|
|
6588
|
+
]
|
|
6589
|
+
},
|
|
6590
|
+
{
|
|
6591
|
+
type: "error",
|
|
6592
|
+
name: "UnauthorizedCaller",
|
|
6593
|
+
inputs: [
|
|
6594
|
+
{
|
|
6595
|
+
name: "caller",
|
|
6596
|
+
type: "address",
|
|
6597
|
+
internalType: "address"
|
|
6598
|
+
}
|
|
6599
|
+
]
|
|
6565
6600
|
}
|
|
6566
6601
|
];
|
|
6567
6602
|
|
|
@@ -6578,6 +6613,32 @@ var RelayPriceOracle_default = [
|
|
|
6578
6613
|
],
|
|
6579
6614
|
stateMutability: "nonpayable"
|
|
6580
6615
|
},
|
|
6616
|
+
{
|
|
6617
|
+
type: "function",
|
|
6618
|
+
name: "MAX_AGE_SECONDS_UPPER_BOUND",
|
|
6619
|
+
inputs: [],
|
|
6620
|
+
outputs: [
|
|
6621
|
+
{
|
|
6622
|
+
name: "",
|
|
6623
|
+
type: "uint32",
|
|
6624
|
+
internalType: "uint32"
|
|
6625
|
+
}
|
|
6626
|
+
],
|
|
6627
|
+
stateMutability: "view"
|
|
6628
|
+
},
|
|
6629
|
+
{
|
|
6630
|
+
type: "function",
|
|
6631
|
+
name: "MAX_FUTURE_SECONDS_UPPER_BOUND",
|
|
6632
|
+
inputs: [],
|
|
6633
|
+
outputs: [
|
|
6634
|
+
{
|
|
6635
|
+
name: "",
|
|
6636
|
+
type: "uint32",
|
|
6637
|
+
internalType: "uint32"
|
|
6638
|
+
}
|
|
6639
|
+
],
|
|
6640
|
+
stateMutability: "view"
|
|
6641
|
+
},
|
|
6581
6642
|
{
|
|
6582
6643
|
type: "function",
|
|
6583
6644
|
name: "MAX_PRICE_BATCH_SIZE",
|
|
@@ -6591,6 +6652,30 @@ var RelayPriceOracle_default = [
|
|
|
6591
6652
|
],
|
|
6592
6653
|
stateMutability: "view"
|
|
6593
6654
|
},
|
|
6655
|
+
{
|
|
6656
|
+
type: "function",
|
|
6657
|
+
name: "cachedPublishTimes",
|
|
6658
|
+
inputs: [
|
|
6659
|
+
{
|
|
6660
|
+
name: "providerId",
|
|
6661
|
+
type: "bytes32",
|
|
6662
|
+
internalType: "bytes32"
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
name: "feedId",
|
|
6666
|
+
type: "bytes32",
|
|
6667
|
+
internalType: "bytes32"
|
|
6668
|
+
}
|
|
6669
|
+
],
|
|
6670
|
+
outputs: [
|
|
6671
|
+
{
|
|
6672
|
+
name: "publishTime",
|
|
6673
|
+
type: "uint256",
|
|
6674
|
+
internalType: "uint256"
|
|
6675
|
+
}
|
|
6676
|
+
],
|
|
6677
|
+
stateMutability: "view"
|
|
6678
|
+
},
|
|
6594
6679
|
{
|
|
6595
6680
|
type: "function",
|
|
6596
6681
|
name: "currencyToTokenId",
|
|
@@ -6718,6 +6803,25 @@ var RelayPriceOracle_default = [
|
|
|
6718
6803
|
],
|
|
6719
6804
|
stateMutability: "view"
|
|
6720
6805
|
},
|
|
6806
|
+
{
|
|
6807
|
+
type: "function",
|
|
6808
|
+
name: "providerMaxFutureSeconds",
|
|
6809
|
+
inputs: [
|
|
6810
|
+
{
|
|
6811
|
+
name: "providerId",
|
|
6812
|
+
type: "bytes32",
|
|
6813
|
+
internalType: "bytes32"
|
|
6814
|
+
}
|
|
6815
|
+
],
|
|
6816
|
+
outputs: [
|
|
6817
|
+
{
|
|
6818
|
+
name: "maxFutureSeconds",
|
|
6819
|
+
type: "uint32",
|
|
6820
|
+
internalType: "uint32"
|
|
6821
|
+
}
|
|
6822
|
+
],
|
|
6823
|
+
stateMutability: "view"
|
|
6824
|
+
},
|
|
6721
6825
|
{
|
|
6722
6826
|
type: "function",
|
|
6723
6827
|
name: "renounceOwnership",
|
|
@@ -6766,6 +6870,11 @@ var RelayPriceOracle_default = [
|
|
|
6766
6870
|
type: "uint8",
|
|
6767
6871
|
internalType: "uint8"
|
|
6768
6872
|
},
|
|
6873
|
+
{
|
|
6874
|
+
name: "publishTime",
|
|
6875
|
+
type: "uint256",
|
|
6876
|
+
internalType: "uint256"
|
|
6877
|
+
},
|
|
6769
6878
|
{
|
|
6770
6879
|
name: "expiration",
|
|
6771
6880
|
type: "uint256",
|
|
@@ -6817,6 +6926,11 @@ var RelayPriceOracle_default = [
|
|
|
6817
6926
|
type: "uint8",
|
|
6818
6927
|
internalType: "uint8"
|
|
6819
6928
|
},
|
|
6929
|
+
{
|
|
6930
|
+
name: "publishTime",
|
|
6931
|
+
type: "uint256",
|
|
6932
|
+
internalType: "uint256"
|
|
6933
|
+
},
|
|
6820
6934
|
{
|
|
6821
6935
|
name: "expiration",
|
|
6822
6936
|
type: "uint256",
|
|
@@ -6880,6 +6994,11 @@ var RelayPriceOracle_default = [
|
|
|
6880
6994
|
type: "uint8",
|
|
6881
6995
|
internalType: "uint8"
|
|
6882
6996
|
},
|
|
6997
|
+
{
|
|
6998
|
+
name: "publishTime",
|
|
6999
|
+
type: "uint256",
|
|
7000
|
+
internalType: "uint256"
|
|
7001
|
+
},
|
|
6883
7002
|
{
|
|
6884
7003
|
name: "expiration",
|
|
6885
7004
|
type: "uint256",
|
|
@@ -6931,6 +7050,11 @@ var RelayPriceOracle_default = [
|
|
|
6931
7050
|
type: "uint8",
|
|
6932
7051
|
internalType: "uint8"
|
|
6933
7052
|
},
|
|
7053
|
+
{
|
|
7054
|
+
name: "publishTime",
|
|
7055
|
+
type: "uint256",
|
|
7056
|
+
internalType: "uint256"
|
|
7057
|
+
},
|
|
6934
7058
|
{
|
|
6935
7059
|
name: "expiration",
|
|
6936
7060
|
type: "uint256",
|
|
@@ -6994,6 +7118,11 @@ var RelayPriceOracle_default = [
|
|
|
6994
7118
|
type: "uint8",
|
|
6995
7119
|
internalType: "uint8"
|
|
6996
7120
|
},
|
|
7121
|
+
{
|
|
7122
|
+
name: "publishTime",
|
|
7123
|
+
type: "uint256",
|
|
7124
|
+
internalType: "uint256"
|
|
7125
|
+
},
|
|
6997
7126
|
{
|
|
6998
7127
|
name: "expiration",
|
|
6999
7128
|
type: "uint256",
|
|
@@ -7045,6 +7174,11 @@ var RelayPriceOracle_default = [
|
|
|
7045
7174
|
type: "uint8",
|
|
7046
7175
|
internalType: "uint8"
|
|
7047
7176
|
},
|
|
7177
|
+
{
|
|
7178
|
+
name: "publishTime",
|
|
7179
|
+
type: "uint256",
|
|
7180
|
+
internalType: "uint256"
|
|
7181
|
+
},
|
|
7048
7182
|
{
|
|
7049
7183
|
name: "expiration",
|
|
7050
7184
|
type: "uint256",
|
|
@@ -7113,6 +7247,11 @@ var RelayPriceOracle_default = [
|
|
|
7113
7247
|
type: "uint8",
|
|
7114
7248
|
internalType: "uint8"
|
|
7115
7249
|
},
|
|
7250
|
+
{
|
|
7251
|
+
name: "publishTime",
|
|
7252
|
+
type: "uint256",
|
|
7253
|
+
internalType: "uint256"
|
|
7254
|
+
},
|
|
7116
7255
|
{
|
|
7117
7256
|
name: "expiration",
|
|
7118
7257
|
type: "uint256",
|
|
@@ -7154,6 +7293,11 @@ var RelayPriceOracle_default = [
|
|
|
7154
7293
|
type: "uint8",
|
|
7155
7294
|
internalType: "uint8"
|
|
7156
7295
|
},
|
|
7296
|
+
{
|
|
7297
|
+
name: "publishTime",
|
|
7298
|
+
type: "uint256",
|
|
7299
|
+
internalType: "uint256"
|
|
7300
|
+
},
|
|
7157
7301
|
{
|
|
7158
7302
|
name: "expiration",
|
|
7159
7303
|
type: "uint256",
|
|
@@ -7207,6 +7351,11 @@ var RelayPriceOracle_default = [
|
|
|
7207
7351
|
type: "uint8",
|
|
7208
7352
|
internalType: "uint8"
|
|
7209
7353
|
},
|
|
7354
|
+
{
|
|
7355
|
+
name: "publishTime",
|
|
7356
|
+
type: "uint256",
|
|
7357
|
+
internalType: "uint256"
|
|
7358
|
+
},
|
|
7210
7359
|
{
|
|
7211
7360
|
name: "expiration",
|
|
7212
7361
|
type: "uint256",
|
|
@@ -7248,6 +7397,11 @@ var RelayPriceOracle_default = [
|
|
|
7248
7397
|
type: "uint8",
|
|
7249
7398
|
internalType: "uint8"
|
|
7250
7399
|
},
|
|
7400
|
+
{
|
|
7401
|
+
name: "publishTime",
|
|
7402
|
+
type: "uint256",
|
|
7403
|
+
internalType: "uint256"
|
|
7404
|
+
},
|
|
7251
7405
|
{
|
|
7252
7406
|
name: "expiration",
|
|
7253
7407
|
type: "uint256",
|
|
@@ -7289,6 +7443,11 @@ var RelayPriceOracle_default = [
|
|
|
7289
7443
|
type: "uint8",
|
|
7290
7444
|
internalType: "uint8"
|
|
7291
7445
|
},
|
|
7446
|
+
{
|
|
7447
|
+
name: "publishTime",
|
|
7448
|
+
type: "uint256",
|
|
7449
|
+
internalType: "uint256"
|
|
7450
|
+
},
|
|
7292
7451
|
{
|
|
7293
7452
|
name: "expiration",
|
|
7294
7453
|
type: "uint256",
|
|
@@ -7342,6 +7501,11 @@ var RelayPriceOracle_default = [
|
|
|
7342
7501
|
type: "uint8",
|
|
7343
7502
|
internalType: "uint8"
|
|
7344
7503
|
},
|
|
7504
|
+
{
|
|
7505
|
+
name: "publishTime",
|
|
7506
|
+
type: "uint256",
|
|
7507
|
+
internalType: "uint256"
|
|
7508
|
+
},
|
|
7345
7509
|
{
|
|
7346
7510
|
name: "expiration",
|
|
7347
7511
|
type: "uint256",
|
|
@@ -7383,6 +7547,11 @@ var RelayPriceOracle_default = [
|
|
|
7383
7547
|
type: "uint8",
|
|
7384
7548
|
internalType: "uint8"
|
|
7385
7549
|
},
|
|
7550
|
+
{
|
|
7551
|
+
name: "publishTime",
|
|
7552
|
+
type: "uint256",
|
|
7553
|
+
internalType: "uint256"
|
|
7554
|
+
},
|
|
7386
7555
|
{
|
|
7387
7556
|
name: "expiration",
|
|
7388
7557
|
type: "uint256",
|
|
@@ -7441,6 +7610,11 @@ var RelayPriceOracle_default = [
|
|
|
7441
7610
|
type: "uint8",
|
|
7442
7611
|
internalType: "uint8"
|
|
7443
7612
|
},
|
|
7613
|
+
{
|
|
7614
|
+
name: "publishTime",
|
|
7615
|
+
type: "uint256",
|
|
7616
|
+
internalType: "uint256"
|
|
7617
|
+
},
|
|
7444
7618
|
{
|
|
7445
7619
|
name: "expiration",
|
|
7446
7620
|
type: "uint256",
|
|
@@ -7554,6 +7728,11 @@ var RelayPriceOracle_default = [
|
|
|
7554
7728
|
name: "adapter",
|
|
7555
7729
|
type: "address",
|
|
7556
7730
|
internalType: "address"
|
|
7731
|
+
},
|
|
7732
|
+
{
|
|
7733
|
+
name: "maxFutureSeconds",
|
|
7734
|
+
type: "uint32",
|
|
7735
|
+
internalType: "uint32"
|
|
7557
7736
|
}
|
|
7558
7737
|
],
|
|
7559
7738
|
outputs: [],
|
|
@@ -7680,6 +7859,12 @@ var RelayPriceOracle_default = [
|
|
|
7680
7859
|
type: "address",
|
|
7681
7860
|
indexed: true,
|
|
7682
7861
|
internalType: "address"
|
|
7862
|
+
},
|
|
7863
|
+
{
|
|
7864
|
+
name: "maxFutureSeconds",
|
|
7865
|
+
type: "uint32",
|
|
7866
|
+
indexed: false,
|
|
7867
|
+
internalType: "uint32"
|
|
7683
7868
|
}
|
|
7684
7869
|
],
|
|
7685
7870
|
anonymous: false
|
|
@@ -7731,6 +7916,38 @@ var RelayPriceOracle_default = [
|
|
|
7731
7916
|
name: "InvalidFeedId",
|
|
7732
7917
|
inputs: []
|
|
7733
7918
|
},
|
|
7919
|
+
{
|
|
7920
|
+
type: "error",
|
|
7921
|
+
name: "InvalidMaxAgeSeconds",
|
|
7922
|
+
inputs: [
|
|
7923
|
+
{
|
|
7924
|
+
name: "maxAgeSeconds",
|
|
7925
|
+
type: "uint32",
|
|
7926
|
+
internalType: "uint32"
|
|
7927
|
+
},
|
|
7928
|
+
{
|
|
7929
|
+
name: "maxAgeSecondsUpperBound",
|
|
7930
|
+
type: "uint32",
|
|
7931
|
+
internalType: "uint32"
|
|
7932
|
+
}
|
|
7933
|
+
]
|
|
7934
|
+
},
|
|
7935
|
+
{
|
|
7936
|
+
type: "error",
|
|
7937
|
+
name: "InvalidMaxFutureSeconds",
|
|
7938
|
+
inputs: [
|
|
7939
|
+
{
|
|
7940
|
+
name: "maxFutureSeconds",
|
|
7941
|
+
type: "uint32",
|
|
7942
|
+
internalType: "uint32"
|
|
7943
|
+
},
|
|
7944
|
+
{
|
|
7945
|
+
name: "maxFutureSecondsUpperBound",
|
|
7946
|
+
type: "uint32",
|
|
7947
|
+
internalType: "uint32"
|
|
7948
|
+
}
|
|
7949
|
+
]
|
|
7950
|
+
},
|
|
7734
7951
|
{
|
|
7735
7952
|
type: "error",
|
|
7736
7953
|
name: "InvalidPriceFeedAdapter",
|
|
@@ -7742,11 +7959,37 @@ var RelayPriceOracle_default = [
|
|
|
7742
7959
|
}
|
|
7743
7960
|
]
|
|
7744
7961
|
},
|
|
7962
|
+
{
|
|
7963
|
+
type: "error",
|
|
7964
|
+
name: "InvalidPriceFeedAdapterOracle",
|
|
7965
|
+
inputs: [
|
|
7966
|
+
{
|
|
7967
|
+
name: "adapter",
|
|
7968
|
+
type: "address",
|
|
7969
|
+
internalType: "address"
|
|
7970
|
+
},
|
|
7971
|
+
{
|
|
7972
|
+
name: "expectedOracle",
|
|
7973
|
+
type: "address",
|
|
7974
|
+
internalType: "address"
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
name: "actualOracle",
|
|
7978
|
+
type: "address",
|
|
7979
|
+
internalType: "address"
|
|
7980
|
+
}
|
|
7981
|
+
]
|
|
7982
|
+
},
|
|
7745
7983
|
{
|
|
7746
7984
|
type: "error",
|
|
7747
7985
|
name: "InvalidProviderId",
|
|
7748
7986
|
inputs: []
|
|
7749
7987
|
},
|
|
7988
|
+
{
|
|
7989
|
+
type: "error",
|
|
7990
|
+
name: "InvalidPublishTime",
|
|
7991
|
+
inputs: []
|
|
7992
|
+
},
|
|
7750
7993
|
{
|
|
7751
7994
|
type: "error",
|
|
7752
7995
|
name: "OwnableInvalidOwner",
|
|
@@ -7816,6 +8059,48 @@ var RelayPriceOracle_default = [
|
|
|
7816
8059
|
type: "error",
|
|
7817
8060
|
name: "PriceFeedCallFailed",
|
|
7818
8061
|
inputs: []
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
type: "error",
|
|
8065
|
+
name: "PriceTimestampRollback",
|
|
8066
|
+
inputs: [
|
|
8067
|
+
{
|
|
8068
|
+
name: "providerId",
|
|
8069
|
+
type: "bytes32",
|
|
8070
|
+
internalType: "bytes32"
|
|
8071
|
+
},
|
|
8072
|
+
{
|
|
8073
|
+
name: "feedId",
|
|
8074
|
+
type: "bytes32",
|
|
8075
|
+
internalType: "bytes32"
|
|
8076
|
+
},
|
|
8077
|
+
{
|
|
8078
|
+
name: "publishTime",
|
|
8079
|
+
type: "uint256",
|
|
8080
|
+
internalType: "uint256"
|
|
8081
|
+
},
|
|
8082
|
+
{
|
|
8083
|
+
name: "cachedPublishTime",
|
|
8084
|
+
type: "uint256",
|
|
8085
|
+
internalType: "uint256"
|
|
8086
|
+
}
|
|
8087
|
+
]
|
|
8088
|
+
},
|
|
8089
|
+
{
|
|
8090
|
+
type: "error",
|
|
8091
|
+
name: "PriceTimestampTooFarInFuture",
|
|
8092
|
+
inputs: [
|
|
8093
|
+
{
|
|
8094
|
+
name: "publishTime",
|
|
8095
|
+
type: "uint256",
|
|
8096
|
+
internalType: "uint256"
|
|
8097
|
+
},
|
|
8098
|
+
{
|
|
8099
|
+
name: "maxPublishTime",
|
|
8100
|
+
type: "uint256",
|
|
8101
|
+
internalType: "uint256"
|
|
8102
|
+
}
|
|
8103
|
+
]
|
|
7819
8104
|
}
|
|
7820
8105
|
];
|
|
7821
8106
|
|
|
@@ -10678,6 +10963,11 @@ var BasicPricingOracle_default = [
|
|
|
10678
10963
|
type: "uint8",
|
|
10679
10964
|
internalType: "uint8"
|
|
10680
10965
|
},
|
|
10966
|
+
{
|
|
10967
|
+
name: "publishTime",
|
|
10968
|
+
type: "uint256",
|
|
10969
|
+
internalType: "uint256"
|
|
10970
|
+
},
|
|
10681
10971
|
{
|
|
10682
10972
|
name: "expiration",
|
|
10683
10973
|
type: "uint256",
|
|
@@ -10766,6 +11056,11 @@ var IBidAskOracle_default = [
|
|
|
10766
11056
|
type: "uint8",
|
|
10767
11057
|
internalType: "uint8"
|
|
10768
11058
|
},
|
|
11059
|
+
{
|
|
11060
|
+
name: "publishTime",
|
|
11061
|
+
type: "uint256",
|
|
11062
|
+
internalType: "uint256"
|
|
11063
|
+
},
|
|
10769
11064
|
{
|
|
10770
11065
|
name: "expiration",
|
|
10771
11066
|
type: "uint256",
|
|
@@ -10828,6 +11123,11 @@ var IPricingOracle_default = [
|
|
|
10828
11123
|
type: "uint8",
|
|
10829
11124
|
internalType: "uint8"
|
|
10830
11125
|
},
|
|
11126
|
+
{
|
|
11127
|
+
name: "publishTime",
|
|
11128
|
+
type: "uint256",
|
|
11129
|
+
internalType: "uint256"
|
|
11130
|
+
},
|
|
10831
11131
|
{
|
|
10832
11132
|
name: "expiration",
|
|
10833
11133
|
type: "uint256",
|
|
@@ -10956,6 +11256,11 @@ var SignedPricingOracle_default = [
|
|
|
10956
11256
|
type: "uint8",
|
|
10957
11257
|
internalType: "uint8"
|
|
10958
11258
|
},
|
|
11259
|
+
{
|
|
11260
|
+
name: "publishTime",
|
|
11261
|
+
type: "uint256",
|
|
11262
|
+
internalType: "uint256"
|
|
11263
|
+
},
|
|
10959
11264
|
{
|
|
10960
11265
|
name: "expiration",
|
|
10961
11266
|
type: "uint256",
|
|
@@ -11026,6 +11331,11 @@ var SignedPricingOracle_default = [
|
|
|
11026
11331
|
type: "uint8",
|
|
11027
11332
|
internalType: "uint8"
|
|
11028
11333
|
},
|
|
11334
|
+
{
|
|
11335
|
+
name: "publishTime",
|
|
11336
|
+
type: "uint256",
|
|
11337
|
+
internalType: "uint256"
|
|
11338
|
+
},
|
|
11029
11339
|
{
|
|
11030
11340
|
name: "expiration",
|
|
11031
11341
|
type: "uint256",
|
|
@@ -14782,17 +15092,41 @@ var EmptyPayloadBuilder_default = [
|
|
|
14782
15092
|
],
|
|
14783
15093
|
outputs: [
|
|
14784
15094
|
{
|
|
14785
|
-
name: "hashes",
|
|
14786
|
-
type: "bytes32[]",
|
|
14787
|
-
internalType: "bytes32[]"
|
|
15095
|
+
name: "hashes",
|
|
15096
|
+
type: "bytes32[]",
|
|
15097
|
+
internalType: "bytes32[]"
|
|
15098
|
+
}
|
|
15099
|
+
],
|
|
15100
|
+
stateMutability: "pure"
|
|
15101
|
+
}
|
|
15102
|
+
];
|
|
15103
|
+
|
|
15104
|
+
// src/abis/mocks/MockPriceFeedAdapter.sol/MockPriceFeedAdapter.json
|
|
15105
|
+
var MockPriceFeedAdapter_default = [
|
|
15106
|
+
{
|
|
15107
|
+
type: "constructor",
|
|
15108
|
+
inputs: [
|
|
15109
|
+
{
|
|
15110
|
+
name: "_oracle",
|
|
15111
|
+
type: "address",
|
|
15112
|
+
internalType: "address"
|
|
15113
|
+
}
|
|
15114
|
+
],
|
|
15115
|
+
stateMutability: "nonpayable"
|
|
15116
|
+
},
|
|
15117
|
+
{
|
|
15118
|
+
type: "function",
|
|
15119
|
+
name: "ORACLE",
|
|
15120
|
+
inputs: [],
|
|
15121
|
+
outputs: [
|
|
15122
|
+
{
|
|
15123
|
+
name: "",
|
|
15124
|
+
type: "address",
|
|
15125
|
+
internalType: "address"
|
|
14788
15126
|
}
|
|
14789
15127
|
],
|
|
14790
|
-
stateMutability: "
|
|
14791
|
-
}
|
|
14792
|
-
];
|
|
14793
|
-
|
|
14794
|
-
// src/abis/mocks/MockPriceFeedAdapter.sol/MockPriceFeedAdapter.json
|
|
14795
|
-
var MockPriceFeedAdapter_default = [
|
|
15128
|
+
stateMutability: "view"
|
|
15129
|
+
},
|
|
14796
15130
|
{
|
|
14797
15131
|
type: "function",
|
|
14798
15132
|
name: "decodeAndVerify",
|
|
@@ -14835,7 +15169,7 @@ var MockPriceFeedAdapter_default = [
|
|
|
14835
15169
|
internalType: "uint256"
|
|
14836
15170
|
}
|
|
14837
15171
|
],
|
|
14838
|
-
stateMutability: "
|
|
15172
|
+
stateMutability: "view"
|
|
14839
15173
|
},
|
|
14840
15174
|
{
|
|
14841
15175
|
type: "error",
|
|
@@ -14852,6 +15186,28 @@ var MockPriceFeedAdapter_default = [
|
|
|
14852
15186
|
internalType: "bytes32"
|
|
14853
15187
|
}
|
|
14854
15188
|
]
|
|
15189
|
+
},
|
|
15190
|
+
{
|
|
15191
|
+
type: "error",
|
|
15192
|
+
name: "InvalidOracle",
|
|
15193
|
+
inputs: [
|
|
15194
|
+
{
|
|
15195
|
+
name: "oracle",
|
|
15196
|
+
type: "address",
|
|
15197
|
+
internalType: "address"
|
|
15198
|
+
}
|
|
15199
|
+
]
|
|
15200
|
+
},
|
|
15201
|
+
{
|
|
15202
|
+
type: "error",
|
|
15203
|
+
name: "UnauthorizedCaller",
|
|
15204
|
+
inputs: [
|
|
15205
|
+
{
|
|
15206
|
+
name: "caller",
|
|
15207
|
+
type: "address",
|
|
15208
|
+
internalType: "address"
|
|
15209
|
+
}
|
|
15210
|
+
]
|
|
14855
15211
|
}
|
|
14856
15212
|
];
|
|
14857
15213
|
|
|
@@ -14883,6 +15239,11 @@ var MockPricingOracle_default = [
|
|
|
14883
15239
|
type: "uint8",
|
|
14884
15240
|
internalType: "uint8"
|
|
14885
15241
|
},
|
|
15242
|
+
{
|
|
15243
|
+
name: "publishTime",
|
|
15244
|
+
type: "uint256",
|
|
15245
|
+
internalType: "uint256"
|
|
15246
|
+
},
|
|
14886
15247
|
{
|
|
14887
15248
|
name: "expiration",
|
|
14888
15249
|
type: "uint256",
|
|
@@ -14939,6 +15300,11 @@ var MockPricingOracle_default = [
|
|
|
14939
15300
|
type: "uint8",
|
|
14940
15301
|
internalType: "uint8"
|
|
14941
15302
|
},
|
|
15303
|
+
{
|
|
15304
|
+
name: "publishTime",
|
|
15305
|
+
type: "uint256",
|
|
15306
|
+
internalType: "uint256"
|
|
15307
|
+
},
|
|
14942
15308
|
{
|
|
14943
15309
|
name: "expiration",
|
|
14944
15310
|
type: "uint256",
|
|
@@ -14978,6 +15344,11 @@ var MockPricingOracle_default = [
|
|
|
14978
15344
|
type: "uint8",
|
|
14979
15345
|
internalType: "uint8"
|
|
14980
15346
|
},
|
|
15347
|
+
{
|
|
15348
|
+
name: "publishTime",
|
|
15349
|
+
type: "uint256",
|
|
15350
|
+
internalType: "uint256"
|
|
15351
|
+
},
|
|
14981
15352
|
{
|
|
14982
15353
|
name: "expiration",
|
|
14983
15354
|
type: "uint256",
|
|
@@ -20284,6 +20655,11 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20284
20655
|
{
|
|
20285
20656
|
type: "constructor",
|
|
20286
20657
|
inputs: [
|
|
20658
|
+
{
|
|
20659
|
+
name: "_oracle",
|
|
20660
|
+
type: "address",
|
|
20661
|
+
internalType: "address"
|
|
20662
|
+
},
|
|
20287
20663
|
{
|
|
20288
20664
|
name: "verifierProxy",
|
|
20289
20665
|
type: "address",
|
|
@@ -20310,6 +20686,19 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20310
20686
|
],
|
|
20311
20687
|
stateMutability: "view"
|
|
20312
20688
|
},
|
|
20689
|
+
{
|
|
20690
|
+
type: "function",
|
|
20691
|
+
name: "ORACLE",
|
|
20692
|
+
inputs: [],
|
|
20693
|
+
outputs: [
|
|
20694
|
+
{
|
|
20695
|
+
name: "",
|
|
20696
|
+
type: "address",
|
|
20697
|
+
internalType: "address"
|
|
20698
|
+
}
|
|
20699
|
+
],
|
|
20700
|
+
stateMutability: "view"
|
|
20701
|
+
},
|
|
20313
20702
|
{
|
|
20314
20703
|
type: "function",
|
|
20315
20704
|
name: "REPORT_V3_SCHEMA",
|
|
@@ -20370,6 +20759,11 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20370
20759
|
type: "int192",
|
|
20371
20760
|
internalType: "int192"
|
|
20372
20761
|
},
|
|
20762
|
+
{
|
|
20763
|
+
name: "validFromTimestamp",
|
|
20764
|
+
type: "uint32",
|
|
20765
|
+
internalType: "uint32"
|
|
20766
|
+
},
|
|
20373
20767
|
{
|
|
20374
20768
|
name: "observationsTimestamp",
|
|
20375
20769
|
type: "uint32",
|
|
@@ -20453,6 +20847,59 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20453
20847
|
}
|
|
20454
20848
|
]
|
|
20455
20849
|
},
|
|
20850
|
+
{
|
|
20851
|
+
type: "error",
|
|
20852
|
+
name: "InvalidBidAsk",
|
|
20853
|
+
inputs: [
|
|
20854
|
+
{
|
|
20855
|
+
name: "benchmarkPrice",
|
|
20856
|
+
type: "int192",
|
|
20857
|
+
internalType: "int192"
|
|
20858
|
+
},
|
|
20859
|
+
{
|
|
20860
|
+
name: "bid",
|
|
20861
|
+
type: "int192",
|
|
20862
|
+
internalType: "int192"
|
|
20863
|
+
},
|
|
20864
|
+
{
|
|
20865
|
+
name: "ask",
|
|
20866
|
+
type: "int192",
|
|
20867
|
+
internalType: "int192"
|
|
20868
|
+
}
|
|
20869
|
+
]
|
|
20870
|
+
},
|
|
20871
|
+
{
|
|
20872
|
+
type: "error",
|
|
20873
|
+
name: "InvalidOracle",
|
|
20874
|
+
inputs: [
|
|
20875
|
+
{
|
|
20876
|
+
name: "oracle",
|
|
20877
|
+
type: "address",
|
|
20878
|
+
internalType: "address"
|
|
20879
|
+
}
|
|
20880
|
+
]
|
|
20881
|
+
},
|
|
20882
|
+
{
|
|
20883
|
+
type: "error",
|
|
20884
|
+
name: "InvalidReportTimeRange",
|
|
20885
|
+
inputs: [
|
|
20886
|
+
{
|
|
20887
|
+
name: "validFromTimestamp",
|
|
20888
|
+
type: "uint32",
|
|
20889
|
+
internalType: "uint32"
|
|
20890
|
+
},
|
|
20891
|
+
{
|
|
20892
|
+
name: "observationsTimestamp",
|
|
20893
|
+
type: "uint32",
|
|
20894
|
+
internalType: "uint32"
|
|
20895
|
+
},
|
|
20896
|
+
{
|
|
20897
|
+
name: "expiresAt",
|
|
20898
|
+
type: "uint32",
|
|
20899
|
+
internalType: "uint32"
|
|
20900
|
+
}
|
|
20901
|
+
]
|
|
20902
|
+
},
|
|
20456
20903
|
{
|
|
20457
20904
|
type: "error",
|
|
20458
20905
|
name: "InvalidVerifierProxy",
|
|
@@ -20485,6 +20932,38 @@ var ChainlinkDataStreamsAdapter_default = [
|
|
|
20485
20932
|
}
|
|
20486
20933
|
]
|
|
20487
20934
|
},
|
|
20935
|
+
{
|
|
20936
|
+
type: "error",
|
|
20937
|
+
name: "TimestampRollback",
|
|
20938
|
+
inputs: [
|
|
20939
|
+
{
|
|
20940
|
+
name: "feedId",
|
|
20941
|
+
type: "bytes32",
|
|
20942
|
+
internalType: "bytes32"
|
|
20943
|
+
},
|
|
20944
|
+
{
|
|
20945
|
+
name: "observationsTimestamp",
|
|
20946
|
+
type: "uint32",
|
|
20947
|
+
internalType: "uint32"
|
|
20948
|
+
},
|
|
20949
|
+
{
|
|
20950
|
+
name: "latestObservationsTimestamp",
|
|
20951
|
+
type: "uint32",
|
|
20952
|
+
internalType: "uint32"
|
|
20953
|
+
}
|
|
20954
|
+
]
|
|
20955
|
+
},
|
|
20956
|
+
{
|
|
20957
|
+
type: "error",
|
|
20958
|
+
name: "UnauthorizedCaller",
|
|
20959
|
+
inputs: [
|
|
20960
|
+
{
|
|
20961
|
+
name: "caller",
|
|
20962
|
+
type: "address",
|
|
20963
|
+
internalType: "address"
|
|
20964
|
+
}
|
|
20965
|
+
]
|
|
20966
|
+
},
|
|
20488
20967
|
{
|
|
20489
20968
|
type: "error",
|
|
20490
20969
|
name: "UnsupportedReportSchema",
|
|
@@ -20578,6 +21057,11 @@ var StorkFastAdapter_default = [
|
|
|
20578
21057
|
{
|
|
20579
21058
|
type: "constructor",
|
|
20580
21059
|
inputs: [
|
|
21060
|
+
{
|
|
21061
|
+
name: "_oracle",
|
|
21062
|
+
type: "address",
|
|
21063
|
+
internalType: "address"
|
|
21064
|
+
},
|
|
20581
21065
|
{
|
|
20582
21066
|
name: "storkFastVerifier",
|
|
20583
21067
|
type: "address",
|
|
@@ -20586,6 +21070,19 @@ var StorkFastAdapter_default = [
|
|
|
20586
21070
|
],
|
|
20587
21071
|
stateMutability: "nonpayable"
|
|
20588
21072
|
},
|
|
21073
|
+
{
|
|
21074
|
+
type: "function",
|
|
21075
|
+
name: "ORACLE",
|
|
21076
|
+
inputs: [],
|
|
21077
|
+
outputs: [
|
|
21078
|
+
{
|
|
21079
|
+
name: "",
|
|
21080
|
+
type: "address",
|
|
21081
|
+
internalType: "address"
|
|
21082
|
+
}
|
|
21083
|
+
],
|
|
21084
|
+
stateMutability: "view"
|
|
21085
|
+
},
|
|
20589
21086
|
{
|
|
20590
21087
|
type: "function",
|
|
20591
21088
|
name: "STORK_FAST_VERIFIER",
|
|
@@ -20614,27 +21111,35 @@ var StorkFastAdapter_default = [
|
|
|
20614
21111
|
},
|
|
20615
21112
|
{
|
|
20616
21113
|
type: "function",
|
|
20617
|
-
name: "
|
|
20618
|
-
inputs: [
|
|
21114
|
+
name: "cachedReportHash",
|
|
21115
|
+
inputs: [],
|
|
21116
|
+
outputs: [
|
|
20619
21117
|
{
|
|
20620
|
-
name: "
|
|
21118
|
+
name: "",
|
|
20621
21119
|
type: "bytes32",
|
|
20622
21120
|
internalType: "bytes32"
|
|
20623
21121
|
}
|
|
20624
21122
|
],
|
|
20625
|
-
|
|
21123
|
+
stateMutability: "view"
|
|
21124
|
+
},
|
|
21125
|
+
{
|
|
21126
|
+
type: "function",
|
|
21127
|
+
name: "cachedReportValues",
|
|
21128
|
+
inputs: [
|
|
20626
21129
|
{
|
|
20627
|
-
name: "
|
|
21130
|
+
name: "feedId",
|
|
20628
21131
|
type: "bytes32",
|
|
20629
21132
|
internalType: "bytes32"
|
|
20630
|
-
}
|
|
21133
|
+
}
|
|
21134
|
+
],
|
|
21135
|
+
outputs: [
|
|
20631
21136
|
{
|
|
20632
21137
|
name: "quantizedValue",
|
|
20633
21138
|
type: "int192",
|
|
20634
21139
|
internalType: "int192"
|
|
20635
21140
|
},
|
|
20636
21141
|
{
|
|
20637
|
-
name: "
|
|
21142
|
+
name: "timestampNs",
|
|
20638
21143
|
type: "uint64",
|
|
20639
21144
|
internalType: "uint64"
|
|
20640
21145
|
}
|
|
@@ -20709,6 +21214,43 @@ var StorkFastAdapter_default = [
|
|
|
20709
21214
|
],
|
|
20710
21215
|
stateMutability: "nonpayable"
|
|
20711
21216
|
},
|
|
21217
|
+
{
|
|
21218
|
+
type: "error",
|
|
21219
|
+
name: "ConflictingPriceAtTimestamp",
|
|
21220
|
+
inputs: [
|
|
21221
|
+
{
|
|
21222
|
+
name: "feedId",
|
|
21223
|
+
type: "bytes32",
|
|
21224
|
+
internalType: "bytes32"
|
|
21225
|
+
},
|
|
21226
|
+
{
|
|
21227
|
+
name: "timestampNs",
|
|
21228
|
+
type: "uint64",
|
|
21229
|
+
internalType: "uint64"
|
|
21230
|
+
},
|
|
21231
|
+
{
|
|
21232
|
+
name: "latestValue",
|
|
21233
|
+
type: "int192",
|
|
21234
|
+
internalType: "int192"
|
|
21235
|
+
},
|
|
21236
|
+
{
|
|
21237
|
+
name: "newValue",
|
|
21238
|
+
type: "int192",
|
|
21239
|
+
internalType: "int192"
|
|
21240
|
+
}
|
|
21241
|
+
]
|
|
21242
|
+
},
|
|
21243
|
+
{
|
|
21244
|
+
type: "error",
|
|
21245
|
+
name: "DuplicateAssetId",
|
|
21246
|
+
inputs: [
|
|
21247
|
+
{
|
|
21248
|
+
name: "assetId",
|
|
21249
|
+
type: "uint16",
|
|
21250
|
+
internalType: "uint16"
|
|
21251
|
+
}
|
|
21252
|
+
]
|
|
21253
|
+
},
|
|
20712
21254
|
{
|
|
20713
21255
|
type: "error",
|
|
20714
21256
|
name: "FeedNotInPayload",
|
|
@@ -20720,6 +21262,17 @@ var StorkFastAdapter_default = [
|
|
|
20720
21262
|
}
|
|
20721
21263
|
]
|
|
20722
21264
|
},
|
|
21265
|
+
{
|
|
21266
|
+
type: "error",
|
|
21267
|
+
name: "InvalidOracle",
|
|
21268
|
+
inputs: [
|
|
21269
|
+
{
|
|
21270
|
+
name: "oracle",
|
|
21271
|
+
type: "address",
|
|
21272
|
+
internalType: "address"
|
|
21273
|
+
}
|
|
21274
|
+
]
|
|
21275
|
+
},
|
|
20723
21276
|
{
|
|
20724
21277
|
type: "error",
|
|
20725
21278
|
name: "InvalidStorkFastVerifier",
|
|
@@ -20735,6 +21288,38 @@ var StorkFastAdapter_default = [
|
|
|
20735
21288
|
internalType: "int192"
|
|
20736
21289
|
}
|
|
20737
21290
|
]
|
|
21291
|
+
},
|
|
21292
|
+
{
|
|
21293
|
+
type: "error",
|
|
21294
|
+
name: "TimestampRollback",
|
|
21295
|
+
inputs: [
|
|
21296
|
+
{
|
|
21297
|
+
name: "feedId",
|
|
21298
|
+
type: "bytes32",
|
|
21299
|
+
internalType: "bytes32"
|
|
21300
|
+
},
|
|
21301
|
+
{
|
|
21302
|
+
name: "timestampNs",
|
|
21303
|
+
type: "uint64",
|
|
21304
|
+
internalType: "uint64"
|
|
21305
|
+
},
|
|
21306
|
+
{
|
|
21307
|
+
name: "latestTimestampNs",
|
|
21308
|
+
type: "uint64",
|
|
21309
|
+
internalType: "uint64"
|
|
21310
|
+
}
|
|
21311
|
+
]
|
|
21312
|
+
},
|
|
21313
|
+
{
|
|
21314
|
+
type: "error",
|
|
21315
|
+
name: "UnauthorizedCaller",
|
|
21316
|
+
inputs: [
|
|
21317
|
+
{
|
|
21318
|
+
name: "caller",
|
|
21319
|
+
type: "address",
|
|
21320
|
+
internalType: "address"
|
|
21321
|
+
}
|
|
21322
|
+
]
|
|
20738
21323
|
}
|
|
20739
21324
|
];
|
|
20740
21325
|
|