Fix remaining texinfo code examples

Signed-off-by: lash <dev@holbrook.no>
This commit is contained in:
lash
2023-08-02 10:22:32 +01:00
parent f9d2af2e3b
commit da5d7d9d2d
3 changed files with 40 additions and 22 deletions

View File

@@ -61,10 +61,12 @@ matching `address(0x00)` should be skipped, and not counted towards
May optionally record time when account was added.
ERC165 Interface identifier
#### ERC165 Interface identifier
b7bca625
Solidity interface definition
#### Solidity interface definition
interface IAccountsIndex {
// Address added to store, index in array.
event AddressAdded(uint256 indexed _idx, address _account);
@@ -88,7 +90,8 @@ Solidity interface definition
function time(address) external view returns (uint256);
}
Reference implementation
#### Reference implementation
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
### Accounts Index Mutable
@@ -99,10 +102,12 @@ address list.
Addresses may be *added*, *removed*, aswell as *deactivated* and
*activated*. Deactivated accounts still count towards the `entryCount`.
ERC165 Interface identifier
#### ERC165 Interface identifier
9479f0ae
Solidity interface definition
#### Solidity interface definition
interface IAccountsIndexMutable {
// Active status of address changed, and by whom changed.
event AddressActive(address indexed _account, bool _active);
@@ -123,7 +128,8 @@ Solidity interface definition
function isActive(address) external view returns (bool);
}
Reference implementation
#### Reference implementation
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
### Burner