@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.d.mts
CHANGED
|
@@ -6531,6 +6531,20 @@ var RelayOracleV2 = [
|
|
|
6531
6531
|
];
|
|
6532
6532
|
|
|
6533
6533
|
var IPriceFeedAdapter = [
|
|
6534
|
+
{
|
|
6535
|
+
type: "function",
|
|
6536
|
+
name: "ORACLE",
|
|
6537
|
+
inputs: [
|
|
6538
|
+
],
|
|
6539
|
+
outputs: [
|
|
6540
|
+
{
|
|
6541
|
+
name: "",
|
|
6542
|
+
type: "address",
|
|
6543
|
+
internalType: "address"
|
|
6544
|
+
}
|
|
6545
|
+
],
|
|
6546
|
+
stateMutability: "view"
|
|
6547
|
+
},
|
|
6534
6548
|
{
|
|
6535
6549
|
type: "function",
|
|
6536
6550
|
name: "decodeAndVerify",
|
|
@@ -6574,6 +6588,28 @@ var IPriceFeedAdapter = [
|
|
|
6574
6588
|
}
|
|
6575
6589
|
],
|
|
6576
6590
|
stateMutability: "nonpayable"
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
type: "error",
|
|
6594
|
+
name: "InvalidOracle",
|
|
6595
|
+
inputs: [
|
|
6596
|
+
{
|
|
6597
|
+
name: "oracle",
|
|
6598
|
+
type: "address",
|
|
6599
|
+
internalType: "address"
|
|
6600
|
+
}
|
|
6601
|
+
]
|
|
6602
|
+
},
|
|
6603
|
+
{
|
|
6604
|
+
type: "error",
|
|
6605
|
+
name: "UnauthorizedCaller",
|
|
6606
|
+
inputs: [
|
|
6607
|
+
{
|
|
6608
|
+
name: "caller",
|
|
6609
|
+
type: "address",
|
|
6610
|
+
internalType: "address"
|
|
6611
|
+
}
|
|
6612
|
+
]
|
|
6577
6613
|
}
|
|
6578
6614
|
];
|
|
6579
6615
|
|
|
@@ -6589,6 +6625,34 @@ var RelayPriceOracle = [
|
|
|
6589
6625
|
],
|
|
6590
6626
|
stateMutability: "nonpayable"
|
|
6591
6627
|
},
|
|
6628
|
+
{
|
|
6629
|
+
type: "function",
|
|
6630
|
+
name: "MAX_AGE_SECONDS_UPPER_BOUND",
|
|
6631
|
+
inputs: [
|
|
6632
|
+
],
|
|
6633
|
+
outputs: [
|
|
6634
|
+
{
|
|
6635
|
+
name: "",
|
|
6636
|
+
type: "uint32",
|
|
6637
|
+
internalType: "uint32"
|
|
6638
|
+
}
|
|
6639
|
+
],
|
|
6640
|
+
stateMutability: "view"
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
type: "function",
|
|
6644
|
+
name: "MAX_FUTURE_SECONDS_UPPER_BOUND",
|
|
6645
|
+
inputs: [
|
|
6646
|
+
],
|
|
6647
|
+
outputs: [
|
|
6648
|
+
{
|
|
6649
|
+
name: "",
|
|
6650
|
+
type: "uint32",
|
|
6651
|
+
internalType: "uint32"
|
|
6652
|
+
}
|
|
6653
|
+
],
|
|
6654
|
+
stateMutability: "view"
|
|
6655
|
+
},
|
|
6592
6656
|
{
|
|
6593
6657
|
type: "function",
|
|
6594
6658
|
name: "MAX_PRICE_BATCH_SIZE",
|
|
@@ -6603,6 +6667,30 @@ var RelayPriceOracle = [
|
|
|
6603
6667
|
],
|
|
6604
6668
|
stateMutability: "view"
|
|
6605
6669
|
},
|
|
6670
|
+
{
|
|
6671
|
+
type: "function",
|
|
6672
|
+
name: "cachedPublishTimes",
|
|
6673
|
+
inputs: [
|
|
6674
|
+
{
|
|
6675
|
+
name: "providerId",
|
|
6676
|
+
type: "bytes32",
|
|
6677
|
+
internalType: "bytes32"
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
name: "feedId",
|
|
6681
|
+
type: "bytes32",
|
|
6682
|
+
internalType: "bytes32"
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
outputs: [
|
|
6686
|
+
{
|
|
6687
|
+
name: "publishTime",
|
|
6688
|
+
type: "uint256",
|
|
6689
|
+
internalType: "uint256"
|
|
6690
|
+
}
|
|
6691
|
+
],
|
|
6692
|
+
stateMutability: "view"
|
|
6693
|
+
},
|
|
6606
6694
|
{
|
|
6607
6695
|
type: "function",
|
|
6608
6696
|
name: "currencyToTokenId",
|
|
@@ -6732,6 +6820,25 @@ var RelayPriceOracle = [
|
|
|
6732
6820
|
],
|
|
6733
6821
|
stateMutability: "view"
|
|
6734
6822
|
},
|
|
6823
|
+
{
|
|
6824
|
+
type: "function",
|
|
6825
|
+
name: "providerMaxFutureSeconds",
|
|
6826
|
+
inputs: [
|
|
6827
|
+
{
|
|
6828
|
+
name: "providerId",
|
|
6829
|
+
type: "bytes32",
|
|
6830
|
+
internalType: "bytes32"
|
|
6831
|
+
}
|
|
6832
|
+
],
|
|
6833
|
+
outputs: [
|
|
6834
|
+
{
|
|
6835
|
+
name: "maxFutureSeconds",
|
|
6836
|
+
type: "uint32",
|
|
6837
|
+
internalType: "uint32"
|
|
6838
|
+
}
|
|
6839
|
+
],
|
|
6840
|
+
stateMutability: "view"
|
|
6841
|
+
},
|
|
6735
6842
|
{
|
|
6736
6843
|
type: "function",
|
|
6737
6844
|
name: "renounceOwnership",
|
|
@@ -6782,6 +6889,11 @@ var RelayPriceOracle = [
|
|
|
6782
6889
|
type: "uint8",
|
|
6783
6890
|
internalType: "uint8"
|
|
6784
6891
|
},
|
|
6892
|
+
{
|
|
6893
|
+
name: "publishTime",
|
|
6894
|
+
type: "uint256",
|
|
6895
|
+
internalType: "uint256"
|
|
6896
|
+
},
|
|
6785
6897
|
{
|
|
6786
6898
|
name: "expiration",
|
|
6787
6899
|
type: "uint256",
|
|
@@ -6833,6 +6945,11 @@ var RelayPriceOracle = [
|
|
|
6833
6945
|
type: "uint8",
|
|
6834
6946
|
internalType: "uint8"
|
|
6835
6947
|
},
|
|
6948
|
+
{
|
|
6949
|
+
name: "publishTime",
|
|
6950
|
+
type: "uint256",
|
|
6951
|
+
internalType: "uint256"
|
|
6952
|
+
},
|
|
6836
6953
|
{
|
|
6837
6954
|
name: "expiration",
|
|
6838
6955
|
type: "uint256",
|
|
@@ -6896,6 +7013,11 @@ var RelayPriceOracle = [
|
|
|
6896
7013
|
type: "uint8",
|
|
6897
7014
|
internalType: "uint8"
|
|
6898
7015
|
},
|
|
7016
|
+
{
|
|
7017
|
+
name: "publishTime",
|
|
7018
|
+
type: "uint256",
|
|
7019
|
+
internalType: "uint256"
|
|
7020
|
+
},
|
|
6899
7021
|
{
|
|
6900
7022
|
name: "expiration",
|
|
6901
7023
|
type: "uint256",
|
|
@@ -6947,6 +7069,11 @@ var RelayPriceOracle = [
|
|
|
6947
7069
|
type: "uint8",
|
|
6948
7070
|
internalType: "uint8"
|
|
6949
7071
|
},
|
|
7072
|
+
{
|
|
7073
|
+
name: "publishTime",
|
|
7074
|
+
type: "uint256",
|
|
7075
|
+
internalType: "uint256"
|
|
7076
|
+
},
|
|
6950
7077
|
{
|
|
6951
7078
|
name: "expiration",
|
|
6952
7079
|
type: "uint256",
|
|
@@ -7010,6 +7137,11 @@ var RelayPriceOracle = [
|
|
|
7010
7137
|
type: "uint8",
|
|
7011
7138
|
internalType: "uint8"
|
|
7012
7139
|
},
|
|
7140
|
+
{
|
|
7141
|
+
name: "publishTime",
|
|
7142
|
+
type: "uint256",
|
|
7143
|
+
internalType: "uint256"
|
|
7144
|
+
},
|
|
7013
7145
|
{
|
|
7014
7146
|
name: "expiration",
|
|
7015
7147
|
type: "uint256",
|
|
@@ -7061,6 +7193,11 @@ var RelayPriceOracle = [
|
|
|
7061
7193
|
type: "uint8",
|
|
7062
7194
|
internalType: "uint8"
|
|
7063
7195
|
},
|
|
7196
|
+
{
|
|
7197
|
+
name: "publishTime",
|
|
7198
|
+
type: "uint256",
|
|
7199
|
+
internalType: "uint256"
|
|
7200
|
+
},
|
|
7064
7201
|
{
|
|
7065
7202
|
name: "expiration",
|
|
7066
7203
|
type: "uint256",
|
|
@@ -7129,6 +7266,11 @@ var RelayPriceOracle = [
|
|
|
7129
7266
|
type: "uint8",
|
|
7130
7267
|
internalType: "uint8"
|
|
7131
7268
|
},
|
|
7269
|
+
{
|
|
7270
|
+
name: "publishTime",
|
|
7271
|
+
type: "uint256",
|
|
7272
|
+
internalType: "uint256"
|
|
7273
|
+
},
|
|
7132
7274
|
{
|
|
7133
7275
|
name: "expiration",
|
|
7134
7276
|
type: "uint256",
|
|
@@ -7170,6 +7312,11 @@ var RelayPriceOracle = [
|
|
|
7170
7312
|
type: "uint8",
|
|
7171
7313
|
internalType: "uint8"
|
|
7172
7314
|
},
|
|
7315
|
+
{
|
|
7316
|
+
name: "publishTime",
|
|
7317
|
+
type: "uint256",
|
|
7318
|
+
internalType: "uint256"
|
|
7319
|
+
},
|
|
7173
7320
|
{
|
|
7174
7321
|
name: "expiration",
|
|
7175
7322
|
type: "uint256",
|
|
@@ -7223,6 +7370,11 @@ var RelayPriceOracle = [
|
|
|
7223
7370
|
type: "uint8",
|
|
7224
7371
|
internalType: "uint8"
|
|
7225
7372
|
},
|
|
7373
|
+
{
|
|
7374
|
+
name: "publishTime",
|
|
7375
|
+
type: "uint256",
|
|
7376
|
+
internalType: "uint256"
|
|
7377
|
+
},
|
|
7226
7378
|
{
|
|
7227
7379
|
name: "expiration",
|
|
7228
7380
|
type: "uint256",
|
|
@@ -7264,6 +7416,11 @@ var RelayPriceOracle = [
|
|
|
7264
7416
|
type: "uint8",
|
|
7265
7417
|
internalType: "uint8"
|
|
7266
7418
|
},
|
|
7419
|
+
{
|
|
7420
|
+
name: "publishTime",
|
|
7421
|
+
type: "uint256",
|
|
7422
|
+
internalType: "uint256"
|
|
7423
|
+
},
|
|
7267
7424
|
{
|
|
7268
7425
|
name: "expiration",
|
|
7269
7426
|
type: "uint256",
|
|
@@ -7305,6 +7462,11 @@ var RelayPriceOracle = [
|
|
|
7305
7462
|
type: "uint8",
|
|
7306
7463
|
internalType: "uint8"
|
|
7307
7464
|
},
|
|
7465
|
+
{
|
|
7466
|
+
name: "publishTime",
|
|
7467
|
+
type: "uint256",
|
|
7468
|
+
internalType: "uint256"
|
|
7469
|
+
},
|
|
7308
7470
|
{
|
|
7309
7471
|
name: "expiration",
|
|
7310
7472
|
type: "uint256",
|
|
@@ -7358,6 +7520,11 @@ var RelayPriceOracle = [
|
|
|
7358
7520
|
type: "uint8",
|
|
7359
7521
|
internalType: "uint8"
|
|
7360
7522
|
},
|
|
7523
|
+
{
|
|
7524
|
+
name: "publishTime",
|
|
7525
|
+
type: "uint256",
|
|
7526
|
+
internalType: "uint256"
|
|
7527
|
+
},
|
|
7361
7528
|
{
|
|
7362
7529
|
name: "expiration",
|
|
7363
7530
|
type: "uint256",
|
|
@@ -7399,6 +7566,11 @@ var RelayPriceOracle = [
|
|
|
7399
7566
|
type: "uint8",
|
|
7400
7567
|
internalType: "uint8"
|
|
7401
7568
|
},
|
|
7569
|
+
{
|
|
7570
|
+
name: "publishTime",
|
|
7571
|
+
type: "uint256",
|
|
7572
|
+
internalType: "uint256"
|
|
7573
|
+
},
|
|
7402
7574
|
{
|
|
7403
7575
|
name: "expiration",
|
|
7404
7576
|
type: "uint256",
|
|
@@ -7457,6 +7629,11 @@ var RelayPriceOracle = [
|
|
|
7457
7629
|
type: "uint8",
|
|
7458
7630
|
internalType: "uint8"
|
|
7459
7631
|
},
|
|
7632
|
+
{
|
|
7633
|
+
name: "publishTime",
|
|
7634
|
+
type: "uint256",
|
|
7635
|
+
internalType: "uint256"
|
|
7636
|
+
},
|
|
7460
7637
|
{
|
|
7461
7638
|
name: "expiration",
|
|
7462
7639
|
type: "uint256",
|
|
@@ -7572,6 +7749,11 @@ var RelayPriceOracle = [
|
|
|
7572
7749
|
name: "adapter",
|
|
7573
7750
|
type: "address",
|
|
7574
7751
|
internalType: "address"
|
|
7752
|
+
},
|
|
7753
|
+
{
|
|
7754
|
+
name: "maxFutureSeconds",
|
|
7755
|
+
type: "uint32",
|
|
7756
|
+
internalType: "uint32"
|
|
7575
7757
|
}
|
|
7576
7758
|
],
|
|
7577
7759
|
outputs: [
|
|
@@ -7700,6 +7882,12 @@ var RelayPriceOracle = [
|
|
|
7700
7882
|
type: "address",
|
|
7701
7883
|
indexed: true,
|
|
7702
7884
|
internalType: "address"
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
name: "maxFutureSeconds",
|
|
7888
|
+
type: "uint32",
|
|
7889
|
+
indexed: false,
|
|
7890
|
+
internalType: "uint32"
|
|
7703
7891
|
}
|
|
7704
7892
|
],
|
|
7705
7893
|
anonymous: false
|
|
@@ -7752,6 +7940,38 @@ var RelayPriceOracle = [
|
|
|
7752
7940
|
inputs: [
|
|
7753
7941
|
]
|
|
7754
7942
|
},
|
|
7943
|
+
{
|
|
7944
|
+
type: "error",
|
|
7945
|
+
name: "InvalidMaxAgeSeconds",
|
|
7946
|
+
inputs: [
|
|
7947
|
+
{
|
|
7948
|
+
name: "maxAgeSeconds",
|
|
7949
|
+
type: "uint32",
|
|
7950
|
+
internalType: "uint32"
|
|
7951
|
+
},
|
|
7952
|
+
{
|
|
7953
|
+
name: "maxAgeSecondsUpperBound",
|
|
7954
|
+
type: "uint32",
|
|
7955
|
+
internalType: "uint32"
|
|
7956
|
+
}
|
|
7957
|
+
]
|
|
7958
|
+
},
|
|
7959
|
+
{
|
|
7960
|
+
type: "error",
|
|
7961
|
+
name: "InvalidMaxFutureSeconds",
|
|
7962
|
+
inputs: [
|
|
7963
|
+
{
|
|
7964
|
+
name: "maxFutureSeconds",
|
|
7965
|
+
type: "uint32",
|
|
7966
|
+
internalType: "uint32"
|
|
7967
|
+
},
|
|
7968
|
+
{
|
|
7969
|
+
name: "maxFutureSecondsUpperBound",
|
|
7970
|
+
type: "uint32",
|
|
7971
|
+
internalType: "uint32"
|
|
7972
|
+
}
|
|
7973
|
+
]
|
|
7974
|
+
},
|
|
7755
7975
|
{
|
|
7756
7976
|
type: "error",
|
|
7757
7977
|
name: "InvalidPriceFeedAdapter",
|
|
@@ -7763,12 +7983,39 @@ var RelayPriceOracle = [
|
|
|
7763
7983
|
}
|
|
7764
7984
|
]
|
|
7765
7985
|
},
|
|
7986
|
+
{
|
|
7987
|
+
type: "error",
|
|
7988
|
+
name: "InvalidPriceFeedAdapterOracle",
|
|
7989
|
+
inputs: [
|
|
7990
|
+
{
|
|
7991
|
+
name: "adapter",
|
|
7992
|
+
type: "address",
|
|
7993
|
+
internalType: "address"
|
|
7994
|
+
},
|
|
7995
|
+
{
|
|
7996
|
+
name: "expectedOracle",
|
|
7997
|
+
type: "address",
|
|
7998
|
+
internalType: "address"
|
|
7999
|
+
},
|
|
8000
|
+
{
|
|
8001
|
+
name: "actualOracle",
|
|
8002
|
+
type: "address",
|
|
8003
|
+
internalType: "address"
|
|
8004
|
+
}
|
|
8005
|
+
]
|
|
8006
|
+
},
|
|
7766
8007
|
{
|
|
7767
8008
|
type: "error",
|
|
7768
8009
|
name: "InvalidProviderId",
|
|
7769
8010
|
inputs: [
|
|
7770
8011
|
]
|
|
7771
8012
|
},
|
|
8013
|
+
{
|
|
8014
|
+
type: "error",
|
|
8015
|
+
name: "InvalidPublishTime",
|
|
8016
|
+
inputs: [
|
|
8017
|
+
]
|
|
8018
|
+
},
|
|
7772
8019
|
{
|
|
7773
8020
|
type: "error",
|
|
7774
8021
|
name: "OwnableInvalidOwner",
|
|
@@ -7839,6 +8086,48 @@ var RelayPriceOracle = [
|
|
|
7839
8086
|
name: "PriceFeedCallFailed",
|
|
7840
8087
|
inputs: [
|
|
7841
8088
|
]
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
type: "error",
|
|
8092
|
+
name: "PriceTimestampRollback",
|
|
8093
|
+
inputs: [
|
|
8094
|
+
{
|
|
8095
|
+
name: "providerId",
|
|
8096
|
+
type: "bytes32",
|
|
8097
|
+
internalType: "bytes32"
|
|
8098
|
+
},
|
|
8099
|
+
{
|
|
8100
|
+
name: "feedId",
|
|
8101
|
+
type: "bytes32",
|
|
8102
|
+
internalType: "bytes32"
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
name: "publishTime",
|
|
8106
|
+
type: "uint256",
|
|
8107
|
+
internalType: "uint256"
|
|
8108
|
+
},
|
|
8109
|
+
{
|
|
8110
|
+
name: "cachedPublishTime",
|
|
8111
|
+
type: "uint256",
|
|
8112
|
+
internalType: "uint256"
|
|
8113
|
+
}
|
|
8114
|
+
]
|
|
8115
|
+
},
|
|
8116
|
+
{
|
|
8117
|
+
type: "error",
|
|
8118
|
+
name: "PriceTimestampTooFarInFuture",
|
|
8119
|
+
inputs: [
|
|
8120
|
+
{
|
|
8121
|
+
name: "publishTime",
|
|
8122
|
+
type: "uint256",
|
|
8123
|
+
internalType: "uint256"
|
|
8124
|
+
},
|
|
8125
|
+
{
|
|
8126
|
+
name: "maxPublishTime",
|
|
8127
|
+
type: "uint256",
|
|
8128
|
+
internalType: "uint256"
|
|
8129
|
+
}
|
|
8130
|
+
]
|
|
7842
8131
|
}
|
|
7843
8132
|
];
|
|
7844
8133
|
|
|
@@ -10724,6 +11013,11 @@ var BasicPricingOracle = [
|
|
|
10724
11013
|
type: "uint8",
|
|
10725
11014
|
internalType: "uint8"
|
|
10726
11015
|
},
|
|
11016
|
+
{
|
|
11017
|
+
name: "publishTime",
|
|
11018
|
+
type: "uint256",
|
|
11019
|
+
internalType: "uint256"
|
|
11020
|
+
},
|
|
10727
11021
|
{
|
|
10728
11022
|
name: "expiration",
|
|
10729
11023
|
type: "uint256",
|
|
@@ -10811,6 +11105,11 @@ var IBidAskOracle = [
|
|
|
10811
11105
|
type: "uint8",
|
|
10812
11106
|
internalType: "uint8"
|
|
10813
11107
|
},
|
|
11108
|
+
{
|
|
11109
|
+
name: "publishTime",
|
|
11110
|
+
type: "uint256",
|
|
11111
|
+
internalType: "uint256"
|
|
11112
|
+
},
|
|
10814
11113
|
{
|
|
10815
11114
|
name: "expiration",
|
|
10816
11115
|
type: "uint256",
|
|
@@ -10872,6 +11171,11 @@ var IPricingOracle = [
|
|
|
10872
11171
|
type: "uint8",
|
|
10873
11172
|
internalType: "uint8"
|
|
10874
11173
|
},
|
|
11174
|
+
{
|
|
11175
|
+
name: "publishTime",
|
|
11176
|
+
type: "uint256",
|
|
11177
|
+
internalType: "uint256"
|
|
11178
|
+
},
|
|
10875
11179
|
{
|
|
10876
11180
|
name: "expiration",
|
|
10877
11181
|
type: "uint256",
|
|
@@ -11002,6 +11306,11 @@ var SignedPricingOracle = [
|
|
|
11002
11306
|
type: "uint8",
|
|
11003
11307
|
internalType: "uint8"
|
|
11004
11308
|
},
|
|
11309
|
+
{
|
|
11310
|
+
name: "publishTime",
|
|
11311
|
+
type: "uint256",
|
|
11312
|
+
internalType: "uint256"
|
|
11313
|
+
},
|
|
11005
11314
|
{
|
|
11006
11315
|
name: "expiration",
|
|
11007
11316
|
type: "uint256",
|
|
@@ -11072,6 +11381,11 @@ var SignedPricingOracle = [
|
|
|
11072
11381
|
type: "uint8",
|
|
11073
11382
|
internalType: "uint8"
|
|
11074
11383
|
},
|
|
11384
|
+
{
|
|
11385
|
+
name: "publishTime",
|
|
11386
|
+
type: "uint256",
|
|
11387
|
+
internalType: "uint256"
|
|
11388
|
+
},
|
|
11075
11389
|
{
|
|
11076
11390
|
name: "expiration",
|
|
11077
11391
|
type: "uint256",
|
|
@@ -14935,16 +15249,41 @@ var EmptyPayloadBuilder = [
|
|
|
14935
15249
|
],
|
|
14936
15250
|
outputs: [
|
|
14937
15251
|
{
|
|
14938
|
-
name: "hashes",
|
|
14939
|
-
type: "bytes32[]",
|
|
14940
|
-
internalType: "bytes32[]"
|
|
15252
|
+
name: "hashes",
|
|
15253
|
+
type: "bytes32[]",
|
|
15254
|
+
internalType: "bytes32[]"
|
|
15255
|
+
}
|
|
15256
|
+
],
|
|
15257
|
+
stateMutability: "pure"
|
|
15258
|
+
}
|
|
15259
|
+
];
|
|
15260
|
+
|
|
15261
|
+
var MockPriceFeedAdapter = [
|
|
15262
|
+
{
|
|
15263
|
+
type: "constructor",
|
|
15264
|
+
inputs: [
|
|
15265
|
+
{
|
|
15266
|
+
name: "_oracle",
|
|
15267
|
+
type: "address",
|
|
15268
|
+
internalType: "address"
|
|
15269
|
+
}
|
|
15270
|
+
],
|
|
15271
|
+
stateMutability: "nonpayable"
|
|
15272
|
+
},
|
|
15273
|
+
{
|
|
15274
|
+
type: "function",
|
|
15275
|
+
name: "ORACLE",
|
|
15276
|
+
inputs: [
|
|
15277
|
+
],
|
|
15278
|
+
outputs: [
|
|
15279
|
+
{
|
|
15280
|
+
name: "",
|
|
15281
|
+
type: "address",
|
|
15282
|
+
internalType: "address"
|
|
14941
15283
|
}
|
|
14942
15284
|
],
|
|
14943
|
-
stateMutability: "
|
|
14944
|
-
}
|
|
14945
|
-
];
|
|
14946
|
-
|
|
14947
|
-
var MockPriceFeedAdapter = [
|
|
15285
|
+
stateMutability: "view"
|
|
15286
|
+
},
|
|
14948
15287
|
{
|
|
14949
15288
|
type: "function",
|
|
14950
15289
|
name: "decodeAndVerify",
|
|
@@ -14987,7 +15326,7 @@ var MockPriceFeedAdapter = [
|
|
|
14987
15326
|
internalType: "uint256"
|
|
14988
15327
|
}
|
|
14989
15328
|
],
|
|
14990
|
-
stateMutability: "
|
|
15329
|
+
stateMutability: "view"
|
|
14991
15330
|
},
|
|
14992
15331
|
{
|
|
14993
15332
|
type: "error",
|
|
@@ -15004,6 +15343,28 @@ var MockPriceFeedAdapter = [
|
|
|
15004
15343
|
internalType: "bytes32"
|
|
15005
15344
|
}
|
|
15006
15345
|
]
|
|
15346
|
+
},
|
|
15347
|
+
{
|
|
15348
|
+
type: "error",
|
|
15349
|
+
name: "InvalidOracle",
|
|
15350
|
+
inputs: [
|
|
15351
|
+
{
|
|
15352
|
+
name: "oracle",
|
|
15353
|
+
type: "address",
|
|
15354
|
+
internalType: "address"
|
|
15355
|
+
}
|
|
15356
|
+
]
|
|
15357
|
+
},
|
|
15358
|
+
{
|
|
15359
|
+
type: "error",
|
|
15360
|
+
name: "UnauthorizedCaller",
|
|
15361
|
+
inputs: [
|
|
15362
|
+
{
|
|
15363
|
+
name: "caller",
|
|
15364
|
+
type: "address",
|
|
15365
|
+
internalType: "address"
|
|
15366
|
+
}
|
|
15367
|
+
]
|
|
15007
15368
|
}
|
|
15008
15369
|
];
|
|
15009
15370
|
|
|
@@ -15034,6 +15395,11 @@ var MockPricingOracle = [
|
|
|
15034
15395
|
type: "uint8",
|
|
15035
15396
|
internalType: "uint8"
|
|
15036
15397
|
},
|
|
15398
|
+
{
|
|
15399
|
+
name: "publishTime",
|
|
15400
|
+
type: "uint256",
|
|
15401
|
+
internalType: "uint256"
|
|
15402
|
+
},
|
|
15037
15403
|
{
|
|
15038
15404
|
name: "expiration",
|
|
15039
15405
|
type: "uint256",
|
|
@@ -15090,6 +15456,11 @@ var MockPricingOracle = [
|
|
|
15090
15456
|
type: "uint8",
|
|
15091
15457
|
internalType: "uint8"
|
|
15092
15458
|
},
|
|
15459
|
+
{
|
|
15460
|
+
name: "publishTime",
|
|
15461
|
+
type: "uint256",
|
|
15462
|
+
internalType: "uint256"
|
|
15463
|
+
},
|
|
15093
15464
|
{
|
|
15094
15465
|
name: "expiration",
|
|
15095
15466
|
type: "uint256",
|
|
@@ -15129,6 +15500,11 @@ var MockPricingOracle = [
|
|
|
15129
15500
|
type: "uint8",
|
|
15130
15501
|
internalType: "uint8"
|
|
15131
15502
|
},
|
|
15503
|
+
{
|
|
15504
|
+
name: "publishTime",
|
|
15505
|
+
type: "uint256",
|
|
15506
|
+
internalType: "uint256"
|
|
15507
|
+
},
|
|
15132
15508
|
{
|
|
15133
15509
|
name: "expiration",
|
|
15134
15510
|
type: "uint256",
|
|
@@ -20544,6 +20920,11 @@ var ChainlinkDataStreamsAdapter = [
|
|
|
20544
20920
|
{
|
|
20545
20921
|
type: "constructor",
|
|
20546
20922
|
inputs: [
|
|
20923
|
+
{
|
|
20924
|
+
name: "_oracle",
|
|
20925
|
+
type: "address",
|
|
20926
|
+
internalType: "address"
|
|
20927
|
+
},
|
|
20547
20928
|
{
|
|
20548
20929
|
name: "verifierProxy",
|
|
20549
20930
|
type: "address",
|
|
@@ -20571,6 +20952,20 @@ var ChainlinkDataStreamsAdapter = [
|
|
|
20571
20952
|
],
|
|
20572
20953
|
stateMutability: "view"
|
|
20573
20954
|
},
|
|
20955
|
+
{
|
|
20956
|
+
type: "function",
|
|
20957
|
+
name: "ORACLE",
|
|
20958
|
+
inputs: [
|
|
20959
|
+
],
|
|
20960
|
+
outputs: [
|
|
20961
|
+
{
|
|
20962
|
+
name: "",
|
|
20963
|
+
type: "address",
|
|
20964
|
+
internalType: "address"
|
|
20965
|
+
}
|
|
20966
|
+
],
|
|
20967
|
+
stateMutability: "view"
|
|
20968
|
+
},
|
|
20574
20969
|
{
|
|
20575
20970
|
type: "function",
|
|
20576
20971
|
name: "REPORT_V3_SCHEMA",
|
|
@@ -20634,6 +21029,11 @@ var ChainlinkDataStreamsAdapter = [
|
|
|
20634
21029
|
type: "int192",
|
|
20635
21030
|
internalType: "int192"
|
|
20636
21031
|
},
|
|
21032
|
+
{
|
|
21033
|
+
name: "validFromTimestamp",
|
|
21034
|
+
type: "uint32",
|
|
21035
|
+
internalType: "uint32"
|
|
21036
|
+
},
|
|
20637
21037
|
{
|
|
20638
21038
|
name: "observationsTimestamp",
|
|
20639
21039
|
type: "uint32",
|
|
@@ -20717,6 +21117,59 @@ var ChainlinkDataStreamsAdapter = [
|
|
|
20717
21117
|
}
|
|
20718
21118
|
]
|
|
20719
21119
|
},
|
|
21120
|
+
{
|
|
21121
|
+
type: "error",
|
|
21122
|
+
name: "InvalidBidAsk",
|
|
21123
|
+
inputs: [
|
|
21124
|
+
{
|
|
21125
|
+
name: "benchmarkPrice",
|
|
21126
|
+
type: "int192",
|
|
21127
|
+
internalType: "int192"
|
|
21128
|
+
},
|
|
21129
|
+
{
|
|
21130
|
+
name: "bid",
|
|
21131
|
+
type: "int192",
|
|
21132
|
+
internalType: "int192"
|
|
21133
|
+
},
|
|
21134
|
+
{
|
|
21135
|
+
name: "ask",
|
|
21136
|
+
type: "int192",
|
|
21137
|
+
internalType: "int192"
|
|
21138
|
+
}
|
|
21139
|
+
]
|
|
21140
|
+
},
|
|
21141
|
+
{
|
|
21142
|
+
type: "error",
|
|
21143
|
+
name: "InvalidOracle",
|
|
21144
|
+
inputs: [
|
|
21145
|
+
{
|
|
21146
|
+
name: "oracle",
|
|
21147
|
+
type: "address",
|
|
21148
|
+
internalType: "address"
|
|
21149
|
+
}
|
|
21150
|
+
]
|
|
21151
|
+
},
|
|
21152
|
+
{
|
|
21153
|
+
type: "error",
|
|
21154
|
+
name: "InvalidReportTimeRange",
|
|
21155
|
+
inputs: [
|
|
21156
|
+
{
|
|
21157
|
+
name: "validFromTimestamp",
|
|
21158
|
+
type: "uint32",
|
|
21159
|
+
internalType: "uint32"
|
|
21160
|
+
},
|
|
21161
|
+
{
|
|
21162
|
+
name: "observationsTimestamp",
|
|
21163
|
+
type: "uint32",
|
|
21164
|
+
internalType: "uint32"
|
|
21165
|
+
},
|
|
21166
|
+
{
|
|
21167
|
+
name: "expiresAt",
|
|
21168
|
+
type: "uint32",
|
|
21169
|
+
internalType: "uint32"
|
|
21170
|
+
}
|
|
21171
|
+
]
|
|
21172
|
+
},
|
|
20720
21173
|
{
|
|
20721
21174
|
type: "error",
|
|
20722
21175
|
name: "InvalidVerifierProxy",
|
|
@@ -20750,6 +21203,38 @@ var ChainlinkDataStreamsAdapter = [
|
|
|
20750
21203
|
}
|
|
20751
21204
|
]
|
|
20752
21205
|
},
|
|
21206
|
+
{
|
|
21207
|
+
type: "error",
|
|
21208
|
+
name: "TimestampRollback",
|
|
21209
|
+
inputs: [
|
|
21210
|
+
{
|
|
21211
|
+
name: "feedId",
|
|
21212
|
+
type: "bytes32",
|
|
21213
|
+
internalType: "bytes32"
|
|
21214
|
+
},
|
|
21215
|
+
{
|
|
21216
|
+
name: "observationsTimestamp",
|
|
21217
|
+
type: "uint32",
|
|
21218
|
+
internalType: "uint32"
|
|
21219
|
+
},
|
|
21220
|
+
{
|
|
21221
|
+
name: "latestObservationsTimestamp",
|
|
21222
|
+
type: "uint32",
|
|
21223
|
+
internalType: "uint32"
|
|
21224
|
+
}
|
|
21225
|
+
]
|
|
21226
|
+
},
|
|
21227
|
+
{
|
|
21228
|
+
type: "error",
|
|
21229
|
+
name: "UnauthorizedCaller",
|
|
21230
|
+
inputs: [
|
|
21231
|
+
{
|
|
21232
|
+
name: "caller",
|
|
21233
|
+
type: "address",
|
|
21234
|
+
internalType: "address"
|
|
21235
|
+
}
|
|
21236
|
+
]
|
|
21237
|
+
},
|
|
20753
21238
|
{
|
|
20754
21239
|
type: "error",
|
|
20755
21240
|
name: "UnsupportedReportSchema",
|
|
@@ -20840,6 +21325,11 @@ var StorkFastAdapter = [
|
|
|
20840
21325
|
{
|
|
20841
21326
|
type: "constructor",
|
|
20842
21327
|
inputs: [
|
|
21328
|
+
{
|
|
21329
|
+
name: "_oracle",
|
|
21330
|
+
type: "address",
|
|
21331
|
+
internalType: "address"
|
|
21332
|
+
},
|
|
20843
21333
|
{
|
|
20844
21334
|
name: "storkFastVerifier",
|
|
20845
21335
|
type: "address",
|
|
@@ -20848,6 +21338,20 @@ var StorkFastAdapter = [
|
|
|
20848
21338
|
],
|
|
20849
21339
|
stateMutability: "nonpayable"
|
|
20850
21340
|
},
|
|
21341
|
+
{
|
|
21342
|
+
type: "function",
|
|
21343
|
+
name: "ORACLE",
|
|
21344
|
+
inputs: [
|
|
21345
|
+
],
|
|
21346
|
+
outputs: [
|
|
21347
|
+
{
|
|
21348
|
+
name: "",
|
|
21349
|
+
type: "address",
|
|
21350
|
+
internalType: "address"
|
|
21351
|
+
}
|
|
21352
|
+
],
|
|
21353
|
+
stateMutability: "view"
|
|
21354
|
+
},
|
|
20851
21355
|
{
|
|
20852
21356
|
type: "function",
|
|
20853
21357
|
name: "STORK_FAST_VERIFIER",
|
|
@@ -20878,27 +21382,36 @@ var StorkFastAdapter = [
|
|
|
20878
21382
|
},
|
|
20879
21383
|
{
|
|
20880
21384
|
type: "function",
|
|
20881
|
-
name: "
|
|
21385
|
+
name: "cachedReportHash",
|
|
20882
21386
|
inputs: [
|
|
21387
|
+
],
|
|
21388
|
+
outputs: [
|
|
20883
21389
|
{
|
|
20884
|
-
name: "
|
|
21390
|
+
name: "",
|
|
20885
21391
|
type: "bytes32",
|
|
20886
21392
|
internalType: "bytes32"
|
|
20887
21393
|
}
|
|
20888
21394
|
],
|
|
20889
|
-
|
|
21395
|
+
stateMutability: "view"
|
|
21396
|
+
},
|
|
21397
|
+
{
|
|
21398
|
+
type: "function",
|
|
21399
|
+
name: "cachedReportValues",
|
|
21400
|
+
inputs: [
|
|
20890
21401
|
{
|
|
20891
|
-
name: "
|
|
21402
|
+
name: "feedId",
|
|
20892
21403
|
type: "bytes32",
|
|
20893
21404
|
internalType: "bytes32"
|
|
20894
|
-
}
|
|
21405
|
+
}
|
|
21406
|
+
],
|
|
21407
|
+
outputs: [
|
|
20895
21408
|
{
|
|
20896
21409
|
name: "quantizedValue",
|
|
20897
21410
|
type: "int192",
|
|
20898
21411
|
internalType: "int192"
|
|
20899
21412
|
},
|
|
20900
21413
|
{
|
|
20901
|
-
name: "
|
|
21414
|
+
name: "timestampNs",
|
|
20902
21415
|
type: "uint64",
|
|
20903
21416
|
internalType: "uint64"
|
|
20904
21417
|
}
|
|
@@ -20973,6 +21486,43 @@ var StorkFastAdapter = [
|
|
|
20973
21486
|
],
|
|
20974
21487
|
stateMutability: "nonpayable"
|
|
20975
21488
|
},
|
|
21489
|
+
{
|
|
21490
|
+
type: "error",
|
|
21491
|
+
name: "ConflictingPriceAtTimestamp",
|
|
21492
|
+
inputs: [
|
|
21493
|
+
{
|
|
21494
|
+
name: "feedId",
|
|
21495
|
+
type: "bytes32",
|
|
21496
|
+
internalType: "bytes32"
|
|
21497
|
+
},
|
|
21498
|
+
{
|
|
21499
|
+
name: "timestampNs",
|
|
21500
|
+
type: "uint64",
|
|
21501
|
+
internalType: "uint64"
|
|
21502
|
+
},
|
|
21503
|
+
{
|
|
21504
|
+
name: "latestValue",
|
|
21505
|
+
type: "int192",
|
|
21506
|
+
internalType: "int192"
|
|
21507
|
+
},
|
|
21508
|
+
{
|
|
21509
|
+
name: "newValue",
|
|
21510
|
+
type: "int192",
|
|
21511
|
+
internalType: "int192"
|
|
21512
|
+
}
|
|
21513
|
+
]
|
|
21514
|
+
},
|
|
21515
|
+
{
|
|
21516
|
+
type: "error",
|
|
21517
|
+
name: "DuplicateAssetId",
|
|
21518
|
+
inputs: [
|
|
21519
|
+
{
|
|
21520
|
+
name: "assetId",
|
|
21521
|
+
type: "uint16",
|
|
21522
|
+
internalType: "uint16"
|
|
21523
|
+
}
|
|
21524
|
+
]
|
|
21525
|
+
},
|
|
20976
21526
|
{
|
|
20977
21527
|
type: "error",
|
|
20978
21528
|
name: "FeedNotInPayload",
|
|
@@ -20984,6 +21534,17 @@ var StorkFastAdapter = [
|
|
|
20984
21534
|
}
|
|
20985
21535
|
]
|
|
20986
21536
|
},
|
|
21537
|
+
{
|
|
21538
|
+
type: "error",
|
|
21539
|
+
name: "InvalidOracle",
|
|
21540
|
+
inputs: [
|
|
21541
|
+
{
|
|
21542
|
+
name: "oracle",
|
|
21543
|
+
type: "address",
|
|
21544
|
+
internalType: "address"
|
|
21545
|
+
}
|
|
21546
|
+
]
|
|
21547
|
+
},
|
|
20987
21548
|
{
|
|
20988
21549
|
type: "error",
|
|
20989
21550
|
name: "InvalidStorkFastVerifier",
|
|
@@ -21000,6 +21561,38 @@ var StorkFastAdapter = [
|
|
|
21000
21561
|
internalType: "int192"
|
|
21001
21562
|
}
|
|
21002
21563
|
]
|
|
21564
|
+
},
|
|
21565
|
+
{
|
|
21566
|
+
type: "error",
|
|
21567
|
+
name: "TimestampRollback",
|
|
21568
|
+
inputs: [
|
|
21569
|
+
{
|
|
21570
|
+
name: "feedId",
|
|
21571
|
+
type: "bytes32",
|
|
21572
|
+
internalType: "bytes32"
|
|
21573
|
+
},
|
|
21574
|
+
{
|
|
21575
|
+
name: "timestampNs",
|
|
21576
|
+
type: "uint64",
|
|
21577
|
+
internalType: "uint64"
|
|
21578
|
+
},
|
|
21579
|
+
{
|
|
21580
|
+
name: "latestTimestampNs",
|
|
21581
|
+
type: "uint64",
|
|
21582
|
+
internalType: "uint64"
|
|
21583
|
+
}
|
|
21584
|
+
]
|
|
21585
|
+
},
|
|
21586
|
+
{
|
|
21587
|
+
type: "error",
|
|
21588
|
+
name: "UnauthorizedCaller",
|
|
21589
|
+
inputs: [
|
|
21590
|
+
{
|
|
21591
|
+
name: "caller",
|
|
21592
|
+
type: "address",
|
|
21593
|
+
internalType: "address"
|
|
21594
|
+
}
|
|
21595
|
+
]
|
|
21003
21596
|
}
|
|
21004
21597
|
];
|
|
21005
21598
|
|