From 28879d29c677895eae7cb2234d43af9dd10dca2a Mon Sep 17 00:00:00 2001 From: pharr117 Date: Thu, 18 Jul 2024 18:46:17 -0400 Subject: [PATCH] Add ignorers for new message types in need of research --- core/tx.go | 10 ++++++++++ cosmos/modules/ibc/interchainaccounts_types.go | 6 ++++++ osmosis/modules/smartaccount/types.go | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 cosmos/modules/ibc/interchainaccounts_types.go create mode 100644 osmosis/modules/smartaccount/types.go diff --git a/core/tx.go b/core/tx.go index ccee8d2..b496c42 100644 --- a/core/tx.go +++ b/core/tx.go @@ -29,6 +29,7 @@ import ( "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/incentives" "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/lockup" "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/protorev" + "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/smartaccount" "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/superfluid" "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/tokenfactory" "github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/valsetpref" @@ -106,6 +107,10 @@ var messageTypeIgnorer = map[string]interface{}{ ibc.MsgChannelCloseConfirm: nil, ibc.MsgChannelCloseInit: nil, ibc.MsgSubmitMisbehaviour: nil, + + // Interchain accounts are being explored for taxable types + ibc.InterchainAccountsMsgRegisterInterchainAccount: nil, + ibc.InterchainAccountsMsgSendTX: nil, // Creating and modifying gauges does not create taxable events incentives.MsgCreateGauge: nil, incentives.MsgAddToGauge: nil, @@ -121,6 +126,11 @@ var messageTypeIgnorer = map[string]interface{}{ // Unjailing and updating params is not taxable slashing.MsgUnjail: nil, slashing.MsgUpdateParams: nil, + + // Smart accounts are being explored + smartaccount.MsgAddAuthenticator: nil, + smartaccount.MsgRemoveAuthenticator: nil, + // Creating and editing validator is not taxable staking.MsgCreateValidator: nil, staking.MsgEditValidator: nil, diff --git a/cosmos/modules/ibc/interchainaccounts_types.go b/cosmos/modules/ibc/interchainaccounts_types.go new file mode 100644 index 0000000..83f1404 --- /dev/null +++ b/cosmos/modules/ibc/interchainaccounts_types.go @@ -0,0 +1,6 @@ +package ibc + +const ( + InterchainAccountsMsgRegisterInterchainAccount = "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount" + InterchainAccountsMsgSendTX = "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx" +) diff --git a/osmosis/modules/smartaccount/types.go b/osmosis/modules/smartaccount/types.go new file mode 100644 index 0000000..9628696 --- /dev/null +++ b/osmosis/modules/smartaccount/types.go @@ -0,0 +1,6 @@ +package smartaccount + +const ( + MsgAddAuthenticator = "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator" + MsgRemoveAuthenticator = "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator" +)