@relay-protocol/settlement-abis 2.0.16 → 2.0.18

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 CHANGED
@@ -10866,10 +10866,29 @@ var SignedPricingOracle = [
10866
10866
  name: "solver",
10867
10867
  type: "address",
10868
10868
  internalType: "address"
10869
+ },
10870
+ {
10871
+ name: "relayPriceOracle",
10872
+ type: "address",
10873
+ internalType: "address"
10869
10874
  }
10870
10875
  ],
10871
10876
  stateMutability: "nonpayable"
10872
10877
  },
10878
+ {
10879
+ type: "function",
10880
+ name: "RELAY_PRICE_ORACLE",
10881
+ inputs: [
10882
+ ],
10883
+ outputs: [
10884
+ {
10885
+ name: "",
10886
+ type: "address",
10887
+ internalType: "contract RelayPriceOracle"
10888
+ }
10889
+ ],
10890
+ stateMutability: "view"
10891
+ },
10873
10892
  {
10874
10893
  type: "function",
10875
10894
  name: "SIGNED_PRICE_TYPEHASH",
@@ -11064,7 +11083,7 @@ var SignedPricingOracle = [
11064
11083
  ]
11065
11084
  }
11066
11085
  ],
11067
- stateMutability: "view"
11086
+ stateMutability: "nonpayable"
11068
11087
  },
11069
11088
  {
11070
11089
  type: "event",
@@ -11073,6 +11092,46 @@ var SignedPricingOracle = [
11073
11092
  ],
11074
11093
  anonymous: false
11075
11094
  },
11095
+ {
11096
+ type: "event",
11097
+ name: "PricesResolved",
11098
+ inputs: [
11099
+ {
11100
+ name: "prices",
11101
+ type: "tuple[]",
11102
+ indexed: false,
11103
+ internalType: "struct Price[]",
11104
+ components: [
11105
+ {
11106
+ name: "usdPrice",
11107
+ type: "uint256",
11108
+ internalType: "uint256"
11109
+ },
11110
+ {
11111
+ name: "usdPriceDecimals",
11112
+ type: "uint8",
11113
+ internalType: "uint8"
11114
+ },
11115
+ {
11116
+ name: "currencyDecimals",
11117
+ type: "uint8",
11118
+ internalType: "uint8"
11119
+ },
11120
+ {
11121
+ name: "publishTime",
11122
+ type: "uint256",
11123
+ internalType: "uint256"
11124
+ },
11125
+ {
11126
+ name: "expiration",
11127
+ type: "uint256",
11128
+ internalType: "uint256"
11129
+ }
11130
+ ]
11131
+ }
11132
+ ],
11133
+ anonymous: false
11134
+ },
11076
11135
  {
11077
11136
  type: "error",
11078
11137
  name: "CurrencyMismatch",
package/dist/index.d.ts CHANGED
@@ -10866,10 +10866,29 @@ var SignedPricingOracle = [
10866
10866
  name: "solver",
10867
10867
  type: "address",
10868
10868
  internalType: "address"
10869
+ },
10870
+ {
10871
+ name: "relayPriceOracle",
10872
+ type: "address",
10873
+ internalType: "address"
10869
10874
  }
10870
10875
  ],
10871
10876
  stateMutability: "nonpayable"
10872
10877
  },
10878
+ {
10879
+ type: "function",
10880
+ name: "RELAY_PRICE_ORACLE",
10881
+ inputs: [
10882
+ ],
10883
+ outputs: [
10884
+ {
10885
+ name: "",
10886
+ type: "address",
10887
+ internalType: "contract RelayPriceOracle"
10888
+ }
10889
+ ],
10890
+ stateMutability: "view"
10891
+ },
10873
10892
  {
10874
10893
  type: "function",
10875
10894
  name: "SIGNED_PRICE_TYPEHASH",
@@ -11064,7 +11083,7 @@ var SignedPricingOracle = [
11064
11083
  ]
11065
11084
  }
11066
11085
  ],
11067
- stateMutability: "view"
11086
+ stateMutability: "nonpayable"
11068
11087
  },
11069
11088
  {
11070
11089
  type: "event",
@@ -11073,6 +11092,46 @@ var SignedPricingOracle = [
11073
11092
  ],
11074
11093
  anonymous: false
11075
11094
  },
11095
+ {
11096
+ type: "event",
11097
+ name: "PricesResolved",
11098
+ inputs: [
11099
+ {
11100
+ name: "prices",
11101
+ type: "tuple[]",
11102
+ indexed: false,
11103
+ internalType: "struct Price[]",
11104
+ components: [
11105
+ {
11106
+ name: "usdPrice",
11107
+ type: "uint256",
11108
+ internalType: "uint256"
11109
+ },
11110
+ {
11111
+ name: "usdPriceDecimals",
11112
+ type: "uint8",
11113
+ internalType: "uint8"
11114
+ },
11115
+ {
11116
+ name: "currencyDecimals",
11117
+ type: "uint8",
11118
+ internalType: "uint8"
11119
+ },
11120
+ {
11121
+ name: "publishTime",
11122
+ type: "uint256",
11123
+ internalType: "uint256"
11124
+ },
11125
+ {
11126
+ name: "expiration",
11127
+ type: "uint256",
11128
+ internalType: "uint256"
11129
+ }
11130
+ ]
11131
+ }
11132
+ ],
11133
+ anonymous: false
11134
+ },
11076
11135
  {
11077
11136
  type: "error",
11078
11137
  name: "CurrencyMismatch",
package/dist/index.js CHANGED
@@ -10817,10 +10817,28 @@ var SignedPricingOracle_default = [
10817
10817
  name: "solver",
10818
10818
  type: "address",
10819
10819
  internalType: "address"
10820
+ },
10821
+ {
10822
+ name: "relayPriceOracle",
10823
+ type: "address",
10824
+ internalType: "address"
10820
10825
  }
10821
10826
  ],
