Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const BIP44HDPathFURYChain + const BaseDenomUnit + const Bech32PrefixAccAddr + const Bech32PrefixAccPub + const Bech32PrefixConsAddr + const Bech32PrefixConsPub + const Bech32PrefixValAddr + const Bech32PrefixValPub + const Bip44CoinType + const DefaultGasPrice + const DefaultRPCGasLimit + const EthAccountName + const EthBech32Prefix + const NativeToken + const ProtocolVersion + const RootCodespace + var BIP44HDPath = ethaccounts.DefaultBaseDerivationPath.String() + var ErrInvalidChainID = sdkerrors.Register(RootCodespace, 3, "invalid chain ID") + var ErrInvalidMsgType = sdkerrors.Register(RootCodespace, 5, "invalid message type") + var ErrInvalidValue = sdkerrors.Register(RootCodespace, 2, "invalid value") + var ErrVMExecution = sdkerrors.Register(RootCodespace, 4, "error while executing evm transaction") + func IsValidChainID(chainID string) bool + func IsValidateChainIdWithGenesisHeight(chainID string) error + func NewPhotonCoin(amount sdk.Int) sdk.Coin + func NewPhotonCoinInt64(amount int64) sdk.Coin + func NewPhotonDecCoin(amount sdk.Int) sdk.SysCoin + func ParseChainID(chainID string) (*big.Int, error) + func ProtoAccount() exported.Account + func RegisterCodec(cdc *codec.Codec) + func SetBech32Prefixes(config *sdk.Config) + func SetBip44CoinType(config *sdk.Config) + func SetChainId(chainid string) error + type Code []byte + func (c Code) String() string + type EthAccount struct + CodeHash []byte + StateRoot ethcmn.Hash + func (acc *EthAccount) SetBalance(denom string, amt sdk.Dec) + func (acc *EthAccount) SetStateRoot(hash ethcmn.Hash) + func (acc *EthAccount) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error + func (acc *EthAccount) UnmarshalJSON(bz []byte) error + func (acc EthAccount) AminoSize(cdc *amino.Codec) int + func (acc EthAccount) Balance(denom string) sdk.Dec + func (acc EthAccount) Copy() sdk.Account + func (acc EthAccount) DeepCopy() sdk.Account + func (acc EthAccount) EthAddress() ethcmn.Address + func (acc EthAccount) GetCodeHash() []byte + func (acc EthAccount) GetStateRoot() ethcmn.Hash + func (acc EthAccount) IsContract() bool + func (acc EthAccount) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error + func (acc EthAccount) MarshalJSON() ([]byte, error) + func (acc EthAccount) MarshalToAmino(cdc *amino.Codec) ([]byte, error) + func (acc EthAccount) MarshalYAML() (interface{}, error) + func (acc EthAccount) String() string + type NodeMode string + const ArchiveNode + const FlagNodeMode + const InnertxNode + const RpcNode + const ValidatorNode