Fix remaining texinfo code examples
Signed-off-by: lash <dev@holbrook.no>
This commit is contained in:
parent
f9d2af2e3b
commit
da5d7d9d2d
18
README.md
18
README.md
@ -61,10 +61,12 @@ matching `address(0x00)` should be skipped, and not counted towards
|
|||||||
|
|
||||||
May optionally record time when account was added.
|
May optionally record time when account was added.
|
||||||
|
|
||||||
ERC165 Interface identifier
|
#### ERC165 Interface identifier
|
||||||
|
|
||||||
b7bca625
|
b7bca625
|
||||||
|
|
||||||
Solidity interface definition
|
#### Solidity interface definition
|
||||||
|
|
||||||
interface IAccountsIndex {
|
interface IAccountsIndex {
|
||||||
// Address added to store, index in array.
|
// Address added to store, index in array.
|
||||||
event AddressAdded(uint256 indexed _idx, address _account);
|
event AddressAdded(uint256 indexed _idx, address _account);
|
||||||
@ -88,7 +90,8 @@ Solidity interface definition
|
|||||||
function time(address) external view returns (uint256);
|
function time(address) external view returns (uint256);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference implementation
|
#### Reference implementation
|
||||||
|
|
||||||
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
||||||
|
|
||||||
### Accounts Index Mutable
|
### Accounts Index Mutable
|
||||||
@ -99,10 +102,12 @@ address list.
|
|||||||
Addresses may be *added*, *removed*, aswell as *deactivated* and
|
Addresses may be *added*, *removed*, aswell as *deactivated* and
|
||||||
*activated*. Deactivated accounts still count towards the `entryCount`.
|
*activated*. Deactivated accounts still count towards the `entryCount`.
|
||||||
|
|
||||||
ERC165 Interface identifier
|
#### ERC165 Interface identifier
|
||||||
|
|
||||||
9479f0ae
|
9479f0ae
|
||||||
|
|
||||||
Solidity interface definition
|
#### Solidity interface definition
|
||||||
|
|
||||||
interface IAccountsIndexMutable {
|
interface IAccountsIndexMutable {
|
||||||
// Active status of address changed, and by whom changed.
|
// Active status of address changed, and by whom changed.
|
||||||
event AddressActive(address indexed _account, bool _active);
|
event AddressActive(address indexed _account, bool _active);
|
||||||
@ -123,7 +128,8 @@ Solidity interface definition
|
|||||||
function isActive(address) external view returns (bool);
|
function isActive(address) external view returns (bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference implementation
|
#### Reference implementation
|
||||||
|
|
||||||
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
||||||
|
|
||||||
### Burner
|
### Burner
|
||||||
|
@ -9,14 +9,17 @@ The @code{entry} method is used to iterate the account list. The order of which
|
|||||||
May optionally record time when account was added.
|
May optionally record time when account was added.
|
||||||
|
|
||||||
|
|
||||||
@table @dfn
|
@subsubsection ERC165 Interface identifier
|
||||||
@item ERC165 Interface identifier
|
|
||||||
@include ../../build/AccountsIndex.interface
|
@include ../../build/AccountsIndex.interface
|
||||||
@item Solidity interface definition
|
|
||||||
|
@subsubsection Solidity interface definition
|
||||||
|
|
||||||
@include ../../build/contract_AccountsIndex.texi
|
@include ../../build/contract_AccountsIndex.texi
|
||||||
@item Reference implementation
|
|
||||||
|
@subsubsection Reference implementation
|
||||||
|
|
||||||
@uref{git://holbrook.no/eth-accounts-index.git,} (v0.5.1)
|
@uref{git://holbrook.no/eth-accounts-index.git,} (v0.5.1)
|
||||||
@end table
|
|
||||||
|
|
||||||
|
|
||||||
@subsection Accounts Index Mutable
|
@subsection Accounts Index Mutable
|
||||||
@ -26,11 +29,14 @@ Extends the functionality of @code{Accounts Index} to allow changes to the addre
|
|||||||
Addresses may be @emph{added}, @emph{removed}, aswell as @emph{deactivated} and @emph{activated}. Deactivated accounts still count towards the @code{entryCount}.
|
Addresses may be @emph{added}, @emph{removed}, aswell as @emph{deactivated} and @emph{activated}. Deactivated accounts still count towards the @code{entryCount}.
|
||||||
|
|
||||||
|
|
||||||
@table @dfn
|
@subsubsection ERC165 Interface identifier
|
||||||
@item ERC165 Interface identifier
|
|
||||||
@include ../../build/AccountsIndexMutable.interface
|
@include ../../build/AccountsIndexMutable.interface
|
||||||
@item Solidity interface definition
|
|
||||||
|
@subsubsection Solidity interface definition
|
||||||
|
|
||||||
@include ../../build/contract_AccountsIndexMutable.texi
|
@include ../../build/contract_AccountsIndexMutable.texi
|
||||||
@item Reference implementation
|
|
||||||
|
@subsubsection Reference implementation
|
||||||
|
|
||||||
@uref{git://holbrook.no/eth-accounts-index.git,} (v0.5.1)
|
@uref{git://holbrook.no/eth-accounts-index.git,} (v0.5.1)
|
||||||
@end table
|
|
||||||
|
@ -61,10 +61,12 @@ matching `address(0x00)` should be skipped, and not counted towards
|
|||||||
|
|
||||||
May optionally record time when account was added.
|
May optionally record time when account was added.
|
||||||
|
|
||||||
ERC165 Interface identifier
|
#### ERC165 Interface identifier
|
||||||
|
|
||||||
b7bca625
|
b7bca625
|
||||||
|
|
||||||
Solidity interface definition
|
#### Solidity interface definition
|
||||||
|
|
||||||
interface IAccountsIndex {
|
interface IAccountsIndex {
|
||||||
// Address added to store, index in array.
|
// Address added to store, index in array.
|
||||||
event AddressAdded(uint256 indexed _idx, address _account);
|
event AddressAdded(uint256 indexed _idx, address _account);
|
||||||
@ -88,7 +90,8 @@ Solidity interface definition
|
|||||||
function time(address) external view returns (uint256);
|
function time(address) external view returns (uint256);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference implementation
|
#### Reference implementation
|
||||||
|
|
||||||
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
||||||
|
|
||||||
### Accounts Index Mutable
|
### Accounts Index Mutable
|
||||||
@ -99,10 +102,12 @@ address list.
|
|||||||
Addresses may be *added*, *removed*, aswell as *deactivated* and
|
Addresses may be *added*, *removed*, aswell as *deactivated* and
|
||||||
*activated*. Deactivated accounts still count towards the `entryCount`.
|
*activated*. Deactivated accounts still count towards the `entryCount`.
|
||||||
|
|
||||||
ERC165 Interface identifier
|
#### ERC165 Interface identifier
|
||||||
|
|
||||||
9479f0ae
|
9479f0ae
|
||||||
|
|
||||||
Solidity interface definition
|
#### Solidity interface definition
|
||||||
|
|
||||||
interface IAccountsIndexMutable {
|
interface IAccountsIndexMutable {
|
||||||
// Active status of address changed, and by whom changed.
|
// Active status of address changed, and by whom changed.
|
||||||
event AddressActive(address indexed _account, bool _active);
|
event AddressActive(address indexed _account, bool _active);
|
||||||
@ -123,7 +128,8 @@ Solidity interface definition
|
|||||||
function isActive(address) external view returns (bool);
|
function isActive(address) external view returns (bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference implementation
|
#### Reference implementation
|
||||||
|
|
||||||
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
<git://holbrook.no/eth-accounts-index.git> (v0.5.1)
|
||||||
|
|
||||||
### Burner
|
### Burner
|
||||||
|
Loading…
Reference in New Issue
Block a user