10822
10827
  stateMutability: "nonpayable"
10823
10828
  },
10829
+ {
10830
+ type: "function",
10831
+ name: "RELAY_PRICE_ORACLE",
10832
+ inputs: [],
10833
+ outputs: [
10834
+ {
10835
+ name: "",
10836
+ type: "address",
10837
+ internalType: "contract RelayPriceOracle"
10838
+ }
10839
+ ],
10840
+ stateMutability: "view"
10841
+ },
10824
10842
  {
10825
10843
  type: "function",
10826
10844
  name: "SIGNED_PRICE_TYPEHASH",
@@ -11012,7 +11030,7 @@ var SignedPricingOracle_default = [
11012
11030
  ]
11013
11031
  }
11014
11032
  ],
11015
- stateMutability: "view"
11033
+ stateMutability: "nonpayable"
11016
11034
  },
11017
11035
  {
11018
11036
  type: "event",
@@ -11020,6 +11038,46 @@ var SignedPricingOracle_default = [
11020
11038
  inputs: [],
11021
11039
  anonymous: false
11022
11040
  },
11041
+ {
11042
+ type: "event",
11043
+ name: "PricesResolved",
11044
+ inputs: [
11045
+ {
11046
+ name: "prices",
11047
+ type: "tuple[]",
11048
+ indexed: false,
11049
+ internalType: "struct Price[]",
11050
+ components: [
11051
+ {
11052
+ name: "usdPrice",
11053
+ type: "uint256",
11054
+ internalType: "uint256"
11055
+ },
11056
+ {
11057
+ name: "usdPriceDecimals",
11058
+ type: "uint8",
11059
+ internalType: "uint8"
11060
+ },
11061
+ {
11062
+ name: "currencyDecimals",
11063
+ type: "uint8",
11064
+ internalType: "uint8"
11065
+ },
11066
+ {
11067
+ name: "publishTime",
11068
+ type: "uint256",
11069
+ internalType: "uint256"
11070
+ },
11071
+ {
11072
+ name: "expiration",
11073
+ type: "uint256",
11074
+ internalType: "uint256"
11075
+ }
11076
+ ]
11077
+ }
11078
+ ],
11079
+ anonymous: false
11080
+ },
11023
11081
  {
11024
11082
  type: "error",
11025
11083
  name: "CurrencyMismatch",
package/dist/index.mjs CHANGED
@@ -10704,10 +10704,28 @@ var SignedPricingOracle_default = [
10704
10704
  name: "solver",
10705
10705
  type: "address",
10706
10706
  internalType: "address"
10707
+ },
10708
+ {
10709
+ name: "relayPriceOracle",
10710
+ type: "address",
10711
+ internalType: "address"
10707
10712
  }
10708
10713
  ],
10709
10714
  stateMutability: "nonpayable"
10710
10715
  },
10716
+ {
10717
+ type: "function",
10718
+ name: "RELAY_PRICE_ORACLE",
10719
+ inputs: [],
10720
+ outputs: [
10721
+ {
10722
+ name: "",
10723
+ type: "address",
10724
+ internalType: "contract RelayPriceOracle"
10725
+ }
10726
+ ],
10727
+ stateMutability: "view"
10728
+ },
10711
10729
  {
10712
10730
  type: "function",
10713
10731
  name: "SIGNED_PRICE_TYPEHASH",
@@ -10899,7 +10917,7 @@ var SignedPricingOracle_default = [
10899
10917
  ]
10900
10918
  }
10901
10919
  ],
10902
- stateMutability: "view"
10920
+ stateMutability: "nonpayable"
10903
10921
  },
10904
10922
  {
10905
10923
  type: "event",
@@ -10907,6 +10925,46 @@ var SignedPricingOracle_default = [
10907
10925
  inputs: [],
10908
10926
  anonymous: false
10909
10927
  },
10928
+ {
10929
+ type: "event",
10930
+ name: "PricesResolved",
10931
+ inputs: [
10932
+ {
10933
+ name: "prices",
10934
+ type: "tuple[]",
10935
+ indexed: false,
10936
+ internalType: "struct Price[]",
10937
+ components: [
10938
+ {
10939
+ name: "usdPrice",
10940
+ type: "uint256",
10941
+ internalType: "uint256"
10942
+ },
10943
+ {
10944
+ name: "usdPriceDecimals",
10945
+ type: "uint8",
10946
+ internalType: "uint8"
10947
+ },
10948
+ {
10949
+ name: "currencyDecimals",
10950
+ type: "uint8",
10951
+ internalType: "uint8"
10952
+ },
10953
+ {
10954
+ name: "publishTime",
10955
+ type: "uint256",
10956
+ internalType: "uint256"
10957
+ },
10958
+ {
10959
+ name: "expiration",
10960
+ type: "uint256",
10961
+ internalType: "uint256"
10962
+ }
10963
+ ]
10964
+ }
10965
+ ],
10966
+ anonymous: false
10967
+ },
10910
10968
  {
10911
10969
  type: "error",
10912
10970
  name: "CurrencyMismatch",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relay-protocol/settlement-abis",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "description": "Relay protocol contract ABIs",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",