@trustwallet/wallet-core 4.2.0-dev-rc3 → 4.2.0-dev-rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/core_proto.d.ts +273 -0
- package/dist/generated/core_proto.js +846 -0
- package/dist/lib/wallet-core.js +1 -1
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/keystore/default-impl.d.ts +0 -1
- package/dist/src/keystore/default-impl.js +3 -33
- package/dist/src/keystore/types.d.ts +1 -3
- package/dist/src/keystore/types.js +0 -1
- package/dist/src/wallet-core.d.ts +6 -8
- package/package.json +1 -1
| @@ -99489,6 +99489,8 @@ | |
| 99489 99489 | 
             
                                     * @property {TW.Polkadot.Proto.RewardDestination|null} [rewardDestination] BondAndNominate rewardDestination
         | 
| 99490 99490 | 
             
                                     * @property {Array.<string>|null} [nominators] BondAndNominate nominators
         | 
| 99491 99491 | 
             
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [callIndices] BondAndNominate callIndices
         | 
| 99492 | 
            +
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [bondCallIndices] BondAndNominate bondCallIndices
         | 
| 99493 | 
            +
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [nominateCallIndices] BondAndNominate nominateCallIndices
         | 
| 99492 99494 | 
             
                                     */
         | 
| 99493 99495 |  | 
| 99494 99496 | 
             
                                    /**
         | 
| @@ -99547,6 +99549,22 @@ | |
| 99547 99549 | 
             
                                     */
         | 
| 99548 99550 | 
             
                                    BondAndNominate.prototype.callIndices = null;
         | 
| 99549 99551 |  | 
| 99552 | 
            +
                                    /**
         | 
| 99553 | 
            +
                                     * BondAndNominate bondCallIndices.
         | 
| 99554 | 
            +
                                     * @member {TW.Polkadot.Proto.ICallIndices|null|undefined} bondCallIndices
         | 
| 99555 | 
            +
                                     * @memberof TW.Polkadot.Proto.Staking.BondAndNominate
         | 
| 99556 | 
            +
                                     * @instance
         | 
| 99557 | 
            +
                                     */
         | 
| 99558 | 
            +
                                    BondAndNominate.prototype.bondCallIndices = null;
         | 
| 99559 | 
            +
                
         | 
| 99560 | 
            +
                                    /**
         | 
| 99561 | 
            +
                                     * BondAndNominate nominateCallIndices.
         | 
| 99562 | 
            +
                                     * @member {TW.Polkadot.Proto.ICallIndices|null|undefined} nominateCallIndices
         | 
| 99563 | 
            +
                                     * @memberof TW.Polkadot.Proto.Staking.BondAndNominate
         | 
| 99564 | 
            +
                                     * @instance
         | 
| 99565 | 
            +
                                     */
         | 
| 99566 | 
            +
                                    BondAndNominate.prototype.nominateCallIndices = null;
         | 
| 99567 | 
            +
                
         | 
| 99550 99568 | 
             
                                    /**
         | 
| 99551 99569 | 
             
                                     * Creates a new BondAndNominate instance using the specified properties.
         | 
| 99552 99570 | 
             
                                     * @function create
         | 
| @@ -99582,6 +99600,10 @@ | |
| 99582 99600 | 
             
                                                writer.uint32(/* id 4, wireType 2 =*/34).string(message.nominators[i]);
         | 
| 99583 99601 | 
             
                                        if (message.callIndices != null && Object.hasOwnProperty.call(message, "callIndices"))
         | 
| 99584 99602 | 
             
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.callIndices, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
         | 
| 99603 | 
            +
                                        if (message.bondCallIndices != null && Object.hasOwnProperty.call(message, "bondCallIndices"))
         | 
| 99604 | 
            +
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.bondCallIndices, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
         | 
| 99605 | 
            +
                                        if (message.nominateCallIndices != null && Object.hasOwnProperty.call(message, "nominateCallIndices"))
         | 
| 99606 | 
            +
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.nominateCallIndices, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
         | 
| 99585 99607 | 
             
                                        return writer;
         | 
| 99586 99608 | 
             
                                    };
         | 
| 99587 99609 |  | 
| @@ -99620,6 +99642,12 @@ | |
| 99620 99642 | 
             
                                            case 5:
         | 
| 99621 99643 | 
             
                                                message.callIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 99622 99644 | 
             
                                                break;
         | 
| 99645 | 
            +
                                            case 6:
         | 
| 99646 | 
            +
                                                message.bondCallIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 99647 | 
            +
                                                break;
         | 
| 99648 | 
            +
                                            case 7:
         | 
| 99649 | 
            +
                                                message.nominateCallIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 99650 | 
            +
                                                break;
         | 
| 99623 99651 | 
             
                                            default:
         | 
| 99624 99652 | 
             
                                                reader.skipType(tag & 7);
         | 
| 99625 99653 | 
             
                                                break;
         | 
| @@ -99666,6 +99694,16 @@ | |
| 99666 99694 | 
             
                                            if (error)
         | 
| 99667 99695 | 
             
                                                return "callIndices." + error;
         | 
| 99668 99696 | 
             
                                        }
         | 
| 99697 | 
            +
                                        if (message.bondCallIndices != null && message.hasOwnProperty("bondCallIndices")) {
         | 
| 99698 | 
            +
                                            var error = $root.TW.Polkadot.Proto.CallIndices.verify(message.bondCallIndices);
         | 
| 99699 | 
            +
                                            if (error)
         | 
| 99700 | 
            +
                                                return "bondCallIndices." + error;
         | 
| 99701 | 
            +
                                        }
         | 
| 99702 | 
            +
                                        if (message.nominateCallIndices != null && message.hasOwnProperty("nominateCallIndices")) {
         | 
| 99703 | 
            +
                                            var error = $root.TW.Polkadot.Proto.CallIndices.verify(message.nominateCallIndices);
         | 
| 99704 | 
            +
                                            if (error)
         | 
| 99705 | 
            +
                                                return "nominateCallIndices." + error;
         | 
| 99706 | 
            +
                                        }
         | 
| 99669 99707 | 
             
                                        return null;
         | 
| 99670 99708 | 
             
                                    };
         | 
| 99671 99709 |  | 
| @@ -99714,6 +99752,16 @@ | |
| 99714 99752 | 
             
                                                throw TypeError(".TW.Polkadot.Proto.Staking.BondAndNominate.callIndices: object expected");
         | 
| 99715 99753 | 
             
                                            message.callIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.callIndices);
         | 
| 99716 99754 | 
             
                                        }
         | 
| 99755 | 
            +
                                        if (object.bondCallIndices != null) {
         | 
| 99756 | 
            +
                                            if (typeof object.bondCallIndices !== "object")
         | 
| 99757 | 
            +
                                                throw TypeError(".TW.Polkadot.Proto.Staking.BondAndNominate.bondCallIndices: object expected");
         | 
| 99758 | 
            +
                                            message.bondCallIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.bondCallIndices);
         | 
| 99759 | 
            +
                                        }
         | 
| 99760 | 
            +
                                        if (object.nominateCallIndices != null) {
         | 
| 99761 | 
            +
                                            if (typeof object.nominateCallIndices !== "object")
         | 
| 99762 | 
            +
                                                throw TypeError(".TW.Polkadot.Proto.Staking.BondAndNominate.nominateCallIndices: object expected");
         | 
| 99763 | 
            +
                                            message.nominateCallIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.nominateCallIndices);
         | 
| 99764 | 
            +
                                        }
         | 
| 99717 99765 | 
             
                                        return message;
         | 
| 99718 99766 | 
             
                                    };
         | 
| 99719 99767 |  | 
| @@ -99743,6 +99791,8 @@ | |
| 99743 99791 | 
             
                                            }
         | 
| 99744 99792 | 
             
                                            object.rewardDestination = options.enums === String ? "STAKED" : 0;
         | 
| 99745 99793 | 
             
                                            object.callIndices = null;
         | 
| 99794 | 
            +
                                            object.bondCallIndices = null;
         | 
| 99795 | 
            +
                                            object.nominateCallIndices = null;
         | 
| 99746 99796 | 
             
                                        }
         | 
| 99747 99797 | 
             
                                        if (message.controller != null && message.hasOwnProperty("controller"))
         | 
| 99748 99798 | 
             
                                            object.controller = message.controller;
         | 
| @@ -99757,6 +99807,10 @@ | |
| 99757 99807 | 
             
                                        }
         | 
| 99758 99808 | 
             
                                        if (message.callIndices != null && message.hasOwnProperty("callIndices"))
         | 
| 99759 99809 | 
             
                                            object.callIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.callIndices, options);
         | 
