2018-08-09 01:06:34 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
import (
|
2021-04-17 10:00:07 +00:00
|
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
|
|
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
2018-08-09 01:06:34 +00:00
|
|
|
)
|
|
|
|
|
2021-08-17 15:30:35 +00:00
|
|
|
type ExtensionOptionsWeb3TxI interface{}
|
|
|
|
|
2021-04-17 10:00:07 +00:00
|
|
|
// RegisterInterfaces registers the tendermint concrete client-related
|
|
|
|
// implementations and interfaces.
|
|
|
|
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
|
|
|
|
registry.RegisterImplementations(
|
|
|
|
(*authtypes.AccountI)(nil),
|
|
|
|
&EthAccount{},
|
|
|
|
)
|
|
|
|
registry.RegisterImplementations(
|
|
|
|
(*authtypes.GenesisAccount)(nil),
|
|
|
|
&EthAccount{},
|
|
|
|
)
|
2021-08-17 15:30:35 +00:00
|
|
|
registry.RegisterInterface(
|
|
|
|
"ethermint.v1.ExtensionOptionsWeb3Tx",
|
|
|
|
(*ExtensionOptionsWeb3TxI)(nil),
|
|
|
|
&ExtensionOptionsWeb3Tx{},
|
|
|
|
)
|
2018-08-09 01:06:34 +00:00
|
|
|
}
|