ERC20 Template
The ERC20 template that creates a ready to go token.
Create a project template with an ERC20 contract and accompanying tests
-
class
solidbyte.templates.templates.erc20.
ERC20Template
(*args, **kwargs)[source]
-
__init__
(*args, **kwargs)[source]
Init the Template object. Arguments can be added by subclasses. The one used by
Template are documented below.
Parameters: |
- dir_mode – (
int ) The directory mode permissions
- pwd – (
pathlib.Path ) The current working directory
|
-
create_contracts
()[source]
Create the contract source files
-
create_deployment
()[source]
Create the deploy module and script
-
create_networks
()[source]
Create the networks.yml file
-
create_tests
()[source]
Create the test files
-
initialize
()[source]
Create a project structure for an ERC20 token
-
solidbyte.templates.templates.erc20.
get_template_instance
(*args, **kwargs)[source]
Return an ERC20 template