| 99810 | 
            +
                                        if (message.bondCallIndices != null && message.hasOwnProperty("bondCallIndices"))
         | 
| 99811 | 
            +
                                            object.bondCallIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.bondCallIndices, options);
         | 
| 99812 | 
            +
                                        if (message.nominateCallIndices != null && message.hasOwnProperty("nominateCallIndices"))
         | 
| 99813 | 
            +
                                            object.nominateCallIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.nominateCallIndices, options);
         | 
| 99760 99814 | 
             
                                        return object;
         | 
| 99761 99815 | 
             
                                    };
         | 
| 99762 99816 |  | 
| @@ -100755,6 +100809,8 @@ | |
| 100755 100809 | 
             
                                     * @interface IChillAndUnbond
         | 
| 100756 100810 | 
             
                                     * @property {Uint8Array|null} [value] ChillAndUnbond value
         | 
| 100757 100811 | 
             
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [callIndices] ChillAndUnbond callIndices
         | 
| 100812 | 
            +
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [chillCallIndices] ChillAndUnbond chillCallIndices
         | 
| 100813 | 
            +
                                     * @property {TW.Polkadot.Proto.ICallIndices|null} [unbondCallIndices] ChillAndUnbond unbondCallIndices
         | 
| 100758 100814 | 
             
                                     */
         | 
| 100759 100815 |  | 
| 100760 100816 | 
             
                                    /**
         | 
| @@ -100788,6 +100844,22 @@ | |
| 100788 100844 | 
             
                                     */
         | 
| 100789 100845 | 
             
                                    ChillAndUnbond.prototype.callIndices = null;
         | 
| 100790 100846 |  | 
| 100847 | 
            +
                                    /**
         | 
| 100848 | 
            +
                                     * ChillAndUnbond chillCallIndices.
         | 
| 100849 | 
            +
                                     * @member {TW.Polkadot.Proto.ICallIndices|null|undefined} chillCallIndices
         | 
| 100850 | 
            +
                                     * @memberof TW.Polkadot.Proto.Staking.ChillAndUnbond
         | 
| 100851 | 
            +
                                     * @instance
         | 
| 100852 | 
            +
                                     */
         | 
| 100853 | 
            +
                                    ChillAndUnbond.prototype.chillCallIndices = null;
         | 
| 100854 | 
            +
                
         | 
| 100855 | 
            +
                                    /**
         | 
| 100856 | 
            +
                                     * ChillAndUnbond unbondCallIndices.
         | 
| 100857 | 
            +
                                     * @member {TW.Polkadot.Proto.ICallIndices|null|undefined} unbondCallIndices
         | 
| 100858 | 
            +
                                     * @memberof TW.Polkadot.Proto.Staking.ChillAndUnbond
         | 
| 100859 | 
            +
                                     * @instance
         | 
| 100860 | 
            +
                                     */
         | 
| 100861 | 
            +
                                    ChillAndUnbond.prototype.unbondCallIndices = null;
         | 
| 100862 | 
            +
                
         | 
| 100791 100863 | 
             
                                    /**
         | 
| 100792 100864 | 
             
                                     * Creates a new ChillAndUnbond instance using the specified properties.
         | 
| 100793 100865 | 
             
                                     * @function create
         | 
| @@ -100816,6 +100888,10 @@ | |
| 100816 100888 | 
             
                                            writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value);
         | 
| 100817 100889 | 
             
                                        if (message.callIndices != null && Object.hasOwnProperty.call(message, "callIndices"))
         | 
| 100818 100890 | 
             
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.callIndices, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
         | 
| 100891 | 
            +
                                        if (message.chillCallIndices != null && Object.hasOwnProperty.call(message, "chillCallIndices"))
         | 
| 100892 | 
            +
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.chillCallIndices, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
         | 
| 100893 | 
            +
                                        if (message.unbondCallIndices != null && Object.hasOwnProperty.call(message, "unbondCallIndices"))
         | 
| 100894 | 
            +
                                            $root.TW.Polkadot.Proto.CallIndices.encode(message.unbondCallIndices, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
         | 
| 100819 100895 | 
             
                                        return writer;
         | 
| 100820 100896 | 
             
                                    };
         | 
| 100821 100897 |  | 
| @@ -100843,6 +100919,12 @@ | |
| 100843 100919 | 
             
                                            case 2:
         | 
| 100844 100920 | 
             
                                                message.callIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 100845 100921 | 
             
                                                break;
         | 
| 100922 | 
            +
                                            case 3:
         | 
| 100923 | 
            +
                                                message.chillCallIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 100924 | 
            +
                                                break;
         | 
| 100925 | 
            +
                                            case 4:
         | 
| 100926 | 
            +
                                                message.unbondCallIndices = $root.TW.Polkadot.Proto.CallIndices.decode(reader, reader.uint32());
         | 
| 100927 | 
            +
                                                break;
         | 
| 100846 100928 | 
             
                                            default:
         | 
| 100847 100929 | 
             
                                                reader.skipType(tag & 7);
         | 
| 100848 100930 | 
             
                                                break;
         | 
| @@ -100870,6 +100952,16 @@ | |
| 100870 100952 | 
             
                                            if (error)
         | 
| 100871 100953 | 
             
                                                return "callIndices." + error;
         | 
| 100872 100954 | 
             
                                        }
         | 
| 100955 | 
            +
                                        if (message.chillCallIndices != null && message.hasOwnProperty("chillCallIndices")) {
         | 
| 100956 | 
            +
                                            var error = $root.TW.Polkadot.Proto.CallIndices.verify(message.chillCallIndices);
         | 
| 100957 | 
            +
                                            if (error)
         | 
| 100958 | 
            +
                                                return "chillCallIndices." + error;
         | 
| 100959 | 
            +
                                        }
         | 
| 100960 | 
            +
                                        if (message.unbondCallIndices != null && message.hasOwnProperty("unbondCallIndices")) {
         | 
| 100961 | 
            +
                                            var error = $root.TW.Polkadot.Proto.CallIndices.verify(message.unbondCallIndices);
         | 
| 100962 | 
            +
                                            if (error)
         | 
| 100963 | 
            +
                                                return "unbondCallIndices." + error;
         | 
| 100964 | 
            +
                                        }
         | 
| 100873 100965 | 
             
                                        return null;
         | 
| 100874 100966 | 
             
                                    };
         | 
| 100875 100967 |  | 
| @@ -100895,6 +100987,16 @@ | |
| 100895 100987 | 
             
                                                throw TypeError(".TW.Polkadot.Proto.Staking.ChillAndUnbond.callIndices: object expected");
         | 
| 100896 100988 | 
             
                                            message.callIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.callIndices);
         | 
| 100897 100989 | 
             
                                        }
         | 
| 100990 | 
            +
                                        if (object.chillCallIndices != null) {
         | 
| 100991 | 
            +
                                            if (typeof object.chillCallIndices !== "object")
         | 
| 100992 | 
            +
                                                throw TypeError(".TW.Polkadot.Proto.Staking.ChillAndUnbond.chillCallIndices: object expected");
         | 
| 100993 | 
            +
                                            message.chillCallIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.chillCallIndices);
         | 
| 100994 | 
            +
                                        }
         | 
| 100995 | 
            +
                                        if (object.unbondCallIndices != null) {
         | 
| 100996 | 
            +
                                            if (typeof object.unbondCallIndices !== "object")
         | 
| 100997 | 
            +
                                                throw TypeError(".TW.Polkadot.Proto.Staking.ChillAndUnbond.unbondCallIndices: object expected");
         | 
| 100998 | 
            +
                                            message.unbondCallIndices = $root.TW.Polkadot.Proto.CallIndices.fromObject(object.unbondCallIndices);
         | 
| 100999 | 
            +
                                        }
         | 
| 100898 101000 | 
             
                                        return message;
         | 
| 100899 101001 | 
             
                                    };
         | 
| 100900 101002 |  | 
| @@ -100920,11 +101022,17 @@ | |
| 100920 101022 | 
             
                                                    object.value = $util.newBuffer(object.value);
         | 
| 100921 101023 | 
             
                                            }
         | 
| 100922 101024 | 
             
                                            object.callIndices = null;
         | 
| 101025 | 
            +
                                            object.chillCallIndices = null;
         | 
| 101026 | 
            +
                                            object.unbondCallIndices = null;
         | 
| 100923 101027 | 
             
                                        }
         | 
| 100924 101028 | 
             
                                        if (message.value != null && message.hasOwnProperty("value"))
         | 
| 100925 101029 | 
             
                                            object.value = options.bytes === String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === Array ? Array.prototype.slice.call(message.value) : message.value;
         | 
| 100926 101030 | 
             
                                        if (message.callIndices != null && message.hasOwnProperty("callIndices"))
         | 
| 100927 101031 | 
             
                                            object.callIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.callIndices, options);
         | 
| 101032 | 
            +
                                        if (message.chillCallIndices != null && message.hasOwnProperty("chillCallIndices"))
         | 
| 101033 | 
            +
                                            object.chillCallIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.chillCallIndices, options);
         | 
| 101034 | 
            +
                                        if (message.unbondCallIndices != null && message.hasOwnProperty("unbondCallIndices"))
         | 
| 101035 | 
            +
                                            object.unbondCallIndices = $root.TW.Polkadot.Proto.CallIndices.toObject(message.unbondCallIndices, options);
         | 
| 100928 101036 | 
             
                                        return object;
         | 
| 100929 101037 | 
             
                                    };
         | 
| 100930 101038 |  | 
| @@ -113336,6 +113444,744 @@ | |
| 113336 113444 | 
             
                                return PreSigningOutput;
         | 
| 113337 113445 | 
             
                            })();
         | 
| 113338 113446 |  | 
| 113447 | 
            +
                            Proto.MessageSigningInput = (function() {
         | 
| 113448 | 
            +
                
         | 
| 113449 | 
            +
                                /**
         | 
| 113450 | 
            +
                                 * Properties of a MessageSigningInput.
         | 
| 113451 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113452 | 
            +
                                 * @interface IMessageSigningInput
         | 
| 113453 | 
            +
                                 * @property {Uint8Array|null} [privateKey] MessageSigningInput privateKey
         | 
| 113454 | 
            +
                                 * @property {string|null} [message] MessageSigningInput message
         | 
| 113455 | 
            +
                                 */
         | 
