Skip to content

Commit

Permalink
Few more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandapip1 authored and lightclient committed Oct 25, 2023
1 parent ca072b6 commit bfc3b99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ERCS/erc-7092.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ interface IERC7092 {
*/
event AllowanceDecreased(address indexed _owner, address indexed _spender, uint256 _amount);
}
```

## Rationale
Expand All @@ -247,8 +246,10 @@ The use of traditional finance terminology, like `issueVolume` and `principalOf`
The `totalSupply` and `balanceOf` functions are not defined as they can be derived from `issueVolume` and `principalOf`, and `denomination`. However, it's RECOMMENDED to define these functions in any contract implementing this standard, ensuring the proper relationship between these values.

```javascript
totalSupply = issueVolume / denomination
balanceOf(account) = principalOf(account) / denomination
let totalSupply = issueVolume / denomination;
function balanceOf(account) {
return principalOf(account) / denomination;
}
```

## Backwards Compatibility
Expand Down

0 comments on commit bfc3b99

Please sign in to comment.