func NewChainLinkJSON(data types.AddressData, proof types.Proof, chainConfig types.ChainConfig) ChainLinkJSON {
	any, err := codectypes.NewAnyWithValue(data)
	if err != nil {
		panic(err)
	}
	return ChainLinkJSON{
		Address:     any,
		Proof:       proof,
		ChainConfig: chainConfig,
	}
}
NewChainLinkJSON allows to build a new ChainLinkJSON instance
package utils
import (
	"io/ioutil"
	codectypes "github.com/cosmos/cosmos-sdk/codec/types"
	"github.com/desmos-labs/desmos/v2/x/profiles/types"
	"github.com/cosmos/cosmos-sdk/codec"
)