| 113456 | 
            +
                
         | 
| 113457 | 
            +
                                /**
         | 
| 113458 | 
            +
                                 * Constructs a new MessageSigningInput.
         | 
| 113459 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113460 | 
            +
                                 * @classdesc Represents a MessageSigningInput.
         | 
| 113461 | 
            +
                                 * @implements IMessageSigningInput
         | 
| 113462 | 
            +
                                 * @constructor
         | 
| 113463 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningInput=} [properties] Properties to set
         | 
| 113464 | 
            +
                                 */
         | 
| 113465 | 
            +
                                function MessageSigningInput(properties) {
         | 
| 113466 | 
            +
                                    if (properties)
         | 
| 113467 | 
            +
                                        for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
         | 
| 113468 | 
            +
                                            if (properties[keys[i]] != null)
         | 
| 113469 | 
            +
                                                this[keys[i]] = properties[keys[i]];
         | 
| 113470 | 
            +
                                }
         | 
| 113471 | 
            +
                
         | 
| 113472 | 
            +
                                /**
         | 
| 113473 | 
            +
                                 * MessageSigningInput privateKey.
         | 
| 113474 | 
            +
                                 * @member {Uint8Array} privateKey
         | 
| 113475 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113476 | 
            +
                                 * @instance
         | 
| 113477 | 
            +
                                 */
         | 
| 113478 | 
            +
                                MessageSigningInput.prototype.privateKey = $util.newBuffer([]);
         | 
| 113479 | 
            +
                
         | 
| 113480 | 
            +
                                /**
         | 
| 113481 | 
            +
                                 * MessageSigningInput message.
         | 
| 113482 | 
            +
                                 * @member {string} message
         | 
| 113483 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113484 | 
            +
                                 * @instance
         | 
| 113485 | 
            +
                                 */
         | 
| 113486 | 
            +
                                MessageSigningInput.prototype.message = "";
         | 
| 113487 | 
            +
                
         | 
| 113488 | 
            +
                                /**
         | 
| 113489 | 
            +
                                 * Creates a new MessageSigningInput instance using the specified properties.
         | 
| 113490 | 
            +
                                 * @function create
         | 
| 113491 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113492 | 
            +
                                 * @static
         | 
| 113493 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningInput=} [properties] Properties to set
         | 
| 113494 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningInput} MessageSigningInput instance
         | 
| 113495 | 
            +
                                 */
         | 
| 113496 | 
            +
                                MessageSigningInput.create = function create(properties) {
         | 
| 113497 | 
            +
                                    return new MessageSigningInput(properties);
         | 
| 113498 | 
            +
                                };
         | 
| 113499 | 
            +
                
         | 
| 113500 | 
            +
                                /**
         | 
| 113501 | 
            +
                                 * Encodes the specified MessageSigningInput message. Does not implicitly {@link TW.Solana.Proto.MessageSigningInput.verify|verify} messages.
         | 
| 113502 | 
            +
                                 * @function encode
         | 
| 113503 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113504 | 
            +
                                 * @static
         | 
| 113505 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningInput} message MessageSigningInput message or plain object to encode
         | 
| 113506 | 
            +
                                 * @param {$protobuf.Writer} [writer] Writer to encode to
         | 
| 113507 | 
            +
                                 * @returns {$protobuf.Writer} Writer
         | 
| 113508 | 
            +
                                 */
         | 
| 113509 | 
            +
                                MessageSigningInput.encode = function encode(message, writer) {
         | 
| 113510 | 
            +
                                    if (!writer)
         | 
| 113511 | 
            +
                                        writer = $Writer.create();
         | 
| 113512 | 
            +
                                    if (message.privateKey != null && Object.hasOwnProperty.call(message, "privateKey"))
         | 
| 113513 | 
            +
                                        writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.privateKey);
         | 
| 113514 | 
            +
                                    if (message.message != null && Object.hasOwnProperty.call(message, "message"))
         | 
| 113515 | 
            +
                                        writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
         | 
| 113516 | 
            +
                                    return writer;
         | 
| 113517 | 
            +
                                };
         | 
| 113518 | 
            +
                
         | 
| 113519 | 
            +
                                /**
         | 
| 113520 | 
            +
                                 * Decodes a MessageSigningInput message from the specified reader or buffer.
         | 
| 113521 | 
            +
                                 * @function decode
         | 
| 113522 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113523 | 
            +
                                 * @static
         | 
| 113524 | 
            +
                                 * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
         | 
| 113525 | 
            +
                                 * @param {number} [length] Message length if known beforehand
         | 
| 113526 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningInput} MessageSigningInput
         | 
| 113527 | 
            +
                                 * @throws {Error} If the payload is not a reader or valid buffer
         | 
| 113528 | 
            +
                                 * @throws {$protobuf.util.ProtocolError} If required fields are missing
         | 
| 113529 | 
            +
                                 */
         | 
| 113530 | 
            +
                                MessageSigningInput.decode = function decode(reader, length) {
         | 
| 113531 | 
            +
                                    if (!(reader instanceof $Reader))
         | 
| 113532 | 
            +
                                        reader = $Reader.create(reader);
         | 
| 113533 | 
            +
                                    var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Solana.Proto.MessageSigningInput();
         | 
| 113534 | 
            +
                                    while (reader.pos < end) {
         | 
| 113535 | 
            +
                                        var tag = reader.uint32();
         | 
| 113536 | 
            +
                                        switch (tag >>> 3) {
         | 
| 113537 | 
            +
                                        case 1:
         | 
| 113538 | 
            +
                                            message.privateKey = reader.bytes();
         | 
| 113539 | 
            +
                                            break;
         | 
| 113540 | 
            +
                                        case 2:
         | 
| 113541 | 
            +
                                            message.message = reader.string();
         | 
| 113542 | 
            +
                                            break;
         | 
| 113543 | 
            +
                                        default:
         | 
| 113544 | 
            +
                                            reader.skipType(tag & 7);
         | 
| 113545 | 
            +
                                            break;
         | 
| 113546 | 
            +
                                        }
         | 
| 113547 | 
            +
                                    }
         | 
| 113548 | 
            +
                                    return message;
         | 
| 113549 | 
            +
                                };
         | 
| 113550 | 
            +
                
         | 
| 113551 | 
            +
                                /**
         | 
| 113552 | 
            +
                                 * Verifies a MessageSigningInput message.
         | 
| 113553 | 
            +
                                 * @function verify
         | 
| 113554 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113555 | 
            +
                                 * @static
         | 
| 113556 | 
            +
                                 * @param {Object.<string,*>} message Plain object to verify
         | 
| 113557 | 
            +
                                 * @returns {string|null} `null` if valid, otherwise the reason why it is not
         | 
| 113558 | 
            +
                                 */
         | 
