πERC884
Last updated
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.
mintMints tokens to a verified address.
Parameter
Type
Description
_to
address
Address to receive the minted tokens.
_amount
uint256
Amount of tokens to mint.
holderCountReturns the number of unique addresses that own tokens.
Return
Type
Description
-
uint
Number of unique token holders.
holderAtRetrieves the address of a token holder by index.
Parameter
Type
Description
index
uint256
Zero-based index of the holder.
Return
Type
Description
-
address
Address of the token holder.
addVerifiedAdds a verified address along with an associated hash.
Parameter
Type
Description
addr
address
Address to be verified.
hash
bytes32
Cryptographic hash of the address holder's info.
removeVerifiedRemoves a verified address and its associated hash.
Parameter
Type
Description
addr
address
Verified address to be removed.
updateVerifiedUpdates the hash for a verified address.
Parameter
Type
Description
addr
address
Verified address to update.
hash
bytes32
New cryptographic hash.
cancelAndReissueCancels an original address and reissues tokens to a replacement address.
Parameter
Type
Description
original
address
Address to be superseded.
replacement
address
Address that replaces the original.
transferTransfers tokens to a verified address.
Parameter
Type
Description
to
address
Recipient address.
value
uint256
Amount of tokens to transfer.
Return
Type
Description
success
bool
Returns true if the transfer is successful.
transferFromAllows a spender to transfer tokens from one address to another.
Parameter
Type
Description
from
address
Address to transfer tokens from.
to
address
Address to transfer tokens to.
value
uint256
Amount of tokens to transfer.
Return
Type
Description
success
bool
Returns true if the transfer is successful.
Last updated