26 lines
661 B
Go
26 lines
661 B
Go
package types
|
|
|
|
import (
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
"github.com/cosmos/cosmos-sdk/types/tx"
|
|
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
|
)
|
|
|
|
// 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{},
|
|
)
|
|
registry.RegisterImplementations(
|
|
(*tx.TxExtensionOptionI)(nil),
|
|
&ExtensionOptionsWeb3Tx{},
|
|
&ExtensionOptionDynamicFeeTx{},
|
|
)
|
|
}
|