| 113559 | 
            +
                                MessageSigningInput.verify = function verify(message) {
         | 
| 113560 | 
            +
                                    if (typeof message !== "object" || message === null)
         | 
| 113561 | 
            +
                                        return "object expected";
         | 
| 113562 | 
            +
                                    if (message.privateKey != null && message.hasOwnProperty("privateKey"))
         | 
| 113563 | 
            +
                                        if (!(message.privateKey && typeof message.privateKey.length === "number" || $util.isString(message.privateKey)))
         | 
| 113564 | 
            +
                                            return "privateKey: buffer expected";
         | 
| 113565 | 
            +
                                    if (message.message != null && message.hasOwnProperty("message"))
         | 
| 113566 | 
            +
                                        if (!$util.isString(message.message))
         | 
| 113567 | 
            +
                                            return "message: string expected";
         | 
| 113568 | 
            +
                                    return null;
         | 
| 113569 | 
            +
                                };
         | 
| 113570 | 
            +
                
         | 
| 113571 | 
            +
                                /**
         | 
| 113572 | 
            +
                                 * Creates a MessageSigningInput message from a plain object. Also converts values to their respective internal types.
         | 
| 113573 | 
            +
                                 * @function fromObject
         | 
| 113574 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113575 | 
            +
                                 * @static
         | 
| 113576 | 
            +
                                 * @param {Object.<string,*>} object Plain object
         | 
| 113577 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningInput} MessageSigningInput
         | 
| 113578 | 
            +
                                 */
         | 
| 113579 | 
            +
                                MessageSigningInput.fromObject = function fromObject(object) {
         | 
| 113580 | 
            +
                                    if (object instanceof $root.TW.Solana.Proto.MessageSigningInput)
         | 
| 113581 | 
            +
                                        return object;
         | 
| 113582 | 
            +
                                    var message = new $root.TW.Solana.Proto.MessageSigningInput();
         | 
| 113583 | 
            +
                                    if (object.privateKey != null)
         | 
| 113584 | 
            +
                                        if (typeof object.privateKey === "string")
         | 
| 113585 | 
            +
                                            $util.base64.decode(object.privateKey, message.privateKey = $util.newBuffer($util.base64.length(object.privateKey)), 0);
         | 
| 113586 | 
            +
                                        else if (object.privateKey.length)
         | 
| 113587 | 
            +
                                            message.privateKey = object.privateKey;
         | 
| 113588 | 
            +
                                    if (object.message != null)
         | 
| 113589 | 
            +
                                        message.message = String(object.message);
         | 
| 113590 | 
            +
                                    return message;
         | 
| 113591 | 
            +
                                };
         | 
| 113592 | 
            +
                
         | 
| 113593 | 
            +
                                /**
         | 
| 113594 | 
            +
                                 * Creates a plain object from a MessageSigningInput message. Also converts values to other types if specified.
         | 
| 113595 | 
            +
                                 * @function toObject
         | 
| 113596 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113597 | 
            +
                                 * @static
         | 
| 113598 | 
            +
                                 * @param {TW.Solana.Proto.MessageSigningInput} message MessageSigningInput
         | 
| 113599 | 
            +
                                 * @param {$protobuf.IConversionOptions} [options] Conversion options
         | 
| 113600 | 
            +
                                 * @returns {Object.<string,*>} Plain object
         | 
| 113601 | 
            +
                                 */
         | 
| 113602 | 
            +
                                MessageSigningInput.toObject = function toObject(message, options) {
         | 
| 113603 | 
            +
                                    if (!options)
         | 
| 113604 | 
            +
                                        options = {};
         | 
| 113605 | 
            +
                                    var object = {};
         | 
| 113606 | 
            +
                                    if (options.defaults) {
         | 
| 113607 | 
            +
                                        if (options.bytes === String)
         | 
| 113608 | 
            +
                                            object.privateKey = "";
         | 
| 113609 | 
            +
                                        else {
         | 
| 113610 | 
            +
                                            object.privateKey = [];
         | 
| 113611 | 
            +
                                            if (options.bytes !== Array)
         | 
| 113612 | 
            +
                                                object.privateKey = $util.newBuffer(object.privateKey);
         | 
| 113613 | 
            +
                                        }
         | 
| 113614 | 
            +
                                        object.message = "";
         | 
| 113615 | 
            +
                                    }
         | 
| 113616 | 
            +
                                    if (message.privateKey != null && message.hasOwnProperty("privateKey"))
         | 
| 113617 | 
            +
                                        object.privateKey = options.bytes === String ? $util.base64.encode(message.privateKey, 0, message.privateKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.privateKey) : message.privateKey;
         | 
| 113618 | 
            +
                                    if (message.message != null && message.hasOwnProperty("message"))
         | 
| 113619 | 
            +
                                        object.message = message.message;
         | 
| 113620 | 
            +
                                    return object;
         | 
| 113621 | 
            +
                                };
         | 
| 113622 | 
            +
                
         | 
| 113623 | 
            +
                                /**
         | 
| 113624 | 
            +
                                 * Converts this MessageSigningInput to JSON.
         | 
| 113625 | 
            +
                                 * @function toJSON
         | 
| 113626 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningInput
         | 
| 113627 | 
            +
                                 * @instance
         | 
| 113628 | 
            +
                                 * @returns {Object.<string,*>} JSON object
         | 
| 113629 | 
            +
                                 */
         | 
| 113630 | 
            +
                                MessageSigningInput.prototype.toJSON = function toJSON() {
         | 
| 113631 | 
            +
                                    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
         | 
| 113632 | 
            +
                                };
         | 
| 113633 | 
            +
                
         | 
| 113634 | 
            +
                                return MessageSigningInput;
         | 
| 113635 | 
            +
                            })();
         | 
| 113636 | 
            +
                
         | 
