Erc20SignatureMintable class
Enables generating ERC20 Tokens with rules and an associated signature, which can then be minted by anyone securely
Signature:
export declare class Erc20SignatureMintable implements DetectableFeature
Implements: DetectableFeature
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(contractWrapper, roles) | Constructs a new instance of the Erc20SignatureMintable class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
featureName | "ERC20SignatureMintable" |
Methods
Method | Modifiers | Description |
---|---|---|
generate(mintRequest) | Generate a signature that can be used to mint a certain amount of tokens | |
generateBatch(payloadsToSign) | Generate a batch of signatures that can be used to mint many token signatures. | |
mint(signedPayload) | Mint tokens from a signature | |
mintBatch(signedPayloads) | Mint any number of generated tokens signatures at once | |
verify(signedPayload) | Verify that a payload is correctly signed |