diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc209e5f..5d942832 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,16 @@
# Changelog
## HEAD
-- `x/msgfee` was extended to provide a message to set a fee for a given message path.
-`bnscli` and `bnsd` were extended to support this change.
+- `gconf`: allow to provide an optional authentication address that will be
+ used to authenticate a configuration creation message. This solves a
+ chicken-egg problem of when the confgiuration was not created via genesis.
+- `migrations`: when upgrading the schema version an explicit version must be
+ provided. This is required to ensure at most one delivery.
+- `cmd/bnscli` can create a schema upgrade transaction.
+- Blue Account functionality was implememented in `cmd/bnsd/x/blueaccount` and
+ integrated into `cmd/bnsd` application.
+- `x/msgfee` was extended to provide a message to set a fee for a given message
+ path. `bnscli` and `bnsd` were extended to support this change.
Breaking changes
diff --git a/cmd/bnscli/clitests/blue_delete_account.test b/cmd/bnscli/clitests/blue_delete_account.test
new file mode 100644
index 00000000..56a73073
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_delete_account.test
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-delete-account \
+ -domain wunderland \
+ -name alice \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_delete_account.test.gold b/cmd/bnscli/clitests/blue_delete_account.test.gold
new file mode 100644
index 00000000..b300a279
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_delete_account.test.gold
@@ -0,0 +1,11 @@
+{
+ "Sum": {
+ "BlueaccountDeleteAccountMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/clitests/blue_delete_domain.test b/cmd/bnscli/clitests/blue_delete_domain.test
new file mode 100644
index 00000000..f46987d5
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_delete_domain.test
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-delete-domain \
+ -domain wunderland \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_delete_domain.test.gold b/cmd/bnscli/clitests/blue_delete_domain.test.gold
new file mode 100644
index 00000000..a5da4af1
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_delete_domain.test.gold
@@ -0,0 +1,10 @@
+{
+ "Sum": {
+ "BlueaccountDeleteDomainMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/clitests/blue_register_account.test b/cmd/bnscli/clitests/blue_register_account.test
new file mode 100644
index 00000000..26f2512e
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_register_account.test
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-register-account \
+ -domain wunderland \
+ -name alice \
+ | bnscli view
+
+echo ''
+
+bnscli blue-register-account \
+ -domain wunderland \
+ -name alice \
+ -token "68656c6c6f20776f726c640a" \
+ | bnscli view
+
+echo ''
+
+bnscli blue-register-account \
+ -domain wunderland \
+ -name alice \
+ -token "68656c6c6f20776f726c640a" \
+ | bnscli blue-with-bc-address -addr 111 -bc first \
+ | bnscli blue-with-bc-address -addr 222 -bc second \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_register_account.test.gold b/cmd/bnscli/clitests/blue_register_account.test.gold
new file mode 100644
index 00000000..4eec480b
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_register_account.test.gold
@@ -0,0 +1,47 @@
+{
+ "Sum": {
+ "BlueaccountRegisterAccountMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "targets": null
+ }
+ }
+}
+{
+ "Sum": {
+ "BlueaccountRegisterAccountMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "targets": null,
+ "third_party_token": "aGVsbG8gd29ybGQK"
+ }
+ }
+}
+{
+ "Sum": {
+ "BlueaccountRegisterAccountMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "targets": [
+ {
+ "blockchain_id": "first",
+ "address": "111"
+ },
+ {
+ "blockchain_id": "second",
+ "address": "222"
+ }
+ ],
+ "third_party_token": "aGVsbG8gd29ybGQK"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/clitests/blue_register_domain.test b/cmd/bnscli/clitests/blue_register_domain.test
new file mode 100644
index 00000000..1d832a34
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_register_domain.test
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-register-domain \
+ -domain wunderland \
+ | bnscli view
+
+echo ''
+
+bnscli blue-register-domain \
+ -domain wunderland \
+ -token "68656c6c6f20776f726c640a" \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_register_domain.test.gold b/cmd/bnscli/clitests/blue_register_domain.test.gold
new file mode 100644
index 00000000..b8501557
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_register_domain.test.gold
@@ -0,0 +1,21 @@
+{
+ "Sum": {
+ "BlueaccountRegisterDomainMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland"
+ }
+ }
+}
+{
+ "Sum": {
+ "BlueaccountRegisterDomainMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "third_party_token": "aGVsbG8gd29ybGQK"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/clitests/blue_replace_account_targets.test b/cmd/bnscli/clitests/blue_replace_account_targets.test
new file mode 100644
index 00000000..9768ae98
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_replace_account_targets.test
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-replace-account-targets \
+ -domain wunderland \
+ -name alice \
+ | bnscli view
+
+echo
+
+bnscli blue-replace-account-targets \
+ -domain wunderland \
+ -name alice \
+ | bnscli blue-with-bc-address -addr 111 -bc first \
+ | bnscli blue-with-bc-address -addr 222 -bc second \
+ | bnscli view
+
+echo
diff --git a/cmd/bnscli/clitests/blue_replace_account_targets.test.gold b/cmd/bnscli/clitests/blue_replace_account_targets.test.gold
new file mode 100644
index 00000000..22a719f4
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_replace_account_targets.test.gold
@@ -0,0 +1,33 @@
+{
+ "Sum": {
+ "BlueaccountReplaceAccountTargetMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "new_targets": null
+ }
+ }
+}
+{
+ "Sum": {
+ "BlueaccountReplaceAccountTargetMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "new_targets": [
+ {
+ "blockchain_id": "first",
+ "address": "111"
+ },
+ {
+ "blockchain_id": "second",
+ "address": "222"
+ }
+ ]
+ }
+ }
+}
diff --git a/cmd/bnscli/clitests/blue_transfer_account.test b/cmd/bnscli/clitests/blue_transfer_account.test
new file mode 100644
index 00000000..2106b7cc
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_transfer_account.test
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-transfer-account \
+ -domain wunderland \
+ -name alice \
+ -owner 'seq:foo/bar/1' \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_transfer_account.test.gold b/cmd/bnscli/clitests/blue_transfer_account.test.gold
new file mode 100644
index 00000000..a2c7c7de
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_transfer_account.test.gold
@@ -0,0 +1,12 @@
+{
+ "Sum": {
+ "BlueaccountTransferAccountMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "name": "alice",
+ "new_owner": "60AAA3D972FDA7AF6B7E6A9D5369BA40E5AD8071"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/clitests/blue_transfer_domain.test b/cmd/bnscli/clitests/blue_transfer_domain.test
new file mode 100644
index 00000000..d63c4306
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_transfer_domain.test
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+bnscli blue-transfer-domain \
+ -domain wunderland \
+ -owner 'seq:foo/bar/1' \
+ | bnscli view
diff --git a/cmd/bnscli/clitests/blue_transfer_domain.test.gold b/cmd/bnscli/clitests/blue_transfer_domain.test.gold
new file mode 100644
index 00000000..cb18ce0e
--- /dev/null
+++ b/cmd/bnscli/clitests/blue_transfer_domain.test.gold
@@ -0,0 +1,11 @@
+{
+ "Sum": {
+ "BlueaccountTransferDomainMsg": {
+ "metadata": {
+ "schema": 1
+ },
+ "domain": "wunderland",
+ "new_owner": "60AAA3D972FDA7AF6B7E6A9D5369BA40E5AD8071"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cmd/bnscli/cmd_blueaccount.go b/cmd/bnscli/cmd_blueaccount.go
new file mode 100644
index 00000000..2c2bd537
--- /dev/null
+++ b/cmd/bnscli/cmd_blueaccount.go
@@ -0,0 +1,314 @@
+package main
+
+import (
+ "flag"
+ "fmt"
+ "io"
+ "time"
+
+ "github.com/iov-one/weave"
+ bnsd "github.com/iov-one/weave/cmd/bnsd/app"
+ "github.com/iov-one/weave/cmd/bnsd/x/blueaccount"
+)
+
+func cmdRegisterBlueDomain(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction for registering a domain.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ tokenFl = flHex(fl, "token", "", "Optional, hex encoded third party token.")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.RegisterDomainMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ ThirdPartyToken: *tokenFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountRegisterDomainMsg{
+ BlueaccountRegisterDomainMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdDeleteBlueDomain(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete a domain.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.DeleteDomainMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountDeleteDomainMsg{
+ BlueaccountDeleteDomainMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdRegisterBlueAccount(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction for registering an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ nameFl = fl.String("name", "", "Name part of the username. For example alice in 'alice*wunderland'")
+ tokenFl = flHex(fl, "token", "", "Optional, hex encoded third party token.")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.RegisterAccountMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ Name: *nameFl,
+ ThirdPartyToken: *tokenFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountRegisterAccountMsg{
+ BlueaccountRegisterAccountMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdDeleteBlueAccount(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ nameFl = fl.String("name", "", "Name part of the username. For example alice in 'alice*wunderland'")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.DeleteAccountMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ Name: *nameFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountDeleteAccountMsg{
+ BlueaccountDeleteAccountMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdWithBlueBlockchainAddress(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Attach a blockchain address target to given transaction.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ blockchainFl = fl.String("bc", "", "Blockchain network ID.")
+ addressFl = fl.String("addr", "", "String representation of the blochain address on this network.")
+ )
+ fl.Parse(args)
+
+ tx, _, err := readTx(input)
+ if err != nil {
+ return fmt.Errorf("cannot read input transaction: %s", err)
+ }
+
+ msg, err := tx.GetMsg()
+ if err != nil {
+ return fmt.Errorf("cannot extract message from the transaction: %s", err)
+ }
+
+ switch msg := msg.(type) {
+ case *blueaccount.RegisterAccountMsg:
+ msg.Targets = append(msg.Targets, blueaccount.BlockchainAddress{
+ BlockchainID: *blockchainFl,
+ Address: *addressFl,
+ })
+ case *blueaccount.ReplaceAccountTargetsMsg:
+ msg.NewTargets = append(msg.NewTargets, blueaccount.BlockchainAddress{
+ BlockchainID: *blockchainFl,
+ Address: *addressFl,
+ })
+ default:
+ return fmt.Errorf("unsupported transaction message: %T", msg)
+ }
+
+ // Serialize back the transaction from the input. It was modified.
+ _, err = writeTx(output, tx)
+ return err
+}
+
+func cmdTransferBlueDomain(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ newOwnerFl = flAddress(fl, "owner", "", "Address of the new owner.")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.TransferDomainMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ NewOwner: *newOwnerFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountTransferDomainMsg{
+ BlueaccountTransferDomainMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdTransferBlueAccount(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ nameFl = fl.String("name", "", "Name part of the username. For example alice in 'alice*wunderland'")
+ newOwnerFl = flAddress(fl, "owner", "", "Address of the new owner.")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.TransferAccountMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ Name: *nameFl,
+ NewOwner: *newOwnerFl,
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountTransferAccountMsg{
+ BlueaccountTransferAccountMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdReplaceBlueAccountTargets(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ domainFl = fl.String("domain", "", "Domain part of the username. For example wunderland in 'alice*wunderland'")
+ nameFl = fl.String("name", "", "Name part of the username. For example alice in 'alice*wunderland'")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.ReplaceAccountTargetsMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Domain: *domainFl,
+ Name: *nameFl,
+ NewTargets: nil, // Use cmdWithBlueBlockchainAddress to set.
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountReplaceAccountTargetMsg{
+ BlueaccountReplaceAccountTargetMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
+
+func cmdUpdateBlueConfiguration(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction to delete an account.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ ownerFl = flAddress(fl, "owner", "", "Address of the owner.")
+ validDomainFl = fl.String("valid-domain", "", "Regular expression defining a rule for a valid domain.")
+ validNameFl = fl.String("valid-name", "", "Regular expression defining a rule for a valid name.")
+ domainRenewFl = fl.Duration("domain-renew", 30*24*time.Hour, "Period of the domain renewal.")
+ )
+ fl.Parse(args)
+
+ msg := blueaccount.UpdateConfigurationMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Patch: &blueaccount.Configuration{
+ Metadata: &weave.Metadata{Schema: 1},
+ Owner: *ownerFl,
+ ValidDomain: *validDomainFl,
+ ValidName: *validNameFl,
+ DomainRenew: weave.AsUnixDuration(*domainRenewFl),
+ },
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_BlueaccountUpdateConfigurationMsg{
+ BlueaccountUpdateConfigurationMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
diff --git a/cmd/bnscli/cmd_key.go b/cmd/bnscli/cmd_key.go
index 108cf252..6f3e5e1e 100644
--- a/cmd/bnscli/cmd_key.go
+++ b/cmd/bnscli/cmd_key.go
@@ -47,6 +47,7 @@ created. This command fails if the private key file already exists.
if err != nil {
return fmt.Errorf("cannot read mnemonic: %s", err)
}
+ mnemonic = bytes.TrimSpace(mnemonic)
priv, err := keygen(string(mnemonic), *pathFl)
if err != nil {
diff --git a/cmd/bnscli/cmd_migration.go b/cmd/bnscli/cmd_migration.go
new file mode 100644
index 00000000..dab99b1b
--- /dev/null
+++ b/cmd/bnscli/cmd_migration.go
@@ -0,0 +1,43 @@
+package main
+
+import (
+ "flag"
+ "fmt"
+ "io"
+
+ "github.com/iov-one/weave"
+ bnsd "github.com/iov-one/weave/cmd/bnsd/app"
+ "github.com/iov-one/weave/migration"
+)
+
+func cmdUpgradeSchema(input io.Reader, output io.Writer, args []string) error {
+ fl := flag.NewFlagSet("", flag.ExitOnError)
+ fl.Usage = func() {
+ fmt.Fprintln(flag.CommandLine.Output(), `
+Create a transaction for upgrading or initializing schema version of a given extension.
+ `)
+ fl.PrintDefaults()
+ }
+ var (
+ pkgFl = fl.String("pkg", "", "Name of the extension that schema is to be upgraded")
+ toVersionFl = fl.Uint("ver", 1, "Migrate to given schema version. 1 to initialize.")
+ )
+ fl.Parse(args)
+
+ msg := migration.UpgradeSchemaMsg{
+ Metadata: &weave.Metadata{Schema: 1},
+ Pkg: *pkgFl,
+ ToVersion: uint32(*toVersionFl),
+ }
+ if err := msg.Validate(); err != nil {
+ return fmt.Errorf("given data produce an invalid message: %s", err)
+ }
+
+ tx := &bnsd.Tx{
+ Sum: &bnsd.Tx_MigrationUpgradeSchemaMsg{
+ MigrationUpgradeSchemaMsg: &msg,
+ },
+ }
+ _, err := writeTx(output, tx)
+ return err
+}
diff --git a/cmd/bnscli/cmd_query.go b/cmd/bnscli/cmd_query.go
index 489890af..459b1f20 100644
--- a/cmd/bnscli/cmd_query.go
+++ b/cmd/bnscli/cmd_query.go
@@ -15,6 +15,7 @@ import (
"github.com/iov-one/weave"
bnsd "github.com/iov-one/weave/cmd/bnsd/app"
"github.com/iov-one/weave/cmd/bnsd/client"
+ "github.com/iov-one/weave/cmd/bnsd/x/blueaccount"
"github.com/iov-one/weave/cmd/bnsd/x/username"
"github.com/iov-one/weave/orm"
"github.com/iov-one/weave/x/cash"
@@ -182,6 +183,16 @@ var queries = map[string]struct {
decKey: sequenceKey,
encID: numericID,
},
+ "/bluedomains": {
+ newObj: func() model { return &blueaccount.Domain{} },
+ decKey: strKey,
+ encID: strID,
+ },
+ "/blueaccounts": {
+ newObj: func() model { return &blueaccount.Account{} },
+ decKey: strKey,
+ encID: strID,
+ },
}
// model is an entity used by weave to store data. This interface is
@@ -229,6 +240,10 @@ func addressID(s string) ([]byte, error) {
return weave.ParseAddress(s)
}
+func strID(s string) ([]byte, error) {
+ return []byte(s), nil
+}
+
func refKey(raw []byte) (string, error) {
// Skip the prefix, being the characters before : (including separator)
val := raw[bytes.Index(raw, []byte(":"))+1:]
@@ -266,6 +281,10 @@ func rawKey(raw []byte) (string, error) {
return hex.EncodeToString(raw), nil
}
+func strKey(raw []byte) (string, error) {
+ return string(raw), nil
+}
+
// extendedProposal is the gov.Proposal with an additional field to extract
// RawOption. When serialized using JSON, this structure produce the same
// result as the gov.Proposal with an addition of an attribute representing
diff --git a/cmd/bnscli/main.go b/cmd/bnscli/main.go
index af88a23f..47bcca09 100644
--- a/cmd/bnscli/main.go
+++ b/cmd/bnscli/main.go
@@ -35,36 +35,46 @@ import (
// | bnscli submit
//
var commands = map[string]func(input io.Reader, output io.Writer, args []string) error{
- "as-batch": cmdAsBatch,
- "as-proposal": cmdAsProposal,
- "as-sequence": cmdAsSequence,
- "del-proposal": cmdDelProposal,
- "from-sequence": cmdFromSequence,
- "keyaddr": cmdKeyaddr,
- "keygen": cmdKeygen,
- "mnemonic": cmdMnemonic,
- "multisig": cmdMultisig,
- "query": cmdQuery,
- "register-username": cmdRegisterUsername,
- "release-escrow": cmdReleaseEscrow,
- "reset-revenue": cmdResetRevenue,
- "resolve-username": cmdResolveUsername,
- "send-tokens": cmdSendTokens,
- "set-msgfee": cmdSetMsgFee,
- "set-validators": cmdSetValidators,
- "sign": cmdSignTransaction,
- "submit": cmdSubmitTransaction,
- "text-resolution": cmdTextResolution,
- "update-election-rule": cmdUpdateElectionRule,
- "update-electorate": cmdUpdateElectorate,
- "version": cmdVersion,
- "view": cmdTransactionView,
- "vote": cmdVote,
- "with-blockchain-address": cmdWithBlockchainAddress,
- "with-elector": cmdWithElector,
- "with-fee": cmdWithFee,
- "with-multisig": cmdWithMultisig,
- "with-multisig-participant": cmdWithMultisigParticipant,
+ "as-batch": cmdAsBatch,
+ "as-proposal": cmdAsProposal,
+ "as-sequence": cmdAsSequence,
+ "blue-delete-account": cmdDeleteBlueAccount,
+ "blue-delete-domain": cmdDeleteBlueDomain,
+ "blue-register-account": cmdRegisterBlueAccount,
+ "blue-register-domain": cmdRegisterBlueDomain,
+ "blue-replace-account-targets": cmdReplaceBlueAccountTargets,
+ "blue-transfer-account": cmdTransferBlueAccount,
+ "blue-transfer-domain": cmdTransferBlueDomain,
+ "blue-update-configuration": cmdUpdateBlueConfiguration,
+ "blue-with-bc-address": cmdWithBlueBlockchainAddress,
+ "del-proposal": cmdDelProposal,
+ "from-sequence": cmdFromSequence,
+ "keyaddr": cmdKeyaddr,
+ "keygen": cmdKeygen,
+ "mnemonic": cmdMnemonic,
+ "multisig": cmdMultisig,
+ "query": cmdQuery,
+ "register-username": cmdRegisterUsername,
+ "release-escrow": cmdReleaseEscrow,
+ "reset-revenue": cmdResetRevenue,
+ "resolve-username": cmdResolveUsername,
+ "send-tokens": cmdSendTokens,
+ "set-msgfee": cmdSetMsgFee,
+ "set-validators": cmdSetValidators,
+ "sign": cmdSignTransaction,
+ "submit": cmdSubmitTransaction,
+ "text-resolution": cmdTextResolution,
+ "update-election-rule": cmdUpdateElectionRule,
+ "update-electorate": cmdUpdateElectorate,
+ "upgrade-schema": cmdUpgradeSchema,
+ "version": cmdVersion,
+ "view": cmdTransactionView,
+ "vote": cmdVote,
+ "with-blockchain-address": cmdWithBlockchainAddress,
+ "with-elector": cmdWithElector,
+ "with-fee": cmdWithFee,
+ "with-multisig": cmdWithMultisig,
+ "with-multisig-participant": cmdWithMultisigParticipant,
}
func main() {
diff --git a/cmd/bnsd/app/app.go b/cmd/bnsd/app/app.go
index 90c97b61..bb0f1570 100644
--- a/cmd/bnsd/app/app.go
+++ b/cmd/bnsd/app/app.go
@@ -12,6 +12,7 @@ import (
"github.com/iov-one/weave"
"github.com/iov-one/weave/app"
+ "github.com/iov-one/weave/cmd/bnsd/x/blueaccount"
"github.com/iov-one/weave/cmd/bnsd/x/username"
"github.com/iov-one/weave/coin"
"github.com/iov-one/weave/commands/server"
@@ -89,6 +90,7 @@ func Router(authFn x.Authenticator, issuer weave.Address) *app.Router {
gov.RegisterRoutes(r, authFn, decodeProposalOptions, proposalOptionsExecutor(ctrl), scheduler)
username.RegisterRoutes(r, authFn)
msgfee.RegisterRoutes(r, authFn)
+ blueaccount.RegisterRoutes(r, authFn)
return r
}
@@ -112,6 +114,7 @@ func QueryRouter(minFee coin.Coin) weave.QueryRouter {
gov.RegisterQuery,
username.RegisterQuery,
cron.RegisterQuery,
+ blueaccount.RegisterQuery,
)
return r
}
diff --git a/cmd/bnsd/app/codec.pb.go b/cmd/bnsd/app/codec.pb.go
index 1b72dddb..316f2768 100644
--- a/cmd/bnsd/app/codec.pb.go
+++ b/cmd/bnsd/app/codec.pb.go
@@ -8,6 +8,7 @@ import (
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
github_com_iov_one_weave "github.com/iov-one/weave"
+ blueaccount "github.com/iov-one/weave/cmd/bnsd/x/blueaccount"
username "github.com/iov-one/weave/cmd/bnsd/x/username"
migration "github.com/iov-one/weave/migration"
aswap "github.com/iov-one/weave/x/aswap"
@@ -82,6 +83,15 @@ type Tx struct {
// *Tx_GovUpdateElectorateMsg
// *Tx_GovUpdateElectionRuleMsg
// *Tx_MsgfeeSetMsgFeeMsg
+ // *Tx_BlueaccountRegisterDomainMsg
+ // *Tx_BlueaccountTransferDomainMsg
+ // *Tx_BlueaccountRenewDomainMsg
+ // *Tx_BlueaccountDeleteDomainMsg
+ // *Tx_BlueaccountRegisterAccountMsg
+ // *Tx_BlueaccountTransferAccountMsg
+ // *Tx_BlueaccountReplaceAccountTargetMsg
+ // *Tx_BlueaccountDeleteAccountMsg
+ // *Tx_BlueaccountUpdateConfigurationMsg
Sum isTx_Sum `protobuf_oneof:"sum"`
}
@@ -202,33 +212,69 @@ type Tx_GovUpdateElectionRuleMsg struct {
type Tx_MsgfeeSetMsgFeeMsg struct {
MsgfeeSetMsgFeeMsg *msgfee.SetMsgFeeMsg `protobuf:"bytes,80,opt,name=msgfee_set_msg_fee_msg,json=msgfeeSetMsgFeeMsg,proto3,oneof"`
}
-
-func (*Tx_CashSendMsg) isTx_Sum() {}
-func (*Tx_EscrowCreateMsg) isTx_Sum() {}
-func (*Tx_EscrowReleaseMsg) isTx_Sum() {}
-func (*Tx_EscrowReturnMsg) isTx_Sum() {}
-func (*Tx_EscrowUpdatePartiesMsg) isTx_Sum() {}
-func (*Tx_MultisigCreateMsg) isTx_Sum() {}
-func (*Tx_MultisigUpdateMsg) isTx_Sum() {}
-func (*Tx_ValidatorsApplyDiffMsg) isTx_Sum() {}
-func (*Tx_CurrencyCreateMsg) isTx_Sum() {}
-func (*Tx_ExecuteBatchMsg) isTx_Sum() {}
-func (*Tx_UsernameRegisterTokenMsg) isTx_Sum() {}
-func (*Tx_UsernameTransferTokenMsg) isTx_Sum() {}
-func (*Tx_UsernameChangeTokenTargetsMsg) isTx_Sum() {}
-func (*Tx_DistributionCreateMsg) isTx_Sum() {}
-func (*Tx_DistributionMsg) isTx_Sum() {}
-func (*Tx_DistributionResetMsg) isTx_Sum() {}
-func (*Tx_MigrationUpgradeSchemaMsg) isTx_Sum() {}
-func (*Tx_AswapCreateMsg) isTx_Sum() {}
-func (*Tx_AswapReleaseMsg) isTx_Sum() {}
-func (*Tx_AswapReturnMsg) isTx_Sum() {}
-func (*Tx_GovCreateProposalMsg) isTx_Sum() {}
-func (*Tx_GovDeleteProposalMsg) isTx_Sum() {}
-func (*Tx_GovVoteMsg) isTx_Sum() {}
-func (*Tx_GovUpdateElectorateMsg) isTx_Sum() {}
-func (*Tx_GovUpdateElectionRuleMsg) isTx_Sum() {}
-func (*Tx_MsgfeeSetMsgFeeMsg) isTx_Sum() {}
+type Tx_BlueaccountRegisterDomainMsg struct {
+ BlueaccountRegisterDomainMsg *blueaccount.RegisterDomainMsg `protobuf:"bytes,81,opt,name=blueaccount_register_domain_msg,json=blueaccountRegisterDomainMsg,proto3,oneof"`
+}
+type Tx_BlueaccountTransferDomainMsg struct {
+ BlueaccountTransferDomainMsg *blueaccount.TransferDomainMsg `protobuf:"bytes,82,opt,name=blueaccount_transfer_domain_msg,json=blueaccountTransferDomainMsg,proto3,oneof"`
+}
+type Tx_BlueaccountRenewDomainMsg struct {
+ BlueaccountRenewDomainMsg *blueaccount.RenewDomainMsg `protobuf:"bytes,83,opt,name=blueaccount_renew_domain_msg,json=blueaccountRenewDomainMsg,proto3,oneof"`
+}
+type Tx_BlueaccountDeleteDomainMsg struct {
+ BlueaccountDeleteDomainMsg *blueaccount.DeleteDomainMsg `protobuf:"bytes,84,opt,name=blueaccount_delete_domain_msg,json=blueaccountDeleteDomainMsg,proto3,oneof"`
+}
+type Tx_BlueaccountRegisterAccountMsg struct {
+ BlueaccountRegisterAccountMsg *blueaccount.RegisterAccountMsg `protobuf:"bytes,85,opt,name=blueaccount_register_account_msg,json=blueaccountRegisterAccountMsg,proto3,oneof"`
+}
+type Tx_BlueaccountTransferAccountMsg struct {
+ BlueaccountTransferAccountMsg *blueaccount.TransferAccountMsg `protobuf:"bytes,86,opt,name=blueaccount_transfer_account_msg,json=blueaccountTransferAccountMsg,proto3,oneof"`
+}
+type Tx_BlueaccountReplaceAccountTargetMsg struct {
+ BlueaccountReplaceAccountTargetMsg *blueaccount.ReplaceAccountTargetsMsg `protobuf:"bytes,87,opt,name=blueaccount_replace_account_target_msg,json=blueaccountReplaceAccountTargetMsg,proto3,oneof"`
+}
+type Tx_BlueaccountDeleteAccountMsg struct {
+ BlueaccountDeleteAccountMsg *blueaccount.DeleteAccountMsg `protobuf:"bytes,88,opt,name=blueaccount_delete_account_msg,json=blueaccountDeleteAccountMsg,proto3,oneof"`
+}
+type Tx_BlueaccountUpdateConfigurationMsg struct {
+ BlueaccountUpdateConfigurationMsg *blueaccount.UpdateConfigurationMsg `protobuf:"bytes,89,opt,name=blueaccount_update_configuration_msg,json=blueaccountUpdateConfigurationMsg,proto3,oneof"`
+}
+
+func (*Tx_CashSendMsg) isTx_Sum() {}
+func (*Tx_EscrowCreateMsg) isTx_Sum() {}
+func (*Tx_EscrowReleaseMsg) isTx_Sum() {}
+func (*Tx_EscrowReturnMsg) isTx_Sum() {}
+func (*Tx_EscrowUpdatePartiesMsg) isTx_Sum() {}
+func (*Tx_MultisigCreateMsg) isTx_Sum() {}
+func (*Tx_MultisigUpdateMsg) isTx_Sum() {}
+func (*Tx_ValidatorsApplyDiffMsg) isTx_Sum() {}
+func (*Tx_CurrencyCreateMsg) isTx_Sum() {}
+func (*Tx_ExecuteBatchMsg) isTx_Sum() {}
+func (*Tx_UsernameRegisterTokenMsg) isTx_Sum() {}
+func (*Tx_UsernameTransferTokenMsg) isTx_Sum() {}
+func (*Tx_UsernameChangeTokenTargetsMsg) isTx_Sum() {}
+func (*Tx_DistributionCreateMsg) isTx_Sum() {}
+func (*Tx_DistributionMsg) isTx_Sum() {}
+func (*Tx_DistributionResetMsg) isTx_Sum() {}
+func (*Tx_MigrationUpgradeSchemaMsg) isTx_Sum() {}
+func (*Tx_AswapCreateMsg) isTx_Sum() {}
+func (*Tx_AswapReleaseMsg) isTx_Sum() {}
+func (*Tx_AswapReturnMsg) isTx_Sum() {}
+func (*Tx_GovCreateProposalMsg) isTx_Sum() {}
+func (*Tx_GovDeleteProposalMsg) isTx_Sum() {}
+func (*Tx_GovVoteMsg) isTx_Sum() {}
+func (*Tx_GovUpdateElectorateMsg) isTx_Sum() {}
+func (*Tx_GovUpdateElectionRuleMsg) isTx_Sum() {}
+func (*Tx_MsgfeeSetMsgFeeMsg) isTx_Sum() {}
+func (*Tx_BlueaccountRegisterDomainMsg) isTx_Sum() {}
+func (*Tx_BlueaccountTransferDomainMsg) isTx_Sum() {}
+func (*Tx_BlueaccountRenewDomainMsg) isTx_Sum() {}
+func (*Tx_BlueaccountDeleteDomainMsg) isTx_Sum() {}
+func (*Tx_BlueaccountRegisterAccountMsg) isTx_Sum() {}
+func (*Tx_BlueaccountTransferAccountMsg) isTx_Sum() {}
+func (*Tx_BlueaccountReplaceAccountTargetMsg) isTx_Sum() {}
+func (*Tx_BlueaccountDeleteAccountMsg) isTx_Sum() {}
+func (*Tx_BlueaccountUpdateConfigurationMsg) isTx_Sum() {}
func (m *Tx) GetSum() isTx_Sum {
if m != nil {
@@ -440,6 +486,69 @@ func (m *Tx) GetMsgfeeSetMsgFeeMsg() *msgfee.SetMsgFeeMsg {
return nil
}
+func (m *Tx) GetBlueaccountRegisterDomainMsg() *blueaccount.RegisterDomainMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountRegisterDomainMsg); ok {
+ return x.BlueaccountRegisterDomainMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountTransferDomainMsg() *blueaccount.TransferDomainMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountTransferDomainMsg); ok {
+ return x.BlueaccountTransferDomainMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountRenewDomainMsg() *blueaccount.RenewDomainMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountRenewDomainMsg); ok {
+ return x.BlueaccountRenewDomainMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountDeleteDomainMsg() *blueaccount.DeleteDomainMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountDeleteDomainMsg); ok {
+ return x.BlueaccountDeleteDomainMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountRegisterAccountMsg() *blueaccount.RegisterAccountMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountRegisterAccountMsg); ok {
+ return x.BlueaccountRegisterAccountMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountTransferAccountMsg() *blueaccount.TransferAccountMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountTransferAccountMsg); ok {
+ return x.BlueaccountTransferAccountMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountReplaceAccountTargetMsg() *blueaccount.ReplaceAccountTargetsMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountReplaceAccountTargetMsg); ok {
+ return x.BlueaccountReplaceAccountTargetMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountDeleteAccountMsg() *blueaccount.DeleteAccountMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountDeleteAccountMsg); ok {
+ return x.BlueaccountDeleteAccountMsg
+ }
+ return nil
+}
+
+func (m *Tx) GetBlueaccountUpdateConfigurationMsg() *blueaccount.UpdateConfigurationMsg {
+ if x, ok := m.GetSum().(*Tx_BlueaccountUpdateConfigurationMsg); ok {
+ return x.BlueaccountUpdateConfigurationMsg
+ }
+ return nil
+}
+
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Tx_OneofMarshaler, _Tx_OneofUnmarshaler, _Tx_OneofSizer, []interface{}{
@@ -469,6 +578,15 @@ func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, fun
(*Tx_GovUpdateElectorateMsg)(nil),
(*Tx_GovUpdateElectionRuleMsg)(nil),
(*Tx_MsgfeeSetMsgFeeMsg)(nil),
+ (*Tx_BlueaccountRegisterDomainMsg)(nil),
+ (*Tx_BlueaccountTransferDomainMsg)(nil),
+ (*Tx_BlueaccountRenewDomainMsg)(nil),
+ (*Tx_BlueaccountDeleteDomainMsg)(nil),
+ (*Tx_BlueaccountRegisterAccountMsg)(nil),
+ (*Tx_BlueaccountTransferAccountMsg)(nil),
+ (*Tx_BlueaccountReplaceAccountTargetMsg)(nil),
+ (*Tx_BlueaccountDeleteAccountMsg)(nil),
+ (*Tx_BlueaccountUpdateConfigurationMsg)(nil),
}
}
@@ -606,6 +724,51 @@ func _Tx_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
if err := b.EncodeMessage(x.MsgfeeSetMsgFeeMsg); err != nil {
return err
}
+ case *Tx_BlueaccountRegisterDomainMsg:
+ _ = b.EncodeVarint(81<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterDomainMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountTransferDomainMsg:
+ _ = b.EncodeVarint(82<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferDomainMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountRenewDomainMsg:
+ _ = b.EncodeVarint(83<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRenewDomainMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountDeleteDomainMsg:
+ _ = b.EncodeVarint(84<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteDomainMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountRegisterAccountMsg:
+ _ = b.EncodeVarint(85<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterAccountMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountTransferAccountMsg:
+ _ = b.EncodeVarint(86<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferAccountMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountReplaceAccountTargetMsg:
+ _ = b.EncodeVarint(87<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountReplaceAccountTargetMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountDeleteAccountMsg:
+ _ = b.EncodeVarint(88<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteAccountMsg); err != nil {
+ return err
+ }
+ case *Tx_BlueaccountUpdateConfigurationMsg:
+ _ = b.EncodeVarint(89<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountUpdateConfigurationMsg); err != nil {
+ return err
+ }
case nil:
default:
return fmt.Errorf("Tx.Sum has unexpected type %T", x)
@@ -824,6 +987,78 @@ func _Tx_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bo
err := b.DecodeMessage(msg)
m.Sum = &Tx_MsgfeeSetMsgFeeMsg{msg}
return true, err
+ case 81: // sum.blueaccount_register_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountRegisterDomainMsg{msg}
+ return true, err
+ case 82: // sum.blueaccount_transfer_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountTransferDomainMsg{msg}
+ return true, err
+ case 83: // sum.blueaccount_renew_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RenewDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountRenewDomainMsg{msg}
+ return true, err
+ case 84: // sum.blueaccount_delete_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountDeleteDomainMsg{msg}
+ return true, err
+ case 85: // sum.blueaccount_register_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountRegisterAccountMsg{msg}
+ return true, err
+ case 86: // sum.blueaccount_transfer_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountTransferAccountMsg{msg}
+ return true, err
+ case 87: // sum.blueaccount_replace_account_target_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.ReplaceAccountTargetsMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountReplaceAccountTargetMsg{msg}
+ return true, err
+ case 88: // sum.blueaccount_delete_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountDeleteAccountMsg{msg}
+ return true, err
+ case 89: // sum.blueaccount_update_configuration_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.UpdateConfigurationMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &Tx_BlueaccountUpdateConfigurationMsg{msg}
+ return true, err
default:
return false, nil
}
@@ -963,6 +1198,51 @@ func _Tx_OneofSizer(msg proto.Message) (n int) {
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
+ case *Tx_BlueaccountRegisterDomainMsg:
+ s := proto.Size(x.BlueaccountRegisterDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountTransferDomainMsg:
+ s := proto.Size(x.BlueaccountTransferDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountRenewDomainMsg:
+ s := proto.Size(x.BlueaccountRenewDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountDeleteDomainMsg:
+ s := proto.Size(x.BlueaccountDeleteDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountRegisterAccountMsg:
+ s := proto.Size(x.BlueaccountRegisterAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountTransferAccountMsg:
+ s := proto.Size(x.BlueaccountTransferAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountReplaceAccountTargetMsg:
+ s := proto.Size(x.BlueaccountReplaceAccountTargetMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountDeleteAccountMsg:
+ s := proto.Size(x.BlueaccountDeleteAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Tx_BlueaccountUpdateConfigurationMsg:
+ s := proto.Size(x.BlueaccountUpdateConfigurationMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
@@ -1033,6 +1313,15 @@ type ExecuteBatchMsg_Union struct {
// *ExecuteBatchMsg_Union_DistributionMsg
// *ExecuteBatchMsg_Union_DistributionResetMsg
// *ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg
+ // *ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg
+ // *ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg
+ // *ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg
+ // *ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg
+ // *ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg
+ // *ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg
+ // *ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg
+ // *ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg
+ // *ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg
Sum isExecuteBatchMsg_Union_Sum `protobuf_oneof:"sum"`
}
@@ -1123,23 +1412,59 @@ type ExecuteBatchMsg_Union_DistributionResetMsg struct {
type ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg struct {
MsgfeeSetMsgFeeMsg *msgfee.SetMsgFeeMsg `protobuf:"bytes,80,opt,name=msgfee_set_msg_fee_msg,json=msgfeeSetMsgFeeMsg,proto3,oneof"`
}
-
-func (*ExecuteBatchMsg_Union_CashSendMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_EscrowCreateMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_EscrowReleaseMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_EscrowReturnMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_MultisigCreateMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_MultisigUpdateMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_CurrencyCreateMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_UsernameRegisterTokenMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_UsernameTransferTokenMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_DistributionCreateMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_DistributionMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_DistributionResetMsg) isExecuteBatchMsg_Union_Sum() {}
-func (*ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg) isExecuteBatchMsg_Union_Sum() {}
+type ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg struct {
+ BlueaccountRegisterDomainMsg *blueaccount.RegisterDomainMsg `protobuf:"bytes,81,opt,name=blueaccount_register_domain_msg,json=blueaccountRegisterDomainMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg struct {
+ BlueaccountTransferDomainMsg *blueaccount.TransferDomainMsg `protobuf:"bytes,82,opt,name=blueaccount_transfer_domain_msg,json=blueaccountTransferDomainMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg struct {
+ BlueaccountRenewDomainMsg *blueaccount.RenewDomainMsg `protobuf:"bytes,83,opt,name=blueaccount_renew_domain_msg,json=blueaccountRenewDomainMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg struct {
+ BlueaccountDeleteDomainMsg *blueaccount.DeleteDomainMsg `protobuf:"bytes,84,opt,name=blueaccount_delete_domain_msg,json=blueaccountDeleteDomainMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg struct {
+ BlueaccountRegisterAccountMsg *blueaccount.RegisterAccountMsg `protobuf:"bytes,85,opt,name=blueaccount_register_account_msg,json=blueaccountRegisterAccountMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg struct {
+ BlueaccountTransferAccountMsg *blueaccount.TransferAccountMsg `protobuf:"bytes,86,opt,name=blueaccount_transfer_account_msg,json=blueaccountTransferAccountMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg struct {
+ BlueaccountReplaceAccountTargetMsg *blueaccount.ReplaceAccountTargetsMsg `protobuf:"bytes,87,opt,name=blueaccount_replace_account_target_msg,json=blueaccountReplaceAccountTargetMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg struct {
+ BlueaccountDeleteAccountMsg *blueaccount.DeleteAccountMsg `protobuf:"bytes,88,opt,name=blueaccount_delete_account_msg,json=blueaccountDeleteAccountMsg,proto3,oneof"`
+}
+type ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg struct {
+ BlueaccountUpdateConfigurationMsg *blueaccount.UpdateConfigurationMsg `protobuf:"bytes,89,opt,name=blueaccount_update_configuration_msg,json=blueaccountUpdateConfigurationMsg,proto3,oneof"`
+}
+
+func (*ExecuteBatchMsg_Union_CashSendMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_EscrowCreateMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_EscrowReleaseMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_EscrowReturnMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_MultisigCreateMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_MultisigUpdateMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_CurrencyCreateMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_UsernameRegisterTokenMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_UsernameTransferTokenMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_DistributionCreateMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_DistributionMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_DistributionResetMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg) isExecuteBatchMsg_Union_Sum() {}
+func (*ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg) isExecuteBatchMsg_Union_Sum() {}
func (m *ExecuteBatchMsg_Union) GetSum() isExecuteBatchMsg_Union_Sum {
if m != nil {
@@ -1260,6 +1585,69 @@ func (m *ExecuteBatchMsg_Union) GetMsgfeeSetMsgFeeMsg() *msgfee.SetMsgFeeMsg {
return nil
}
+func (m *ExecuteBatchMsg_Union) GetBlueaccountRegisterDomainMsg() *blueaccount.RegisterDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg); ok {
+ return x.BlueaccountRegisterDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountTransferDomainMsg() *blueaccount.TransferDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg); ok {
+ return x.BlueaccountTransferDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountRenewDomainMsg() *blueaccount.RenewDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg); ok {
+ return x.BlueaccountRenewDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountDeleteDomainMsg() *blueaccount.DeleteDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg); ok {
+ return x.BlueaccountDeleteDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountRegisterAccountMsg() *blueaccount.RegisterAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg); ok {
+ return x.BlueaccountRegisterAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountTransferAccountMsg() *blueaccount.TransferAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg); ok {
+ return x.BlueaccountTransferAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountReplaceAccountTargetMsg() *blueaccount.ReplaceAccountTargetsMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg); ok {
+ return x.BlueaccountReplaceAccountTargetMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountDeleteAccountMsg() *blueaccount.DeleteAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg); ok {
+ return x.BlueaccountDeleteAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteBatchMsg_Union) GetBlueaccountUpdateConfigurationMsg() *blueaccount.UpdateConfigurationMsg {
+ if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg); ok {
+ return x.BlueaccountUpdateConfigurationMsg
+ }
+ return nil
+}
+
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ExecuteBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ExecuteBatchMsg_Union_OneofMarshaler, _ExecuteBatchMsg_Union_OneofUnmarshaler, _ExecuteBatchMsg_Union_OneofSizer, []interface{}{
@@ -1279,6 +1667,15 @@ func (*ExecuteBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto
(*ExecuteBatchMsg_Union_DistributionMsg)(nil),
(*ExecuteBatchMsg_Union_DistributionResetMsg)(nil),
(*ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg)(nil),
+ (*ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg)(nil),
}
}
@@ -1366,6 +1763,51 @@ func _ExecuteBatchMsg_Union_OneofMarshaler(msg proto.Message, b *proto.Buffer) e
if err := b.EncodeMessage(x.MsgfeeSetMsgFeeMsg); err != nil {
return err
}
+ case *ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg:
+ _ = b.EncodeVarint(81<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg:
+ _ = b.EncodeVarint(82<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg:
+ _ = b.EncodeVarint(83<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRenewDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg:
+ _ = b.EncodeVarint(84<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg:
+ _ = b.EncodeVarint(85<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg:
+ _ = b.EncodeVarint(86<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg:
+ _ = b.EncodeVarint(87<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountReplaceAccountTargetMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg:
+ _ = b.EncodeVarint(88<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg:
+ _ = b.EncodeVarint(89<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountUpdateConfigurationMsg); err != nil {
+ return err
+ }
case nil:
default:
return fmt.Errorf("ExecuteBatchMsg_Union.Sum has unexpected type %T", x)
@@ -1504,6 +1946,78 @@ func _ExecuteBatchMsg_Union_OneofUnmarshaler(msg proto.Message, tag, wire int, b
err := b.DecodeMessage(msg)
m.Sum = &ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg{msg}
return true, err
+ case 81: // sum.blueaccount_register_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg{msg}
+ return true, err
+ case 82: // sum.blueaccount_transfer_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg{msg}
+ return true, err
+ case 83: // sum.blueaccount_renew_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RenewDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg{msg}
+ return true, err
+ case 84: // sum.blueaccount_delete_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg{msg}
+ return true, err
+ case 85: // sum.blueaccount_register_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg{msg}
+ return true, err
+ case 86: // sum.blueaccount_transfer_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg{msg}
+ return true, err
+ case 87: // sum.blueaccount_replace_account_target_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.ReplaceAccountTargetsMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg{msg}
+ return true, err
+ case 88: // sum.blueaccount_delete_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg{msg}
+ return true, err
+ case 89: // sum.blueaccount_update_configuration_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.UpdateConfigurationMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg{msg}
+ return true, err
default:
return false, nil
}
@@ -1593,6 +2107,51 @@ func _ExecuteBatchMsg_Union_OneofSizer(msg proto.Message) (n int) {
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
+ case *ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg:
+ s := proto.Size(x.BlueaccountRegisterDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg:
+ s := proto.Size(x.BlueaccountTransferDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg:
+ s := proto.Size(x.BlueaccountRenewDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg:
+ s := proto.Size(x.BlueaccountDeleteDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg:
+ s := proto.Size(x.BlueaccountRegisterAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg:
+ s := proto.Size(x.BlueaccountTransferAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg:
+ s := proto.Size(x.BlueaccountReplaceAccountTargetMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg:
+ s := proto.Size(x.BlueaccountDeleteAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg:
+ s := proto.Size(x.BlueaccountUpdateConfigurationMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
@@ -1622,6 +2181,15 @@ type ProposalOptions struct {
// *ProposalOptions_GovUpdateElectionRuleMsg
// *ProposalOptions_GovCreateTextResolutionMsg
// *ProposalOptions_MsgfeeSetMsgFeeMsg
+ // *ProposalOptions_BlueaccountRegisterDomainMsg
+ // *ProposalOptions_BlueaccountTransferDomainMsg
+ // *ProposalOptions_BlueaccountRenewDomainMsg
+ // *ProposalOptions_BlueaccountDeleteDomainMsg
+ // *ProposalOptions_BlueaccountRegisterAccountMsg
+ // *ProposalOptions_BlueaccountTransferAccountMsg
+ // *ProposalOptions_BlueaccountReplaceAccountTargetMsg
+ // *ProposalOptions_BlueaccountDeleteAccountMsg
+ // *ProposalOptions_BlueaccountUpdateConfigurationMsg
Option isProposalOptions_Option `protobuf_oneof:"option"`
}
@@ -1718,25 +2286,61 @@ type ProposalOptions_GovCreateTextResolutionMsg struct {
type ProposalOptions_MsgfeeSetMsgFeeMsg struct {
MsgfeeSetMsgFeeMsg *msgfee.SetMsgFeeMsg `protobuf:"bytes,80,opt,name=msgfee_set_msg_fee_msg,json=msgfeeSetMsgFeeMsg,proto3,oneof"`
}
-
-func (*ProposalOptions_CashSendMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_EscrowReleaseMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_UpdateEscrowPartiesMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_MultisigUpdateMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_ValidatorsApplyDiffMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_CurrencyCreateMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_ExecuteProposalBatchMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_UsernameRegisterTokenMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_UsernameTransferTokenMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_UsernameChangeTokenTargetsMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_DistributionCreateMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_DistributionMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_DistributionResetMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_MigrationUpgradeSchemaMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_GovUpdateElectorateMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_GovUpdateElectionRuleMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_GovCreateTextResolutionMsg) isProposalOptions_Option() {}
-func (*ProposalOptions_MsgfeeSetMsgFeeMsg) isProposalOptions_Option() {}
+type ProposalOptions_BlueaccountRegisterDomainMsg struct {
+ BlueaccountRegisterDomainMsg *blueaccount.RegisterDomainMsg `protobuf:"bytes,81,opt,name=blueaccount_register_domain_msg,json=blueaccountRegisterDomainMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountTransferDomainMsg struct {
+ BlueaccountTransferDomainMsg *blueaccount.TransferDomainMsg `protobuf:"bytes,82,opt,name=blueaccount_transfer_domain_msg,json=blueaccountTransferDomainMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountRenewDomainMsg struct {
+ BlueaccountRenewDomainMsg *blueaccount.RenewDomainMsg `protobuf:"bytes,83,opt,name=blueaccount_renew_domain_msg,json=blueaccountRenewDomainMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountDeleteDomainMsg struct {
+ BlueaccountDeleteDomainMsg *blueaccount.DeleteDomainMsg `protobuf:"bytes,84,opt,name=blueaccount_delete_domain_msg,json=blueaccountDeleteDomainMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountRegisterAccountMsg struct {
+ BlueaccountRegisterAccountMsg *blueaccount.RegisterAccountMsg `protobuf:"bytes,85,opt,name=blueaccount_register_account_msg,json=blueaccountRegisterAccountMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountTransferAccountMsg struct {
+ BlueaccountTransferAccountMsg *blueaccount.TransferAccountMsg `protobuf:"bytes,86,opt,name=blueaccount_transfer_account_msg,json=blueaccountTransferAccountMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountReplaceAccountTargetMsg struct {
+ BlueaccountReplaceAccountTargetMsg *blueaccount.ReplaceAccountTargetsMsg `protobuf:"bytes,87,opt,name=blueaccount_replace_account_target_msg,json=blueaccountReplaceAccountTargetMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountDeleteAccountMsg struct {
+ BlueaccountDeleteAccountMsg *blueaccount.DeleteAccountMsg `protobuf:"bytes,88,opt,name=blueaccount_delete_account_msg,json=blueaccountDeleteAccountMsg,proto3,oneof"`
+}
+type ProposalOptions_BlueaccountUpdateConfigurationMsg struct {
+ BlueaccountUpdateConfigurationMsg *blueaccount.UpdateConfigurationMsg `protobuf:"bytes,89,opt,name=blueaccount_update_configuration_msg,json=blueaccountUpdateConfigurationMsg,proto3,oneof"`
+}
+
+func (*ProposalOptions_CashSendMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_EscrowReleaseMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_UpdateEscrowPartiesMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_MultisigUpdateMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_ValidatorsApplyDiffMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_CurrencyCreateMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_ExecuteProposalBatchMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_UsernameRegisterTokenMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_UsernameTransferTokenMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_UsernameChangeTokenTargetsMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_DistributionCreateMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_DistributionMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_DistributionResetMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_MigrationUpgradeSchemaMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_GovUpdateElectorateMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_GovUpdateElectionRuleMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_GovCreateTextResolutionMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_MsgfeeSetMsgFeeMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountRegisterDomainMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountTransferDomainMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountRenewDomainMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountDeleteDomainMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountRegisterAccountMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountTransferAccountMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountReplaceAccountTargetMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountDeleteAccountMsg) isProposalOptions_Option() {}
+func (*ProposalOptions_BlueaccountUpdateConfigurationMsg) isProposalOptions_Option() {}
func (m *ProposalOptions) GetOption() isProposalOptions_Option {
if m != nil {
@@ -1871,7 +2475,70 @@ func (m *ProposalOptions) GetMsgfeeSetMsgFeeMsg() *msgfee.SetMsgFeeMsg {
return nil
}
-// XXX_OneofFuncs is for the internal use of the proto package.
+func (m *ProposalOptions) GetBlueaccountRegisterDomainMsg() *blueaccount.RegisterDomainMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountRegisterDomainMsg); ok {
+ return x.BlueaccountRegisterDomainMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountTransferDomainMsg() *blueaccount.TransferDomainMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountTransferDomainMsg); ok {
+ return x.BlueaccountTransferDomainMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountRenewDomainMsg() *blueaccount.RenewDomainMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountRenewDomainMsg); ok {
+ return x.BlueaccountRenewDomainMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountDeleteDomainMsg() *blueaccount.DeleteDomainMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountDeleteDomainMsg); ok {
+ return x.BlueaccountDeleteDomainMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountRegisterAccountMsg() *blueaccount.RegisterAccountMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountRegisterAccountMsg); ok {
+ return x.BlueaccountRegisterAccountMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountTransferAccountMsg() *blueaccount.TransferAccountMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountTransferAccountMsg); ok {
+ return x.BlueaccountTransferAccountMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountReplaceAccountTargetMsg() *blueaccount.ReplaceAccountTargetsMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountReplaceAccountTargetMsg); ok {
+ return x.BlueaccountReplaceAccountTargetMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountDeleteAccountMsg() *blueaccount.DeleteAccountMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountDeleteAccountMsg); ok {
+ return x.BlueaccountDeleteAccountMsg
+ }
+ return nil
+}
+
+func (m *ProposalOptions) GetBlueaccountUpdateConfigurationMsg() *blueaccount.UpdateConfigurationMsg {
+ if x, ok := m.GetOption().(*ProposalOptions_BlueaccountUpdateConfigurationMsg); ok {
+ return x.BlueaccountUpdateConfigurationMsg
+ }
+ return nil
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ProposalOptions_OneofMarshaler, _ProposalOptions_OneofUnmarshaler, _ProposalOptions_OneofSizer, []interface{}{
(*ProposalOptions_CashSendMsg)(nil),
@@ -1892,6 +2559,15 @@ func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffe
(*ProposalOptions_GovUpdateElectionRuleMsg)(nil),
(*ProposalOptions_GovCreateTextResolutionMsg)(nil),
(*ProposalOptions_MsgfeeSetMsgFeeMsg)(nil),
+ (*ProposalOptions_BlueaccountRegisterDomainMsg)(nil),
+ (*ProposalOptions_BlueaccountTransferDomainMsg)(nil),
+ (*ProposalOptions_BlueaccountRenewDomainMsg)(nil),
+ (*ProposalOptions_BlueaccountDeleteDomainMsg)(nil),
+ (*ProposalOptions_BlueaccountRegisterAccountMsg)(nil),
+ (*ProposalOptions_BlueaccountTransferAccountMsg)(nil),
+ (*ProposalOptions_BlueaccountReplaceAccountTargetMsg)(nil),
+ (*ProposalOptions_BlueaccountDeleteAccountMsg)(nil),
+ (*ProposalOptions_BlueaccountUpdateConfigurationMsg)(nil),
}
}
@@ -1989,6 +2665,51 @@ func _ProposalOptions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
if err := b.EncodeMessage(x.MsgfeeSetMsgFeeMsg); err != nil {
return err
}
+ case *ProposalOptions_BlueaccountRegisterDomainMsg:
+ _ = b.EncodeVarint(81<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterDomainMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountTransferDomainMsg:
+ _ = b.EncodeVarint(82<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferDomainMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountRenewDomainMsg:
+ _ = b.EncodeVarint(83<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRenewDomainMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountDeleteDomainMsg:
+ _ = b.EncodeVarint(84<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteDomainMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountRegisterAccountMsg:
+ _ = b.EncodeVarint(85<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterAccountMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountTransferAccountMsg:
+ _ = b.EncodeVarint(86<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferAccountMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountReplaceAccountTargetMsg:
+ _ = b.EncodeVarint(87<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountReplaceAccountTargetMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountDeleteAccountMsg:
+ _ = b.EncodeVarint(88<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteAccountMsg); err != nil {
+ return err
+ }
+ case *ProposalOptions_BlueaccountUpdateConfigurationMsg:
+ _ = b.EncodeVarint(89<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountUpdateConfigurationMsg); err != nil {
+ return err
+ }
case nil:
default:
return fmt.Errorf("ProposalOptions.Option has unexpected type %T", x)
@@ -2143,6 +2864,78 @@ func _ProposalOptions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *prot
err := b.DecodeMessage(msg)
m.Option = &ProposalOptions_MsgfeeSetMsgFeeMsg{msg}
return true, err
+ case 81: // option.blueaccount_register_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountRegisterDomainMsg{msg}
+ return true, err
+ case 82: // option.blueaccount_transfer_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountTransferDomainMsg{msg}
+ return true, err
+ case 83: // option.blueaccount_renew_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RenewDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountRenewDomainMsg{msg}
+ return true, err
+ case 84: // option.blueaccount_delete_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountDeleteDomainMsg{msg}
+ return true, err
+ case 85: // option.blueaccount_register_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountRegisterAccountMsg{msg}
+ return true, err
+ case 86: // option.blueaccount_transfer_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountTransferAccountMsg{msg}
+ return true, err
+ case 87: // option.blueaccount_replace_account_target_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.ReplaceAccountTargetsMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountReplaceAccountTargetMsg{msg}
+ return true, err
+ case 88: // option.blueaccount_delete_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountDeleteAccountMsg{msg}
+ return true, err
+ case 89: // option.blueaccount_update_configuration_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.UpdateConfigurationMsg)
+ err := b.DecodeMessage(msg)
+ m.Option = &ProposalOptions_BlueaccountUpdateConfigurationMsg{msg}
+ return true, err
default:
return false, nil
}
@@ -2242,6 +3035,51 @@ func _ProposalOptions_OneofSizer(msg proto.Message) (n int) {
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
+ case *ProposalOptions_BlueaccountRegisterDomainMsg:
+ s := proto.Size(x.BlueaccountRegisterDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountTransferDomainMsg:
+ s := proto.Size(x.BlueaccountTransferDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountRenewDomainMsg:
+ s := proto.Size(x.BlueaccountRenewDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountDeleteDomainMsg:
+ s := proto.Size(x.BlueaccountDeleteDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountRegisterAccountMsg:
+ s := proto.Size(x.BlueaccountRegisterAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountTransferAccountMsg:
+ s := proto.Size(x.BlueaccountTransferAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountReplaceAccountTargetMsg:
+ s := proto.Size(x.BlueaccountReplaceAccountTargetMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountDeleteAccountMsg:
+ s := proto.Size(x.BlueaccountDeleteAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ProposalOptions_BlueaccountUpdateConfigurationMsg:
+ s := proto.Size(x.BlueaccountUpdateConfigurationMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
@@ -2310,6 +3148,15 @@ type ExecuteProposalBatchMsg_Union struct {
// *ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg
// *ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg
// *ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg
+ // *ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg
Sum isExecuteProposalBatchMsg_Union_Sum `protobuf_oneof:"sum"`
}
@@ -2397,6 +3244,33 @@ type ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg struct {
type ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg struct {
MsgfeeSetMsgFeeMsg *msgfee.SetMsgFeeMsg `protobuf:"bytes,80,opt,name=msgfee_set_msg_fee_msg,json=msgfeeSetMsgFeeMsg,proto3,oneof"`
}
+type ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg struct {
+ BlueaccountRegisterDomainMsg *blueaccount.RegisterDomainMsg `protobuf:"bytes,81,opt,name=blueaccount_register_domain_msg,json=blueaccountRegisterDomainMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg struct {
+ BlueaccountTransferDomainMsg *blueaccount.TransferDomainMsg `protobuf:"bytes,82,opt,name=blueaccount_transfer_domain_msg,json=blueaccountTransferDomainMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg struct {
+ BlueaccountRenewDomainMsg *blueaccount.RenewDomainMsg `protobuf:"bytes,83,opt,name=blueaccount_renew_domain_msg,json=blueaccountRenewDomainMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg struct {
+ BlueaccountDeleteDomainMsg *blueaccount.DeleteDomainMsg `protobuf:"bytes,84,opt,name=blueaccount_delete_domain_msg,json=blueaccountDeleteDomainMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg struct {
+ BlueaccountRegisterAccountMsg *blueaccount.RegisterAccountMsg `protobuf:"bytes,85,opt,name=blueaccount_register_account_msg,json=blueaccountRegisterAccountMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg struct {
+ BlueaccountTransferAccountMsg *blueaccount.TransferAccountMsg `protobuf:"bytes,86,opt,name=blueaccount_transfer_account_msg,json=blueaccountTransferAccountMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg struct {
+ BlueaccountReplaceAccountTargetMsg *blueaccount.ReplaceAccountTargetsMsg `protobuf:"bytes,87,opt,name=blueaccount_replace_account_target_msg,json=blueaccountReplaceAccountTargetMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg struct {
+ BlueaccountDeleteAccountMsg *blueaccount.DeleteAccountMsg `protobuf:"bytes,88,opt,name=blueaccount_delete_account_msg,json=blueaccountDeleteAccountMsg,proto3,oneof"`
+}
+type ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg struct {
+ BlueaccountUpdateConfigurationMsg *blueaccount.UpdateConfigurationMsg `protobuf:"bytes,89,opt,name=blueaccount_update_configuration_msg,json=blueaccountUpdateConfigurationMsg,proto3,oneof"`
+}
func (*ExecuteProposalBatchMsg_Union_SendMsg) isExecuteProposalBatchMsg_Union_Sum() {}
func (*ExecuteProposalBatchMsg_Union_EscrowReleaseMsg) isExecuteProposalBatchMsg_Union_Sum() {}
@@ -2415,6 +3289,24 @@ func (*ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg) isExecuteProposal
func (*ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg) isExecuteProposalBatchMsg_Union_Sum() {
}
func (*ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg) isExecuteProposalBatchMsg_Union_Sum() {}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
+func (*ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg) isExecuteProposalBatchMsg_Union_Sum() {
+}
func (m *ExecuteProposalBatchMsg_Union) GetSum() isExecuteProposalBatchMsg_Union_Sum {
if m != nil {
@@ -2528,6 +3420,69 @@ func (m *ExecuteProposalBatchMsg_Union) GetMsgfeeSetMsgFeeMsg() *msgfee.SetMsgFe
return nil
}
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountRegisterDomainMsg() *blueaccount.RegisterDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg); ok {
+ return x.BlueaccountRegisterDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountTransferDomainMsg() *blueaccount.TransferDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg); ok {
+ return x.BlueaccountTransferDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountRenewDomainMsg() *blueaccount.RenewDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg); ok {
+ return x.BlueaccountRenewDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountDeleteDomainMsg() *blueaccount.DeleteDomainMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg); ok {
+ return x.BlueaccountDeleteDomainMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountRegisterAccountMsg() *blueaccount.RegisterAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg); ok {
+ return x.BlueaccountRegisterAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountTransferAccountMsg() *blueaccount.TransferAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg); ok {
+ return x.BlueaccountTransferAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountReplaceAccountTargetMsg() *blueaccount.ReplaceAccountTargetsMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg); ok {
+ return x.BlueaccountReplaceAccountTargetMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountDeleteAccountMsg() *blueaccount.DeleteAccountMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg); ok {
+ return x.BlueaccountDeleteAccountMsg
+ }
+ return nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) GetBlueaccountUpdateConfigurationMsg() *blueaccount.UpdateConfigurationMsg {
+ if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg); ok {
+ return x.BlueaccountUpdateConfigurationMsg
+ }
+ return nil
+}
+
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ExecuteProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ExecuteProposalBatchMsg_Union_OneofMarshaler, _ExecuteProposalBatchMsg_Union_OneofUnmarshaler, _ExecuteProposalBatchMsg_Union_OneofSizer, []interface{}{
@@ -2546,6 +3501,15 @@ func (*ExecuteProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message,
(*ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg)(nil),
(*ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg)(nil),
(*ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg)(nil),
+ (*ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg)(nil),
}
}
@@ -2628,6 +3592,51 @@ func _ExecuteProposalBatchMsg_Union_OneofMarshaler(msg proto.Message, b *proto.B
if err := b.EncodeMessage(x.MsgfeeSetMsgFeeMsg); err != nil {
return err
}
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg:
+ _ = b.EncodeVarint(81<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg:
+ _ = b.EncodeVarint(82<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg:
+ _ = b.EncodeVarint(83<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRenewDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg:
+ _ = b.EncodeVarint(84<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteDomainMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg:
+ _ = b.EncodeVarint(85<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountRegisterAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg:
+ _ = b.EncodeVarint(86<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountTransferAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg:
+ _ = b.EncodeVarint(87<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountReplaceAccountTargetMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg:
+ _ = b.EncodeVarint(88<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountDeleteAccountMsg); err != nil {
+ return err
+ }
+ case *ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg:
+ _ = b.EncodeVarint(89<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.BlueaccountUpdateConfigurationMsg); err != nil {
+ return err
+ }
case nil:
default:
return fmt.Errorf("ExecuteProposalBatchMsg_Union.Sum has unexpected type %T", x)
@@ -2758,6 +3767,78 @@ func _ExecuteProposalBatchMsg_Union_OneofUnmarshaler(msg proto.Message, tag, wir
err := b.DecodeMessage(msg)
m.Sum = &ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg{msg}
return true, err
+ case 81: // sum.blueaccount_register_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg{msg}
+ return true, err
+ case 82: // sum.blueaccount_transfer_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg{msg}
+ return true, err
+ case 83: // sum.blueaccount_renew_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RenewDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg{msg}
+ return true, err
+ case 84: // sum.blueaccount_delete_domain_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteDomainMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg{msg}
+ return true, err
+ case 85: // sum.blueaccount_register_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.RegisterAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg{msg}
+ return true, err
+ case 86: // sum.blueaccount_transfer_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.TransferAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg{msg}
+ return true, err
+ case 87: // sum.blueaccount_replace_account_target_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.ReplaceAccountTargetsMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg{msg}
+ return true, err
+ case 88: // sum.blueaccount_delete_account_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.DeleteAccountMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg{msg}
+ return true, err
+ case 89: // sum.blueaccount_update_configuration_msg
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(blueaccount.UpdateConfigurationMsg)
+ err := b.DecodeMessage(msg)
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg{msg}
+ return true, err
default:
return false, nil
}
@@ -2842,18 +3923,63 @@ func _ExecuteProposalBatchMsg_Union_OneofSizer(msg proto.Message) (n int) {
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-// CronTask is a format used by the CronMarshaler to marshal and unmarshal cron
-// task.
-//
-// When there is a gap in message sequence numbers - that most likely means some
-// old fields got deprecated. This is done to maintain binary compatibility.
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg:
+ s := proto.Size(x.BlueaccountRegisterDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg:
+ s := proto.Size(x.BlueaccountTransferDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg:
+ s := proto.Size(x.BlueaccountRenewDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg:
+ s := proto.Size(x.BlueaccountDeleteDomainMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg:
+ s := proto.Size(x.BlueaccountRegisterAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg:
+ s := proto.Size(x.BlueaccountTransferAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg:
+ s := proto.Size(x.BlueaccountReplaceAccountTargetMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg:
+ s := proto.Size(x.BlueaccountDeleteAccountMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg:
+ s := proto.Size(x.BlueaccountUpdateConfigurationMsg)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+// CronTask is a format used by the CronMarshaler to marshal and unmarshal cron
+// task.
+//
+// When there is a gap in message sequence numbers - that most likely means some
+// old fields got deprecated. This is done to maintain binary compatibility.
type CronTask struct {
// Authenticators contains a list of conditions that authenticate execution
// of this task.
@@ -3128,90 +4254,107 @@ func init() {
func init() { proto.RegisterFile("cmd/bnsd/app/codec.proto", fileDescriptor_a8efb1d2ea3c411d) }
var fileDescriptor_a8efb1d2ea3c411d = []byte{
- // 1326 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x99, 0x4d, 0x73, 0x14, 0xc5,
- 0x1f, 0xc7, 0x13, 0x12, 0xf8, 0xe7, 0xdf, 0x04, 0x92, 0x34, 0x21, 0xd9, 0x2c, 0xb0, 0x81, 0x58,
- 0x65, 0x51, 0x56, 0x39, 0x63, 0x11, 0x9f, 0x05, 0x29, 0x37, 0x09, 0x02, 0xca, 0x83, 0x9b, 0x8d,
- 0x17, 0xd1, 0xa9, 0xce, 0x4c, 0xef, 0x64, 0x8a, 0xd9, 0xe9, 0xad, 0xe9, 0x9e, 0x65, 0x78, 0x05,
- 0x5e, 0x7d, 0x3f, 0x1e, 0x3c, 0xca, 0x4d, 0x8e, 0x9e, 0x28, 0x0b, 0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(dAtA []byte) (int, error) {
}
return i, nil
}
+func (m *Tx_BlueaccountRegisterDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterDomainMsg != nil {
+ dAtA[i] = 0x8a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterDomainMsg.Size()))
+ n29, err := m.BlueaccountRegisterDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n29
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountTransferDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountTransferDomainMsg != nil {
+ dAtA[i] = 0x92
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferDomainMsg.Size()))
+ n30, err := m.BlueaccountTransferDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n30
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountRenewDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRenewDomainMsg != nil {
+ dAtA[i] = 0x9a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRenewDomainMsg.Size()))
+ n31, err := m.BlueaccountRenewDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n31
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountDeleteDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountDeleteDomainMsg != nil {
+ dAtA[i] = 0xa2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteDomainMsg.Size()))
+ n32, err := m.BlueaccountDeleteDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n32
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountRegisterAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterAccountMsg != nil {
+ dAtA[i] = 0xaa
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterAccountMsg.Size()))
+ n33, err := m.BlueaccountRegisterAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n33
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountTransferAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountTransferAccountMsg != nil {
+ dAtA[i] = 0xb2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferAccountMsg.Size()))
+ n34, err := m.BlueaccountTransferAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n34
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountReplaceAccountTargetMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ dAtA[i] = 0xba
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountReplaceAccountTargetMsg.Size()))
+ n35, err := m.BlueaccountReplaceAccountTargetMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n35
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountDeleteAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountDeleteAccountMsg != nil {
+ dAtA[i] = 0xc2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteAccountMsg.Size()))
+ n36, err := m.BlueaccountDeleteAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n36
+ }
+ return i, nil
+}
+func (m *Tx_BlueaccountUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountUpdateConfigurationMsg.Size()))
+ n37, err := m.BlueaccountUpdateConfigurationMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n37
+ }
+ return i, nil
+}
func (m *ExecuteBatchMsg) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -3731,11 +5018,11 @@ func (m *ExecuteBatchMsg_Union) MarshalTo(dAtA []byte) (int, error) {
var l int
_ = l
if m.Sum != nil {
- nn29, err := m.Sum.MarshalTo(dAtA[i:])
+ nn38, err := m.Sum.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn29
+ i += nn38
}
return i, nil
}
@@ -3748,11 +5035,11 @@ func (m *ExecuteBatchMsg_Union_CashSendMsg) MarshalTo(dAtA []byte) (int, error)
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.CashSendMsg.Size()))
- n30, err := m.CashSendMsg.MarshalTo(dAtA[i:])
+ n39, err := m.CashSendMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n30
+ i += n39
}
return i, nil
}
@@ -3764,11 +5051,11 @@ func (m *ExecuteBatchMsg_Union_EscrowCreateMsg) MarshalTo(dAtA []byte) (int, err
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowCreateMsg.Size()))
- n31, err := m.EscrowCreateMsg.MarshalTo(dAtA[i:])
+ n40, err := m.EscrowCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n31
+ i += n40
}
return i, nil
}
@@ -3780,11 +5067,11 @@ func (m *ExecuteBatchMsg_Union_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, er
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
- n32, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ n41, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n32
+ i += n41
}
return i, nil
}
@@ -3796,11 +5083,11 @@ func (m *ExecuteBatchMsg_Union_EscrowReturnMsg) MarshalTo(dAtA []byte) (int, err
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReturnMsg.Size()))
- n33, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:])
+ n42, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n33
+ i += n42
}
return i, nil
}
@@ -3812,11 +5099,11 @@ func (m *ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg) MarshalTo(dAtA []byte) (i
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowUpdatePartiesMsg.Size()))
- n34, err := m.EscrowUpdatePartiesMsg.MarshalTo(dAtA[i:])
+ n43, err := m.EscrowUpdatePartiesMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n34
+ i += n43
}
return i, nil
}
@@ -3828,11 +5115,11 @@ func (m *ExecuteBatchMsg_Union_MultisigCreateMsg) MarshalTo(dAtA []byte) (int, e
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MultisigCreateMsg.Size()))
- n35, err := m.MultisigCreateMsg.MarshalTo(dAtA[i:])
+ n44, err := m.MultisigCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n35
+ i += n44
}
return i, nil
}
@@ -3844,11 +5131,11 @@ func (m *ExecuteBatchMsg_Union_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, e
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size()))
- n36, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
+ n45, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n36
+ i += n45
}
return i, nil
}
@@ -3860,11 +5147,11 @@ func (m *ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (i
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size()))
- n37, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
+ n46, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n37
+ i += n46
}
return i, nil
}
@@ -3876,11 +5163,11 @@ func (m *ExecuteBatchMsg_Union_CurrencyCreateMsg) MarshalTo(dAtA []byte) (int, e
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.CurrencyCreateMsg.Size()))
- n38, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:])
+ n47, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n38
+ i += n47
}
return i, nil
}
@@ -3892,11 +5179,11 @@ func (m *ExecuteBatchMsg_Union_UsernameRegisterTokenMsg) MarshalTo(dAtA []byte)
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size()))
- n39, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
+ n48, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n39
+ i += n48
}
return i, nil
}
@@ -3908,11 +5195,11 @@ func (m *ExecuteBatchMsg_Union_UsernameTransferTokenMsg) MarshalTo(dAtA []byte)
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size()))
- n40, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
+ n49, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n40
+ i += n49
}
return i, nil
}
@@ -3924,11 +5211,11 @@ func (m *ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg) MarshalTo(dAtA []b
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size()))
- n41, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
+ n50, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n41
+ i += n50
}
return i, nil
}
@@ -3940,11 +5227,11 @@ func (m *ExecuteBatchMsg_Union_DistributionCreateMsg) MarshalTo(dAtA []byte) (in
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size()))
- n42, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
+ n51, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n42
+ i += n51
}
return i, nil
}
@@ -3956,11 +5243,11 @@ func (m *ExecuteBatchMsg_Union_DistributionMsg) MarshalTo(dAtA []byte) (int, err
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size()))
- n43, err := m.DistributionMsg.MarshalTo(dAtA[i:])
+ n52, err := m.DistributionMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n43
+ i += n52
}
return i, nil
}
@@ -3972,11 +5259,11 @@ func (m *ExecuteBatchMsg_Union_DistributionResetMsg) MarshalTo(dAtA []byte) (int
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size()))
- n44, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
+ n53, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n44
+ i += n53
}
return i, nil
}
@@ -3988,148 +5275,292 @@ func (m *ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x5
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size()))
- n45, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
+ n54, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n45
+ i += n54
}
return i, nil
}
-func (m *ProposalOptions) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *ProposalOptions) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Option != nil {
- nn46, err := m.Option.MarshalTo(dAtA[i:])
+func (m *ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterDomainMsg != nil {
+ dAtA[i] = 0x8a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterDomainMsg.Size()))
+ n55, err := m.BlueaccountRegisterDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn46
+ i += n55
}
return i, nil
}
-
-func (m *ProposalOptions_CashSendMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.CashSendMsg != nil {
- dAtA[i] = 0x9a
+ if m.BlueaccountTransferDomainMsg != nil {
+ dAtA[i] = 0x92
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.CashSendMsg.Size()))
- n47, err := m.CashSendMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferDomainMsg.Size()))
+ n56, err := m.BlueaccountTransferDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n47
+ i += n56
}
return i, nil
}
-func (m *ProposalOptions_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.EscrowReleaseMsg != nil {
- dAtA[i] = 0xaa
+ if m.BlueaccountRenewDomainMsg != nil {
+ dAtA[i] = 0x9a
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
- n48, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRenewDomainMsg.Size()))
+ n57, err := m.BlueaccountRenewDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n48
+ i += n57
}
return i, nil
}
-func (m *ProposalOptions_UpdateEscrowPartiesMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.UpdateEscrowPartiesMsg != nil {
- dAtA[i] = 0xba
+ if m.BlueaccountDeleteDomainMsg != nil {
+ dAtA[i] = 0xa2
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size()))
- n49, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteDomainMsg.Size()))
+ n58, err := m.BlueaccountDeleteDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n49
+ i += n58
}
return i, nil
}
-func (m *ProposalOptions_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.MultisigUpdateMsg != nil {
- dAtA[i] = 0xca
+ if m.BlueaccountRegisterAccountMsg != nil {
+ dAtA[i] = 0xaa
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size()))
- n50, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterAccountMsg.Size()))
+ n59, err := m.BlueaccountRegisterAccountMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n50
+ i += n59
}
return i, nil
}
-func (m *ProposalOptions_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.ValidatorsApplyDiffMsg != nil {
- dAtA[i] = 0xd2
+ if m.BlueaccountTransferAccountMsg != nil {
+ dAtA[i] = 0xb2
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size()))
- n51, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferAccountMsg.Size()))
+ n60, err := m.BlueaccountTransferAccountMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n51
+ i += n60
}
return i, nil
}
-func (m *ProposalOptions_CurrencyCreateMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.CurrencyCreateMsg != nil {
- dAtA[i] = 0xda
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ dAtA[i] = 0xba
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.CurrencyCreateMsg.Size()))
- n52, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountReplaceAccountTargetMsg.Size()))
+ n61, err := m.BlueaccountReplaceAccountTargetMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n52
+ i += n61
}
return i, nil
}
-func (m *ProposalOptions_ExecuteProposalBatchMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.ExecuteProposalBatchMsg != nil {
- dAtA[i] = 0xe2
+ if m.BlueaccountDeleteAccountMsg != nil {
+ dAtA[i] = 0xc2
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteAccountMsg.Size()))
+ n62, err := m.BlueaccountDeleteAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n62
+ }
+ return i, nil
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountUpdateConfigurationMsg.Size()))
+ n63, err := m.BlueaccountUpdateConfigurationMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n63
+ }
+ return i, nil
+}
+func (m *ProposalOptions) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ProposalOptions) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Option != nil {
+ nn64, err := m.Option.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += nn64
+ }
+ return i, nil
+}
+
+func (m *ProposalOptions_CashSendMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.CashSendMsg != nil {
+ dAtA[i] = 0x9a
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.CashSendMsg.Size()))
+ n65, err := m.CashSendMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n65
+ }
+ return i, nil
+}
+func (m *ProposalOptions_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.EscrowReleaseMsg != nil {
+ dAtA[i] = 0xaa
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
+ n66, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n66
+ }
+ return i, nil
+}
+func (m *ProposalOptions_UpdateEscrowPartiesMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.UpdateEscrowPartiesMsg != nil {
+ dAtA[i] = 0xba
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size()))
+ n67, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n67
+ }
+ return i, nil
+}
+func (m *ProposalOptions_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.MultisigUpdateMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size()))
+ n68, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n68
+ }
+ return i, nil
+}
+func (m *ProposalOptions_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.ValidatorsApplyDiffMsg != nil {
+ dAtA[i] = 0xd2
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size()))
+ n69, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n69
+ }
+ return i, nil
+}
+func (m *ProposalOptions_CurrencyCreateMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.CurrencyCreateMsg != nil {
+ dAtA[i] = 0xda
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.CurrencyCreateMsg.Size()))
+ n70, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n70
+ }
+ return i, nil
+}
+func (m *ProposalOptions_ExecuteProposalBatchMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.ExecuteProposalBatchMsg != nil {
+ dAtA[i] = 0xe2
+ i++
+ dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.ExecuteProposalBatchMsg.Size()))
- n53, err := m.ExecuteProposalBatchMsg.MarshalTo(dAtA[i:])
+ n71, err := m.ExecuteProposalBatchMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n53
+ i += n71
}
return i, nil
}
@@ -4141,11 +5572,11 @@ func (m *ProposalOptions_UsernameRegisterTokenMsg) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size()))
- n54, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
+ n72, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n54
+ i += n72
}
return i, nil
}
@@ -4157,11 +5588,11 @@ func (m *ProposalOptions_UsernameTransferTokenMsg) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size()))
- n55, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
+ n73, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n55
+ i += n73
}
return i, nil
}
@@ -4173,11 +5604,11 @@ func (m *ProposalOptions_UsernameChangeTokenTargetsMsg) MarshalTo(dAtA []byte) (
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size()))
- n56, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
+ n74, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n56
+ i += n74
}
return i, nil
}
@@ -4189,11 +5620,11 @@ func (m *ProposalOptions_DistributionCreateMsg) MarshalTo(dAtA []byte) (int, err
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size()))
- n57, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
+ n75, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n57
+ i += n75
}
return i, nil
}
@@ -4205,11 +5636,11 @@ func (m *ProposalOptions_DistributionMsg) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size()))
- n58, err := m.DistributionMsg.MarshalTo(dAtA[i:])
+ n76, err := m.DistributionMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n58
+ i += n76
}
return i, nil
}
@@ -4221,11 +5652,11 @@ func (m *ProposalOptions_DistributionResetMsg) MarshalTo(dAtA []byte) (int, erro
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size()))
- n59, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
+ n77, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n59
+ i += n77
}
return i, nil
}
@@ -4237,11 +5668,11 @@ func (m *ProposalOptions_MigrationUpgradeSchemaMsg) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MigrationUpgradeSchemaMsg.Size()))
- n60, err := m.MigrationUpgradeSchemaMsg.MarshalTo(dAtA[i:])
+ n78, err := m.MigrationUpgradeSchemaMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n60
+ i += n78
}
return i, nil
}
@@ -4253,11 +5684,11 @@ func (m *ProposalOptions_GovUpdateElectorateMsg) MarshalTo(dAtA []byte) (int, er
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectorateMsg.Size()))
- n61, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:])
+ n79, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n61
+ i += n79
}
return i, nil
}
@@ -4269,11 +5700,11 @@ func (m *ProposalOptions_GovUpdateElectionRuleMsg) MarshalTo(dAtA []byte) (int,
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectionRuleMsg.Size()))
- n62, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:])
+ n80, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n62
+ i += n80
}
return i, nil
}
@@ -4285,11 +5716,11 @@ func (m *ProposalOptions_GovCreateTextResolutionMsg) MarshalTo(dAtA []byte) (int
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovCreateTextResolutionMsg.Size()))
- n63, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:])
+ n81, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n63
+ i += n81
}
return i, nil
}
@@ -4301,146 +5732,290 @@ func (m *ProposalOptions_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte) (int, error)
dAtA[i] = 0x5
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size()))
- n64, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
+ n82, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n64
+ i += n82
}
return i, nil
}
-func (m *ExecuteProposalBatchMsg) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *ExecuteProposalBatchMsg) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Messages) > 0 {
- for _, msg := range m.Messages {
- dAtA[i] = 0xa
- i++
- i = encodeVarintCodec(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
+func (m *ProposalOptions_BlueaccountRegisterDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterDomainMsg != nil {
+ dAtA[i] = 0x8a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterDomainMsg.Size()))
+ n83, err := m.BlueaccountRegisterDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
}
+ i += n83
}
return i, nil
}
-
-func (m *ExecuteProposalBatchMsg_Union) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *ExecuteProposalBatchMsg_Union) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Sum != nil {
- nn65, err := m.Sum.MarshalTo(dAtA[i:])
+func (m *ProposalOptions_BlueaccountTransferDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountTransferDomainMsg != nil {
+ dAtA[i] = 0x92
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferDomainMsg.Size()))
+ n84, err := m.BlueaccountTransferDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn65
+ i += n84
}
return i, nil
}
-
-func (m *ExecuteProposalBatchMsg_Union_SendMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ProposalOptions_BlueaccountRenewDomainMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.SendMsg != nil {
+ if m.BlueaccountRenewDomainMsg != nil {
dAtA[i] = 0x9a
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.SendMsg.Size()))
- n66, err := m.SendMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRenewDomainMsg.Size()))
+ n85, err := m.BlueaccountRenewDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n66
+ i += n85
}
return i, nil
}
-func (m *ExecuteProposalBatchMsg_Union_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ProposalOptions_BlueaccountDeleteDomainMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.EscrowReleaseMsg != nil {
- dAtA[i] = 0xaa
+ if m.BlueaccountDeleteDomainMsg != nil {
+ dAtA[i] = 0xa2
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
- n67, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteDomainMsg.Size()))
+ n86, err := m.BlueaccountDeleteDomainMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n67
+ i += n86
}
return i, nil
}
-func (m *ExecuteProposalBatchMsg_Union_UpdateEscrowPartiesMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ProposalOptions_BlueaccountRegisterAccountMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.UpdateEscrowPartiesMsg != nil {
- dAtA[i] = 0xba
+ if m.BlueaccountRegisterAccountMsg != nil {
+ dAtA[i] = 0xaa
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size()))
- n68, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterAccountMsg.Size()))
+ n87, err := m.BlueaccountRegisterAccountMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n68
+ i += n87
}
return i, nil
}
-func (m *ExecuteProposalBatchMsg_Union_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ProposalOptions_BlueaccountTransferAccountMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.MultisigUpdateMsg != nil {
- dAtA[i] = 0xca
+ if m.BlueaccountTransferAccountMsg != nil {
+ dAtA[i] = 0xb2
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size()))
- n69, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferAccountMsg.Size()))
+ n88, err := m.BlueaccountTransferAccountMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n69
+ i += n88
}
return i, nil
}
-func (m *ExecuteProposalBatchMsg_Union_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (int, error) {
+func (m *ProposalOptions_BlueaccountReplaceAccountTargetMsg) MarshalTo(dAtA []byte) (int, error) {
i := 0
- if m.ValidatorsApplyDiffMsg != nil {
- dAtA[i] = 0xd2
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ dAtA[i] = 0xba
i++
- dAtA[i] = 0x3
+ dAtA[i] = 0x5
i++
- i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size()))
- n70, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountReplaceAccountTargetMsg.Size()))
+ n89, err := m.BlueaccountReplaceAccountTargetMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n70
+ i += n89
+ }
+ return i, nil
+}
+func (m *ProposalOptions_BlueaccountDeleteAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountDeleteAccountMsg != nil {
+ dAtA[i] = 0xc2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteAccountMsg.Size()))
+ n90, err := m.BlueaccountDeleteAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n90
+ }
+ return i, nil
+}
+func (m *ProposalOptions_BlueaccountUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountUpdateConfigurationMsg.Size()))
+ n91, err := m.BlueaccountUpdateConfigurationMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n91
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExecuteProposalBatchMsg) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Messages) > 0 {
+ for _, msg := range m.Messages {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ return i, nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalTo(dAtA)
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Sum != nil {
+ nn92, err := m.Sum.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += nn92
+ }
+ return i, nil
+}
+
+func (m *ExecuteProposalBatchMsg_Union_SendMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.SendMsg != nil {
+ dAtA[i] = 0x9a
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.SendMsg.Size()))
+ n93, err := m.SendMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n93
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.EscrowReleaseMsg != nil {
+ dAtA[i] = 0xaa
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
+ n94, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n94
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_UpdateEscrowPartiesMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.UpdateEscrowPartiesMsg != nil {
+ dAtA[i] = 0xba
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size()))
+ n95, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n95
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.MultisigUpdateMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size()))
+ n96, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n96
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.ValidatorsApplyDiffMsg != nil {
+ dAtA[i] = 0xd2
+ i++
+ dAtA[i] = 0x3
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size()))
+ n97, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n97
}
return i, nil
}
@@ -4452,11 +6027,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameRegisterTokenMsg) MarshalTo(dAtA
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size()))
- n71, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
+ n98, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n71
+ i += n98
}
return i, nil
}
@@ -4468,11 +6043,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameTransferTokenMsg) MarshalTo(dAtA
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size()))
- n72, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
+ n99, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n72
+ i += n99
}
return i, nil
}
@@ -4484,11 +6059,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameChangeTokenTargetsMsg) MarshalTo(
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size()))
- n73, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
+ n100, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n73
+ i += n100
}
return i, nil
}
@@ -4500,11 +6075,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionCreateMsg) MarshalTo(dAtA []b
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size()))
- n74, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
+ n101, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n74
+ i += n101
}
return i, nil
}
@@ -4516,11 +6091,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionMsg) MarshalTo(dAtA []byte) (
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size()))
- n75, err := m.DistributionMsg.MarshalTo(dAtA[i:])
+ n102, err := m.DistributionMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n75
+ i += n102
}
return i, nil
}
@@ -4532,11 +6107,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionResetMsg) MarshalTo(dAtA []by
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size()))
- n76, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
+ n103, err := m.DistributionResetMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n76
+ i += n103
}
return i, nil
}
@@ -4548,11 +6123,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovUpdateElectorateMsg) MarshalTo(dAtA []
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectorateMsg.Size()))
- n77, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:])
+ n104, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n77
+ i += n104
}
return i, nil
}
@@ -4564,11 +6139,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg) MarshalTo(dAtA
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectionRuleMsg.Size()))
- n78, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:])
+ n105, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n78
+ i += n105
}
return i, nil
}
@@ -4580,11 +6155,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg) MarshalTo(dAt
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovCreateTextResolutionMsg.Size()))
- n79, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:])
+ n106, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n79
+ i += n106
}
return i, nil
}
@@ -4596,11 +6171,155 @@ func (m *ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte
dAtA[i] = 0x5
i++
i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size()))
- n80, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
+ n107, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n80
+ i += n107
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterDomainMsg != nil {
+ dAtA[i] = 0x8a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterDomainMsg.Size()))
+ n108, err := m.BlueaccountRegisterDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n108
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountTransferDomainMsg != nil {
+ dAtA[i] = 0x92
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferDomainMsg.Size()))
+ n109, err := m.BlueaccountTransferDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n109
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRenewDomainMsg != nil {
+ dAtA[i] = 0x9a
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRenewDomainMsg.Size()))
+ n110, err := m.BlueaccountRenewDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n110
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountDeleteDomainMsg != nil {
+ dAtA[i] = 0xa2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteDomainMsg.Size()))
+ n111, err := m.BlueaccountDeleteDomainMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n111
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountRegisterAccountMsg != nil {
+ dAtA[i] = 0xaa
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountRegisterAccountMsg.Size()))
+ n112, err := m.BlueaccountRegisterAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n112
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountTransferAccountMsg != nil {
+ dAtA[i] = 0xb2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountTransferAccountMsg.Size()))
+ n113, err := m.BlueaccountTransferAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n113
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ dAtA[i] = 0xba
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountReplaceAccountTargetMsg.Size()))
+ n114, err := m.BlueaccountReplaceAccountTargetMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n114
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountDeleteAccountMsg != nil {
+ dAtA[i] = 0xc2
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountDeleteAccountMsg.Size()))
+ n115, err := m.BlueaccountDeleteAccountMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n115
+ }
+ return i, nil
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) {
+ i := 0
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ dAtA[i] = 0xca
+ i++
+ dAtA[i] = 0x5
+ i++
+ i = encodeVarintCodec(dAtA, i, uint64(m.BlueaccountUpdateConfigurationMsg.Size()))
+ n116, err := m.BlueaccountUpdateConfigurationMsg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n116
}
return i, nil
}
@@ -4628,11 +6347,11 @@ func (m *CronTask) MarshalTo(dAtA []byte) (int, error) {
}
}
if m.Sum != nil {
- nn81, err := m.Sum.MarshalTo(dAtA[i:])
+ nn117, err := m.Sum.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += nn81
+ i += nn117
}
return i, nil
}
@@ -4645,11 +6364,11 @@ func (m *CronTask_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size()))
- n82, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
+ n118, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n82
+ i += n118
}
return i, nil
}
@@ -4661,11 +6380,11 @@ func (m *CronTask_EscrowReturnMsg) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x3
i++
i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReturnMsg.Size()))
- n83, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:])
+ n119, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n83
+ i += n119
}
return i, nil
}
@@ -4677,11 +6396,11 @@ func (m *CronTask_DistributionDistributeMsg) MarshalTo(dAtA []byte) (int, error)
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.DistributionDistributeMsg.Size()))
- n84, err := m.DistributionDistributeMsg.MarshalTo(dAtA[i:])
+ n120, err := m.DistributionDistributeMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n84
+ i += n120
}
return i, nil
}
@@ -4693,11 +6412,11 @@ func (m *CronTask_AswapReleaseMsg) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.AswapReleaseMsg.Size()))
- n85, err := m.AswapReleaseMsg.MarshalTo(dAtA[i:])
+ n121, err := m.AswapReleaseMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n85
+ i += n121
}
return i, nil
}
@@ -4709,11 +6428,11 @@ func (m *CronTask_GovTallyMsg) MarshalTo(dAtA []byte) (int, error) {
dAtA[i] = 0x4
i++
i = encodeVarintCodec(dAtA, i, uint64(m.GovTallyMsg.Size()))
- n86, err := m.GovTallyMsg.MarshalTo(dAtA[i:])
+ n122, err := m.GovTallyMsg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
- i += n86
+ i += n122
}
return i, nil
}
@@ -5066,6 +6785,114 @@ func (m *Tx_MsgfeeSetMsgFeeMsg) Size() (n int) {
}
return n
}
+func (m *Tx_BlueaccountRegisterDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterDomainMsg != nil {
+ l = m.BlueaccountRegisterDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountTransferDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferDomainMsg != nil {
+ l = m.BlueaccountTransferDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountRenewDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRenewDomainMsg != nil {
+ l = m.BlueaccountRenewDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountDeleteDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteDomainMsg != nil {
+ l = m.BlueaccountDeleteDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountRegisterAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterAccountMsg != nil {
+ l = m.BlueaccountRegisterAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountTransferAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferAccountMsg != nil {
+ l = m.BlueaccountTransferAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountReplaceAccountTargetMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ l = m.BlueaccountReplaceAccountTargetMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountDeleteAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteAccountMsg != nil {
+ l = m.BlueaccountDeleteAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *Tx_BlueaccountUpdateConfigurationMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ l = m.BlueaccountUpdateConfigurationMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
func (m *ExecuteBatchMsg) Size() (n int) {
if m == nil {
return 0
@@ -5285,6 +7112,114 @@ func (m *ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg) Size() (n int) {
}
return n
}
+func (m *ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterDomainMsg != nil {
+ l = m.BlueaccountRegisterDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferDomainMsg != nil {
+ l = m.BlueaccountTransferDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRenewDomainMsg != nil {
+ l = m.BlueaccountRenewDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteDomainMsg != nil {
+ l = m.BlueaccountDeleteDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterAccountMsg != nil {
+ l = m.BlueaccountRegisterAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferAccountMsg != nil {
+ l = m.BlueaccountTransferAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ l = m.BlueaccountReplaceAccountTargetMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteAccountMsg != nil {
+ l = m.BlueaccountDeleteAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ l = m.BlueaccountUpdateConfigurationMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
func (m *ProposalOptions) Size() (n int) {
if m == nil {
return 0
@@ -5513,6 +7448,114 @@ func (m *ProposalOptions_MsgfeeSetMsgFeeMsg) Size() (n int) {
}
return n
}
+func (m *ProposalOptions_BlueaccountRegisterDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterDomainMsg != nil {
+ l = m.BlueaccountRegisterDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountTransferDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferDomainMsg != nil {
+ l = m.BlueaccountTransferDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountRenewDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRenewDomainMsg != nil {
+ l = m.BlueaccountRenewDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountDeleteDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteDomainMsg != nil {
+ l = m.BlueaccountDeleteDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountRegisterAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterAccountMsg != nil {
+ l = m.BlueaccountRegisterAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountTransferAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferAccountMsg != nil {
+ l = m.BlueaccountTransferAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountReplaceAccountTargetMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ l = m.BlueaccountReplaceAccountTargetMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountDeleteAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteAccountMsg != nil {
+ l = m.BlueaccountDeleteAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ProposalOptions_BlueaccountUpdateConfigurationMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ l = m.BlueaccountUpdateConfigurationMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
func (m *ExecuteProposalBatchMsg) Size() (n int) {
if m == nil {
return 0
@@ -5720,20 +7763,128 @@ func (m *ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg) Size() (n int) {
}
return n
}
-func (m *CronTask) Size() (n int) {
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Authenticators) > 0 {
- for _, b := range m.Authenticators {
- l = len(b)
- n += 1 + l + sovCodec(uint64(l))
- }
- }
- if m.Sum != nil {
- n += m.Sum.Size()
+ if m.BlueaccountRegisterDomainMsg != nil {
+ l = m.BlueaccountRegisterDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferDomainMsg != nil {
+ l = m.BlueaccountTransferDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRenewDomainMsg != nil {
+ l = m.BlueaccountRenewDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteDomainMsg != nil {
+ l = m.BlueaccountDeleteDomainMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountRegisterAccountMsg != nil {
+ l = m.BlueaccountRegisterAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountTransferAccountMsg != nil {
+ l = m.BlueaccountTransferAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountReplaceAccountTargetMsg != nil {
+ l = m.BlueaccountReplaceAccountTargetMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountDeleteAccountMsg != nil {
+ l = m.BlueaccountDeleteAccountMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlueaccountUpdateConfigurationMsg != nil {
+ l = m.BlueaccountUpdateConfigurationMsg.Size()
+ n += 2 + l + sovCodec(uint64(l))
+ }
+ return n
+}
+func (m *CronTask) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Authenticators) > 0 {
+ for _, b := range m.Authenticators {
+ l = len(b)
+ n += 1 + l + sovCodec(uint64(l))
+ }
+ }
+ if m.Sum != nil {
+ n += m.Sum.Size()
}
return n
}
@@ -5822,28 +7973,1180 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if shift >= 64 {
return ErrIntOverflowCodec
}
- if iNdEx >= l {
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Tx: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Tx: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Fees == nil {
+ m.Fees = &cash.FeeInfo{}
+ }
+ if err := m.Fees.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Signatures", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Signatures = append(m.Signatures, &sigs.StdSignature{})
+ if err := m.Signatures[len(m.Signatures)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Multisig", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Multisig = append(m.Multisig, make([]byte, postIndex-iNdEx))
+ copy(m.Multisig[len(m.Multisig)-1], dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 51:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &cash.SendMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_CashSendMsg{v}
+ iNdEx = postIndex
+ case 52:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowCreateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &escrow.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_EscrowCreateMsg{v}
+ iNdEx = postIndex
+ case 53:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &escrow.ReleaseMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_EscrowReleaseMsg{v}
+ iNdEx = postIndex
+ case 54:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReturnMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &escrow.ReturnMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_EscrowReturnMsg{v}
+ iNdEx = postIndex
+ case 55:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowUpdatePartiesMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &escrow.UpdatePartiesMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_EscrowUpdatePartiesMsg{v}
+ iNdEx = postIndex
+ case 56:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigCreateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &multisig.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_MultisigCreateMsg{v}
+ iNdEx = postIndex
+ case 57:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &multisig.UpdateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_MultisigUpdateMsg{v}
+ iNdEx = postIndex
+ case 58:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &validators.ApplyDiffMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_ValidatorsApplyDiffMsg{v}
+ iNdEx = postIndex
+ case 59:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := ¤cy.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_CurrencyCreateMsg{v}
+ iNdEx = postIndex
+ case 60:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExecuteBatchMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &ExecuteBatchMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_ExecuteBatchMsg{v}
+ iNdEx = postIndex
+ case 61:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &username.RegisterTokenMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_UsernameRegisterTokenMsg{v}
+ iNdEx = postIndex
+ case 62:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &username.TransferTokenMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_UsernameTransferTokenMsg{v}
+ iNdEx = postIndex
+ case 63:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &username.ChangeTokenTargetsMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_UsernameChangeTokenTargetsMsg{v}
+ iNdEx = postIndex
+ case 66:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &distribution.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_DistributionCreateMsg{v}
+ iNdEx = postIndex
+ case 67:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &distribution.DistributeMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_DistributionMsg{v}
+ iNdEx = postIndex
+ case 68:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &distribution.ResetMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_DistributionResetMsg{v}
+ iNdEx = postIndex
+ case 69:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MigrationUpgradeSchemaMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &migration.UpgradeSchemaMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_MigrationUpgradeSchemaMsg{v}
+ iNdEx = postIndex
+ case 70:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AswapCreateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &aswap.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_AswapCreateMsg{v}
+ iNdEx = postIndex
+ case 71:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AswapReleaseMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &aswap.ReleaseMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_AswapReleaseMsg{v}
+ iNdEx = postIndex
+ case 72:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AswapReturnMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &aswap.ReturnMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_AswapReturnMsg{v}
+ iNdEx = postIndex
+ case 73:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GovCreateProposalMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &gov.CreateProposalMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_GovCreateProposalMsg{v}
+ iNdEx = postIndex
+ case 74:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GovDeleteProposalMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &gov.DeleteProposalMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_GovDeleteProposalMsg{v}
+ iNdEx = postIndex
+ case 75:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GovVoteMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &gov.VoteMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_GovVoteMsg{v}
+ iNdEx = postIndex
+ case 77:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &gov.UpdateElectorateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_GovUpdateElectorateMsg{v}
+ iNdEx = postIndex
+ case 78:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &gov.UpdateElectionRuleMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_GovUpdateElectionRuleMsg{v}
+ iNdEx = postIndex
+ case 80:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &msgfee.SetMsgFeeMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_MsgfeeSetMsgFeeMsg{v}
+ iNdEx = postIndex
+ case 81:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterDomainMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &blueaccount.RegisterDomainMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_BlueaccountRegisterDomainMsg{v}
+ iNdEx = postIndex
+ case 82:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferDomainMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &blueaccount.TransferDomainMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_BlueaccountTransferDomainMsg{v}
+ iNdEx = postIndex
+ case 83:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRenewDomainMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &blueaccount.RenewDomainMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_BlueaccountRenewDomainMsg{v}
+ iNdEx = postIndex
+ case 84:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteDomainMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ v := &blueaccount.DeleteDomainMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Tx: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Tx: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ m.Sum = &Tx_BlueaccountDeleteDomainMsg{v}
+ iNdEx = postIndex
+ case 85:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -5870,16 +9173,50 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Fees == nil {
- m.Fees = &cash.FeeInfo{}
+ v := &blueaccount.RegisterAccountMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- if err := m.Fees.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Sum = &Tx_BlueaccountRegisterAccountMsg{v}
+ iNdEx = postIndex
+ case 86:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferAccountMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &blueaccount.TransferAccountMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
+ m.Sum = &Tx_BlueaccountTransferAccountMsg{v}
iNdEx = postIndex
- case 2:
+ case 87:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Signatures", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountReplaceAccountTargetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -5906,16 +9243,17 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Signatures = append(m.Signatures, &sigs.StdSignature{})
- if err := m.Signatures[len(m.Signatures)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ v := &blueaccount.ReplaceAccountTargetsMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
+ m.Sum = &Tx_BlueaccountReplaceAccountTargetMsg{v}
iNdEx = postIndex
- case 4:
+ case 88:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Multisig", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteAccountMsg", wireType)
}
- var byteLen int
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCodec
@@ -5925,27 +9263,30 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- byteLen |= int(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if byteLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthCodec
}
- postIndex := iNdEx + byteLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthCodec
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Multisig = append(m.Multisig, make([]byte, postIndex-iNdEx))
- copy(m.Multisig[len(m.Multisig)-1], dAtA[iNdEx:postIndex])
+ v := &blueaccount.DeleteAccountMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ m.Sum = &Tx_BlueaccountDeleteAccountMsg{v}
iNdEx = postIndex
- case 51:
+ case 89:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountUpdateConfigurationMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -5972,15 +9313,68 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &cash.SendMsg{}
+ v := &blueaccount.UpdateConfigurationMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_CashSendMsg{v}
+ m.Sum = &Tx_BlueaccountUpdateConfigurationMsg{v}
iNdEx = postIndex
- case 52:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipCodec(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExecuteBatchMsg) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExecuteBatchMsg: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExecuteBatchMsg: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6007,15 +9401,102 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.CreateMsg{}
+ m.Messages = append(m.Messages, ExecuteBatchMsg_Union{})
+ if err := m.Messages[len(m.Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipCodec(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Union: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Union: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 51:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthCodec
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ v := &cash.SendMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_EscrowCreateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_CashSendMsg{v}
iNdEx = postIndex
- case 53:
+ case 52:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6042,15 +9523,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReleaseMsg{}
+ v := &escrow.CreateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_EscrowReleaseMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_EscrowCreateMsg{v}
iNdEx = postIndex
- case 54:
+ case 53:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReturnMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6077,15 +9558,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReturnMsg{}
+ v := &escrow.ReleaseMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_EscrowReturnMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_EscrowReleaseMsg{v}
iNdEx = postIndex
- case 55:
+ case 54:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowUpdatePartiesMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReturnMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6112,15 +9593,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.UpdatePartiesMsg{}
+ v := &escrow.ReturnMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_EscrowUpdatePartiesMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_EscrowReturnMsg{v}
iNdEx = postIndex
- case 56:
+ case 55:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowUpdatePartiesMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6147,15 +9628,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.CreateMsg{}
+ v := &escrow.UpdatePartiesMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_MultisigCreateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg{v}
iNdEx = postIndex
- case 57:
+ case 56:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6182,15 +9663,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.UpdateMsg{}
+ v := &multisig.CreateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_MultisigUpdateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_MultisigCreateMsg{v}
iNdEx = postIndex
- case 58:
+ case 57:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6217,15 +9698,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &validators.ApplyDiffMsg{}
+ v := &multisig.UpdateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_ValidatorsApplyDiffMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_MultisigUpdateMsg{v}
iNdEx = postIndex
- case 59:
+ case 58:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6252,15 +9733,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := ¤cy.CreateMsg{}
+ v := &validators.ApplyDiffMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_CurrencyCreateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg{v}
iNdEx = postIndex
- case 60:
+ case 59:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExecuteBatchMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6287,11 +9768,11 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &ExecuteBatchMsg{}
+ v := ¤cy.CreateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_ExecuteBatchMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_CurrencyCreateMsg{v}
iNdEx = postIndex
case 61:
if wireType != 2 {
@@ -6326,7 +9807,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_UsernameRegisterTokenMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_UsernameRegisterTokenMsg{v}
iNdEx = postIndex
case 62:
if wireType != 2 {
@@ -6361,7 +9842,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_UsernameTransferTokenMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_UsernameTransferTokenMsg{v}
iNdEx = postIndex
case 63:
if wireType != 2 {
@@ -6396,7 +9877,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_UsernameChangeTokenTargetsMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg{v}
iNdEx = postIndex
case 66:
if wireType != 2 {
@@ -6431,7 +9912,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_DistributionCreateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_DistributionCreateMsg{v}
iNdEx = postIndex
case 67:
if wireType != 2 {
@@ -6466,7 +9947,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_DistributionMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_DistributionMsg{v}
iNdEx = postIndex
case 68:
if wireType != 2 {
@@ -6501,11 +9982,11 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_DistributionResetMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_DistributionResetMsg{v}
iNdEx = postIndex
- case 69:
+ case 80:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MigrationUpgradeSchemaMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6532,15 +10013,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &migration.UpgradeSchemaMsg{}
+ v := &msgfee.SetMsgFeeMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_MigrationUpgradeSchemaMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg{v}
iNdEx = postIndex
- case 70:
+ case 81:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AswapCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6567,15 +10048,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &aswap.CreateMsg{}
+ v := &blueaccount.RegisterDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_AswapCreateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRegisterDomainMsg{v}
iNdEx = postIndex
- case 71:
+ case 82:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AswapReleaseMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6602,15 +10083,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &aswap.ReleaseMsg{}
+ v := &blueaccount.TransferDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_AswapReleaseMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountTransferDomainMsg{v}
iNdEx = postIndex
- case 72:
+ case 83:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AswapReturnMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRenewDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6637,15 +10118,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &aswap.ReturnMsg{}
+ v := &blueaccount.RenewDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_AswapReturnMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRenewDomainMsg{v}
iNdEx = postIndex
- case 73:
+ case 84:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovCreateProposalMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6672,15 +10153,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.CreateProposalMsg{}
+ v := &blueaccount.DeleteDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_GovCreateProposalMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountDeleteDomainMsg{v}
iNdEx = postIndex
- case 74:
+ case 85:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovDeleteProposalMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6707,15 +10188,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.DeleteProposalMsg{}
+ v := &blueaccount.RegisterAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_GovDeleteProposalMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountRegisterAccountMsg{v}
iNdEx = postIndex
- case 75:
+ case 86:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovVoteMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6742,15 +10223,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.VoteMsg{}
+ v := &blueaccount.TransferAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_GovVoteMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountTransferAccountMsg{v}
iNdEx = postIndex
- case 77:
+ case 87:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountReplaceAccountTargetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6777,15 +10258,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectorateMsg{}
+ v := &blueaccount.ReplaceAccountTargetsMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_GovUpdateElectorateMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountReplaceAccountTargetMsg{v}
iNdEx = postIndex
- case 78:
+ case 88:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6812,15 +10293,15 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectionRuleMsg{}
+ v := &blueaccount.DeleteAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_GovUpdateElectionRuleMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountDeleteAccountMsg{v}
iNdEx = postIndex
- case 80:
+ case 89:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountUpdateConfigurationMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6847,11 +10328,11 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &msgfee.SetMsgFeeMsg{}
+ v := &blueaccount.UpdateConfigurationMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &Tx_MsgfeeSetMsgFeeMsg{v}
+ m.Sum = &ExecuteBatchMsg_Union_BlueaccountUpdateConfigurationMsg{v}
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -6877,7 +10358,7 @@ func (m *Tx) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *ExecuteBatchMsg) Unmarshal(dAtA []byte) error {
+func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -6900,15 +10381,15 @@ func (m *ExecuteBatchMsg) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ExecuteBatchMsg: wiretype end group for non-group")
+ return fmt.Errorf("proto: ProposalOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ExecuteBatchMsg: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: ProposalOptions: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 1:
+ case 51:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -6935,67 +10416,50 @@ func (m *ExecuteBatchMsg) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Messages = append(m.Messages, ExecuteBatchMsg_Union{})
- if err := m.Messages[len(m.Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ v := &cash.SendMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
+ m.Option = &ProposalOptions_CashSendMsg{v}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipCodec(dAtA[iNdEx:])
- if err != nil {
- return err
+ case 53:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
}
- if skippy < 0 {
- return ErrInvalidLengthCodec
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if (iNdEx + skippy) < 0 {
+ if msglen < 0 {
return ErrInvalidLengthCodec
}
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowCodec
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthCodec
}
- if iNdEx >= l {
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ v := &escrow.ReleaseMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Union: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Union: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 51:
+ m.Option = &ProposalOptions_EscrowReleaseMsg{v}
+ iNdEx = postIndex
+ case 55:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UpdateEscrowPartiesMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7022,15 +10486,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &cash.SendMsg{}
+ v := &escrow.UpdatePartiesMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_CashSendMsg{v}
+ m.Option = &ProposalOptions_UpdateEscrowPartiesMsg{v}
iNdEx = postIndex
- case 52:
+ case 57:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7057,15 +10521,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.CreateMsg{}
+ v := &multisig.UpdateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_EscrowCreateMsg{v}
+ m.Option = &ProposalOptions_MultisigUpdateMsg{v}
iNdEx = postIndex
- case 53:
+ case 58:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7092,15 +10556,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReleaseMsg{}
+ v := &validators.ApplyDiffMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_EscrowReleaseMsg{v}
+ m.Option = &ProposalOptions_ValidatorsApplyDiffMsg{v}
iNdEx = postIndex
- case 54:
+ case 59:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReturnMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7127,15 +10591,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReturnMsg{}
+ v := ¤cy.CreateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_EscrowReturnMsg{v}
+ m.Option = &ProposalOptions_CurrencyCreateMsg{v}
iNdEx = postIndex
- case 55:
+ case 60:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowUpdatePartiesMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field ExecuteProposalBatchMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7162,15 +10626,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.UpdatePartiesMsg{}
+ v := &ExecuteProposalBatchMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg{v}
+ m.Option = &ProposalOptions_ExecuteProposalBatchMsg{v}
iNdEx = postIndex
- case 56:
+ case 61:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7197,15 +10661,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.CreateMsg{}
+ v := &username.RegisterTokenMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_MultisigCreateMsg{v}
+ m.Option = &ProposalOptions_UsernameRegisterTokenMsg{v}
iNdEx = postIndex
- case 57:
+ case 62:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7232,15 +10696,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.UpdateMsg{}
+ v := &username.TransferTokenMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_MultisigUpdateMsg{v}
+ m.Option = &ProposalOptions_UsernameTransferTokenMsg{v}
iNdEx = postIndex
- case 58:
+ case 63:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7267,15 +10731,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &validators.ApplyDiffMsg{}
+ v := &username.ChangeTokenTargetsMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg{v}
+ m.Option = &ProposalOptions_UsernameChangeTokenTargetsMsg{v}
iNdEx = postIndex
- case 59:
+ case 66:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7302,15 +10766,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := ¤cy.CreateMsg{}
+ v := &distribution.CreateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_CurrencyCreateMsg{v}
+ m.Option = &ProposalOptions_DistributionCreateMsg{v}
iNdEx = postIndex
- case 61:
+ case 67:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7337,15 +10801,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.RegisterTokenMsg{}
+ v := &distribution.DistributeMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_UsernameRegisterTokenMsg{v}
+ m.Option = &ProposalOptions_DistributionMsg{v}
iNdEx = postIndex
- case 62:
+ case 68:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7372,15 +10836,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.TransferTokenMsg{}
+ v := &distribution.ResetMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_UsernameTransferTokenMsg{v}
+ m.Option = &ProposalOptions_DistributionResetMsg{v}
iNdEx = postIndex
- case 63:
+ case 69:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MigrationUpgradeSchemaMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7407,15 +10871,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.ChangeTokenTargetsMsg{}
+ v := &migration.UpgradeSchemaMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg{v}
+ m.Option = &ProposalOptions_MigrationUpgradeSchemaMsg{v}
iNdEx = postIndex
- case 66:
+ case 77:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7442,15 +10906,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.CreateMsg{}
+ v := &gov.UpdateElectorateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_DistributionCreateMsg{v}
+ m.Option = &ProposalOptions_GovUpdateElectorateMsg{v}
iNdEx = postIndex
- case 67:
+ case 78:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7477,15 +10941,15 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.DistributeMsg{}
+ v := &gov.UpdateElectionRuleMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_DistributionMsg{v}
+ m.Option = &ProposalOptions_GovUpdateElectionRuleMsg{v}
iNdEx = postIndex
- case 68:
+ case 79:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovCreateTextResolutionMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7512,11 +10976,11 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.ResetMsg{}
+ v := &gov.CreateTextResolutionMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_DistributionResetMsg{v}
+ m.Option = &ProposalOptions_GovCreateTextResolutionMsg{v}
iNdEx = postIndex
case 80:
if wireType != 2 {
@@ -7551,64 +11015,11 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error {
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg{v}
+ m.Option = &ProposalOptions_MsgfeeSetMsgFeeMsg{v}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipCodec(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowCodec
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ProposalOptions: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ProposalOptions: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 51:
+ case 81:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CashSendMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7635,15 +11046,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &cash.SendMsg{}
+ v := &blueaccount.RegisterDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_CashSendMsg{v}
+ m.Option = &ProposalOptions_BlueaccountRegisterDomainMsg{v}
iNdEx = postIndex
- case 53:
+ case 82:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7670,15 +11081,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReleaseMsg{}
+ v := &blueaccount.TransferDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_EscrowReleaseMsg{v}
+ m.Option = &ProposalOptions_BlueaccountTransferDomainMsg{v}
iNdEx = postIndex
- case 55:
+ case 83:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UpdateEscrowPartiesMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRenewDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7705,15 +11116,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.UpdatePartiesMsg{}
+ v := &blueaccount.RenewDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_UpdateEscrowPartiesMsg{v}
+ m.Option = &ProposalOptions_BlueaccountRenewDomainMsg{v}
iNdEx = postIndex
- case 57:
+ case 84:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7740,15 +11151,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.UpdateMsg{}
+ v := &blueaccount.DeleteDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_MultisigUpdateMsg{v}
+ m.Option = &ProposalOptions_BlueaccountDeleteDomainMsg{v}
iNdEx = postIndex
- case 58:
+ case 85:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7775,15 +11186,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &validators.ApplyDiffMsg{}
+ v := &blueaccount.RegisterAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_ValidatorsApplyDiffMsg{v}
+ m.Option = &ProposalOptions_BlueaccountRegisterAccountMsg{v}
iNdEx = postIndex
- case 59:
+ case 86:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CurrencyCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7810,15 +11221,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := ¤cy.CreateMsg{}
+ v := &blueaccount.TransferAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_CurrencyCreateMsg{v}
+ m.Option = &ProposalOptions_BlueaccountTransferAccountMsg{v}
iNdEx = postIndex
- case 60:
+ case 87:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExecuteProposalBatchMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountReplaceAccountTargetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7845,15 +11256,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &ExecuteProposalBatchMsg{}
+ v := &blueaccount.ReplaceAccountTargetsMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_ExecuteProposalBatchMsg{v}
+ m.Option = &ProposalOptions_BlueaccountReplaceAccountTargetMsg{v}
iNdEx = postIndex
- case 61:
+ case 88:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7880,15 +11291,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.RegisterTokenMsg{}
+ v := &blueaccount.DeleteAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_UsernameRegisterTokenMsg{v}
+ m.Option = &ProposalOptions_BlueaccountDeleteAccountMsg{v}
iNdEx = postIndex
- case 62:
+ case 89:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountUpdateConfigurationMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7915,15 +11326,68 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.TransferTokenMsg{}
+ v := &blueaccount.UpdateConfigurationMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_UsernameTransferTokenMsg{v}
+ m.Option = &ProposalOptions_BlueaccountUpdateConfigurationMsg{v}
iNdEx = postIndex
- case 63:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipCodec(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExecuteProposalBatchMsg) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExecuteProposalBatchMsg: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExecuteProposalBatchMsg: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7950,15 +11414,67 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.ChangeTokenTargetsMsg{}
- if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Messages = append(m.Messages, ExecuteProposalBatchMsg_Union{})
+ if err := m.Messages[len(m.Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_UsernameChangeTokenTargetsMsg{v}
iNdEx = postIndex
- case 66:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipCodec(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthCodec
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowCodec
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Union: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Union: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 51:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SendMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -7985,15 +11501,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.CreateMsg{}
+ v := &cash.SendMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_DistributionCreateMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_SendMsg{v}
iNdEx = postIndex
- case 67:
+ case 53:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8020,15 +11536,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.DistributeMsg{}
+ v := &escrow.ReleaseMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_DistributionMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_EscrowReleaseMsg{v}
iNdEx = postIndex
- case 68:
+ case 55:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UpdateEscrowPartiesMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8055,15 +11571,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.ResetMsg{}
+ v := &escrow.UpdatePartiesMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_DistributionResetMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_UpdateEscrowPartiesMsg{v}
iNdEx = postIndex
- case 69:
+ case 57:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MigrationUpgradeSchemaMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8090,15 +11606,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &migration.UpgradeSchemaMsg{}
+ v := &multisig.UpdateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_MigrationUpgradeSchemaMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_MultisigUpdateMsg{v}
iNdEx = postIndex
- case 77:
+ case 58:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8125,15 +11641,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectorateMsg{}
+ v := &validators.ApplyDiffMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_GovUpdateElectorateMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_ValidatorsApplyDiffMsg{v}
iNdEx = postIndex
- case 78:
+ case 61:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8160,15 +11676,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectionRuleMsg{}
+ v := &username.RegisterTokenMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_GovUpdateElectionRuleMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_UsernameRegisterTokenMsg{v}
iNdEx = postIndex
- case 79:
+ case 62:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovCreateTextResolutionMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8195,15 +11711,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.CreateTextResolutionMsg{}
+ v := &username.TransferTokenMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_GovCreateTextResolutionMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_UsernameTransferTokenMsg{v}
iNdEx = postIndex
- case 80:
+ case 63:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8230,68 +11746,15 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &msgfee.SetMsgFeeMsg{}
+ v := &username.ChangeTokenTargetsMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Option = &ProposalOptions_MsgfeeSetMsgFeeMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_UsernameChangeTokenTargetsMsg{v}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipCodec(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ExecuteProposalBatchMsg) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowCodec
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ExecuteProposalBatchMsg: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ExecuteProposalBatchMsg: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ case 66:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Messages", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8318,67 +11781,15 @@ func (m *ExecuteProposalBatchMsg) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Messages = append(m.Messages, ExecuteProposalBatchMsg_Union{})
- if err := m.Messages[len(m.Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ v := &distribution.CreateMsg{}
+ if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
+ m.Sum = &ExecuteProposalBatchMsg_Union_DistributionCreateMsg{v}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipCodec(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthCodec
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowCodec
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Union: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Union: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 51:
+ case 67:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SendMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8405,15 +11816,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &cash.SendMsg{}
+ v := &distribution.DistributeMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_SendMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_DistributionMsg{v}
iNdEx = postIndex
- case 53:
+ case 68:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EscrowReleaseMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8440,15 +11851,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.ReleaseMsg{}
+ v := &distribution.ResetMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_EscrowReleaseMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_DistributionResetMsg{v}
iNdEx = postIndex
- case 55:
+ case 77:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UpdateEscrowPartiesMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8475,15 +11886,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &escrow.UpdatePartiesMsg{}
+ v := &gov.UpdateElectorateMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_UpdateEscrowPartiesMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_GovUpdateElectorateMsg{v}
iNdEx = postIndex
- case 57:
+ case 78:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MultisigUpdateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8510,15 +11921,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &multisig.UpdateMsg{}
+ v := &gov.UpdateElectionRuleMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_MultisigUpdateMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg{v}
iNdEx = postIndex
- case 58:
+ case 79:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsApplyDiffMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field GovCreateTextResolutionMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8545,15 +11956,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &validators.ApplyDiffMsg{}
+ v := &gov.CreateTextResolutionMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_ValidatorsApplyDiffMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg{v}
iNdEx = postIndex
- case 61:
+ case 80:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameRegisterTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8580,15 +11991,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.RegisterTokenMsg{}
+ v := &msgfee.SetMsgFeeMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_UsernameRegisterTokenMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg{v}
iNdEx = postIndex
- case 62:
+ case 81:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameTransferTokenMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8615,15 +12026,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.TransferTokenMsg{}
+ v := &blueaccount.RegisterDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_UsernameTransferTokenMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRegisterDomainMsg{v}
iNdEx = postIndex
- case 63:
+ case 82:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UsernameChangeTokenTargetsMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8650,15 +12061,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &username.ChangeTokenTargetsMsg{}
+ v := &blueaccount.TransferDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_UsernameChangeTokenTargetsMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountTransferDomainMsg{v}
iNdEx = postIndex
- case 66:
+ case 83:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionCreateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRenewDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8685,15 +12096,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.CreateMsg{}
+ v := &blueaccount.RenewDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_DistributionCreateMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRenewDomainMsg{v}
iNdEx = postIndex
- case 67:
+ case 84:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteDomainMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8720,15 +12131,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.DistributeMsg{}
+ v := &blueaccount.DeleteDomainMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_DistributionMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountDeleteDomainMsg{v}
iNdEx = postIndex
- case 68:
+ case 85:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DistributionResetMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountRegisterAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8755,15 +12166,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &distribution.ResetMsg{}
+ v := &blueaccount.RegisterAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_DistributionResetMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountRegisterAccountMsg{v}
iNdEx = postIndex
- case 77:
+ case 86:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectorateMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountTransferAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8790,15 +12201,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectorateMsg{}
+ v := &blueaccount.TransferAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_GovUpdateElectorateMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountTransferAccountMsg{v}
iNdEx = postIndex
- case 78:
+ case 87:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovUpdateElectionRuleMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountReplaceAccountTargetMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8825,15 +12236,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.UpdateElectionRuleMsg{}
+ v := &blueaccount.ReplaceAccountTargetsMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountReplaceAccountTargetMsg{v}
iNdEx = postIndex
- case 79:
+ case 88:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GovCreateTextResolutionMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountDeleteAccountMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8860,15 +12271,15 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &gov.CreateTextResolutionMsg{}
+ v := &blueaccount.DeleteAccountMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountDeleteAccountMsg{v}
iNdEx = postIndex
- case 80:
+ case 89:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MsgfeeSetMsgFeeMsg", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BlueaccountUpdateConfigurationMsg", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -8895,11 +12306,11 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- v := &msgfee.SetMsgFeeMsg{}
+ v := &blueaccount.UpdateConfigurationMsg{}
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
- m.Sum = &ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg{v}
+ m.Sum = &ExecuteProposalBatchMsg_Union_BlueaccountUpdateConfigurationMsg{v}
iNdEx = postIndex
default:
iNdEx = preIndex
diff --git a/cmd/bnsd/app/codec.proto b/cmd/bnsd/app/codec.proto
index 4b0dd61d..fc421d22 100644
--- a/cmd/bnsd/app/codec.proto
+++ b/cmd/bnsd/app/codec.proto
@@ -2,6 +2,7 @@ syntax = "proto3";
package bnsd;
+import "cmd/bnsd/x/blueaccount/codec.proto";
import "cmd/bnsd/x/username/codec.proto";
import "gogoproto/gogo.proto";
import "migration/codec.proto";
@@ -65,6 +66,15 @@ message Tx {
gov.UpdateElectionRuleMsg gov_update_election_rule_msg = 78;
// 79 is reserved (see ProposalOptions: TextResolutionMsg)
msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80;
+ blueaccount.RegisterDomainMsg blueaccount_register_domain_msg = 81;
+ blueaccount.TransferDomainMsg blueaccount_transfer_domain_msg = 82;
+ blueaccount.RenewDomainMsg blueaccount_renew_domain_msg = 83;
+ blueaccount.DeleteDomainMsg blueaccount_delete_domain_msg = 84;
+ blueaccount.RegisterAccountMsg blueaccount_register_account_msg = 85;
+ blueaccount.TransferAccountMsg blueaccount_transfer_account_msg = 86;
+ blueaccount.ReplaceAccountTargetsMsg blueaccount_replace_account_target_msg = 87;
+ blueaccount.DeleteAccountMsg blueaccount_delete_account_msg = 88;
+ blueaccount.UpdateConfigurationMsg blueaccount_update_configuration_msg = 89;
}
}
@@ -91,6 +101,15 @@ message ExecuteBatchMsg {
// upgrade schema is important enough, it should be a solo action
// aswap and gov don't make much sense as part of a batch (no vote buying)
msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80;
+ blueaccount.RegisterDomainMsg blueaccount_register_domain_msg = 81;
+ blueaccount.TransferDomainMsg blueaccount_transfer_domain_msg = 82;
+ blueaccount.RenewDomainMsg blueaccount_renew_domain_msg = 83;
+ blueaccount.DeleteDomainMsg blueaccount_delete_domain_msg = 84;
+ blueaccount.RegisterAccountMsg blueaccount_register_account_msg = 85;
+ blueaccount.TransferAccountMsg blueaccount_transfer_account_msg = 86;
+ blueaccount.ReplaceAccountTargetsMsg blueaccount_replace_account_target_msg = 87;
+ blueaccount.DeleteAccountMsg blueaccount_delete_account_msg = 88;
+ blueaccount.UpdateConfigurationMsg blueaccount_update_configuration_msg = 89;
}
}
repeated Union messages = 1 [(gogoproto.nullable) = false];
@@ -118,6 +137,15 @@ message ProposalOptions {
gov.UpdateElectionRuleMsg gov_update_election_rule_msg = 78;
gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79;
msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80;
+ blueaccount.RegisterDomainMsg blueaccount_register_domain_msg = 81;
+ blueaccount.TransferDomainMsg blueaccount_transfer_domain_msg = 82;
+ blueaccount.RenewDomainMsg blueaccount_renew_domain_msg = 83;
+ blueaccount.DeleteDomainMsg blueaccount_delete_domain_msg = 84;
+ blueaccount.RegisterAccountMsg blueaccount_register_account_msg = 85;
+ blueaccount.TransferAccountMsg blueaccount_transfer_account_msg = 86;
+ blueaccount.ReplaceAccountTargetsMsg blueaccount_replace_account_target_msg = 87;
+ blueaccount.DeleteAccountMsg blueaccount_delete_account_msg = 88;
+ blueaccount.UpdateConfigurationMsg blueaccount_update_configuration_msg = 89;
}
}
@@ -141,6 +169,15 @@ message ExecuteProposalBatchMsg {
gov.UpdateElectionRuleMsg gov_update_election_rule_msg = 78;
gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79;
msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80;
+ blueaccount.RegisterDomainMsg blueaccount_register_domain_msg = 81;
+ blueaccount.TransferDomainMsg blueaccount_transfer_domain_msg = 82;
+ blueaccount.RenewDomainMsg blueaccount_renew_domain_msg = 83;
+ blueaccount.DeleteDomainMsg blueaccount_delete_domain_msg = 84;
+ blueaccount.RegisterAccountMsg blueaccount_register_account_msg = 85;
+ blueaccount.TransferAccountMsg blueaccount_transfer_account_msg = 86;
+ blueaccount.ReplaceAccountTargetsMsg blueaccount_replace_account_target_msg = 87;
+ blueaccount.DeleteAccountMsg blueaccount_delete_account_msg = 88;
+ blueaccount.UpdateConfigurationMsg blueaccount_update_configuration_msg = 89;
}
}
repeated Union messages = 1 [(gogoproto.nullable) = false];
diff --git a/cmd/bnsd/x/blueaccount/codec.pb.go b/cmd/bnsd/x/blueaccount/codec.pb.go
new file mode 100644
index 00000000..b4f7bd34
--- /dev/null
+++ b/cmd/bnsd/x/blueaccount/codec.pb.go
@@ -0,0 +1,4302 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: cmd/bnsd/x/blueaccount/codec.proto
+
+package blueaccount
+
+import (
+ fmt "fmt"
+ _ "github.com/gogo/protobuf/gogoproto"
+ proto "github.com/gogo/protobuf/proto"
+ github_com_iov_one_weave "github.com/iov-one/weave"
+ weave "github.com/iov-one/weave"
+ io "io"
+ math "math"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
+
+// Domain represents a blue account domain.
+//
+// Domain is a container for accounts. Account representation is
+// `Table of Contents
+
+
+
+
+
+
+
ExecuteBatchMsg.Union
aswap and gov don't make much sense as part of a batch (no vote buying)
79 is reserved (see ProposalOptions: TextResolutionMsg)
BlockchainAddress represents a blochain address. This structure clubs together
blokchain ID together with an address on that network. It is used to point
to an address on any blockchain network.
+Account represents a blue account name.
String representation of an account is `
acceptable account string. Complete validation rules for name and domain are
declared by configuration entity.
An account must always belong to an existing domain.
blockchain_id | +metadata | +weave.Metadata | ++ |
|
+ |
domain | string | - | An arbitrary blockchain ID. |
+ Domain references a domain that this account belongs to. |
|
address | +name | string | - | An address on the specified blockchain network. Address is not a -weave.Address as we cannot know what is the format of an address on the -chain that this token instance links to. Because we do not know the rules -to validate an address for any blockchain ID, this is an arbitrary bulk of -data. -It is more convinient to always use encoded representation of each address -and store it as a string. Using bytes while compact is not as comfortable -to use. |
+
|
Owner is a weave.Address that controls this account. Can be empty. + +An account is always owned by the domain owner. In addition, ownership can +be assigned to one more address to share ownership and allow another party +to manage selected account.
BlockchainAddress represents a blochain address. This structure clubs together
blokchain ID together with an address on that network. It is used to point
to an address on any blockchain network.
+ + +Field | Type | Label | Description |
blockchain_id | +string | ++ | An arbitrary blockchain ID. |
+
address | +string | ++ | An address on the specified blockchain network. Address is not a +weave.Address as we cannot know what is the format of an address on the +chain that this token instance links to. Because we do not know the rules +to validate an address for any blockchain ID, this is an arbitrary bulk of +data. +It is more convenient to always use encoded representation of each address +and store it as a string. Using bytes while compact is not as comfortable +to use. |
+
Configuration is a dynamic configuration used by this extension, managed by
the functionality provided by gconf package.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
owner | +bytes | ++ | Owner is present to implement gconf.OwnedConfig interface +This defines the Address that is allowed to update the Configuration object and is +needed to make use of gconf.NewUpdateConfigurationHandler |
+
valid_domain | +string | ++ | Valid domain defines a regular expression that every valid domain of an +account must match. Rule must not include the asterisk (*) character. |
+
valid_name | +string | ++ | Valid name defines a regular expression that every valid name of an +account must match. Rule must not include the asterisk (*) character. |
+
domain_renew | +int64 | ++ | Domain review defines the duration of the domain renewal period. |
+
DeleteAccountMsg issues deletion of a name that belongs to given domain.
Message must be signed by the domain owner.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ |
|
+
name | +string | ++ |
|
+
DeleteDomainMsg issues deletion of a domain and all accounts that belong to
that domain.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ | Name of the domain that is deleted. |
+
Domain represents a blue account domain.
Domain is a container for accounts. Account representation is
`
Each domain owner controls all accounts that belong to that domain.
Each domain controls expiration of all accounts that belong to that domain.
Because of the functionality that the Red Account provides, Blue Account
domain must not be `iov` as this is a domain used by Red Account
functionality.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ |
|
+
owner | +bytes | ++ | Owner is a weave.Address that controls this domain and all accounts that +belong to this domain. |
+
valid_until | +int64 | ++ | Valid until defines the expiration date for the domain. Expired domain +cannot be used or modified. None of the accounts that belong to an expired +domain can be used of modified as well. |
+
RegisterAccountMsg issues registration of an account. Requested domain must
exist and belong to the same user that signs this message.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ | Domain that a new account is the be registered under. |
+
name | +string | ++ | Name that a new account is the be registered with. |
+
owner | +bytes | ++ | Owner holds the address of the newly registered account. Can be empty to +leave the administration to the domain owner only. |
+
targets | +BlockchainAddress | +repeated | +
|
+
third_party_token | +bytes | ++ | Third party token is an arbitrary data that can be provided by a middleman +(i.e. retailer) that although does not participate directly in the +transaction, helped a user to renew a domain. Storing a client token helps +identify contribution of such party later. |
+
RegisterDomainMsg is issuing registration of a new domain. Requested
domain name must be available (not yet registed) in order for the request to
succeed.
Registering a domain creates an account with no name that belongs to this
domain.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
owner | +bytes | ++ | Owner holds the address of the newly registered domain. If not provided, +main signer is used. |
+
domain | +string | ++ | Domain part of the account that should be registered. |
+
third_party_token | +bytes | ++ | Third party token is an arbitrary data that can be provided by a middleman +(i.e. retailer) that although does not participate directly in the +transaction, helped a user to register a domain. Storing a client token +helps identify contribution of such party later. |
+
RenewDomainMsg is issuing a domain expiration time extension. Extension
period is defined by the configuration entity.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ | Name of the domain that is transferred. |
+
third_party_token | +bytes | ++ | Third party token is an arbitrary data that can be provided by a middleman +(i.e. retailer) that although does not participate directly in the +transaction, helped a user to renew a domain. Storing a client token helps +identify contribution of such party later. |
+
ReplaceAccountTargetsMsg is issuing rewrite of all targets that given
account points to.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ |
|
+
name | +string | ++ |
|
+
new_targets | +BlockchainAddress | +repeated | +
|
+
TransferAccountMsg is issuing an ownership transfer over specified account.
Transfering an account ownership does not affect related domain owner
permissions to administrate that account.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ |
|
+
name | +string | ++ |
|
+
new_owner | +bytes | ++ | New owner holds the address that the ownership of the domain is +transferred to. |
+
TransferDomainMsg is issuing an ownership transfer over specified domain.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
domain | +string | ++ | Name of the domain that is transferred. |
+
new_owner | +bytes | ++ | New owner holds the address that the ownership of the domain is +transferred to. |
+
UpdateConfigurationMsg is used by the gconf extension to update the
configuration.
+ + +Field | Type | Label | Description |
metadata | +weave.Metadata | ++ |
|
+
patch | +Configuration | ++ |
|
+
BlockchainAddress represents a blochain address. This structure clubs together
blokchain ID together with an address on that network. It is used to point
to an address on any blockchain network.
+ + +Field | Type | Label | Description |
blockchain_id | +string | ++ | An arbitrary blockchain ID. |
+
address | +string | ++ | An address on the specified blockchain network. Address is not a +weave.Address as we cannot know what is the format of an address on the +chain that this token instance links to. Because we do not know the rules +to validate an address for any blockchain ID, this is an arbitrary bulk of +data. +It is more convinient to always use encoded representation of each address +and store it as a string. Using bytes while compact is not as comfortable +to use. |
+
Name of the package that schema version upgrade is made for.
To version defines to which version upgrade this schema. It always must be +a value one higher than the currently registered schema or 1 if this is +the initial upgrade. +This value must be provided to avoid consecutive upgrades submitted by a +mistake. This ensures at most one delivery as upgrades to an invalid +version are rejected.