| 113637 | 
            +
                            Proto.MessageSigningOutput = (function() {
         | 
| 113638 | 
            +
                
         | 
| 113639 | 
            +
                                /**
         | 
| 113640 | 
            +
                                 * Properties of a MessageSigningOutput.
         | 
| 113641 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113642 | 
            +
                                 * @interface IMessageSigningOutput
         | 
| 113643 | 
            +
                                 * @property {string|null} [signature] MessageSigningOutput signature
         | 
| 113644 | 
            +
                                 * @property {TW.Common.Proto.SigningError|null} [error] MessageSigningOutput error
         | 
| 113645 | 
            +
                                 * @property {string|null} [errorMessage] MessageSigningOutput errorMessage
         | 
| 113646 | 
            +
                                 */
         | 
| 113647 | 
            +
                
         | 
| 113648 | 
            +
                                /**
         | 
| 113649 | 
            +
                                 * Constructs a new MessageSigningOutput.
         | 
| 113650 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113651 | 
            +
                                 * @classdesc Represents a MessageSigningOutput.
         | 
| 113652 | 
            +
                                 * @implements IMessageSigningOutput
         | 
| 113653 | 
            +
                                 * @constructor
         | 
| 113654 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningOutput=} [properties] Properties to set
         | 
| 113655 | 
            +
                                 */
         | 
| 113656 | 
            +
                                function MessageSigningOutput(properties) {
         | 
| 113657 | 
            +
                                    if (properties)
         | 
| 113658 | 
            +
                                        for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
         | 
| 113659 | 
            +
                                            if (properties[keys[i]] != null)
         | 
| 113660 | 
            +
                                                this[keys[i]] = properties[keys[i]];
         | 
| 113661 | 
            +
                                }
         | 
| 113662 | 
            +
                
         | 
| 113663 | 
            +
                                /**
         | 
| 113664 | 
            +
                                 * MessageSigningOutput signature.
         | 
| 113665 | 
            +
                                 * @member {string} signature
         | 
| 113666 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113667 | 
            +
                                 * @instance
         | 
| 113668 | 
            +
                                 */
         | 
| 113669 | 
            +
                                MessageSigningOutput.prototype.signature = "";
         | 
| 113670 | 
            +
                
         | 
| 113671 | 
            +
                                /**
         | 
| 113672 | 
            +
                                 * MessageSigningOutput error.
         | 
| 113673 | 
            +
                                 * @member {TW.Common.Proto.SigningError} error
         | 
| 113674 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113675 | 
            +
                                 * @instance
         | 
| 113676 | 
            +
                                 */
         | 
| 113677 | 
            +
                                MessageSigningOutput.prototype.error = 0;
         | 
| 113678 | 
            +
                
         | 
| 113679 | 
            +
                                /**
         | 
| 113680 | 
            +
                                 * MessageSigningOutput errorMessage.
         | 
| 113681 | 
            +
                                 * @member {string} errorMessage
         | 
| 113682 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113683 | 
            +
                                 * @instance
         | 
| 113684 | 
            +
                                 */
         | 
| 113685 | 
            +
                                MessageSigningOutput.prototype.errorMessage = "";
         | 
| 113686 | 
            +
                
         | 
| 113687 | 
            +
                                /**
         | 
| 113688 | 
            +
                                 * Creates a new MessageSigningOutput instance using the specified properties.
         | 
| 113689 | 
            +
                                 * @function create
         | 
| 113690 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113691 | 
            +
                                 * @static
         | 
| 113692 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningOutput=} [properties] Properties to set
         | 
| 113693 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningOutput} MessageSigningOutput instance
         | 
| 113694 | 
            +
                                 */
         | 
| 113695 | 
            +
                                MessageSigningOutput.create = function create(properties) {
         | 
| 113696 | 
            +
                                    return new MessageSigningOutput(properties);
         | 
| 113697 | 
            +
                                };
         | 
| 113698 | 
            +
                
         | 
| 113699 | 
            +
                                /**
         | 
| 113700 | 
            +
                                 * Encodes the specified MessageSigningOutput message. Does not implicitly {@link TW.Solana.Proto.MessageSigningOutput.verify|verify} messages.
         | 
| 113701 | 
            +
                                 * @function encode
         | 
| 113702 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113703 | 
            +
                                 * @static
         | 
| 113704 | 
            +
                                 * @param {TW.Solana.Proto.IMessageSigningOutput} message MessageSigningOutput message or plain object to encode
         | 
| 113705 | 
            +
                                 * @param {$protobuf.Writer} [writer] Writer to encode to
         | 
| 113706 | 
            +
                                 * @returns {$protobuf.Writer} Writer
         | 
| 113707 | 
            +
                                 */
         | 
| 113708 | 
            +
                                MessageSigningOutput.encode = function encode(message, writer) {
         | 
| 113709 | 
            +
                                    if (!writer)
         | 
| 113710 | 
            +
                                        writer = $Writer.create();
         | 
| 113711 | 
            +
                                    if (message.signature != null && Object.hasOwnProperty.call(message, "signature"))
         | 
| 113712 | 
            +
                                        writer.uint32(/* id 1, wireType 2 =*/10).string(message.signature);
         | 
| 113713 | 
            +
                                    if (message.error != null && Object.hasOwnProperty.call(message, "error"))
         | 
| 113714 | 
            +
                                        writer.uint32(/* id 2, wireType 0 =*/16).int32(message.error);
         | 
| 113715 | 
            +
                                    if (message.errorMessage != null && Object.hasOwnProperty.call(message, "errorMessage"))
         | 
| 113716 | 
            +
                                        writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorMessage);
         | 
| 113717 | 
            +
                                    return writer;
         | 
| 113718 | 
            +
                                };
         | 
| 113719 | 
            +
                
         | 
| 113720 | 
            +
                                /**
         | 
| 113721 | 
            +
                                 * Decodes a MessageSigningOutput message from the specified reader or buffer.
         | 
| 113722 | 
            +
                                 * @function decode
         | 
| 113723 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113724 | 
            +
                                 * @static
         | 
| 113725 | 
            +
                                 * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
         | 
| 113726 | 
            +
                                 * @param {number} [length] Message length if known beforehand
         | 
| 113727 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningOutput} MessageSigningOutput
         | 
| 113728 | 
            +
                                 * @throws {Error} If the payload is not a reader or valid buffer
         | 
| 113729 | 
            +
                                 * @throws {$protobuf.util.ProtocolError} If required fields are missing
         | 
| 113730 | 
            +
                                 */
         | 
| 113731 | 
            +
                                MessageSigningOutput.decode = function decode(reader, length) {
         | 
| 113732 | 
            +
                                    if (!(reader instanceof $Reader))
         | 
| 113733 | 
            +
                                        reader = $Reader.create(reader);
         | 
| 113734 | 
            +
                                    var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Solana.Proto.MessageSigningOutput();
         | 
| 113735 | 
            +
                                    while (reader.pos < end) {
         | 
| 113736 | 
            +
                                        var tag = reader.uint32();
         | 
| 113737 | 
            +
                                        switch (tag >>> 3) {
         | 
| 113738 | 
            +
                                        case 1:
         | 
| 113739 | 
            +
                                            message.signature = reader.string();
         | 
| 113740 | 
            +
                                            break;
         | 
| 113741 | 
            +
                                        case 2:
         | 
| 113742 | 
            +
                                            message.error = reader.int32();
         | 
| 113743 | 
            +
                                            break;
         | 
| 113744 | 
            +
                                        case 3:
         | 
| 113745 | 
            +
                                            message.errorMessage = reader.string();
         | 
| 113746 | 
            +
                                            break;
         | 
| 113747 | 
            +
                                        default:
         | 
| 113748 | 
            +
                                            reader.skipType(tag & 7);
         | 
| 113749 | 
            +
                                            break;
         | 
| 113750 | 
            +
                                        }
         | 
| 113751 | 
            +
                                    }
         | 
| 113752 | 
            +
                                    return message;
         | 
| 113753 | 
            +
                                };
         | 
| 113754 | 
            +
                
         | 
| 113755 | 
            +
                                /**
         | 
| 113756 | 
            +
                                 * Verifies a MessageSigningOutput message.
         | 
| 113757 | 
            +
                                 * @function verify
         | 
| 113758 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113759 | 
            +
                                 * @static
         | 
| 113760 | 
            +
                                 * @param {Object.<string,*>} message Plain object to verify
         | 
| 113761 | 
            +
                                 * @returns {string|null} `null` if valid, otherwise the reason why it is not
         | 
| 113762 | 
            +
                                 */
         | 
| 113763 | 
            +
                                MessageSigningOutput.verify = function verify(message) {
         | 
| 113764 | 
            +
                                    if (typeof message !== "object" || message === null)
         | 
| 113765 | 
            +
                                        return "object expected";
         | 
| 113766 | 
            +
                                    if (message.signature != null && message.hasOwnProperty("signature"))
         | 
| 113767 | 
            +
                                        if (!$util.isString(message.signature))
         | 
| 113768 | 
            +
                                            return "signature: string expected";
         | 
| 113769 | 
            +
                                    if (message.error != null && message.hasOwnProperty("error"))
         | 
| 113770 | 
            +
                                        switch (message.error) {
         | 
| 113771 | 
            +
                                        default:
         | 
| 113772 | 
            +
                                            return "error: enum value expected";
         | 
| 113773 | 
            +
                                        case 0:
         | 
| 113774 | 
            +
                                        case 1:
         | 
| 113775 | 
            +
                                        case 2:
         | 
| 113776 | 
            +
                                        case 3:
         | 
| 113777 | 
            +
                                        case 4:
         | 
| 113778 | 
            +
                                        case 5:
         | 
| 113779 | 
            +
                                        case 15:
         | 
| 113780 | 
            +
                                        case 16:
         | 
| 113781 | 
            +
                                        case 17:
         | 
| 113782 | 
            +
                                        case 18:
         | 
| 113783 | 
            +
                                        case 6:
         | 
| 113784 | 
            +
                                        case 7:
         | 
| 113785 | 
            +
                                        case 8:
         | 
| 113786 | 
            +
                                        case 9:
         | 
| 113787 | 
            +
                                        case 10:
         | 
| 113788 | 
            +
                                        case 11:
         | 
| 113789 | 
            +
                                        case 12:
         | 
| 113790 | 
            +
                                        case 13:
         | 
| 113791 | 
            +
                                        case 14:
         | 
| 113792 | 
            +
                                        case 19:
         | 
| 113793 | 
            +
                                        case 20:
         | 
| 113794 | 
            +
                                        case 21:
         | 
| 113795 | 
            +
                                        case 22:
         | 
| 113796 | 
            +
                                        case 23:
         | 
| 113797 | 
            +
                                        case 24:
         | 
| 113798 | 
            +
                                        case 25:
         | 
| 113799 | 
            +
                                            break;
         | 
| 113800 | 
            +
                                        }
         | 
| 113801 | 
            +
                                    if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
         | 
| 113802 | 
            +
                                        if (!$util.isString(message.errorMessage))
         | 
| 113803 | 
            +
                                            return "errorMessage: string expected";
         | 
| 113804 | 
            +
                                    return null;
         | 
| 113805 | 
            +
                                };
         | 
| 113806 | 
            +
                
         | 
| 113807 | 
            +
                                /**
         | 
| 113808 | 
            +
                                 * Creates a MessageSigningOutput message from a plain object. Also converts values to their respective internal types.
         | 
| 113809 | 
            +
                                 * @function fromObject
         | 
| 113810 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113811 | 
            +
                                 * @static
         | 
| 113812 | 
            +
                                 * @param {Object.<string,*>} object Plain object
         | 
| 113813 | 
            +
                                 * @returns {TW.Solana.Proto.MessageSigningOutput} MessageSigningOutput
         | 
| 113814 | 
            +
                                 */
         | 
| 113815 | 
            +
                                MessageSigningOutput.fromObject = function fromObject(object) {
         | 
| 113816 | 
            +
                                    if (object instanceof $root.TW.Solana.Proto.MessageSigningOutput)
         | 
| 113817 | 
            +
                                        return object;
         | 
| 113818 | 
            +
                                    var message = new $root.TW.Solana.Proto.MessageSigningOutput();
         | 
| 113819 | 
            +
                                    if (object.signature != null)
         | 
| 113820 | 
            +
                                        message.signature = String(object.signature);
         | 
| 113821 | 
            +
                                    switch (object.error) {
         | 
| 113822 | 
            +
                                    case "OK":
         | 
| 113823 | 
            +
                                    case 0:
         | 
| 113824 | 
            +
                                        message.error = 0;
         | 
| 113825 | 
            +
                                        break;
         | 
| 113826 | 
            +
                                    case "Error_general":
         | 
| 113827 | 
            +
                                    case 1:
         | 
| 113828 | 
            +
                                        message.error = 1;
         | 
| 113829 | 
            +
                                        break;
         | 
| 113830 | 
            +
                                    case "Error_internal":
         | 
| 113831 | 
            +
                                    case 2:
         | 
| 113832 | 
            +
                                        message.error = 2;
         | 
| 113833 | 
            +
                                        break;
         | 
| 113834 | 
            +
                                    case "Error_low_balance":
         | 
| 113835 | 
            +
                                    case 3:
         | 
| 113836 | 
            +
                                        message.error = 3;
         | 
| 113837 | 
            +
                                        break;
         | 
| 113838 | 
            +
                                    case "Error_zero_amount_requested":
         | 
| 113839 | 
            +
                                    case 4:
         | 
| 113840 | 
            +
                                        message.error = 4;
         | 
| 113841 | 
            +
                                        break;
         | 
| 113842 | 
            +
                                    case "Error_missing_private_key":
         | 
| 113843 | 
            +
                                    case 5:
         | 
| 113844 | 
            +
                                        message.error = 5;
         | 
| 113845 | 
            +
                                        break;
         | 
| 113846 | 
            +
                                    case "Error_invalid_private_key":
         | 
| 113847 | 
            +
                                    case 15:
         | 
| 113848 | 
            +
                                        message.error = 15;
         | 
| 113849 | 
            +
                                        break;
         | 
| 113850 | 
            +
                                    case "Error_invalid_address":
         | 
| 113851 | 
            +
                                    case 16:
         | 
| 113852 | 
            +
                                        message.error = 16;
         | 
| 113853 | 
            +
                                        break;
         | 
| 113854 | 
            +
                                    case "Error_invalid_utxo":
         | 
| 113855 | 
            +
                                    case 17:
         | 
| 113856 | 
            +
                                        message.error = 17;
         | 
| 113857 | 
            +
                                        break;
         | 
| 113858 | 
            +
                                    case "Error_invalid_utxo_amount":
         | 
| 113859 | 
            +
                                    case 18:
         | 
| 113860 | 
            +
                                        message.error = 18;
         | 
| 113861 | 
            +
                                        break;
         | 
| 113862 | 
            +
                                    case "Error_wrong_fee":
         | 
| 113863 | 
            +
                                    case 6:
         | 
| 113864 | 
            +
                                        message.error = 6;
         | 
| 113865 | 
            +
                                        break;
         | 
| 113866 | 
            +
                                    case "Error_signing":
         | 
| 113867 | 
            +
                                    case 7:
         | 
| 113868 | 
            +
                                        message.error = 7;
         | 
| 113869 | 
            +
                                        break;
         | 
| 113870 | 
            +
                                    case "Error_tx_too_big":
         | 
| 113871 | 
            +
                                    case 8:
         | 
| 113872 | 
            +
                                        message.error = 8;
         | 
| 113873 | 
            +
                                        break;
         | 
| 113874 | 
            +
                                    case "Error_missing_input_utxos":
         | 
| 113875 | 
            +
                                    case 9:
         | 
| 113876 | 
            +
                                        message.error = 9;
         | 
| 113877 | 
            +
                                        break;
         | 
| 113878 | 
            +
                                    case "Error_not_enough_utxos":
         | 
| 113879 | 
            +
                                    case 10:
         | 
| 113880 | 
            +
                                        message.error = 10;
         | 
| 113881 | 
            +
                                        break;
         | 
| 113882 | 
            +
                                    case "Error_script_redeem":
         | 
| 113883 | 
            +
                                    case 11:
         | 
| 113884 | 
            +
                                        message.error = 11;
         | 
| 113885 | 
            +
                                        break;
         | 
| 113886 | 
            +
                                    case "Error_script_output":
         | 
| 113887 | 
            +
                                    case 12:
         | 
| 113888 | 
            +
                                        message.error = 12;
         | 
| 113889 | 
            +
                                        break;
         | 
| 113890 | 
            +
                                    case "Error_script_witness_program":
         | 
| 113891 | 
            +
                                    case 13:
         | 
| 113892 | 
            +
                                        message.error = 13;
         | 
| 113893 | 
            +
                                        break;
         | 
| 113894 | 
            +
                                    case "Error_invalid_memo":
         | 
| 113895 | 
            +
                                    case 14:
         | 
| 113896 | 
            +
                                        message.error = 14;
         | 
| 113897 | 
            +
                                        break;
         | 
| 113898 | 
            +
                                    case "Error_input_parse":
         | 
| 113899 | 
            +
                                    case 19:
         | 
| 113900 | 
            +
                                        message.error = 19;
         | 
| 113901 | 
            +
                                        break;
         | 
| 113902 | 
            +
                                    case "Error_no_support_n2n":
         | 
| 113903 | 
            +
                                    case 20:
         | 
| 113904 | 
            +
                                        message.error = 20;
         | 
| 113905 | 
            +
                                        break;
         | 
| 113906 | 
            +
                                    case "Error_signatures_count":
         | 
| 113907 | 
            +
                                    case 21:
         | 
| 113908 | 
            +
                                        message.error = 21;
         | 
| 113909 | 
            +
                                        break;
         | 
| 113910 | 
            +
                                    case "Error_invalid_params":
         | 
| 113911 | 
            +
                                    case 22:
         | 
| 113912 | 
            +
                                        message.error = 22;
         | 
| 113913 | 
            +
                                        break;
         | 
| 113914 | 
            +
                                    case "Error_invalid_requested_token_amount":
         | 
| 113915 | 
            +
                                    case 23:
         | 
| 113916 | 
            +
                                        message.error = 23;
         | 
| 113917 | 
            +
                                        break;
         | 
| 113918 | 
            +
                                    case "Error_not_supported":
         | 
| 113919 | 
            +
                                    case 24:
         | 
| 113920 | 
            +
                                        message.error = 24;
         | 
| 113921 | 
            +
                                        break;
         | 
| 113922 | 
            +
                                    case "Error_dust_amount_requested":
         | 
| 113923 | 
            +
                                    case 25:
         | 
| 113924 | 
            +
                                        message.error = 25;
         | 
| 113925 | 
            +
                                        break;
         | 
| 113926 | 
            +
                                    }
         | 
| 113927 | 
            +
                                    if (object.errorMessage != null)
         | 
| 113928 | 
            +
                                        message.errorMessage = String(object.errorMessage);
         | 
| 113929 | 
            +
                                    return message;
         | 
| 113930 | 
            +
                                };
         | 
| 113931 | 
            +
                
         | 
| 113932 | 
            +
                                /**
         | 
| 113933 | 
            +
                                 * Creates a plain object from a MessageSigningOutput message. Also converts values to other types if specified.
         | 
| 113934 | 
            +
                                 * @function toObject
         | 
| 113935 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113936 | 
            +
                                 * @static
         | 
| 113937 | 
            +
                                 * @param {TW.Solana.Proto.MessageSigningOutput} message MessageSigningOutput
         | 
| 113938 | 
            +
                                 * @param {$protobuf.IConversionOptions} [options] Conversion options
         | 
| 113939 | 
            +
                                 * @returns {Object.<string,*>} Plain object
         | 
| 113940 | 
            +
                                 */
         | 
| 113941 | 
            +
                                MessageSigningOutput.toObject = function toObject(message, options) {
         | 
| 113942 | 
            +
                                    if (!options)
         | 
| 113943 | 
            +
                                        options = {};
         | 
| 113944 | 
            +
                                    var object = {};
         | 
| 113945 | 
            +
                                    if (options.defaults) {
         | 
| 113946 | 
            +
                                        object.signature = "";
         | 
| 113947 | 
            +
                                        object.error = options.enums === String ? "OK" : 0;
         | 
| 113948 | 
            +
                                        object.errorMessage = "";
         | 
| 113949 | 
            +
                                    }
         | 
| 113950 | 
            +
                                    if (message.signature != null && message.hasOwnProperty("signature"))
         | 
| 113951 | 
            +
                                        object.signature = message.signature;
         | 
| 113952 | 
            +
                                    if (message.error != null && message.hasOwnProperty("error"))
         | 
| 113953 | 
            +
                                        object.error = options.enums === String ? $root.TW.Common.Proto.SigningError[message.error] : message.error;
         | 
| 113954 | 
            +
                                    if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
         | 
| 113955 | 
            +
                                        object.errorMessage = message.errorMessage;
         | 
| 113956 | 
            +
                                    return object;
         | 
| 113957 | 
            +
                                };
         | 
| 113958 | 
            +
                
         | 
| 113959 | 
            +
                                /**
         | 
| 113960 | 
            +
                                 * Converts this MessageSigningOutput to JSON.
         | 
| 113961 | 
            +
                                 * @function toJSON
         | 
| 113962 | 
            +
                                 * @memberof TW.Solana.Proto.MessageSigningOutput
         | 
| 113963 | 
            +
                                 * @instance
         | 
| 113964 | 
            +
                                 * @returns {Object.<string,*>} JSON object
         | 
| 113965 | 
            +
                                 */
         | 
| 113966 | 
            +
                                MessageSigningOutput.prototype.toJSON = function toJSON() {
         | 
| 113967 | 
            +
                                    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
         | 
| 113968 | 
            +
                                };
         | 
| 113969 | 
            +
                
         | 
| 113970 | 
            +
                                return MessageSigningOutput;
         | 
| 113971 | 
            +
                            })();
         | 
