Skip to content

Commit 103eb5b

Browse files
authored
Update ERC-7726: errors are not enforced
Merged by EIP-Bot.
1 parent cea07d3 commit 103eb5b

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

ERCS/erc-7726.md

-32
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ Returns the value of `baseAmount` of `base` in `quote` terms.
4646

4747
MUST round down towards 0.
4848

49-
MUST revert with `OracleUnsupportedPair` if not capable to provide data for the specified `base` and `quote` pair.
50-
51-
MUST revert with `OracleUntrustedData` if not capable to provide data within a degree of confidence publicly specified.
52-
5349
MUST revert if the value of `baseAmount` of `base` in `quote` terms would overflow in a uint256.
5450

5551
```yaml
@@ -80,34 +76,6 @@ For BTC, the address will be `0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB`.
8076

8177
For assets without an address, but with an ISO 4217 <!-- TODO: Bug Sam about editing EIP-1 to allow certain ISO external links --> code, the code will be used (e.g. `address(840)` for USD).
8278

83-
### Errors
84-
85-
#### OracleUnsupportedPair
86-
87-
```yaml
88-
- name: OracleUnsupportedPair
89-
type: error
90-
91-
inputs:
92-
- name: base
93-
type: address
94-
- name: quote
95-
type: address
96-
```
97-
98-
#### OracleUntrustedData
99-
100-
```yaml
101-
- name: OracleUntrustedData
102-
type: error
103-
104-
inputs:
105-
- name: base
106-
type: address
107-
- name: quote
108-
type: address
109-
```
110-
11179
## Rationale
11280

11381
The use of `getQuote` doesn't require the consumer to be aware of any decimal partitions that might have been defined

0 commit comments

Comments
 (0)