📌ERC884
Overview
The ERC884
contract is an implementation of the ERC884 token standard, adhering to regulations set forth by the Delaware State Senate Bill No. 69.
This standard is particularly relevant for tokenized shares in accordance with Delaware corporate law. It includes provisions for verified shareholder addresses and unique shareholder identification.
Methods
mint
mint
Mints tokens to a verified address.
Parameters
Parameter | Type | Description |
|
| Address to receive the minted tokens. |
|
| Amount of tokens to mint. |
holderCount
holderCount
Returns the number of unique addresses that own tokens.
Returns
Return | Type | Description |
- |
| Number of unique token holders. |
holderAt
holderAt
Retrieves the address of a token holder by index.
Parameters
Parameter | Type | Description |
|
| Zero-based index of the holder. |
Returns
Return | Type | Description |
- |
| Address of the token holder. |
addVerified
addVerified
Adds a verified address along with an associated hash.
Parameters
Parameter | Type | Description |
|
| Address to be verified. |
|
| Cryptographic hash of the address holder's info. |
removeVerified
removeVerified
Removes a verified address and its associated hash.
Parameters
Parameter | Type | Description |
|
| Verified address to be removed. |
updateVerified
updateVerified
Updates the hash for a verified address.
Parameters
Parameter | Type | Description |
|
| Verified address to update. |
|
| New cryptographic hash. |
cancelAndReissue
cancelAndReissue
Cancels an original address and reissues tokens to a replacement address.
Parameters
Parameter | Type | Description |
|
| Address to be superseded. |
|
| Address that replaces the original. |
transfer
transfer
Transfers tokens to a verified address.
Parameters
Parameter | Type | Description |
|
| Recipient address. |
|
| Amount of tokens to transfer. |
Returns
Return | Type | Description |
|
| Returns true if the transfer is successful. |
transferFrom
transferFrom
Allows a spender to transfer tokens from one address to another.
Parameters
Parameter | Type | Description |
|
| Address to transfer tokens from. |
|
| Address to transfer tokens to. |
|
| Amount of tokens to transfer. |
Returns
Return | Type | Description |
|
| Returns true if the transfer is successful. |
Last updated