| 113972 | 
            +
                
         | 
| 113973 | 
            +
                            Proto.MessageVerifyingInput = (function() {
         | 
| 113974 | 
            +
                
         | 
| 113975 | 
            +
                                /**
         | 
| 113976 | 
            +
                                 * Properties of a MessageVerifyingInput.
         | 
| 113977 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113978 | 
            +
                                 * @interface IMessageVerifyingInput
         | 
| 113979 | 
            +
                                 * @property {string|null} [message] MessageVerifyingInput message
         | 
| 113980 | 
            +
                                 * @property {Uint8Array|null} [publicKey] MessageVerifyingInput publicKey
         | 
| 113981 | 
            +
                                 * @property {string|null} [signature] MessageVerifyingInput signature
         | 
| 113982 | 
            +
                                 */
         | 
| 113983 | 
            +
                
         | 
| 113984 | 
            +
                                /**
         | 
| 113985 | 
            +
                                 * Constructs a new MessageVerifyingInput.
         | 
| 113986 | 
            +
                                 * @memberof TW.Solana.Proto
         | 
| 113987 | 
            +
                                 * @classdesc Represents a MessageVerifyingInput.
         | 
| 113988 | 
            +
                                 * @implements IMessageVerifyingInput
         | 
| 113989 | 
            +
                                 * @constructor
         | 
| 113990 | 
            +
                                 * @param {TW.Solana.Proto.IMessageVerifyingInput=} [properties] Properties to set
         | 
| 113991 | 
            +
                                 */
         | 
| 113992 | 
            +
                                function MessageVerifyingInput(properties) {
         | 
| 113993 | 
            +
                                    if (properties)
         | 
| 113994 | 
            +
                                        for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
         | 
| 113995 | 
            +
                                            if (properties[keys[i]] != null)
         | 
| 113996 | 
            +
                                                this[keys[i]] = properties[keys[i]];
         | 
| 113997 | 
            +
                                }
         | 
| 113998 | 
            +
                
         | 
| 113999 | 
            +
                                /**
         | 
| 114000 | 
            +
                                 * MessageVerifyingInput message.
         | 
| 114001 | 
            +
                                 * @member {string} message
         | 
| 114002 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114003 | 
            +
                                 * @instance
         | 
| 114004 | 
            +
                                 */
         | 
| 114005 | 
            +
                                MessageVerifyingInput.prototype.message = "";
         | 
| 114006 | 
            +
                
         | 
| 114007 | 
            +
                                /**
         | 
| 114008 | 
            +
                                 * MessageVerifyingInput publicKey.
         | 
| 114009 | 
            +
                                 * @member {Uint8Array} publicKey
         | 
| 114010 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114011 | 
            +
                                 * @instance
         | 
| 114012 | 
            +
                                 */
         | 
| 114013 | 
            +
                                MessageVerifyingInput.prototype.publicKey = $util.newBuffer([]);
         | 
| 114014 | 
            +
                
         | 
| 114015 | 
            +
                                /**
         | 
| 114016 | 
            +
                                 * MessageVerifyingInput signature.
         | 
| 114017 | 
            +
                                 * @member {string} signature
         | 
| 114018 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114019 | 
            +
                                 * @instance
         | 
| 114020 | 
            +
                                 */
         | 
| 114021 | 
            +
                                MessageVerifyingInput.prototype.signature = "";
         | 
| 114022 | 
            +
                
         | 
| 114023 | 
            +
                                /**
         | 
| 114024 | 
            +
                                 * Creates a new MessageVerifyingInput instance using the specified properties.
         | 
| 114025 | 
            +
                                 * @function create
         | 
| 114026 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114027 | 
            +
                                 * @static
         | 
| 114028 | 
            +
                                 * @param {TW.Solana.Proto.IMessageVerifyingInput=} [properties] Properties to set
         | 
| 114029 | 
            +
                                 * @returns {TW.Solana.Proto.MessageVerifyingInput} MessageVerifyingInput instance
         | 
| 114030 | 
            +
                                 */
         | 
| 114031 | 
            +
                                MessageVerifyingInput.create = function create(properties) {
         | 
| 114032 | 
            +
                                    return new MessageVerifyingInput(properties);
         | 
| 114033 | 
            +
                                };
         | 
| 114034 | 
            +
                
         | 
| 114035 | 
            +
                                /**
         | 
| 114036 | 
            +
                                 * Encodes the specified MessageVerifyingInput message. Does not implicitly {@link TW.Solana.Proto.MessageVerifyingInput.verify|verify} messages.
         | 
| 114037 | 
            +
                                 * @function encode
         | 
| 114038 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114039 | 
            +
                                 * @static
         | 
| 114040 | 
            +
                                 * @param {TW.Solana.Proto.IMessageVerifyingInput} message MessageVerifyingInput message or plain object to encode
         | 
| 114041 | 
            +
                                 * @param {$protobuf.Writer} [writer] Writer to encode to
         | 
| 114042 | 
            +
                                 * @returns {$protobuf.Writer} Writer
         | 
| 114043 | 
            +
                                 */
         | 
| 114044 | 
            +
                                MessageVerifyingInput.encode = function encode(message, writer) {
         | 
| 114045 | 
            +
                                    if (!writer)
         | 
| 114046 | 
            +
                                        writer = $Writer.create();
         | 
| 114047 | 
            +
                                    if (message.message != null && Object.hasOwnProperty.call(message, "message"))
         | 
| 114048 | 
            +
                                        writer.uint32(/* id 1, wireType 2 =*/10).string(message.message);
         | 
| 114049 | 
            +
                                    if (message.publicKey != null && Object.hasOwnProperty.call(message, "publicKey"))
         | 
| 114050 | 
            +
                                        writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.publicKey);
         | 
| 114051 | 
            +
                                    if (message.signature != null && Object.hasOwnProperty.call(message, "signature"))
         | 
| 114052 | 
            +
                                        writer.uint32(/* id 3, wireType 2 =*/26).string(message.signature);
         | 
| 114053 | 
            +
                                    return writer;
         | 
| 114054 | 
            +
                                };
         | 
| 114055 | 
            +
                
         | 
| 114056 | 
            +
                                /**
         | 
| 114057 | 
            +
                                 * Decodes a MessageVerifyingInput message from the specified reader or buffer.
         | 
| 114058 | 
            +
                                 * @function decode
         | 
| 114059 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114060 | 
            +
                                 * @static
         | 
| 114061 | 
            +
                                 * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
         | 
| 114062 | 
            +
                                 * @param {number} [length] Message length if known beforehand
         | 
| 114063 | 
            +
                                 * @returns {TW.Solana.Proto.MessageVerifyingInput} MessageVerifyingInput
         | 
| 114064 | 
            +
                                 * @throws {Error} If the payload is not a reader or valid buffer
         | 
| 114065 | 
            +
                                 * @throws {$protobuf.util.ProtocolError} If required fields are missing
         | 
| 114066 | 
            +
                                 */
         | 
| 114067 | 
            +
                                MessageVerifyingInput.decode = function decode(reader, length) {
         | 
| 114068 | 
            +
                                    if (!(reader instanceof $Reader))
         | 
| 114069 | 
            +
                                        reader = $Reader.create(reader);
         | 
| 114070 | 
            +
                                    var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Solana.Proto.MessageVerifyingInput();
         | 
| 114071 | 
            +
                                    while (reader.pos < end) {
         | 
| 114072 | 
            +
                                        var tag = reader.uint32();
         | 
| 114073 | 
            +
                                        switch (tag >>> 3) {
         | 
| 114074 | 
            +
                                        case 1:
         | 
| 114075 | 
            +
                                            message.message = reader.string();
         | 
| 114076 | 
            +
                                            break;
         | 
| 114077 | 
            +
                                        case 2:
         | 
| 114078 | 
            +
                                            message.publicKey = reader.bytes();
         | 
| 114079 | 
            +
                                            break;
         | 
| 114080 | 
            +
                                        case 3:
         | 
| 114081 | 
            +
                                            message.signature = reader.string();
         | 
| 114082 | 
            +
                                            break;
         | 
| 114083 | 
            +
                                        default:
         | 
| 114084 | 
            +
                                            reader.skipType(tag & 7);
         | 
| 114085 | 
            +
                                            break;
         | 
| 114086 | 
            +
                                        }
         | 
| 114087 | 
            +
                                    }
         | 
| 114088 | 
            +
                                    return message;
         | 
| 114089 | 
            +
                                };
         | 
| 114090 | 
            +
                
         | 
| 114091 | 
            +
                                /**
         | 
| 114092 | 
            +
                                 * Verifies a MessageVerifyingInput message.
         | 
| 114093 | 
            +
                                 * @function verify
         | 
| 114094 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114095 | 
            +
                                 * @static
         | 
| 114096 | 
            +
                                 * @param {Object.<string,*>} message Plain object to verify
         | 
| 114097 | 
            +
                                 * @returns {string|null} `null` if valid, otherwise the reason why it is not
         | 
| 114098 | 
            +
                                 */
         | 
| 114099 | 
            +
                                MessageVerifyingInput.verify = function verify(message) {
         | 
| 114100 | 
            +
                                    if (typeof message !== "object" || message === null)
         | 
| 114101 | 
            +
                                        return "object expected";
         | 
| 114102 | 
            +
                                    if (message.message != null && message.hasOwnProperty("message"))
         | 
| 114103 | 
            +
                                        if (!$util.isString(message.message))
         | 
| 114104 | 
            +
                                            return "message: string expected";
         | 
| 114105 | 
            +
                                    if (message.publicKey != null && message.hasOwnProperty("publicKey"))
         | 
| 114106 | 
            +
                                        if (!(message.publicKey && typeof message.publicKey.length === "number" || $util.isString(message.publicKey)))
         | 
| 114107 | 
            +
                                            return "publicKey: buffer expected";
         | 
| 114108 | 
            +
                                    if (message.signature != null && message.hasOwnProperty("signature"))
         | 
| 114109 | 
            +
                                        if (!$util.isString(message.signature))
         | 
| 114110 | 
            +
                                            return "signature: string expected";
         | 
| 114111 | 
            +
                                    return null;
         | 
| 114112 | 
            +
                                };
         | 
| 114113 | 
            +
                
         | 
| 114114 | 
            +
                                /**
         | 
| 114115 | 
            +
                                 * Creates a MessageVerifyingInput message from a plain object. Also converts values to their respective internal types.
         | 
| 114116 | 
            +
                                 * @function fromObject
         | 
| 114117 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114118 | 
            +
                                 * @static
         | 
| 114119 | 
            +
                                 * @param {Object.<string,*>} object Plain object
         | 
| 114120 | 
            +
                                 * @returns {TW.Solana.Proto.MessageVerifyingInput} MessageVerifyingInput
         | 
| 114121 | 
            +
                                 */
         | 
| 114122 | 
            +
                                MessageVerifyingInput.fromObject = function fromObject(object) {
         | 
| 114123 | 
            +
                                    if (object instanceof $root.TW.Solana.Proto.MessageVerifyingInput)
         | 
| 114124 | 
            +
                                        return object;
         | 
| 114125 | 
            +
                                    var message = new $root.TW.Solana.Proto.MessageVerifyingInput();
         | 
| 114126 | 
            +
                                    if (object.message != null)
         | 
| 114127 | 
            +
                                        message.message = String(object.message);
         | 
| 114128 | 
            +
                                    if (object.publicKey != null)
         | 
| 114129 | 
            +
                                        if (typeof object.publicKey === "string")
         | 
| 114130 | 
            +
                                            $util.base64.decode(object.publicKey, message.publicKey = $util.newBuffer($util.base64.length(object.publicKey)), 0);
         | 
| 114131 | 
            +
                                        else if (object.publicKey.length)
         | 
| 114132 | 
            +
                                            message.publicKey = object.publicKey;
         | 
| 114133 | 
            +
                                    if (object.signature != null)
         | 
| 114134 | 
            +
                                        message.signature = String(object.signature);
         | 
| 114135 | 
            +
                                    return message;
         | 
| 114136 | 
            +
                                };
         | 
| 114137 | 
            +
                
         | 
| 114138 | 
            +
                                /**
         | 
| 114139 | 
            +
                                 * Creates a plain object from a MessageVerifyingInput message. Also converts values to other types if specified.
         | 
| 114140 | 
            +
                                 * @function toObject
         | 
| 114141 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114142 | 
            +
                                 * @static
         | 
| 114143 | 
            +
                                 * @param {TW.Solana.Proto.MessageVerifyingInput} message MessageVerifyingInput
         | 
| 114144 | 
            +
                                 * @param {$protobuf.IConversionOptions} [options] Conversion options
         | 
| 114145 | 
            +
                                 * @returns {Object.<string,*>} Plain object
         | 
| 114146 | 
            +
                                 */
         | 
| 114147 | 
            +
                                MessageVerifyingInput.toObject = function toObject(message, options) {
         | 
| 114148 | 
            +
                                    if (!options)
         | 
| 114149 | 
            +
                                        options = {};
         | 
| 114150 | 
            +
                                    var object = {};
         | 
| 114151 | 
            +
                                    if (options.defaults) {
         | 
| 114152 | 
            +
                                        object.message = "";
         | 
| 114153 | 
            +
                                        if (options.bytes === String)
         | 
| 114154 | 
            +
                                            object.publicKey = "";
         | 
| 114155 | 
            +
                                        else {
         | 
| 114156 | 
            +
                                            object.publicKey = [];
         | 
| 114157 | 
            +
                                            if (options.bytes !== Array)
         | 
| 114158 | 
            +
                                                object.publicKey = $util.newBuffer(object.publicKey);
         | 
| 114159 | 
            +
                                        }
         | 
| 114160 | 
            +
                                        object.signature = "";
         | 
| 114161 | 
            +
                                    }
         | 
| 114162 | 
            +
                                    if (message.message != null && message.hasOwnProperty("message"))
         | 
| 114163 | 
            +
                                        object.message = message.message;
         | 
| 114164 | 
            +
                                    if (message.publicKey != null && message.hasOwnProperty("publicKey"))
         | 
| 114165 | 
            +
                                        object.publicKey = options.bytes === String ? $util.base64.encode(message.publicKey, 0, message.publicKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.publicKey) : message.publicKey;
         | 
| 114166 | 
            +
                                    if (message.signature != null && message.hasOwnProperty("signature"))
         | 
| 114167 | 
            +
                                        object.signature = message.signature;
         | 
| 114168 | 
            +
                                    return object;
         | 
| 114169 | 
            +
                                };
         | 
| 114170 | 
            +
                
         | 
| 114171 | 
            +
                                /**
         | 
| 114172 | 
            +
                                 * Converts this MessageVerifyingInput to JSON.
         | 
| 114173 | 
            +
                                 * @function toJSON
         | 
| 114174 | 
            +
                                 * @memberof TW.Solana.Proto.MessageVerifyingInput
         | 
| 114175 | 
            +
                                 * @instance
         | 
| 114176 | 
            +
                                 * @returns {Object.<string,*>} JSON object
         | 
| 114177 | 
            +
                                 */
         | 
| 114178 | 
            +
                                MessageVerifyingInput.prototype.toJSON = function toJSON() {
         | 
| 114179 | 
            +
                                    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
         | 
| 114180 | 
            +
                                };
         | 
| 114181 | 
            +
                
         | 
| 114182 | 
            +
                                return MessageVerifyingInput;
         | 
| 114183 | 
            +
                            })();
         | 
| 114184 | 
            +
                
         | 
| 113339 114185 | 
             
                            return Proto;
         | 
| 113340 114186 | 
             
                        })();
         | 
| 113341 114187 |  |