-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy ERC20 module implementation from Canto repo
- Loading branch information
1 parent
963820c
commit 3c59b03
Showing
76 changed files
with
13,969 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
package althea | ||
|
||
import ( | ||
"encoding/json" | ||
"github.com/cosmos/cosmos-sdk/simapp" | ||
) | ||
|
||
// The genesis state of the blockchain is represented here as a map of raw json | ||
// messages key'd by a identifier string. | ||
// The identifier is used to determine which module genesis information belongs | ||
// to so it may be appropriately routed during init chain. | ||
// Within this application default genesis information is retrieved from | ||
// the ModuleBasicManager which populates json from each BasicModule | ||
// object provided to it during init. | ||
type GenesisState map[string]json.RawMessage | ||
|
||
// NewDefaultGenesisState generates the default state for the application. | ||
func NewDefaultGenesisState() GenesisState { | ||
func NewDefaultGenesisState() simapp.GenesisState { | ||
encCfg := MakeEncodingConfig() | ||
return ModuleBasics.DefaultGenesis(encCfg.Codec) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.