@dfinity/nns 0.6.0 → 0.7.0-next-2022-08-08

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.
Files changed (60) hide show
  1. package/dist/candid/sns_wasm.certified.idl.js +6 -0
  2. package/dist/candid/sns_wasm.d.ts +5 -0
  3. package/dist/candid/sns_wasm.did +9 -2
  4. package/dist/candid/sns_wasm.idl.js +6 -0
  5. package/dist/cjs/index.cjs.js +14 -857
  6. package/dist/cjs/index.cjs.js.map +3 -3
  7. package/dist/esm/account_identifier.js +1 -1
  8. package/dist/esm/{chunk-RHCXRQFK.js → chunk-6TCASUZN.js} +2 -2
  9. package/dist/esm/{chunk-RHCXRQFK.js.map → chunk-6TCASUZN.js.map} +0 -0
  10. package/dist/esm/chunk-BNACMCFC.js +2 -0
  11. package/dist/esm/chunk-BNACMCFC.js.map +7 -0
  12. package/dist/esm/chunk-FOZZBZOX.js +2 -0
  13. package/dist/esm/chunk-FOZZBZOX.js.map +7 -0
  14. package/dist/esm/chunk-H6Y4RZE2.js +2 -0
  15. package/dist/esm/chunk-H6Y4RZE2.js.map +7 -0
  16. package/dist/esm/chunk-INZ5ERFK.js +2 -0
  17. package/dist/esm/chunk-INZ5ERFK.js.map +7 -0
  18. package/dist/esm/{chunk-FZGMZSQZ.js → chunk-JKX2HJUB.js} +2 -2
  19. package/dist/esm/{chunk-FZGMZSQZ.js.map → chunk-JKX2HJUB.js.map} +1 -1
  20. package/dist/esm/{chunk-H6I2Z4SN.js → chunk-N4C3FQZJ.js} +11 -5
  21. package/dist/esm/chunk-N4C3FQZJ.js.map +7 -0
  22. package/dist/esm/chunk-Q3ETFEQV.js +2 -0
  23. package/dist/esm/{chunk-ONAVPXOT.js.map → chunk-Q3ETFEQV.js.map} +0 -0
  24. package/dist/esm/chunk-QSF4NTRI.js +18 -0
  25. package/dist/esm/chunk-QSF4NTRI.js.map +7 -0
  26. package/dist/esm/chunk-XMMTS4WT.js +14 -0
  27. package/dist/esm/chunk-XMMTS4WT.js.map +7 -0
  28. package/dist/esm/genesis_token.canister.js +1 -1
  29. package/dist/esm/governance.canister.js +1 -1
  30. package/dist/esm/icp.js +1 -1
  31. package/dist/esm/index.js +1 -1
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/esm/ledger.canister.js +1 -1
  34. package/dist/esm/sns_wasm.canister.js +1 -1
  35. package/dist/types/genesis_token.canister.d.ts +1 -1
  36. package/dist/types/sns_wasm.canister.d.ts +1 -1
  37. package/dist/types/types/governance.options.d.ts +1 -1
  38. package/dist/types/types/ledger.options.d.ts +1 -1
  39. package/dist/types/types/sns_wasm.options.d.ts +1 -1
  40. package/package.json +7 -4
  41. package/dist/esm/chunk-CKIW7YKS.js +0 -2
  42. package/dist/esm/chunk-CKIW7YKS.js.map +0 -7
  43. package/dist/esm/chunk-H6I2Z4SN.js.map +0 -7
  44. package/dist/esm/chunk-IPUXUCZB.js +0 -14
  45. package/dist/esm/chunk-IPUXUCZB.js.map +0 -7
  46. package/dist/esm/chunk-JUIC5FZJ.js +0 -2
  47. package/dist/esm/chunk-JUIC5FZJ.js.map +0 -7
  48. package/dist/esm/chunk-MGC7CRB4.js +0 -11
  49. package/dist/esm/chunk-MGC7CRB4.js.map +0 -7
  50. package/dist/esm/chunk-NN3MUNHF.js +0 -2
  51. package/dist/esm/chunk-NN3MUNHF.js.map +0 -7
  52. package/dist/esm/chunk-NNJFBVJ3.js +0 -831
  53. package/dist/esm/chunk-NNJFBVJ3.js.map +0 -7
  54. package/dist/esm/chunk-ONAVPXOT.js +0 -2
  55. package/dist/esm/chunk-TLWRX3CX.js +0 -9
  56. package/dist/esm/chunk-TLWRX3CX.js.map +0 -7
  57. package/dist/types/types/canister.options.d.ts +0 -8
  58. package/dist/types/utils/actor.utils.d.ts +0 -14
  59. package/dist/types/utils/agent.utils.d.ts +0 -5
  60. package/dist/types/utils/did.utils.d.ts +0 -1
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../node_modules/buffer/index.js", "../../../../node_modules/safe-buffer/index.js", "../../../../node_modules/randombytes/browser.js", "../../proto/governance_pb.js", "../../src/governance.canister.ts", "../../candid/governance.certified.idl.js", "../../candid/governance.idl.js", "../../src/canisters/governance/request.converters.ts", "../../src/errors/governance.errors.ts", "../../src/utils/account_identifier.utils.ts", "../../src/canisters/governance/request.proto.converters.ts", "../../src/canisters/governance/response.converters.ts", "../../src/types/governance_converters.ts", "../../src/canisters/governance/response.proto.converters.ts", "../../src/canisters/governance/services.ts", "../../src/utils/accounts.utils.ts", "../../src/utils/number.utils.ts"],
4
+ "sourcesContent": ["/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nvar K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n var arr = new Uint8Array(1)\n var proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n var buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n var valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n var b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(\n value[Symbol.toPrimitive]('string'), encodingOrOffset, length\n )\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpreted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n var length = byteLength(string, encoding) | 0\n var buf = createBuffer(length)\n\n var actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n var buf = createBuffer(length)\n for (var i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayView (arrayView) {\n if (isInstance(arrayView, Uint8Array)) {\n var copy = new Uint8Array(arrayView)\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n }\n return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n var buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n var buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n if (pos + buf.length > buffer.length) {\n Buffer.from(buf).copy(buffer, pos)\n } else {\n Uint8Array.prototype.set.call(\n buffer,\n buf,\n pos\n )\n }\n } else if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n } else {\n buf.copy(buffer, pos)\n }\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n var len = string.length\n var mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return '<Buffer ' + str + '>'\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n var strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n case 'latin1':\n case 'binary':\n return asciiWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF)\n ? 4\n : (firstByte > 0xDF)\n ? 3\n : (firstByte > 0xBF)\n ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n for (var i = 0; i < bytes.length - 1; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n var limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n var limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n var len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nvar hexSliceLookupTable = (function () {\n var alphabet = '0123456789abcdef'\n var table = new Array(256)\n for (var i = 0; i < 16; ++i) {\n var i16 = i * 16\n for (var j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n", "/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n", "'use strict'\n\n// limit of Crypto.getRandomValues()\n// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues\nvar MAX_BYTES = 65536\n\n// Node supports requesting up to this number of bytes\n// https://github.com/nodejs/node/blob/master/lib/internal/crypto/random.js#L48\nvar MAX_UINT32 = 4294967295\n\nfunction oldBrowser () {\n throw new Error('Secure random number generation is not supported by this browser.\\nUse Chrome, Firefox or Internet Explorer 11')\n}\n\nvar Buffer = require('safe-buffer').Buffer\nvar crypto = global.crypto || global.msCrypto\n\nif (crypto && crypto.getRandomValues) {\n module.exports = randomBytes\n} else {\n module.exports = oldBrowser\n}\n\nfunction randomBytes (size, cb) {\n // phantomjs needs to throw\n if (size > MAX_UINT32) throw new RangeError('requested too many random bytes')\n\n var bytes = Buffer.allocUnsafe(size)\n\n if (size > 0) { // getRandomValues fails on IE if size == 0\n if (size > MAX_BYTES) { // this is the max bytes crypto.getRandomValues\n // can do at once see https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues\n for (var generated = 0; generated < size; generated += MAX_BYTES) {\n // buffer.slice automatically checks if the end is past the end of\n // the buffer so we don't have to here\n crypto.getRandomValues(bytes.slice(generated, generated + MAX_BYTES))\n }\n } else {\n crypto.getRandomValues(bytes)\n }\n }\n\n if (typeof cb === 'function') {\n return process.nextTick(function () {\n cb(null, bytes)\n })\n }\n\n return bytes\n}\n", "// source: governance.proto\n/**\n * @fileoverview\n * @enhanceable\n * @suppress {missingRequire} reports error on implicit type usages.\n * @suppress {messageConventions} JS Compiler reports an error if a variable or\n * field starts with 'MSG_' and isn't a translatable message.\n * @public\n */\n// GENERATED CODE -- DO NOT EDIT!\n/* eslint-disable */\n// @ts-nocheck\n\nvar jspb = require('google-protobuf');\nvar goog = jspb;\nvar global = (function() {\n if (this) { return this; }\n if (typeof window !== 'undefined') { return window; }\n if (typeof global !== 'undefined') { return global; }\n if (typeof self !== 'undefined') { return self; }\n return Function('return this')();\n}.call(null));\n\nvar base_types_pb = require('./base_types_pb.js');\ngoog.object.extend(proto, base_types_pb);\nvar ledger_pb = require('./ledger_pb.js');\ngoog.object.extend(proto, ledger_pb);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.BallotInfo', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.GovernanceError', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ListNeurons', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ListNeuronsResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Configure', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Follow', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Merge', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.Neuron', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.Neuron.Followees', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.NeuronInfo', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.NeuronStakeTransfer', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.Topic', null, global);\ngoog.exportSymbol('proto.ic_nns_governance.pb.v1.Vote', null, global);\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Configure, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Configure';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Follow, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Follow';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.Merge, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.Merge';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.displayName = 'proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.GovernanceError = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.GovernanceError, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.GovernanceError.displayName = 'proto.ic_nns_governance.pb.v1.GovernanceError';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ListNeurons = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ListNeurons, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ListNeurons.displayName = 'proto.ic_nns_governance.pb.v1.ListNeurons';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.displayName = 'proto.ic_nns_governance.pb.v1.ListNeuronsResponse';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.displayName = 'proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.BallotInfo = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.BallotInfo, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.BallotInfo.displayName = 'proto.ic_nns_governance.pb.v1.BallotInfo';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.NeuronInfo, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.NeuronInfo.displayName = 'proto.ic_nns_governance.pb.v1.NeuronInfo';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.Neuron = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.Neuron.repeatedFields_, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.Neuron, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.Neuron.displayName = 'proto.ic_nns_governance.pb.v1.Neuron';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.Neuron.Followees, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.Neuron.Followees.displayName = 'proto.ic_nns_governance.pb.v1.Neuron.Followees';\n}\n/**\n * Generated by JsPbCodeGenerator.\n * @param {Array=} opt_data Optional initial data array, typically from a\n * server response, or constructed directly in Javascript. The array is used\n * in place and becomes part of the constructed object. It is not cloned.\n * If no data is provided, the constructed object will be empty, but still\n * valid.\n * @extends {jspb.Message}\n * @constructor\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer = function(opt_data) {\n jspb.Message.initialize(this, opt_data, 0, -1, null, null);\n};\ngoog.inherits(proto.ic_nns_governance.pb.v1.NeuronStakeTransfer, jspb.Message);\nif (goog.DEBUG && !COMPILED) {\n /**\n * @public\n * @override\n */\n proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.displayName = 'proto.ic_nns_governance.pb.v1.NeuronStakeTransfer';\n}\n\n/**\n * Oneof group definitions for this message. Each group defines the field\n * numbers belonging to that group. When of these fields' value is set, all\n * other fields in the group are cleared. During deserialization, if multiple\n * fields are encountered for a group, only the last value seen will be kept.\n * @private {!Array<!Array<number>>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_ = [[11,12],[2,3,4,5,7,13,14]];\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase = {\n NEURON_ID_OR_SUBACCOUNT_NOT_SET: 0,\n SUBACCOUNT: 11,\n NEURON_ID: 12\n};\n\n/**\n * @return {proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronIdOrSubaccountCase = function() {\n return /** @type {proto.ic_nns_governance.pb.v1.ManageNeuron.NeuronIdOrSubaccountCase} */(jspb.Message.computeOneofCase(this, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0]));\n};\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase = {\n COMMAND_NOT_SET: 0,\n CONFIGURE: 2,\n DISBURSE: 3,\n SPAWN: 4,\n FOLLOW: 5,\n REGISTER_VOTE: 7,\n MERGE_MATURITY: 13,\n MERGE: 14\n};\n\n/**\n * @return {proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getCommandCase = function() {\n return /** @type {proto.ic_nns_governance.pb.v1.ManageNeuron.CommandCase} */(jspb.Message.computeOneofCase(this, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1]));\n};\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.toObject = function(includeInstance, msg) {\n var f, obj = {\n id: (f = msg.getId()) && base_types_pb.NeuronId.toObject(includeInstance, f),\n subaccount: msg.getSubaccount_asB64(),\n neuronId: (f = msg.getNeuronId()) && base_types_pb.NeuronId.toObject(includeInstance, f),\n configure: (f = msg.getConfigure()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(includeInstance, f),\n disburse: (f = msg.getDisburse()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(includeInstance, f),\n spawn: (f = msg.getSpawn()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(includeInstance, f),\n follow: (f = msg.getFollow()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(includeInstance, f),\n registerVote: (f = msg.getRegisterVote()) && proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(includeInstance, f),\n mergeMaturity: (f = msg.getMergeMaturity()) && proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(includeInstance, f),\n merge: (f = msg.getMerge()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.setId(value);\n break;\n case 11:\n var value = /** @type {!Uint8Array} */ (reader.readBytes());\n msg.setSubaccount(value);\n break;\n case 12:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.setNeuronId(value);\n break;\n case 2:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader);\n msg.setConfigure(value);\n break;\n case 3:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader);\n msg.setDisburse(value);\n break;\n case 4:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader);\n msg.setSpawn(value);\n break;\n case 5:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader);\n msg.setFollow(value);\n break;\n case 7:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader);\n msg.setRegisterVote(value);\n break;\n case 13:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader);\n msg.setMergeMaturity(value);\n break;\n case 14:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader);\n msg.setMerge(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getId();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 11));\n if (f != null) {\n writer.writeBytes(\n 11,\n f\n );\n }\n f = message.getNeuronId();\n if (f != null) {\n writer.writeMessage(\n 12,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n f = message.getConfigure();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter\n );\n }\n f = message.getDisburse();\n if (f != null) {\n writer.writeMessage(\n 3,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter\n );\n }\n f = message.getSpawn();\n if (f != null) {\n writer.writeMessage(\n 4,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter\n );\n }\n f = message.getFollow();\n if (f != null) {\n writer.writeMessage(\n 5,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter\n );\n }\n f = message.getRegisterVote();\n if (f != null) {\n writer.writeMessage(\n 7,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter\n );\n }\n f = message.getMergeMaturity();\n if (f != null) {\n writer.writeMessage(\n 13,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter\n );\n }\n f = message.getMerge();\n if (f != null) {\n writer.writeMessage(\n 14,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter\n );\n }\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject = function(includeInstance, msg) {\n var f, obj = {\n additionalDissolveDelaySeconds: jspb.Message.getFieldWithDefault(msg, 1, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setAdditionalDissolveDelaySeconds(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getAdditionalDissolveDelaySeconds();\n if (f !== 0) {\n writer.writeUint32(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional uint32 additional_dissolve_delay_seconds = 1;\n * @return {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.getAdditionalDissolveDelaySeconds = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/**\n * @param {number} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.prototype.setAdditionalDissolveDelaySeconds = function(value) {\n return jspb.Message.setProto3IntField(this, 1, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject = function(includeInstance, msg) {\n var f, obj = {\n newHotKey: (f = msg.getNewHotKey()) && base_types_pb.PrincipalId.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.setNewHotKey(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getNewHotKey();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.PrincipalId new_hot_key = 1;\n * @return {?proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.getNewHotKey = function() {\n return /** @type{?proto.ic_base_types.pb.v1.PrincipalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.PrincipalId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.setNewHotKey = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.clearNewHotKey = function() {\n return this.setNewHotKey(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.prototype.hasNewHotKey = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject = function(includeInstance, msg) {\n var f, obj = {\n hotKeyToRemove: (f = msg.getHotKeyToRemove()) && base_types_pb.PrincipalId.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.setHotKeyToRemove(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getHotKeyToRemove();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.PrincipalId hot_key_to_remove = 1;\n * @return {?proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.getHotKeyToRemove = function() {\n return /** @type{?proto.ic_base_types.pb.v1.PrincipalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.PrincipalId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.setHotKeyToRemove = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.clearHotKeyToRemove = function() {\n return this.setHotKeyToRemove(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.prototype.hasHotKeyToRemove = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n\n/**\n * Oneof group definitions for this message. Each group defines the field\n * numbers belonging to that group. When of these fields' value is set, all\n * other fields in the group are cleared. During deserialization, if multiple\n * fields are encountered for a group, only the last value seen will be kept.\n * @private {!Array<!Array<number>>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_ = [[1,2,3,4,5,7]];\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase = {\n OPERATION_NOT_SET: 0,\n INCREASE_DISSOLVE_DELAY: 1,\n START_DISSOLVING: 2,\n STOP_DISSOLVING: 3,\n ADD_HOT_KEY: 4,\n REMOVE_HOT_KEY: 5,\n JOIN_COMMUNITY_FUND: 7\n};\n\n/**\n * @return {proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getOperationCase = function() {\n return /** @type {proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.OperationCase} */(jspb.Message.computeOneofCase(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0]));\n};\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.toObject = function(includeInstance, msg) {\n var f, obj = {\n increaseDissolveDelay: (f = msg.getIncreaseDissolveDelay()) && proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.toObject(includeInstance, f),\n startDissolving: (f = msg.getStartDissolving()) && proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.toObject(includeInstance, f),\n stopDissolving: (f = msg.getStopDissolving()) && proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.toObject(includeInstance, f),\n addHotKey: (f = msg.getAddHotKey()) && proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.toObject(includeInstance, f),\n removeHotKey: (f = msg.getRemoveHotKey()) && proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.toObject(includeInstance, f),\n joinCommunityFund: (f = msg.getJoinCommunityFund()) && proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Configure;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.deserializeBinaryFromReader);\n msg.setIncreaseDissolveDelay(value);\n break;\n case 2:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.deserializeBinaryFromReader);\n msg.setStartDissolving(value);\n break;\n case 3:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.deserializeBinaryFromReader);\n msg.setStopDissolving(value);\n break;\n case 4:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.deserializeBinaryFromReader);\n msg.setAddHotKey(value);\n break;\n case 5:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.deserializeBinaryFromReader);\n msg.setRemoveHotKey(value);\n break;\n case 7:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader);\n msg.setJoinCommunityFund(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getIncreaseDissolveDelay();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay.serializeBinaryToWriter\n );\n }\n f = message.getStartDissolving();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving.serializeBinaryToWriter\n );\n }\n f = message.getStopDissolving();\n if (f != null) {\n writer.writeMessage(\n 3,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving.serializeBinaryToWriter\n );\n }\n f = message.getAddHotKey();\n if (f != null) {\n writer.writeMessage(\n 4,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey.serializeBinaryToWriter\n );\n }\n f = message.getRemoveHotKey();\n if (f != null) {\n writer.writeMessage(\n 5,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey.serializeBinaryToWriter\n );\n }\n f = message.getJoinCommunityFund();\n if (f != null) {\n writer.writeMessage(\n 7,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional IncreaseDissolveDelay increase_dissolve_delay = 1;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getIncreaseDissolveDelay = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay, 1));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.IncreaseDissolveDelay|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setIncreaseDissolveDelay = function(value) {\n return jspb.Message.setOneofWrapperField(this, 1, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearIncreaseDissolveDelay = function() {\n return this.setIncreaseDissolveDelay(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasIncreaseDissolveDelay = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional StartDissolving start_dissolving = 2;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStartDissolving = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving, 2));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.StartDissolving|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStartDissolving = function(value) {\n return jspb.Message.setOneofWrapperField(this, 2, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStartDissolving = function() {\n return this.setStartDissolving(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStartDissolving = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional StopDissolving stop_dissolving = 3;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getStopDissolving = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving, 3));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.StopDissolving|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setStopDissolving = function(value) {\n return jspb.Message.setOneofWrapperField(this, 3, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearStopDissolving = function() {\n return this.setStopDissolving(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasStopDissolving = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n/**\n * optional AddHotKey add_hot_key = 4;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getAddHotKey = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey, 4));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.AddHotKey|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setAddHotKey = function(value) {\n return jspb.Message.setOneofWrapperField(this, 4, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearAddHotKey = function() {\n return this.setAddHotKey(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasAddHotKey = function() {\n return jspb.Message.getField(this, 4) != null;\n};\n\n\n/**\n * optional RemoveHotKey remove_hot_key = 5;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getRemoveHotKey = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey, 5));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.RemoveHotKey|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setRemoveHotKey = function(value) {\n return jspb.Message.setOneofWrapperField(this, 5, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearRemoveHotKey = function() {\n return this.setRemoveHotKey(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasRemoveHotKey = function() {\n return jspb.Message.getField(this, 5) != null;\n};\n\n\n/**\n * optional JoinCommunityFund join_community_fund = 7;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.getJoinCommunityFund = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund, 7));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.setJoinCommunityFund = function(value) {\n return jspb.Message.setOneofWrapperField(this, 7, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.clearJoinCommunityFund = function() {\n return this.setJoinCommunityFund(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Configure.prototype.hasJoinCommunityFund = function() {\n return jspb.Message.getField(this, 7) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.toObject = function(includeInstance, msg) {\n var f, obj = {\n newController: (f = msg.getNewController()) && base_types_pb.PrincipalId.toObject(includeInstance, f),\n nonce: jspb.Message.getFieldWithDefault(msg, 2, 0),\n percentageToSpawn: jspb.Message.getFieldWithDefault(msg, 3, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.setNewController(value);\n break;\n case 2:\n var value = /** @type {number} */ (reader.readUint64());\n msg.setNonce(value);\n break;\n case 3:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setPercentageToSpawn(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getNewController();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n f = /** @type {number} */ (jspb.Message.getField(message, 2));\n if (f != null) {\n writer.writeUint64(\n 2,\n f\n );\n }\n f = /** @type {number} */ (jspb.Message.getField(message, 3));\n if (f != null) {\n writer.writeUint32(\n 3,\n f\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.PrincipalId new_controller = 1;\n * @return {?proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNewController = function() {\n return /** @type{?proto.ic_base_types.pb.v1.PrincipalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.PrincipalId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNewController = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNewController = function() {\n return this.setNewController(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNewController = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional uint64 nonce = 2;\n * @return {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getNonce = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));\n};\n\n\n/**\n * @param {number} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setNonce = function(value) {\n return jspb.Message.setField(this, 2, value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearNonce = function() {\n return jspb.Message.setField(this, 2, undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasNonce = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional uint32 percentage_to_spawn = 3;\n * @return {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.getPercentageToSpawn = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));\n};\n\n\n/**\n * @param {number} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.setPercentageToSpawn = function(value) {\n return jspb.Message.setField(this, 3, value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.clearPercentageToSpawn = function() {\n return jspb.Message.setField(this, 3, undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Spawn.prototype.hasPercentageToSpawn = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.toObject = function(includeInstance, msg) {\n var f, obj = {\n amount: (f = msg.getAmount()) && proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(includeInstance, f),\n toAccount: (f = msg.getToAccount()) && ledger_pb.AccountIdentifier.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader);\n msg.setAmount(value);\n break;\n case 2:\n var value = new ledger_pb.AccountIdentifier;\n reader.readMessage(value,ledger_pb.AccountIdentifier.deserializeBinaryFromReader);\n msg.setToAccount(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getAmount();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter\n );\n }\n f = message.getToAccount();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n ledger_pb.AccountIdentifier.serializeBinaryToWriter\n );\n }\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.toObject = function(includeInstance, msg) {\n var f, obj = {\n e8s: jspb.Message.getFieldWithDefault(msg, 1, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setE8s(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional uint64 e8s = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.getE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount.prototype.setE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional Amount amount = 1;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getAmount = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount, 1));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.Amount|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setAmount = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearAmount = function() {\n return this.setAmount(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasAmount = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional ic_ledger.pb.v1.AccountIdentifier to_account = 2;\n * @return {?proto.ic_ledger.pb.v1.AccountIdentifier}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.getToAccount = function() {\n return /** @type{?proto.ic_ledger.pb.v1.AccountIdentifier} */ (\n jspb.Message.getWrapperField(this, ledger_pb.AccountIdentifier, 2));\n};\n\n\n/**\n * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.setToAccount = function(value) {\n return jspb.Message.setWrapperField(this, 2, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.clearToAccount = function() {\n return this.setToAccount(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Disburse.prototype.hasToAccount = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.repeatedFields_ = [2];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.toObject = function(includeInstance, msg) {\n var f, obj = {\n topic: jspb.Message.getFieldWithDefault(msg, 1, 0),\n followeesList: jspb.Message.toObjectList(msg.getFolloweesList(),\n base_types_pb.NeuronId.toObject, includeInstance)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Follow;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {!proto.ic_nns_governance.pb.v1.Topic} */ (reader.readEnum());\n msg.setTopic(value);\n break;\n case 2:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.addFollowees(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getTopic();\n if (f !== 0.0) {\n writer.writeEnum(\n 1,\n f\n );\n }\n f = message.getFolloweesList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 2,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional Topic topic = 1;\n * @return {!proto.ic_nns_governance.pb.v1.Topic}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getTopic = function() {\n return /** @type {!proto.ic_nns_governance.pb.v1.Topic} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.Topic} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setTopic = function(value) {\n return jspb.Message.setProto3EnumField(this, 1, value);\n};\n\n\n/**\n * repeated ic_base_types.pb.v1.NeuronId followees = 2;\n * @return {!Array<!proto.ic_base_types.pb.v1.NeuronId>}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.getFolloweesList = function() {\n return /** @type{!Array<!proto.ic_base_types.pb.v1.NeuronId>} */ (\n jspb.Message.getRepeatedWrapperField(this, base_types_pb.NeuronId, 2));\n};\n\n\n/**\n * @param {!Array<!proto.ic_base_types.pb.v1.NeuronId>} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.setFolloweesList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 2, value);\n};\n\n\n/**\n * @param {!proto.ic_base_types.pb.v1.NeuronId=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.addFollowees = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ic_base_types.pb.v1.NeuronId, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Follow.prototype.clearFolloweesList = function() {\n return this.setFolloweesList([]);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.toObject = function(includeInstance, msg) {\n var f, obj = {\n proposal: (f = msg.getProposal()) && base_types_pb.ProposalId.toObject(includeInstance, f),\n vote: jspb.Message.getFieldWithDefault(msg, 2, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.ProposalId;\n reader.readMessage(value,base_types_pb.ProposalId.deserializeBinaryFromReader);\n msg.setProposal(value);\n break;\n case 2:\n var value = /** @type {!proto.ic_nns_governance.pb.v1.Vote} */ (reader.readEnum());\n msg.setVote(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getProposal();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.ProposalId.serializeBinaryToWriter\n );\n }\n f = message.getVote();\n if (f !== 0.0) {\n writer.writeEnum(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.ProposalId proposal = 1;\n * @return {?proto.ic_base_types.pb.v1.ProposalId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getProposal = function() {\n return /** @type{?proto.ic_base_types.pb.v1.ProposalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.ProposalId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.ProposalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setProposal = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.clearProposal = function() {\n return this.setProposal(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.hasProposal = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional Vote vote = 2;\n * @return {!proto.ic_nns_governance.pb.v1.Vote}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.getVote = function() {\n return /** @type {!proto.ic_nns_governance.pb.v1.Vote} */ (jspb.Message.getFieldWithDefault(this, 2, 0));\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.Vote} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote.prototype.setVote = function(value) {\n return jspb.Message.setProto3EnumField(this, 2, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.toObject = function(includeInstance, msg) {\n var f, obj = {\n sourceNeuronId: (f = msg.getSourceNeuronId()) && base_types_pb.NeuronId.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.Merge;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.setSourceNeuronId(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getSourceNeuronId();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.NeuronId source_neuron_id = 1;\n * @return {?proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.getSourceNeuronId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.NeuronId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.NeuronId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.NeuronId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.setSourceNeuronId = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.clearSourceNeuronId = function() {\n return this.setSourceNeuronId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.Merge.prototype.hasSourceNeuronId = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.toObject = function(includeInstance, msg) {\n var f, obj = {\n percentageToMerge: jspb.Message.getFieldWithDefault(msg, 1, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {number} */ (reader.readUint32());\n msg.setPercentageToMerge(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getPercentageToMerge();\n if (f !== 0) {\n writer.writeUint32(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional uint32 percentage_to_merge = 1;\n * @return {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.getPercentageToMerge = function() {\n return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/**\n * @param {number} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity.prototype.setPercentageToMerge = function(value) {\n return jspb.Message.setProto3IntField(this, 1, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund;\n return proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.JoinCommunityFund.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n/**\n * optional ic_base_types.pb.v1.NeuronId id = 1;\n * @return {?proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.NeuronId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.NeuronId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.NeuronId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setId = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearId = function() {\n return this.setId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasId = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional bytes subaccount = 11;\n * @return {!(string|Uint8Array)}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount = function() {\n return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, \"\"));\n};\n\n\n/**\n * optional bytes subaccount = 11;\n * This is a type-conversion wrapper around `getSubaccount()`\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asB64 = function() {\n return /** @type {string} */ (jspb.Message.bytesAsB64(\n this.getSubaccount()));\n};\n\n\n/**\n * optional bytes subaccount = 11;\n * Note that Uint8Array is not supported on all browsers.\n * @see http://caniuse.com/Uint8Array\n * This is a type-conversion wrapper around `getSubaccount()`\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSubaccount_asU8 = function() {\n return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(\n this.getSubaccount()));\n};\n\n\n/**\n * @param {!(string|Uint8Array)} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSubaccount = function(value) {\n return jspb.Message.setOneofField(this, 11, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSubaccount = function() {\n return jspb.Message.setOneofField(this, 11, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0], undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSubaccount = function() {\n return jspb.Message.getField(this, 11) != null;\n};\n\n\n/**\n * optional ic_base_types.pb.v1.NeuronId neuron_id = 12;\n * @return {?proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getNeuronId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.NeuronId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.NeuronId, 12));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.NeuronId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setNeuronId = function(value) {\n return jspb.Message.setOneofWrapperField(this, 12, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearNeuronId = function() {\n return this.setNeuronId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasNeuronId = function() {\n return jspb.Message.getField(this, 12) != null;\n};\n\n\n/**\n * optional Configure configure = 2;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Configure}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getConfigure = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Configure} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Configure, 2));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Configure|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setConfigure = function(value) {\n return jspb.Message.setOneofWrapperField(this, 2, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearConfigure = function() {\n return this.setConfigure(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasConfigure = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional Disburse disburse = 3;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getDisburse = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse, 3));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Disburse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setDisburse = function(value) {\n return jspb.Message.setOneofWrapperField(this, 3, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearDisburse = function() {\n return this.setDisburse(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasDisburse = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n/**\n * optional Spawn spawn = 4;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getSpawn = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn, 4));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Spawn|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setSpawn = function(value) {\n return jspb.Message.setOneofWrapperField(this, 4, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearSpawn = function() {\n return this.setSpawn(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasSpawn = function() {\n return jspb.Message.getField(this, 4) != null;\n};\n\n\n/**\n * optional Follow follow = 5;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Follow}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getFollow = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Follow} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Follow, 5));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Follow|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setFollow = function(value) {\n return jspb.Message.setOneofWrapperField(this, 5, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearFollow = function() {\n return this.setFollow(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasFollow = function() {\n return jspb.Message.getField(this, 5) != null;\n};\n\n\n/**\n * optional RegisterVote register_vote = 7;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getRegisterVote = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote, 7));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.RegisterVote|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setRegisterVote = function(value) {\n return jspb.Message.setOneofWrapperField(this, 7, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearRegisterVote = function() {\n return this.setRegisterVote(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasRegisterVote = function() {\n return jspb.Message.getField(this, 7) != null;\n};\n\n\n/**\n * optional MergeMaturity merge_maturity = 13;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMergeMaturity = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity, 13));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.MergeMaturity|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMergeMaturity = function(value) {\n return jspb.Message.setOneofWrapperField(this, 13, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMergeMaturity = function() {\n return this.setMergeMaturity(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMergeMaturity = function() {\n return jspb.Message.getField(this, 13) != null;\n};\n\n\n/**\n * optional Merge merge = 14;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuron.Merge}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.getMerge = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuron.Merge} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuron.Merge, 14));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuron.Merge|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.setMerge = function(value) {\n return jspb.Message.setOneofWrapperField(this, 14, proto.ic_nns_governance.pb.v1.ManageNeuron.oneofGroups_[1], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuron} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.clearMerge = function() {\n return this.setMerge(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuron.prototype.hasMerge = function() {\n return jspb.Message.getField(this, 14) != null;\n};\n\n\n\n/**\n * Oneof group definitions for this message. Each group defines the field\n * numbers belonging to that group. When of these fields' value is set, all\n * other fields in the group are cleared. During deserialization, if multiple\n * fields are encountered for a group, only the last value seen will be kept.\n * @private {!Array<!Array<number>>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_ = [[1,2,3,4,5,7,11,12]];\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase = {\n COMMAND_NOT_SET: 0,\n ERROR: 1,\n CONFIGURE: 2,\n DISBURSE: 3,\n SPAWN: 4,\n FOLLOW: 5,\n REGISTER_VOTE: 7,\n MERGE_MATURITY: 11,\n MERGE: 12\n};\n\n/**\n * @return {proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getCommandCase = function() {\n return /** @type {proto.ic_nns_governance.pb.v1.ManageNeuronResponse.CommandCase} */(jspb.Message.computeOneofCase(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0]));\n};\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n error: (f = msg.getError()) && proto.ic_nns_governance.pb.v1.GovernanceError.toObject(includeInstance, f),\n configure: (f = msg.getConfigure()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(includeInstance, f),\n disburse: (f = msg.getDisburse()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(includeInstance, f),\n spawn: (f = msg.getSpawn()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(includeInstance, f),\n follow: (f = msg.getFollow()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(includeInstance, f),\n registerVote: (f = msg.getRegisterVote()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(includeInstance, f),\n mergeMaturity: (f = msg.getMergeMaturity()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(includeInstance, f),\n merge: (f = msg.getMerge()) && proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new proto.ic_nns_governance.pb.v1.GovernanceError;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader);\n msg.setError(value);\n break;\n case 2:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader);\n msg.setConfigure(value);\n break;\n case 3:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader);\n msg.setDisburse(value);\n break;\n case 4:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader);\n msg.setSpawn(value);\n break;\n case 5:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader);\n msg.setFollow(value);\n break;\n case 7:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader);\n msg.setRegisterVote(value);\n break;\n case 11:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader);\n msg.setMergeMaturity(value);\n break;\n case 12:\n var value = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader);\n msg.setMerge(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getError();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter\n );\n }\n f = message.getConfigure();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter\n );\n }\n f = message.getDisburse();\n if (f != null) {\n writer.writeMessage(\n 3,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter\n );\n }\n f = message.getSpawn();\n if (f != null) {\n writer.writeMessage(\n 4,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter\n );\n }\n f = message.getFollow();\n if (f != null) {\n writer.writeMessage(\n 5,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter\n );\n }\n f = message.getRegisterVote();\n if (f != null) {\n writer.writeMessage(\n 7,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter\n );\n }\n f = message.getMergeMaturity();\n if (f != null) {\n writer.writeMessage(\n 11,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter\n );\n }\n f = message.getMerge();\n if (f != null) {\n writer.writeMessage(\n 12,\n f,\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter\n );\n }\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n transferBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setTransferBlockHeight(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getTransferBlockHeight();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 1,\n f\n );\n }\n};\n\n\n/**\n * optional uint64 transfer_block_height = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.getTransferBlockHeight = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse.prototype.setTransferBlockHeight = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n createdNeuronId: (f = msg.getCreatedNeuronId()) && base_types_pb.NeuronId.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.setCreatedNeuronId(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getCreatedNeuronId();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.NeuronId created_neuron_id = 1;\n * @return {?proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.getCreatedNeuronId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.NeuronId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.NeuronId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.NeuronId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.setCreatedNeuronId = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.clearCreatedNeuronId = function() {\n return this.setCreatedNeuronId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse.prototype.hasCreatedNeuronId = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n mergedMaturityE8s: jspb.Message.getFieldWithDefault(msg, 1, \"0\"),\n newStakeE8s: jspb.Message.getFieldWithDefault(msg, 2, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setMergedMaturityE8s(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setNewStakeE8s(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getMergedMaturityE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 1,\n f\n );\n }\n f = message.getNewStakeE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional uint64 merged_maturity_e8s = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getMergedMaturityE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setMergedMaturityE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional uint64 new_stake_e8s = 2;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.getNewStakeE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse.prototype.setNewStakeE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 2, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse;\n return proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n};\n\n\n/**\n * optional GovernanceError error = 1;\n * @return {?proto.ic_nns_governance.pb.v1.GovernanceError}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getError = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.GovernanceError} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.GovernanceError, 1));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.GovernanceError|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setError = function(value) {\n return jspb.Message.setOneofWrapperField(this, 1, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearError = function() {\n return this.setError(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasError = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional ConfigureResponse configure = 2;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getConfigure = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse, 2));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.ConfigureResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setConfigure = function(value) {\n return jspb.Message.setOneofWrapperField(this, 2, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearConfigure = function() {\n return this.setConfigure(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasConfigure = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional DisburseResponse disburse = 3;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getDisburse = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse, 3));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.DisburseResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setDisburse = function(value) {\n return jspb.Message.setOneofWrapperField(this, 3, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearDisburse = function() {\n return this.setDisburse(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasDisburse = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n/**\n * optional SpawnResponse spawn = 4;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getSpawn = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse, 4));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.SpawnResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setSpawn = function(value) {\n return jspb.Message.setOneofWrapperField(this, 4, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearSpawn = function() {\n return this.setSpawn(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasSpawn = function() {\n return jspb.Message.getField(this, 4) != null;\n};\n\n\n/**\n * optional FollowResponse follow = 5;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getFollow = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse, 5));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.FollowResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setFollow = function(value) {\n return jspb.Message.setOneofWrapperField(this, 5, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearFollow = function() {\n return this.setFollow(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasFollow = function() {\n return jspb.Message.getField(this, 5) != null;\n};\n\n\n/**\n * optional RegisterVoteResponse register_vote = 7;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getRegisterVote = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse, 7));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.RegisterVoteResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setRegisterVote = function(value) {\n return jspb.Message.setOneofWrapperField(this, 7, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearRegisterVote = function() {\n return this.setRegisterVote(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasRegisterVote = function() {\n return jspb.Message.getField(this, 7) != null;\n};\n\n\n/**\n * optional MergeMaturityResponse merge_maturity = 11;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMergeMaturity = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse, 11));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeMaturityResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMergeMaturity = function(value) {\n return jspb.Message.setOneofWrapperField(this, 11, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMergeMaturity = function() {\n return this.setMergeMaturity(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMergeMaturity = function() {\n return jspb.Message.getField(this, 11) != null;\n};\n\n\n/**\n * optional MergeResponse merge = 12;\n * @return {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.getMerge = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse, 12));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.ManageNeuronResponse.MergeResponse|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.setMerge = function(value) {\n return jspb.Message.setOneofWrapperField(this, 12, proto.ic_nns_governance.pb.v1.ManageNeuronResponse.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ManageNeuronResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.clearMerge = function() {\n return this.setMerge(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ManageNeuronResponse.prototype.hasMerge = function() {\n return jspb.Message.getField(this, 12) != null;\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.GovernanceError.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.GovernanceError} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.toObject = function(includeInstance, msg) {\n var f, obj = {\n errorType: jspb.Message.getFieldWithDefault(msg, 1, 0),\n errorMessage: jspb.Message.getFieldWithDefault(msg, 2, \"\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.GovernanceError}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.GovernanceError;\n return proto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.GovernanceError} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.GovernanceError}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {!proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType} */ (reader.readEnum());\n msg.setErrorType(value);\n break;\n case 2:\n var value = /** @type {string} */ (reader.readString());\n msg.setErrorMessage(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.GovernanceError} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getErrorType();\n if (f !== 0.0) {\n writer.writeEnum(\n 1,\n f\n );\n }\n f = message.getErrorMessage();\n if (f.length > 0) {\n writer.writeString(\n 2,\n f\n );\n }\n};\n\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.ErrorType = {\n ERROR_TYPE_UNSPECIFIED: 0,\n ERROR_TYPE_OK: 1,\n ERROR_TYPE_UNAVAILABLE: 2,\n ERROR_TYPE_NOT_AUTHORIZED: 3,\n ERROR_TYPE_NOT_FOUND: 4,\n ERROR_TYPE_INVALID_COMMAND: 5,\n ERROR_TYPE_REQUIRES_NOT_DISSOLVING: 6,\n ERROR_TYPE_REQUIRES_DISSOLVING: 7,\n ERROR_TYPE_REQUIRES_DISSOLVED: 8,\n ERROR_TYPE_HOT_KEY: 9,\n ERROR_TYPE_RESOURCE_EXHAUSTED: 10,\n ERROR_TYPE_PRECONDITION_FAILED: 11,\n ERROR_TYPE_EXTERNAL: 12,\n ERROR_TYPE_LEDGER_UPDATE_ONGOING: 13,\n ERROR_TYPE_INSUFFICIENT_FUNDS: 14,\n ERROR_TYPE_INVALID_PRINCIPAL: 15,\n ERROR_TYPE_INVALID_PROPOSAL: 16,\n ERROR_TYPE_ALREADY_JOINED_COMMUNITY_FUND: 17\n};\n\n/**\n * optional ErrorType error_type = 1;\n * @return {!proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorType = function() {\n return /** @type {!proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.GovernanceError.ErrorType} value\n * @return {!proto.ic_nns_governance.pb.v1.GovernanceError} returns this\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorType = function(value) {\n return jspb.Message.setProto3EnumField(this, 1, value);\n};\n\n\n/**\n * optional string error_message = 2;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.getErrorMessage = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, \"\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.GovernanceError} returns this\n */\nproto.ic_nns_governance.pb.v1.GovernanceError.prototype.setErrorMessage = function(value) {\n return jspb.Message.setProto3StringField(this, 2, value);\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.repeatedFields_ = [1];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ListNeurons.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ListNeurons} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.toObject = function(includeInstance, msg) {\n var f, obj = {\n neuronIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,\n includeNeuronsReadableByCaller: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ListNeurons;\n return proto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeurons} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var values = /** @type {!Array<string>} */ (reader.isDelimited() ? reader.readPackedFixed64String() : [reader.readFixed64String()]);\n for (var i = 0; i < values.length; i++) {\n msg.addNeuronIds(values[i]);\n }\n break;\n case 2:\n var value = /** @type {boolean} */ (reader.readBool());\n msg.setIncludeNeuronsReadableByCaller(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeurons} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getNeuronIdsList();\n if (f.length > 0) {\n writer.writePackedFixed64String(\n 1,\n f\n );\n }\n f = message.getIncludeNeuronsReadableByCaller();\n if (f) {\n writer.writeBool(\n 2,\n f\n );\n }\n};\n\n\n/**\n * repeated fixed64 neuron_ids = 1;\n * @return {!Array<string>}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.getNeuronIdsList = function() {\n return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));\n};\n\n\n/**\n * @param {!Array<string>} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.setNeuronIdsList = function(value) {\n return jspb.Message.setField(this, 1, value || []);\n};\n\n\n/**\n * @param {string} value\n * @param {number=} opt_index\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.addNeuronIds = function(value, opt_index) {\n return jspb.Message.addToRepeatedField(this, 1, value, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.clearNeuronIdsList = function() {\n return this.setNeuronIdsList([]);\n};\n\n\n/**\n * optional bool include_neurons_readable_by_caller = 2;\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.getIncludeNeuronsReadableByCaller = function() {\n return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));\n};\n\n\n/**\n * @param {boolean} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeurons} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeurons.prototype.setIncludeNeuronsReadableByCaller = function(value) {\n return jspb.Message.setProto3BooleanField(this, 2, value);\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.repeatedFields_ = [1,2];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.toObject = function(includeInstance, msg) {\n var f, obj = {\n neuronIdsList: jspb.Message.toObjectList(msg.getNeuronIdsList(),\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject, includeInstance),\n fullNeuronsList: jspb.Message.toObjectList(msg.getFullNeuronsList(),\n proto.ic_nns_governance.pb.v1.Neuron.toObject, includeInstance)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ListNeuronsResponse;\n return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader);\n msg.addNeuronIds(value);\n break;\n case 2:\n var value = new proto.ic_nns_governance.pb.v1.Neuron;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader);\n msg.addFullNeurons(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getNeuronIdsList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 1,\n f,\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter\n );\n }\n f = message.getFullNeuronsList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 2,\n f,\n proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter\n );\n }\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.toObject = function(includeInstance, msg) {\n var f, obj = {\n key: jspb.Message.getFieldWithDefault(msg, 1, \"0\"),\n value: (f = msg.getValue()) && proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(includeInstance, f)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry;\n return proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readFixed64String());\n msg.setKey(value);\n break;\n case 2:\n var value = new proto.ic_nns_governance.pb.v1.NeuronInfo;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader);\n msg.setValue(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getKey();\n if (parseInt(f, 10) !== 0) {\n writer.writeFixed64String(\n 1,\n f\n );\n }\n f = message.getValue();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * optional fixed64 key = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getKey = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setKey = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional NeuronInfo value = 2;\n * @return {?proto.ic_nns_governance.pb.v1.NeuronInfo}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.getValue = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.NeuronInfo} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.NeuronInfo, 2));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.NeuronInfo|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} returns this\n*/\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.setValue = function(value) {\n return jspb.Message.setWrapperField(this, 2, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.clearValue = function() {\n return this.setValue(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry.prototype.hasValue = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * repeated NeuronMapEntry neuron_ids = 1;\n * @return {!Array<!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry>}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getNeuronIdsList = function() {\n return /** @type{!Array<!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry>} */ (\n jspb.Message.getRepeatedWrapperField(this, proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry, 1));\n};\n\n\n/**\n * @param {!Array<!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry>} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setNeuronIdsList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 1, value);\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addNeuronIds = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ic_nns_governance.pb.v1.ListNeuronsResponse.NeuronMapEntry, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearNeuronIdsList = function() {\n return this.setNeuronIdsList([]);\n};\n\n\n/**\n * repeated Neuron full_neurons = 2;\n * @return {!Array<!proto.ic_nns_governance.pb.v1.Neuron>}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.getFullNeuronsList = function() {\n return /** @type{!Array<!proto.ic_nns_governance.pb.v1.Neuron>} */ (\n jspb.Message.getRepeatedWrapperField(this, proto.ic_nns_governance.pb.v1.Neuron, 2));\n};\n\n\n/**\n * @param {!Array<!proto.ic_nns_governance.pb.v1.Neuron>} value\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} returns this\n*/\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.setFullNeuronsList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 2, value);\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.Neuron=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_nns_governance.pb.v1.Neuron}\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.addFullNeurons = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ic_nns_governance.pb.v1.Neuron, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.ListNeuronsResponse} returns this\n */\nproto.ic_nns_governance.pb.v1.ListNeuronsResponse.prototype.clearFullNeuronsList = function() {\n return this.setFullNeuronsList([]);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.BallotInfo.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.BallotInfo} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.toObject = function(includeInstance, msg) {\n var f, obj = {\n proposalId: (f = msg.getProposalId()) && base_types_pb.ProposalId.toObject(includeInstance, f),\n vote: jspb.Message.getFieldWithDefault(msg, 2, 0)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.BallotInfo;\n return proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.BallotInfo} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.ProposalId;\n reader.readMessage(value,base_types_pb.ProposalId.deserializeBinaryFromReader);\n msg.setProposalId(value);\n break;\n case 2:\n var value = /** @type {!proto.ic_nns_governance.pb.v1.Vote} */ (reader.readEnum());\n msg.setVote(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.BallotInfo} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getProposalId();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.ProposalId.serializeBinaryToWriter\n );\n }\n f = message.getVote();\n if (f !== 0.0) {\n writer.writeEnum(\n 2,\n f\n );\n }\n};\n\n\n/**\n * optional ic_base_types.pb.v1.ProposalId proposal_id = 1;\n * @return {?proto.ic_base_types.pb.v1.ProposalId}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.getProposalId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.ProposalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.ProposalId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.ProposalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo} returns this\n*/\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.setProposalId = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.clearProposalId = function() {\n return this.setProposalId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.hasProposalId = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional Vote vote = 2;\n * @return {!proto.ic_nns_governance.pb.v1.Vote}\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.getVote = function() {\n return /** @type {!proto.ic_nns_governance.pb.v1.Vote} */ (jspb.Message.getFieldWithDefault(this, 2, 0));\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.Vote} value\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.BallotInfo.prototype.setVote = function(value) {\n return jspb.Message.setProto3EnumField(this, 2, value);\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.repeatedFields_ = [5];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.NeuronInfo.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.NeuronInfo} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.toObject = function(includeInstance, msg) {\n var f, obj = {\n retrievedAtTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 1, \"0\"),\n ageSeconds: jspb.Message.getFieldWithDefault(msg, 3, \"0\"),\n dissolveDelaySeconds: jspb.Message.getFieldWithDefault(msg, 4, \"0\"),\n recentBallotsList: jspb.Message.toObjectList(msg.getRecentBallotsList(),\n proto.ic_nns_governance.pb.v1.BallotInfo.toObject, includeInstance),\n votingPower: jspb.Message.getFieldWithDefault(msg, 6, \"0\"),\n createdTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 7, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.NeuronInfo;\n return proto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.NeuronInfo} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setRetrievedAtTimestampSeconds(value);\n break;\n case 3:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setAgeSeconds(value);\n break;\n case 4:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setDissolveDelaySeconds(value);\n break;\n case 5:\n var value = new proto.ic_nns_governance.pb.v1.BallotInfo;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader);\n msg.addRecentBallots(value);\n break;\n case 6:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setVotingPower(value);\n break;\n case 7:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setCreatedTimestampSeconds(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.NeuronInfo} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getRetrievedAtTimestampSeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 1,\n f\n );\n }\n f = message.getAgeSeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 3,\n f\n );\n }\n f = message.getDissolveDelaySeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 4,\n f\n );\n }\n f = message.getRecentBallotsList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 5,\n f,\n proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter\n );\n }\n f = message.getVotingPower();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 6,\n f\n );\n }\n f = message.getCreatedTimestampSeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 7,\n f\n );\n }\n};\n\n\n/**\n * optional uint64 retrieved_at_timestamp_seconds = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRetrievedAtTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRetrievedAtTimestampSeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional uint64 age_seconds = 3;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getAgeSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setAgeSeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 3, value);\n};\n\n\n/**\n * optional uint64 dissolve_delay_seconds = 4;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getDissolveDelaySeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setDissolveDelaySeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 4, value);\n};\n\n\n/**\n * repeated BallotInfo recent_ballots = 5;\n * @return {!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getRecentBallotsList = function() {\n return /** @type{!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>} */ (\n jspb.Message.getRepeatedWrapperField(this, proto.ic_nns_governance.pb.v1.BallotInfo, 5));\n};\n\n\n/**\n * @param {!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n*/\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setRecentBallotsList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 5, value);\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.BallotInfo=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.addRecentBallots = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ic_nns_governance.pb.v1.BallotInfo, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.clearRecentBallotsList = function() {\n return this.setRecentBallotsList([]);\n};\n\n\n/**\n * optional uint64 voting_power = 6;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getVotingPower = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setVotingPower = function(value) {\n return jspb.Message.setProto3StringIntField(this, 6, value);\n};\n\n\n/**\n * optional uint64 created_timestamp_seconds = 7;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.getCreatedTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronInfo} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronInfo.prototype.setCreatedTimestampSeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 7, value);\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.Neuron.repeatedFields_ = [4,12];\n\n/**\n * Oneof group definitions for this message. Each group defines the field\n * numbers belonging to that group. When of these fields' value is set, all\n * other fields in the group are cleared. During deserialization, if multiple\n * fields are encountered for a group, only the last value seen will be kept.\n * @private {!Array<!Array<number>>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.Neuron.oneofGroups_ = [[9,10]];\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase = {\n DISSOLVE_STATE_NOT_SET: 0,\n WHEN_DISSOLVED_TIMESTAMP_SECONDS: 9,\n DISSOLVE_DELAY_SECONDS: 10\n};\n\n/**\n * @return {proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveStateCase = function() {\n return /** @type {proto.ic_nns_governance.pb.v1.Neuron.DissolveStateCase} */(jspb.Message.computeOneofCase(this, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0]));\n};\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.Neuron.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.Neuron} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.Neuron.toObject = function(includeInstance, msg) {\n var f, obj = {\n id: (f = msg.getId()) && base_types_pb.NeuronId.toObject(includeInstance, f),\n account: msg.getAccount_asB64(),\n controller: (f = msg.getController()) && base_types_pb.PrincipalId.toObject(includeInstance, f),\n hotKeysList: jspb.Message.toObjectList(msg.getHotKeysList(),\n base_types_pb.PrincipalId.toObject, includeInstance),\n cachedNeuronStakeE8s: jspb.Message.getFieldWithDefault(msg, 5, \"0\"),\n neuronFeesE8s: jspb.Message.getFieldWithDefault(msg, 6, \"0\"),\n createdTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 7, \"0\"),\n agingSinceTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 8, \"0\"),\n spawnAtTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 19, \"0\"),\n whenDissolvedTimestampSeconds: jspb.Message.getFieldWithDefault(msg, 9, \"0\"),\n dissolveDelaySeconds: jspb.Message.getFieldWithDefault(msg, 10, \"0\"),\n followeesMap: (f = msg.getFolloweesMap()) ? f.toObject(includeInstance, proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject) : [],\n recentBallotsList: jspb.Message.toObjectList(msg.getRecentBallotsList(),\n proto.ic_nns_governance.pb.v1.BallotInfo.toObject, includeInstance),\n kycVerified: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),\n transfer: (f = msg.getTransfer()) && proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(includeInstance, f),\n maturityE8sEquivalent: jspb.Message.getFieldWithDefault(msg, 15, \"0\"),\n notForProfit: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron}\n */\nproto.ic_nns_governance.pb.v1.Neuron.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.Neuron;\n return proto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.Neuron} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron}\n */\nproto.ic_nns_governance.pb.v1.Neuron.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.setId(value);\n break;\n case 2:\n var value = /** @type {!Uint8Array} */ (reader.readBytes());\n msg.setAccount(value);\n break;\n case 3:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.setController(value);\n break;\n case 4:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.addHotKeys(value);\n break;\n case 5:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setCachedNeuronStakeE8s(value);\n break;\n case 6:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setNeuronFeesE8s(value);\n break;\n case 7:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setCreatedTimestampSeconds(value);\n break;\n case 8:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setAgingSinceTimestampSeconds(value);\n break;\n case 19:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setSpawnAtTimestampSeconds(value);\n break;\n case 9:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setWhenDissolvedTimestampSeconds(value);\n break;\n case 10:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setDissolveDelaySeconds(value);\n break;\n case 11:\n var value = msg.getFolloweesMap();\n reader.readMessage(value, function(message, reader) {\n jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader, 0, new proto.ic_nns_governance.pb.v1.Neuron.Followees());\n });\n break;\n case 12:\n var value = new proto.ic_nns_governance.pb.v1.BallotInfo;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.BallotInfo.deserializeBinaryFromReader);\n msg.addRecentBallots(value);\n break;\n case 13:\n var value = /** @type {boolean} */ (reader.readBool());\n msg.setKycVerified(value);\n break;\n case 14:\n var value = new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;\n reader.readMessage(value,proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader);\n msg.setTransfer(value);\n break;\n case 15:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setMaturityE8sEquivalent(value);\n break;\n case 16:\n var value = /** @type {boolean} */ (reader.readBool());\n msg.setNotForProfit(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.Neuron} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.Neuron.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getId();\n if (f != null) {\n writer.writeMessage(\n 1,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n f = message.getAccount_asU8();\n if (f.length > 0) {\n writer.writeBytes(\n 2,\n f\n );\n }\n f = message.getController();\n if (f != null) {\n writer.writeMessage(\n 3,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n f = message.getHotKeysList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 4,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n f = message.getCachedNeuronStakeE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 5,\n f\n );\n }\n f = message.getNeuronFeesE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 6,\n f\n );\n }\n f = message.getCreatedTimestampSeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 7,\n f\n );\n }\n f = message.getAgingSinceTimestampSeconds();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 8,\n f\n );\n }\n f = /** @type {string} */ (jspb.Message.getField(message, 19));\n if (f != null) {\n writer.writeUint64String(\n 19,\n f\n );\n }\n f = /** @type {string} */ (jspb.Message.getField(message, 9));\n if (f != null) {\n writer.writeUint64String(\n 9,\n f\n );\n }\n f = /** @type {string} */ (jspb.Message.getField(message, 10));\n if (f != null) {\n writer.writeUint64String(\n 10,\n f\n );\n }\n f = message.getFolloweesMap(true);\n if (f && f.getLength() > 0) {\n f.serializeBinary(11, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter);\n }\n f = message.getRecentBallotsList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 12,\n f,\n proto.ic_nns_governance.pb.v1.BallotInfo.serializeBinaryToWriter\n );\n }\n f = message.getKycVerified();\n if (f) {\n writer.writeBool(\n 13,\n f\n );\n }\n f = message.getTransfer();\n if (f != null) {\n writer.writeMessage(\n 14,\n f,\n proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter\n );\n }\n f = message.getMaturityE8sEquivalent();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 15,\n f\n );\n }\n f = message.getNotForProfit();\n if (f) {\n writer.writeBool(\n 16,\n f\n );\n }\n};\n\n\n\n/**\n * List of repeated fields within this message type.\n * @private {!Array<number>}\n * @const\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.repeatedFields_ = [1];\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.Neuron.Followees.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.Neuron.Followees} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.toObject = function(includeInstance, msg) {\n var f, obj = {\n followeesList: jspb.Message.toObjectList(msg.getFolloweesList(),\n base_types_pb.NeuronId.toObject, includeInstance)\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron.Followees}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.Neuron.Followees;\n return proto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.Neuron.Followees} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron.Followees}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = new base_types_pb.NeuronId;\n reader.readMessage(value,base_types_pb.NeuronId.deserializeBinaryFromReader);\n msg.addFollowees(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.Neuron.Followees} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getFolloweesList();\n if (f.length > 0) {\n writer.writeRepeatedMessage(\n 1,\n f,\n base_types_pb.NeuronId.serializeBinaryToWriter\n );\n }\n};\n\n\n/**\n * repeated ic_base_types.pb.v1.NeuronId followees = 1;\n * @return {!Array<!proto.ic_base_types.pb.v1.NeuronId>}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.getFolloweesList = function() {\n return /** @type{!Array<!proto.ic_base_types.pb.v1.NeuronId>} */ (\n jspb.Message.getRepeatedWrapperField(this, base_types_pb.NeuronId, 1));\n};\n\n\n/**\n * @param {!Array<!proto.ic_base_types.pb.v1.NeuronId>} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron.Followees} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.setFolloweesList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 1, value);\n};\n\n\n/**\n * @param {!proto.ic_base_types.pb.v1.NeuronId=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.addFollowees = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ic_base_types.pb.v1.NeuronId, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron.Followees} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.Followees.prototype.clearFolloweesList = function() {\n return this.setFolloweesList([]);\n};\n\n\n/**\n * optional ic_base_types.pb.v1.NeuronId id = 1;\n * @return {?proto.ic_base_types.pb.v1.NeuronId}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getId = function() {\n return /** @type{?proto.ic_base_types.pb.v1.NeuronId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.NeuronId, 1));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.NeuronId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setId = function(value) {\n return jspb.Message.setWrapperField(this, 1, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearId = function() {\n return this.setId(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasId = function() {\n return jspb.Message.getField(this, 1) != null;\n};\n\n\n/**\n * optional bytes account = 2;\n * @return {!(string|Uint8Array)}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount = function() {\n return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, \"\"));\n};\n\n\n/**\n * optional bytes account = 2;\n * This is a type-conversion wrapper around `getAccount()`\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asB64 = function() {\n return /** @type {string} */ (jspb.Message.bytesAsB64(\n this.getAccount()));\n};\n\n\n/**\n * optional bytes account = 2;\n * Note that Uint8Array is not supported on all browsers.\n * @see http://caniuse.com/Uint8Array\n * This is a type-conversion wrapper around `getAccount()`\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getAccount_asU8 = function() {\n return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(\n this.getAccount()));\n};\n\n\n/**\n * @param {!(string|Uint8Array)} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setAccount = function(value) {\n return jspb.Message.setProto3BytesField(this, 2, value);\n};\n\n\n/**\n * optional ic_base_types.pb.v1.PrincipalId controller = 3;\n * @return {?proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getController = function() {\n return /** @type{?proto.ic_base_types.pb.v1.PrincipalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.PrincipalId, 3));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setController = function(value) {\n return jspb.Message.setWrapperField(this, 3, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearController = function() {\n return this.setController(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasController = function() {\n return jspb.Message.getField(this, 3) != null;\n};\n\n\n/**\n * repeated ic_base_types.pb.v1.PrincipalId hot_keys = 4;\n * @return {!Array<!proto.ic_base_types.pb.v1.PrincipalId>}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getHotKeysList = function() {\n return /** @type{!Array<!proto.ic_base_types.pb.v1.PrincipalId>} */ (\n jspb.Message.getRepeatedWrapperField(this, base_types_pb.PrincipalId, 4));\n};\n\n\n/**\n * @param {!Array<!proto.ic_base_types.pb.v1.PrincipalId>} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setHotKeysList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 4, value);\n};\n\n\n/**\n * @param {!proto.ic_base_types.pb.v1.PrincipalId=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.addHotKeys = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ic_base_types.pb.v1.PrincipalId, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearHotKeysList = function() {\n return this.setHotKeysList([]);\n};\n\n\n/**\n * optional uint64 cached_neuron_stake_e8s = 5;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getCachedNeuronStakeE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setCachedNeuronStakeE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 5, value);\n};\n\n\n/**\n * optional uint64 neuron_fees_e8s = 6;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getNeuronFeesE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setNeuronFeesE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 6, value);\n};\n\n\n/**\n * optional uint64 created_timestamp_seconds = 7;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getCreatedTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setCreatedTimestampSeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 7, value);\n};\n\n\n/**\n * optional uint64 aging_since_timestamp_seconds = 8;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getAgingSinceTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setAgingSinceTimestampSeconds = function(value) {\n return jspb.Message.setProto3StringIntField(this, 8, value);\n};\n\n\n/**\n * optional uint64 spawn_at_timestamp_seconds = 19;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getSpawnAtTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setSpawnAtTimestampSeconds = function(value) {\n return jspb.Message.setField(this, 19, value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearSpawnAtTimestampSeconds = function() {\n return jspb.Message.setField(this, 19, undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasSpawnAtTimestampSeconds = function() {\n return jspb.Message.getField(this, 19) != null;\n};\n\n\n/**\n * optional uint64 when_dissolved_timestamp_seconds = 9;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getWhenDissolvedTimestampSeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setWhenDissolvedTimestampSeconds = function(value) {\n return jspb.Message.setOneofField(this, 9, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearWhenDissolvedTimestampSeconds = function() {\n return jspb.Message.setOneofField(this, 9, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0], undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasWhenDissolvedTimestampSeconds = function() {\n return jspb.Message.getField(this, 9) != null;\n};\n\n\n/**\n * optional uint64 dissolve_delay_seconds = 10;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getDissolveDelaySeconds = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setDissolveDelaySeconds = function(value) {\n return jspb.Message.setOneofField(this, 10, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0], value);\n};\n\n\n/**\n * Clears the field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearDissolveDelaySeconds = function() {\n return jspb.Message.setOneofField(this, 10, proto.ic_nns_governance.pb.v1.Neuron.oneofGroups_[0], undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasDissolveDelaySeconds = function() {\n return jspb.Message.getField(this, 10) != null;\n};\n\n\n/**\n * map<int32, Followees> followees = 11;\n * @param {boolean=} opt_noLazyCreate Do not create the map if\n * empty, instead returning `undefined`\n * @return {!jspb.Map<number,!proto.ic_nns_governance.pb.v1.Neuron.Followees>}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getFolloweesMap = function(opt_noLazyCreate) {\n return /** @type {!jspb.Map<number,!proto.ic_nns_governance.pb.v1.Neuron.Followees>} */ (\n jspb.Message.getMapField(this, 11, opt_noLazyCreate,\n proto.ic_nns_governance.pb.v1.Neuron.Followees));\n};\n\n\n/**\n * Clears values from the map. The map will be non-null.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearFolloweesMap = function() {\n this.getFolloweesMap().clear();\n return this;};\n\n\n/**\n * repeated BallotInfo recent_ballots = 12;\n * @return {!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getRecentBallotsList = function() {\n return /** @type{!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>} */ (\n jspb.Message.getRepeatedWrapperField(this, proto.ic_nns_governance.pb.v1.BallotInfo, 12));\n};\n\n\n/**\n * @param {!Array<!proto.ic_nns_governance.pb.v1.BallotInfo>} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setRecentBallotsList = function(value) {\n return jspb.Message.setRepeatedWrapperField(this, 12, value);\n};\n\n\n/**\n * @param {!proto.ic_nns_governance.pb.v1.BallotInfo=} opt_value\n * @param {number=} opt_index\n * @return {!proto.ic_nns_governance.pb.v1.BallotInfo}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.addRecentBallots = function(opt_value, opt_index) {\n return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.ic_nns_governance.pb.v1.BallotInfo, opt_index);\n};\n\n\n/**\n * Clears the list making it empty but non-null.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearRecentBallotsList = function() {\n return this.setRecentBallotsList([]);\n};\n\n\n/**\n * optional bool kyc_verified = 13;\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getKycVerified = function() {\n return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));\n};\n\n\n/**\n * @param {boolean} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setKycVerified = function(value) {\n return jspb.Message.setProto3BooleanField(this, 13, value);\n};\n\n\n/**\n * optional NeuronStakeTransfer transfer = 14;\n * @return {?proto.ic_nns_governance.pb.v1.NeuronStakeTransfer}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getTransfer = function() {\n return /** @type{?proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} */ (\n jspb.Message.getWrapperField(this, proto.ic_nns_governance.pb.v1.NeuronStakeTransfer, 14));\n};\n\n\n/**\n * @param {?proto.ic_nns_governance.pb.v1.NeuronStakeTransfer|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n*/\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setTransfer = function(value) {\n return jspb.Message.setWrapperField(this, 14, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.clearTransfer = function() {\n return this.setTransfer(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.hasTransfer = function() {\n return jspb.Message.getField(this, 14) != null;\n};\n\n\n/**\n * optional uint64 maturity_e8s_equivalent = 15;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getMaturityE8sEquivalent = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setMaturityE8sEquivalent = function(value) {\n return jspb.Message.setProto3StringIntField(this, 15, value);\n};\n\n\n/**\n * optional bool not_for_profit = 16;\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.getNotForProfit = function() {\n return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));\n};\n\n\n/**\n * @param {boolean} value\n * @return {!proto.ic_nns_governance.pb.v1.Neuron} returns this\n */\nproto.ic_nns_governance.pb.v1.Neuron.prototype.setNotForProfit = function(value) {\n return jspb.Message.setProto3BooleanField(this, 16, value);\n};\n\n\n\n\n\nif (jspb.Message.GENERATE_TO_OBJECT) {\n/**\n * Creates an object representation of this proto.\n * Field names that are reserved in JavaScript and will be renamed to pb_name.\n * Optional fields that are not set will be set to undefined.\n * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.\n * For the list of reserved names please see:\n * net/proto2/compiler/js/internal/generator.cc#kKeyword.\n * @param {boolean=} opt_includeInstance Deprecated. whether to include the\n * JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @return {!Object}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.toObject = function(opt_includeInstance) {\n return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject(opt_includeInstance, this);\n};\n\n\n/**\n * Static version of the {@see toObject} method.\n * @param {boolean|undefined} includeInstance Deprecated. Whether to include\n * the JSPB instance for transitional soy proto support:\n * http://goto/soy-param-migration\n * @param {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} msg The msg instance to transform.\n * @return {!Object}\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.toObject = function(includeInstance, msg) {\n var f, obj = {\n transferTimestamp: jspb.Message.getFieldWithDefault(msg, 1, \"0\"),\n from: (f = msg.getFrom()) && base_types_pb.PrincipalId.toObject(includeInstance, f),\n fromSubaccount: msg.getFromSubaccount_asB64(),\n toSubaccount: msg.getToSubaccount_asB64(),\n neuronStakeE8s: jspb.Message.getFieldWithDefault(msg, 5, \"0\"),\n blockHeight: jspb.Message.getFieldWithDefault(msg, 6, \"0\"),\n memo: jspb.Message.getFieldWithDefault(msg, 7, \"0\")\n };\n\n if (includeInstance) {\n obj.$jspbMessageInstance = msg;\n }\n return obj;\n};\n}\n\n\n/**\n * Deserializes binary data (in protobuf wire format).\n * @param {jspb.ByteSource} bytes The bytes to deserialize.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinary = function(bytes) {\n var reader = new jspb.BinaryReader(bytes);\n var msg = new proto.ic_nns_governance.pb.v1.NeuronStakeTransfer;\n return proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader(msg, reader);\n};\n\n\n/**\n * Deserializes binary data (in protobuf wire format) from the\n * given reader into the given message object.\n * @param {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} msg The message object to deserialize into.\n * @param {!jspb.BinaryReader} reader The BinaryReader to use.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.deserializeBinaryFromReader = function(msg, reader) {\n while (reader.nextField()) {\n if (reader.isEndGroup()) {\n break;\n }\n var field = reader.getFieldNumber();\n switch (field) {\n case 1:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setTransferTimestamp(value);\n break;\n case 2:\n var value = new base_types_pb.PrincipalId;\n reader.readMessage(value,base_types_pb.PrincipalId.deserializeBinaryFromReader);\n msg.setFrom(value);\n break;\n case 3:\n var value = /** @type {!Uint8Array} */ (reader.readBytes());\n msg.setFromSubaccount(value);\n break;\n case 4:\n var value = /** @type {!Uint8Array} */ (reader.readBytes());\n msg.setToSubaccount(value);\n break;\n case 5:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setNeuronStakeE8s(value);\n break;\n case 6:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setBlockHeight(value);\n break;\n case 7:\n var value = /** @type {string} */ (reader.readUint64String());\n msg.setMemo(value);\n break;\n default:\n reader.skipField();\n break;\n }\n }\n return msg;\n};\n\n\n/**\n * Serializes the message to binary data (in protobuf wire format).\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.serializeBinary = function() {\n var writer = new jspb.BinaryWriter();\n proto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter(this, writer);\n return writer.getResultBuffer();\n};\n\n\n/**\n * Serializes the given message to binary data (in protobuf wire\n * format), writing to the given BinaryWriter.\n * @param {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} message\n * @param {!jspb.BinaryWriter} writer\n * @suppress {unusedLocalVariables} f is only used for nested messages\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.serializeBinaryToWriter = function(message, writer) {\n var f = undefined;\n f = message.getTransferTimestamp();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 1,\n f\n );\n }\n f = message.getFrom();\n if (f != null) {\n writer.writeMessage(\n 2,\n f,\n base_types_pb.PrincipalId.serializeBinaryToWriter\n );\n }\n f = message.getFromSubaccount_asU8();\n if (f.length > 0) {\n writer.writeBytes(\n 3,\n f\n );\n }\n f = message.getToSubaccount_asU8();\n if (f.length > 0) {\n writer.writeBytes(\n 4,\n f\n );\n }\n f = message.getNeuronStakeE8s();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 5,\n f\n );\n }\n f = message.getBlockHeight();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 6,\n f\n );\n }\n f = message.getMemo();\n if (parseInt(f, 10) !== 0) {\n writer.writeUint64String(\n 7,\n f\n );\n }\n};\n\n\n/**\n * optional uint64 transfer_timestamp = 1;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getTransferTimestamp = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setTransferTimestamp = function(value) {\n return jspb.Message.setProto3StringIntField(this, 1, value);\n};\n\n\n/**\n * optional ic_base_types.pb.v1.PrincipalId from = 2;\n * @return {?proto.ic_base_types.pb.v1.PrincipalId}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFrom = function() {\n return /** @type{?proto.ic_base_types.pb.v1.PrincipalId} */ (\n jspb.Message.getWrapperField(this, base_types_pb.PrincipalId, 2));\n};\n\n\n/**\n * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n*/\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFrom = function(value) {\n return jspb.Message.setWrapperField(this, 2, value);\n};\n\n\n/**\n * Clears the message field making it undefined.\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.clearFrom = function() {\n return this.setFrom(undefined);\n};\n\n\n/**\n * Returns whether this field is set.\n * @return {boolean}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.hasFrom = function() {\n return jspb.Message.getField(this, 2) != null;\n};\n\n\n/**\n * optional bytes from_subaccount = 3;\n * @return {!(string|Uint8Array)}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount = function() {\n return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, \"\"));\n};\n\n\n/**\n * optional bytes from_subaccount = 3;\n * This is a type-conversion wrapper around `getFromSubaccount()`\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asB64 = function() {\n return /** @type {string} */ (jspb.Message.bytesAsB64(\n this.getFromSubaccount()));\n};\n\n\n/**\n * optional bytes from_subaccount = 3;\n * Note that Uint8Array is not supported on all browsers.\n * @see http://caniuse.com/Uint8Array\n * This is a type-conversion wrapper around `getFromSubaccount()`\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getFromSubaccount_asU8 = function() {\n return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(\n this.getFromSubaccount()));\n};\n\n\n/**\n * @param {!(string|Uint8Array)} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setFromSubaccount = function(value) {\n return jspb.Message.setProto3BytesField(this, 3, value);\n};\n\n\n/**\n * optional bytes to_subaccount = 4;\n * @return {!(string|Uint8Array)}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount = function() {\n return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, \"\"));\n};\n\n\n/**\n * optional bytes to_subaccount = 4;\n * This is a type-conversion wrapper around `getToSubaccount()`\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asB64 = function() {\n return /** @type {string} */ (jspb.Message.bytesAsB64(\n this.getToSubaccount()));\n};\n\n\n/**\n * optional bytes to_subaccount = 4;\n * Note that Uint8Array is not supported on all browsers.\n * @see http://caniuse.com/Uint8Array\n * This is a type-conversion wrapper around `getToSubaccount()`\n * @return {!Uint8Array}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getToSubaccount_asU8 = function() {\n return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(\n this.getToSubaccount()));\n};\n\n\n/**\n * @param {!(string|Uint8Array)} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setToSubaccount = function(value) {\n return jspb.Message.setProto3BytesField(this, 4, value);\n};\n\n\n/**\n * optional uint64 neuron_stake_e8s = 5;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getNeuronStakeE8s = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setNeuronStakeE8s = function(value) {\n return jspb.Message.setProto3StringIntField(this, 5, value);\n};\n\n\n/**\n * optional uint64 block_height = 6;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getBlockHeight = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setBlockHeight = function(value) {\n return jspb.Message.setProto3StringIntField(this, 6, value);\n};\n\n\n/**\n * optional uint64 memo = 7;\n * @return {string}\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.getMemo = function() {\n return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, \"0\"));\n};\n\n\n/**\n * @param {string} value\n * @return {!proto.ic_nns_governance.pb.v1.NeuronStakeTransfer} returns this\n */\nproto.ic_nns_governance.pb.v1.NeuronStakeTransfer.prototype.setMemo = function(value) {\n return jspb.Message.setProto3StringIntField(this, 7, value);\n};\n\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.Vote = {\n VOTE_UNSPECIFIED: 0,\n VOTE_YES: 1,\n VOTE_NO: 2\n};\n\n/**\n * @enum {number}\n */\nproto.ic_nns_governance.pb.v1.Topic = {\n TOPIC_UNSPECIFIED: 0,\n TOPIC_NEURON_MANAGEMENT: 1,\n TOPIC_EXCHANGE_RATE: 2,\n TOPIC_NETWORK_ECONOMICS: 3,\n TOPIC_GOVERNANCE: 4,\n TOPIC_NODE_ADMIN: 5,\n TOPIC_PARTICIPANT_MANAGEMENT: 6,\n TOPIC_SUBNET_MANAGEMENT: 7,\n TOPIC_NETWORK_CANISTER_MANAGEMENT: 8,\n TOPIC_KYC: 9,\n TOPIC_NODE_PROVIDER_REWARDS: 10,\n TOPIC_SNS_DECENTRALIZATION_SALE: 11\n};\n\ngoog.object.extend(exports, proto.ic_nns_governance.pb.v1);\n", "import type { ActorSubclass, Agent } from \"@dfinity/agent\";\nimport type { Principal } from \"@dfinity/principal\";\nimport { createServices } from \"@dfinity/utils\";\nimport { sha256 } from \"js-sha256\";\nimport randomBytes from \"randombytes\";\nimport type {\n ListProposalInfo,\n ProposalInfo as RawProposalInfo,\n _SERVICE as GovernanceService,\n} from \"../candid/governance\";\nimport { idlFactory as certifiedIdlFactory } from \"../candid/governance.certified.idl\";\nimport { idlFactory } from \"../candid/governance.idl\";\nimport type { ManageNeuron as PbManageNeuron } from \"../proto/governance_pb\";\nimport {\n ListNeurons as PbListNeurons,\n ListNeuronsResponse as PbListNeuronsResponse,\n ManageNeuronResponse as PbManageNeuronResponse,\n} from \"../proto/governance_pb\";\nimport { AccountIdentifier, SubAccount } from \"./account_identifier\";\nimport {\n fromClaimOrRefreshNeuronRequest,\n fromListNeurons,\n fromListProposalsRequest,\n toAddHotkeyRequest,\n toClaimOrRefreshRequest,\n toDisburseNeuronRequest,\n toIncreaseDissolveDelayRequest,\n toJoinCommunityFundRequest,\n toLeaveCommunityFundRequest,\n toMakeProposalRawRequest,\n toManageNeuronsFollowRequest,\n toMergeMaturityRequest,\n toMergeRequest,\n toRegisterVoteRequest,\n toRemoveHotkeyRequest,\n toSpawnNeuronRequest,\n toSplitRawRequest,\n toStartDissolvingRequest,\n toStopDissolvingRequest,\n} from \"./canisters/governance/request.converters\";\nimport {\n fromAddHotKeyRequest,\n fromDisburseRequest,\n fromIncreaseDissolveDelayRequest,\n fromMergeMaturityRequest,\n fromMergeRequest,\n fromRemoveHotKeyRequest,\n fromSpawnRequest,\n fromStartDissolvingRequest,\n fromStopDissolvingRequest,\n} from \"./canisters/governance/request.proto.converters\";\nimport {\n convertPbNeuronToNeuronInfo,\n toArrayOfNeuronInfo,\n toListProposalsResponse,\n toProposalInfo,\n} from \"./canisters/governance/response.converters\";\nimport { checkPbManageNeuronResponse } from \"./canisters/governance/response.proto.converters\";\nimport {\n getSuccessfulCommandFromResponse,\n manageNeuron,\n} from \"./canisters/governance/services\";\nimport { MAINNET_GOVERNANCE_CANISTER_ID } from \"./constants/canister_ids\";\nimport { E8S_PER_ICP } from \"./constants/constants\";\nimport {\n CouldNotClaimNeuronError,\n FeatureNotSupportedError,\n GovernanceError,\n InsufficientAmountError,\n UnrecognizedTypeError,\n} from \"./errors/governance.errors\";\nimport { ICP } from \"./icp\";\nimport type { LedgerCanister } from \"./ledger.canister\";\nimport type { E8s, NeuronId } from \"./types/common\";\nimport type { GovernanceCanisterOptions } from \"./types/governance.options\";\nimport type {\n ClaimOrRefreshNeuronRequest,\n DisburseRequest,\n FollowRequest,\n KnownNeuron,\n ListProposalsRequest,\n ListProposalsResponse,\n MakeProposalRequest,\n MergeMaturityRequest,\n MergeRequest,\n NeuronInfo,\n ProposalId,\n ProposalInfo,\n SpawnRequest,\n Vote,\n} from \"./types/governance_converters\";\nimport { checkAccountId } from \"./utils/accounts.utils\";\nimport {\n asciiStringToByteArray,\n uint8ArrayToBigInt,\n} from \"./utils/converter.utils\";\nimport { assertPercentageNumber } from \"./utils/number.utils\";\nimport { updateCall } from \"./utils/proto.utils\";\n\nexport class GovernanceCanister {\n private constructor(\n private readonly canisterId: Principal,\n private readonly service: ActorSubclass<GovernanceService>,\n private readonly certifiedService: ActorSubclass<GovernanceService>,\n private readonly agent: Agent,\n private readonly hardwareWallet: boolean = false\n ) {\n this.canisterId = canisterId;\n this.service = service;\n this.certifiedService = certifiedService;\n this.agent = agent;\n this.hardwareWallet = hardwareWallet;\n }\n\n public static create(options: GovernanceCanisterOptions = {}) {\n const canisterId: Principal =\n options.canisterId ?? MAINNET_GOVERNANCE_CANISTER_ID;\n\n const { service, certifiedService, agent } =\n createServices<GovernanceService>({\n options: {\n ...options,\n canisterId,\n },\n idlFactory,\n certifiedIdlFactory,\n });\n\n return new GovernanceCanister(\n canisterId,\n service,\n certifiedService,\n agent,\n options.hardwareWallet\n );\n }\n\n /**\n * Returns the list of neurons controlled by the caller.\n *\n * If an array of neuron IDs is provided, precisely those neurons will be fetched.\n *\n * If `certified` is true, the request is fetched as an update call, otherwise\n * it is fetched using a query call.\n *\n */\n public listNeurons = async ({\n certified = true,\n neuronIds,\n }: {\n certified: boolean;\n neuronIds?: NeuronId[];\n }): Promise<NeuronInfo[]> => {\n if (this.hardwareWallet && !certified) {\n throw new FeatureNotSupportedError();\n }\n\n if (this.hardwareWallet) {\n // Hardware Wallet does not support specifying neuronIds.\n return this.listNeuronsHardwareWallet();\n }\n const rawRequest = fromListNeurons(neuronIds);\n const raw_response = await this.getGovernanceService(\n certified\n ).list_neurons(rawRequest);\n return toArrayOfNeuronInfo({\n response: raw_response,\n canisterId: this.canisterId,\n });\n };\n\n /**\n * Returns the list of neurons who have been approved by the community to\n * appear as the default followee options.\n *\n * If `certified` is true, the request is fetched as an update call, otherwise\n * it is fetched using a query call.\n */\n public listKnownNeurons = async (\n certified = true\n ): Promise<KnownNeuron[]> => {\n const response = await this.getGovernanceService(\n certified\n ).list_known_neurons();\n\n return response.known_neurons.map((n) => ({\n id: n.id[0]?.id ?? BigInt(0),\n name: n.known_neuron_data[0]?.name ?? \"\",\n description: n.known_neuron_data[0]?.description[0],\n }));\n };\n\n /**\n * Returns the list of proposals made for the community to vote on,\n * paginated and filtered by the request.\n *\n * If `certified` is true (default), the request is fetched as an update call, otherwise\n * it is fetched using a query call.\n */\n public listProposals = async ({\n request,\n certified = true,\n }: {\n request: ListProposalsRequest;\n certified?: boolean;\n }): Promise<ListProposalsResponse> => {\n const rawRequest: ListProposalInfo = fromListProposalsRequest(request);\n const rawResponse = await this.getGovernanceService(\n certified\n ).list_proposals(rawRequest);\n return toListProposalsResponse(rawResponse);\n };\n\n /**\n * @throws {@link InsufficientAmountError}\n * @throws {@link StakeNeuronTransferError}\n * @throws {@link CouldNotClaimNeuronError}\n * @throws {@link TransferError}\n */\n public stakeNeuron = async ({\n stake,\n principal,\n fromSubAccount,\n ledgerCanister,\n }: {\n stake: ICP;\n principal: Principal;\n fromSubAccount?: number[];\n ledgerCanister: LedgerCanister;\n }): Promise<NeuronId> => {\n if (stake.toE8s() < E8S_PER_ICP) {\n throw new InsufficientAmountError(ICP.fromString(\"1\") as ICP);\n }\n\n const nonceBytes = new Uint8Array(randomBytes(8));\n const nonce = uint8ArrayToBigInt(nonceBytes);\n const toSubAccount = this.buildNeuronStakeSubAccount(nonceBytes, principal);\n const accountIdentifier = AccountIdentifier.fromPrincipal({\n principal: this.canisterId,\n subAccount: toSubAccount,\n });\n\n // Send amount to the ledger.\n await ledgerCanister.transfer({\n memo: nonce,\n amount: stake,\n fromSubAccount,\n to: accountIdentifier,\n });\n\n // Notify the governance of the transaction so that the neuron is created.\n const neuronId: NeuronId | undefined =\n await this.claimOrRefreshNeuronFromAccount({\n controller: principal,\n memo: nonce,\n });\n\n // Typescript was complaining with `neuronId || new NeuronNotFound()`:\n // \"Type 'undefined' is not assignable to type 'bigint | StakeNeuronError | TransferError'\"\n // hence the explicit check.\n if (neuronId === undefined) {\n throw new CouldNotClaimNeuronError();\n }\n\n return neuronId;\n };\n\n /**\n * Increases dissolve delay of a neuron\n *\n * @throws {@link GovernanceError}\n */\n public increaseDissolveDelay = async ({\n neuronId,\n additionalDissolveDelaySeconds,\n }: {\n neuronId: NeuronId;\n additionalDissolveDelaySeconds: number;\n }): Promise<void> => {\n if (this.hardwareWallet) {\n return this.increaseDissolveDelayHardwareWallet({\n neuronId,\n additionalDissolveDelaySeconds,\n });\n }\n const request = toIncreaseDissolveDelayRequest({\n neuronId,\n additionalDissolveDelaySeconds,\n });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Start dissolving process of a neuron\n *\n * @throws {@link GovernanceError}\n */\n public startDissolving = async (neuronId: NeuronId): Promise<void> => {\n if (this.hardwareWallet) {\n return this.startDissolvingHardwareWallet(neuronId);\n }\n const request = toStartDissolvingRequest(neuronId);\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Stop dissolving process of a neuron\n *\n * @throws {@link GovernanceError}\n */\n public stopDissolving = async (neuronId: NeuronId): Promise<void> => {\n if (this.hardwareWallet) {\n return this.stopDissolvingHardwareWallet(neuronId);\n }\n const request = toStopDissolvingRequest(neuronId);\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Neuron joins the community fund\n *\n * @throws {@link GovernanceError}\n */\n public joinCommunityFund = async (neuronId: NeuronId): Promise<void> => {\n const request = toJoinCommunityFundRequest(neuronId);\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Neuron leaves the community fund\n *\n * @throws {@link GovernanceError}\n */\n public leaveCommunityFund = async (neuronId: NeuronId): Promise<void> => {\n const request = toLeaveCommunityFundRequest(neuronId);\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Merge two neurons\n *\n * @throws {@link GovernanceError}\n */\n public mergeNeurons = async (request: {\n sourceNeuronId: NeuronId;\n targetNeuronId: NeuronId;\n }): Promise<void> => {\n if (this.hardwareWallet) {\n return this.mergeNeuronsHardwareWallet(request);\n }\n const rawRequest = toMergeRequest(request);\n\n return manageNeuron({\n request: rawRequest,\n service: this.certifiedService,\n });\n };\n\n /**\n * Splits a neuron creating a new one\n *\n * @returns newNeuronId\n * @throws {@link GovernanceError}\n */\n public splitNeuron = async ({\n neuronId,\n amount,\n }: {\n neuronId: NeuronId;\n amount: ICP;\n }): Promise<NeuronId> => {\n const request = toSplitRawRequest({\n neuronId,\n amount: amount.toE8s(),\n });\n\n const response = await this.certifiedService.manage_neuron(request);\n const commmand = getSuccessfulCommandFromResponse(response);\n\n if (\"Split\" in commmand) {\n const neuron = commmand.Split.created_neuron_id[0];\n if (neuron === undefined) {\n // Edge case\n throw new GovernanceError({\n error_message:\n \"Unexpected error splitting neuron. No neuronId in Split response.\",\n error_type: 0,\n });\n }\n return neuron.id;\n }\n\n // Edge case\n throw new UnrecognizedTypeError(\n `Unrecognized Split error in ${JSON.stringify(response)}`\n );\n };\n\n /**\n * Returns single proposal info\n *\n * If `certified` is true (default), the request is fetched as an update call, otherwise\n * it is fetched using a query call.\n */\n public getProposal = async ({\n proposalId,\n certified = true,\n }: {\n proposalId: bigint;\n certified?: boolean;\n }): Promise<ProposalInfo | undefined> => {\n const [proposalInfo]: [] | [RawProposalInfo] =\n await this.getGovernanceService(certified).get_proposal_info(proposalId);\n return proposalInfo ? toProposalInfo(proposalInfo) : undefined;\n };\n\n /**\n * Create new proposal\n *\n * @throws {@link GovernanceError}\n */\n public makeProposal = async (request: MakeProposalRequest): Promise<void> => {\n const rawRequest = toMakeProposalRawRequest(request);\n\n return manageNeuron({\n request: rawRequest,\n service: this.certifiedService,\n });\n };\n\n /**\n *\n * Registers vote for a proposal from the neuron passed.\n *\n * @throws {@link GovernanceError}\n */\n public registerVote = async ({\n neuronId,\n vote,\n proposalId,\n }: {\n neuronId: NeuronId;\n vote: Vote;\n proposalId: ProposalId;\n }): Promise<void> => {\n const request = toRegisterVoteRequest({ neuronId, vote, proposalId });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Edit neuron followees per topic\n *\n * @throws {@link GovernanceError}\n */\n public setFollowees = async (followRequest: FollowRequest): Promise<void> => {\n const request = toManageNeuronsFollowRequest(followRequest);\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Disburse neuron on Account\n *\n * @throws {@link GovernanceError}\n * @throws {@link InvalidAccountIDError}\n */\n public disburse = async ({\n neuronId,\n toAccountId,\n amount,\n }: {\n neuronId: NeuronId;\n toAccountId?: string;\n amount?: E8s;\n }): Promise<void> => {\n if (toAccountId !== undefined) {\n // Might throw InvalidAccountIDError\n checkAccountId(toAccountId);\n }\n if (this.hardwareWallet) {\n return this.disburseHardwareWallet({ neuronId, toAccountId, amount });\n }\n const request = toDisburseNeuronRequest({ neuronId, toAccountId, amount });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Merge Maturity of a neuron\n *\n * @throws {@link GovernanceError}\n * @throws {@link InvalidPercentageError}\n *\n */\n public mergeMaturity = async ({\n neuronId,\n percentageToMerge,\n }: {\n neuronId: NeuronId;\n percentageToMerge: number;\n }): Promise<void> => {\n // Migth throw InvalidPercentageError\n assertPercentageNumber(percentageToMerge);\n\n if (this.hardwareWallet) {\n return this.mergeMaturityHardwareWallet({ neuronId, percentageToMerge });\n }\n\n const request = toMergeMaturityRequest({ neuronId, percentageToMerge });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Merge Maturity of a neuron\n *\n * @throws {@link GovernanceError}\n * @throws {@link InvalidPercentageError}\n *\n */\n public spawnNeuron = async ({\n neuronId,\n percentageToSpawn,\n newController,\n nonce,\n }: {\n neuronId: NeuronId;\n percentageToSpawn?: number;\n newController?: Principal;\n nonce?: bigint;\n }): Promise<bigint> => {\n if (percentageToSpawn !== undefined) {\n // Migth throw InvalidPercentageError\n assertPercentageNumber(percentageToSpawn);\n }\n if (this.hardwareWallet) {\n return this.spawnHardwareWallet({\n neuronId,\n percentageToSpawn,\n newController: newController?.toText(),\n });\n }\n\n const request = toSpawnNeuronRequest({\n neuronId,\n percentageToSpawn,\n newController,\n nonce,\n });\n\n const response = await this.certifiedService.manage_neuron(request);\n const command = getSuccessfulCommandFromResponse(response);\n if (\n \"Spawn\" in command &&\n command.Spawn.created_neuron_id[0] !== undefined\n ) {\n return command.Spawn.created_neuron_id[0].id;\n }\n\n // Edge case\n throw new UnrecognizedTypeError(\n `Unrecognized Spawn error in ${JSON.stringify(response)}`\n );\n };\n\n /**\n * Add hotkey to neuron\n *\n * @throws {@link GovernanceError}\n */\n public addHotkey = async ({\n neuronId,\n principal,\n }: {\n neuronId: NeuronId;\n principal: Principal;\n }): Promise<void> => {\n if (this.hardwareWallet) {\n return this.addHotkeyHardwareWallet({ neuronId, principal });\n }\n\n const request = toAddHotkeyRequest({ neuronId, principal });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Remove hotkey to neuron\n *\n * @throws {@link GovernanceError}\n */\n public removeHotkey = async ({\n neuronId,\n principal,\n }: {\n neuronId: NeuronId;\n principal: Principal;\n }): Promise<void> => {\n if (this.hardwareWallet) {\n return this.removeHotkeyHardwareWallet({ neuronId, principal });\n }\n const request = toRemoveHotkeyRequest({ neuronId, principal });\n\n return manageNeuron({\n request,\n service: this.certifiedService,\n });\n };\n\n /**\n * Gets the NeuronID of a newly created neuron.\n */\n public claimOrRefreshNeuronFromAccount = async ({\n memo,\n controller,\n }: {\n memo: bigint;\n controller?: Principal;\n }): Promise<NeuronId | undefined> => {\n const rawRequest = toClaimOrRefreshRequest({\n memo,\n controller,\n });\n const rawResponse = await this.certifiedService.manage_neuron(rawRequest);\n const { command } = rawResponse;\n if (command.length && \"ClaimOrRefresh\" in command[0]) {\n const claim = command[0].ClaimOrRefresh;\n return claim.refreshed_neuron_id[0]?.id;\n }\n\n throw new UnrecognizedTypeError(\n `Unrecognized ClaimOrRefresh error in ${JSON.stringify(rawResponse)}`\n );\n };\n\n /**\n * Refreshes neuron and returns neuronId when successful\n * Uses query call only.\n *\n * @throws {@link UnrecognizedTypeError}\n */\n public claimOrRefreshNeuron = async (\n request: ClaimOrRefreshNeuronRequest\n ): Promise<NeuronId | undefined> => {\n const rawRequest = fromClaimOrRefreshNeuronRequest(request);\n const rawResponse = await this.service.manage_neuron(rawRequest);\n const { command } = rawResponse;\n if (command.length && \"ClaimOrRefresh\" in command[0]) {\n const claim = command[0].ClaimOrRefresh;\n return claim.refreshed_neuron_id[0]?.id;\n }\n\n throw new UnrecognizedTypeError(\n `Unrecognized ClaimOrRefresh error in ${JSON.stringify(rawResponse)}`\n );\n };\n\n private buildNeuronStakeSubAccount = (\n nonce: Uint8Array,\n principal: Principal\n ): SubAccount => {\n const padding = asciiStringToByteArray(\"neuron-stake\");\n const shaObj = sha256.create();\n shaObj.update([0x0c, ...padding, ...principal.toUint8Array(), ...nonce]);\n return SubAccount.fromBytes(new Uint8Array(shaObj.array())) as SubAccount;\n };\n\n private getGovernanceService(certified: boolean): GovernanceService {\n return certified ? this.certifiedService : this.service;\n }\n\n /**\n * Return the data of the neuron provided as id.\n */\n public getNeuron = async ({\n certified = true,\n neuronId,\n }: {\n certified: boolean;\n neuronId: NeuronId;\n }): Promise<NeuronInfo | undefined> => {\n // The governance canister exposes two functions \"get_neuron_info\" and \"get_full_neuron\" that could probably be used to fetch the neuron details too.\n // However historically this function has been resolved with a single call \"list_neurons\".\n\n const [neuron]: NeuronInfo[] = await this.listNeurons({\n certified,\n neuronIds: [neuronId],\n });\n\n return neuron;\n };\n\n private listNeuronsHardwareWallet = async (): Promise<Array<NeuronInfo>> => {\n // We can't pass a list of neuron ids, the HW cannot handle it.\n const request = new PbListNeurons();\n request.setIncludeNeuronsReadableByCaller(true);\n\n const rawResponse = await updateCall({\n agent: this.agent,\n canisterId: this.canisterId,\n methodName: \"list_neurons_pb\",\n arg: request.serializeBinary(),\n });\n\n const response = PbListNeuronsResponse.deserializeBinary(rawResponse);\n const pbNeurons = response.getFullNeuronsList();\n return response\n .getNeuronIdsList()\n .map(\n convertPbNeuronToNeuronInfo({ pbNeurons, canisterId: this.canisterId })\n );\n };\n\n private manageNeuronUpdateCall = async (\n rawRequest: PbManageNeuron\n ): Promise<void> => {\n const rawResponse = await updateCall({\n agent: this.agent,\n canisterId: this.canisterId,\n methodName: \"manage_neuron_pb\",\n arg: rawRequest.serializeBinary(),\n });\n\n checkPbManageNeuronResponse(rawResponse);\n };\n\n private addHotkeyHardwareWallet = async ({\n neuronId,\n principal,\n }: {\n neuronId: NeuronId;\n principal: Principal;\n }): Promise<void> => {\n const rawRequest = fromAddHotKeyRequest({\n neuronId,\n principal: principal.toText(),\n });\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private removeHotkeyHardwareWallet = async ({\n neuronId,\n principal,\n }: {\n neuronId: NeuronId;\n principal: Principal;\n }): Promise<void> => {\n const rawRequest = fromRemoveHotKeyRequest({\n neuronId,\n principal: principal.toText(),\n });\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private increaseDissolveDelayHardwareWallet = async ({\n neuronId,\n additionalDissolveDelaySeconds,\n }: {\n neuronId: NeuronId;\n additionalDissolveDelaySeconds: number;\n }): Promise<void> => {\n const rawRequest = fromIncreaseDissolveDelayRequest({\n neuronId,\n additionalDissolveDelaySeconds,\n });\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private startDissolvingHardwareWallet = async (\n neuronId: NeuronId\n ): Promise<void> => {\n const rawRequest = fromStartDissolvingRequest(neuronId);\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private stopDissolvingHardwareWallet = async (\n neuronId: NeuronId\n ): Promise<void> => {\n const rawRequest = fromStopDissolvingRequest(neuronId);\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private disburseHardwareWallet = async (\n request: DisburseRequest\n ): Promise<void> => {\n const rawRequest = fromDisburseRequest(request);\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private mergeMaturityHardwareWallet = async (\n request: MergeMaturityRequest\n ): Promise<void> => {\n const rawRequest = fromMergeMaturityRequest(request);\n await this.manageNeuronUpdateCall(rawRequest);\n };\n\n private spawnHardwareWallet = async (\n request: SpawnRequest\n ): Promise<NeuronId> => {\n const rawRequest = fromSpawnRequest(request);\n const rawResponse = await updateCall({\n agent: this.agent,\n canisterId: this.canisterId,\n methodName: \"manage_neuron_pb\",\n arg: rawRequest.serializeBinary(),\n });\n\n const response = PbManageNeuronResponse.deserializeBinary(rawResponse);\n const err = response.getError();\n if (err) {\n throw new GovernanceError({\n error_message: err.getErrorMessage(),\n error_type: err.getErrorType(),\n });\n }\n const createdNeuronId = response.getSpawn()?.getCreatedNeuronId();\n if (createdNeuronId !== undefined) {\n return BigInt(createdNeuronId.getId());\n }\n throw new UnrecognizedTypeError(\n `Unrecognized Spawn error in ${JSON.stringify(response)}`\n );\n };\n\n private mergeNeuronsHardwareWallet = async (\n request: MergeRequest\n ): Promise<void> => {\n const rawRequest = fromMergeRequest(request);\n await this.manageNeuronUpdateCall(rawRequest);\n };\n}\n", "/* Do not edit. Compiled with ./scripts/compile-idl-js from packages/nns/candid/governance.did */\nexport const idlFactory = ({ IDL }) => {\n const Proposal = IDL.Rec();\n const NeuronId = IDL.Record({ 'id' : IDL.Nat64 });\n const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });\n const AccountIdentifier = IDL.Record({ 'hash' : IDL.Vec(IDL.Nat8) });\n const NodeProvider = IDL.Record({\n 'id' : IDL.Opt(IDL.Principal),\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardToNeuron = IDL.Record({ 'dissolve_delay_seconds' : IDL.Nat64 });\n const RewardToAccount = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardMode = IDL.Variant({\n 'RewardToNeuron' : RewardToNeuron,\n 'RewardToAccount' : RewardToAccount,\n });\n const RewardNodeProvider = IDL.Record({\n 'node_provider' : IDL.Opt(NodeProvider),\n 'reward_mode' : IDL.Opt(RewardMode),\n 'amount_e8s' : IDL.Nat64,\n });\n const MostRecentMonthlyNodeProviderRewards = IDL.Record({\n 'timestamp' : IDL.Nat64,\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const GovernanceCachedMetrics = IDL.Record({\n 'not_dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'garbage_collectable_neurons_count' : IDL.Nat64,\n 'neurons_with_invalid_stake_count' : IDL.Nat64,\n 'not_dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'total_supply_icp' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_count' : IDL.Nat64,\n 'dissolved_neurons_count' : IDL.Nat64,\n 'total_staked_e8s' : IDL.Nat64,\n 'not_dissolving_neurons_count' : IDL.Nat64,\n 'dissolved_neurons_e8s' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_e8s' : IDL.Nat64,\n 'dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'dissolving_neurons_count' : IDL.Nat64,\n 'dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'community_fund_total_staked_e8s' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const NetworkEconomics = IDL.Record({\n 'neuron_minimum_stake_e8s' : IDL.Nat64,\n 'max_proposals_to_keep_per_topic' : IDL.Nat32,\n 'neuron_management_fee_per_proposal_e8s' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'transaction_fee_e8s' : IDL.Nat64,\n 'neuron_spawn_dissolve_delay_seconds' : IDL.Nat64,\n 'minimum_icp_xdr_rate' : IDL.Nat64,\n 'maximum_node_provider_rewards_e8s' : IDL.Nat64,\n });\n const RewardEvent = IDL.Record({\n 'day_after_genesis' : IDL.Nat64,\n 'actual_timestamp_seconds' : IDL.Nat64,\n 'distributed_e8s_equivalent' : IDL.Nat64,\n 'settled_proposals' : IDL.Vec(NeuronId),\n });\n const NeuronStakeTransfer = IDL.Record({\n 'to_subaccount' : IDL.Vec(IDL.Nat8),\n 'neuron_stake_e8s' : IDL.Nat64,\n 'from' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n 'from_subaccount' : IDL.Vec(IDL.Nat8),\n 'transfer_timestamp' : IDL.Nat64,\n 'block_height' : IDL.Nat64,\n });\n const GovernanceError = IDL.Record({\n 'error_message' : IDL.Text,\n 'error_type' : IDL.Int32,\n });\n const Ballot = IDL.Record({ 'vote' : IDL.Int32, 'voting_power' : IDL.Nat64 });\n const Tally = IDL.Record({\n 'no' : IDL.Nat64,\n 'yes' : IDL.Nat64,\n 'total' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const KnownNeuronData = IDL.Record({\n 'name' : IDL.Text,\n 'description' : IDL.Opt(IDL.Text),\n });\n const KnownNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n });\n const Spawn = IDL.Record({\n 'percentage_to_spawn' : IDL.Opt(IDL.Nat32),\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Opt(IDL.Nat64),\n });\n const Split = IDL.Record({ 'amount_e8s' : IDL.Nat64 });\n const Follow = IDL.Record({\n 'topic' : IDL.Int32,\n 'followees' : IDL.Vec(NeuronId),\n });\n const ClaimOrRefreshNeuronFromAccount = IDL.Record({\n 'controller' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n });\n const By = IDL.Variant({\n 'NeuronIdOrSubaccount' : IDL.Record({}),\n 'MemoAndController' : ClaimOrRefreshNeuronFromAccount,\n 'Memo' : IDL.Nat64,\n });\n const ClaimOrRefresh = IDL.Record({ 'by' : IDL.Opt(By) });\n const RemoveHotKey = IDL.Record({\n 'hot_key_to_remove' : IDL.Opt(IDL.Principal),\n });\n const AddHotKey = IDL.Record({ 'new_hot_key' : IDL.Opt(IDL.Principal) });\n const IncreaseDissolveDelay = IDL.Record({\n 'additional_dissolve_delay_seconds' : IDL.Nat32,\n });\n const SetDissolveTimestamp = IDL.Record({\n 'dissolve_timestamp_seconds' : IDL.Nat64,\n });\n const Operation = IDL.Variant({\n 'RemoveHotKey' : RemoveHotKey,\n 'AddHotKey' : AddHotKey,\n 'StopDissolving' : IDL.Record({}),\n 'StartDissolving' : IDL.Record({}),\n 'IncreaseDissolveDelay' : IncreaseDissolveDelay,\n 'JoinCommunityFund' : IDL.Record({}),\n 'LeaveCommunityFund' : IDL.Record({}),\n 'SetDissolveTimestamp' : SetDissolveTimestamp,\n });\n const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });\n const RegisterVote = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal' : IDL.Opt(NeuronId),\n });\n const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });\n const DisburseToNeuron = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'kyc_verified' : IDL.Bool,\n 'amount_e8s' : IDL.Nat64,\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Nat64,\n });\n const MergeMaturity = IDL.Record({ 'percentage_to_merge' : IDL.Nat32 });\n const Amount = IDL.Record({ 'e8s' : IDL.Nat64 });\n const Disburse = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n 'amount' : IDL.Opt(Amount),\n });\n const Command = IDL.Variant({\n 'Spawn' : Spawn,\n 'Split' : Split,\n 'Follow' : Follow,\n 'ClaimOrRefresh' : ClaimOrRefresh,\n 'Configure' : Configure,\n 'RegisterVote' : RegisterVote,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'MakeProposal' : Proposal,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronIdOrSubaccount = IDL.Variant({\n 'Subaccount' : IDL.Vec(IDL.Nat8),\n 'NeuronId' : NeuronId,\n });\n const ManageNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'command' : IDL.Opt(Command),\n 'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),\n });\n const ExecuteNnsFunction = IDL.Record({\n 'nns_function' : IDL.Int32,\n 'payload' : IDL.Vec(IDL.Nat8),\n });\n const TimeWindow = IDL.Record({\n 'start_timestamp_seconds' : IDL.Nat64,\n 'end_timestamp_seconds' : IDL.Nat64,\n });\n const SetOpenTimeWindowRequest = IDL.Record({\n 'open_time_window' : IDL.Opt(TimeWindow),\n });\n const SetSnsTokenSwapOpenTimeWindow = IDL.Record({\n 'request' : IDL.Opt(SetOpenTimeWindowRequest),\n 'swap_canister_id' : IDL.Opt(IDL.Principal),\n });\n const SetDefaultFollowees = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n });\n const RewardNodeProviders = IDL.Record({\n 'use_registry_derived_rewards' : IDL.Opt(IDL.Bool),\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const ApproveGenesisKyc = IDL.Record({\n 'principals' : IDL.Vec(IDL.Principal),\n });\n const Change = IDL.Variant({\n 'ToRemove' : NodeProvider,\n 'ToAdd' : NodeProvider,\n });\n const AddOrRemoveNodeProvider = IDL.Record({ 'change' : IDL.Opt(Change) });\n const Motion = IDL.Record({ 'motion_text' : IDL.Text });\n const Action = IDL.Variant({\n 'RegisterKnownNeuron' : KnownNeuron,\n 'ManageNeuron' : ManageNeuron,\n 'ExecuteNnsFunction' : ExecuteNnsFunction,\n 'RewardNodeProvider' : RewardNodeProvider,\n 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,\n 'SetDefaultFollowees' : SetDefaultFollowees,\n 'RewardNodeProviders' : RewardNodeProviders,\n 'ManageNetworkEconomics' : NetworkEconomics,\n 'ApproveGenesisKyc' : ApproveGenesisKyc,\n 'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,\n 'Motion' : Motion,\n });\n Proposal.fill(\n IDL.Record({\n 'url' : IDL.Text,\n 'title' : IDL.Opt(IDL.Text),\n 'action' : IDL.Opt(Action),\n 'summary' : IDL.Text,\n })\n );\n const WaitForQuietState = IDL.Record({\n 'current_deadline_timestamp_seconds' : IDL.Nat64,\n });\n const ProposalData = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const Command_2 = IDL.Variant({\n 'Spawn' : NeuronId,\n 'Split' : Split,\n 'Configure' : Configure,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'ClaimOrRefreshNeuron' : ClaimOrRefresh,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronInFlightCommand = IDL.Record({\n 'command' : IDL.Opt(Command_2),\n 'timestamp' : IDL.Nat64,\n });\n const BallotInfo = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const DissolveState = IDL.Variant({\n 'DissolveDelaySeconds' : IDL.Nat64,\n 'WhenDissolvedTimestampSeconds' : IDL.Nat64,\n });\n const Neuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'controller' : IDL.Opt(IDL.Principal),\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'kyc_verified' : IDL.Bool,\n 'not_for_profit' : IDL.Bool,\n 'maturity_e8s_equivalent' : IDL.Nat64,\n 'cached_neuron_stake_e8s' : IDL.Nat64,\n 'created_timestamp_seconds' : IDL.Nat64,\n 'aging_since_timestamp_seconds' : IDL.Nat64,\n 'hot_keys' : IDL.Vec(IDL.Principal),\n 'account' : IDL.Vec(IDL.Nat8),\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'dissolve_state' : IDL.Opt(DissolveState),\n 'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'neuron_fees_e8s' : IDL.Nat64,\n 'transfer' : IDL.Opt(NeuronStakeTransfer),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n });\n const Governance = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'most_recent_monthly_node_provider_rewards' : IDL.Opt(\n MostRecentMonthlyNodeProviderRewards\n ),\n 'wait_for_quiet_threshold_seconds' : IDL.Nat64,\n 'metrics' : IDL.Opt(GovernanceCachedMetrics),\n 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),\n 'node_providers' : IDL.Vec(NodeProvider),\n 'economics' : IDL.Opt(NetworkEconomics),\n 'spawning_neurons' : IDL.Opt(IDL.Bool),\n 'latest_reward_event' : IDL.Opt(RewardEvent),\n 'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),\n 'short_voting_period_seconds' : IDL.Nat64,\n 'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),\n 'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),\n 'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),\n 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),\n 'genesis_timestamp_seconds' : IDL.Nat64,\n });\n const Result = IDL.Variant({ 'Ok' : IDL.Null, 'Err' : GovernanceError });\n const Result_1 = IDL.Variant({\n 'Error' : GovernanceError,\n 'NeuronId' : NeuronId,\n });\n const ClaimOrRefreshNeuronFromAccountResponse = IDL.Record({\n 'result' : IDL.Opt(Result_1),\n });\n const Result_2 = IDL.Variant({ 'Ok' : Neuron, 'Err' : GovernanceError });\n const Result_3 = IDL.Variant({\n 'Ok' : RewardNodeProviders,\n 'Err' : GovernanceError,\n });\n const NeuronInfo = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'created_timestamp_seconds' : IDL.Nat64,\n 'state' : IDL.Int32,\n 'stake_e8s' : IDL.Nat64,\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'retrieved_at_timestamp_seconds' : IDL.Nat64,\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'voting_power' : IDL.Nat64,\n 'age_seconds' : IDL.Nat64,\n });\n const Result_4 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });\n const Result_5 = IDL.Variant({\n 'Ok' : NodeProvider,\n 'Err' : GovernanceError,\n });\n const ProposalInfo = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'status' : IDL.Int32,\n 'topic' : IDL.Int32,\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'deadline_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'reward_status' : IDL.Int32,\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const ListKnownNeuronsResponse = IDL.Record({\n 'known_neurons' : IDL.Vec(KnownNeuron),\n });\n const ListNeurons = IDL.Record({\n 'neuron_ids' : IDL.Vec(IDL.Nat64),\n 'include_neurons_readable_by_caller' : IDL.Bool,\n });\n const ListNeuronsResponse = IDL.Record({\n 'neuron_infos' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInfo)),\n 'full_neurons' : IDL.Vec(Neuron),\n });\n const ListNodeProvidersResponse = IDL.Record({\n 'node_providers' : IDL.Vec(NodeProvider),\n });\n const ListProposalInfo = IDL.Record({\n 'include_reward_status' : IDL.Vec(IDL.Int32),\n 'before_proposal' : IDL.Opt(NeuronId),\n 'limit' : IDL.Nat32,\n 'exclude_topic' : IDL.Vec(IDL.Int32),\n 'include_status' : IDL.Vec(IDL.Int32),\n });\n const ListProposalInfoResponse = IDL.Record({\n 'proposal_info' : IDL.Vec(ProposalInfo),\n });\n const SpawnResponse = IDL.Record({ 'created_neuron_id' : IDL.Opt(NeuronId) });\n const ClaimOrRefreshResponse = IDL.Record({\n 'refreshed_neuron_id' : IDL.Opt(NeuronId),\n });\n const MakeProposalResponse = IDL.Record({\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const MergeMaturityResponse = IDL.Record({\n 'merged_maturity_e8s' : IDL.Nat64,\n 'new_stake_e8s' : IDL.Nat64,\n });\n const DisburseResponse = IDL.Record({ 'transfer_block_height' : IDL.Nat64 });\n const Command_1 = IDL.Variant({\n 'Error' : GovernanceError,\n 'Spawn' : SpawnResponse,\n 'Split' : SpawnResponse,\n 'Follow' : IDL.Record({}),\n 'ClaimOrRefresh' : ClaimOrRefreshResponse,\n 'Configure' : IDL.Record({}),\n 'RegisterVote' : IDL.Record({}),\n 'Merge' : IDL.Record({}),\n 'DisburseToNeuron' : SpawnResponse,\n 'MakeProposal' : MakeProposalResponse,\n 'MergeMaturity' : MergeMaturityResponse,\n 'Disburse' : DisburseResponse,\n });\n const ManageNeuronResponse = IDL.Record({ 'command' : IDL.Opt(Command_1) });\n const UpdateNodeProvider = IDL.Record({\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n return IDL.Service({\n 'claim_gtc_neurons' : IDL.Func(\n [IDL.Principal, IDL.Vec(NeuronId)],\n [Result],\n [],\n ),\n 'claim_or_refresh_neuron_from_account' : IDL.Func(\n [ClaimOrRefreshNeuronFromAccount],\n [ClaimOrRefreshNeuronFromAccountResponse],\n [],\n ),\n 'get_build_metadata' : IDL.Func([], [IDL.Text], []),\n 'get_full_neuron' : IDL.Func([IDL.Nat64], [Result_2], []),\n 'get_full_neuron_by_id_or_subaccount' : IDL.Func(\n [NeuronIdOrSubaccount],\n [Result_2],\n [],\n ),\n 'get_monthly_node_provider_rewards' : IDL.Func([], [Result_3], []),\n 'get_most_recent_monthly_node_provider_rewards' : IDL.Func(\n [],\n [IDL.Opt(MostRecentMonthlyNodeProviderRewards)],\n [],\n ),\n 'get_network_economics_parameters' : IDL.Func([], [NetworkEconomics], []),\n 'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], []),\n 'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_4], []),\n 'get_neuron_info_by_id_or_subaccount' : IDL.Func(\n [NeuronIdOrSubaccount],\n [Result_4],\n [],\n ),\n 'get_node_provider_by_caller' : IDL.Func([IDL.Null], [Result_5], []),\n 'get_pending_proposals' : IDL.Func([], [IDL.Vec(ProposalInfo)], []),\n 'get_proposal_info' : IDL.Func([IDL.Nat64], [IDL.Opt(ProposalInfo)], []),\n 'list_known_neurons' : IDL.Func([], [ListKnownNeuronsResponse], []),\n 'list_neurons' : IDL.Func([ListNeurons], [ListNeuronsResponse], []),\n 'list_node_providers' : IDL.Func([], [ListNodeProvidersResponse], []),\n 'list_proposals' : IDL.Func(\n [ListProposalInfo],\n [ListProposalInfoResponse],\n [],\n ),\n 'manage_neuron' : IDL.Func([ManageNeuron], [ManageNeuronResponse], []),\n 'transfer_gtc_neuron' : IDL.Func([NeuronId, NeuronId], [Result], []),\n 'update_node_provider' : IDL.Func([UpdateNodeProvider], [Result], []),\n });\n};\nexport const init = ({ IDL }) => {\n const Proposal = IDL.Rec();\n const NeuronId = IDL.Record({ 'id' : IDL.Nat64 });\n const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });\n const AccountIdentifier = IDL.Record({ 'hash' : IDL.Vec(IDL.Nat8) });\n const NodeProvider = IDL.Record({\n 'id' : IDL.Opt(IDL.Principal),\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardToNeuron = IDL.Record({ 'dissolve_delay_seconds' : IDL.Nat64 });\n const RewardToAccount = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardMode = IDL.Variant({\n 'RewardToNeuron' : RewardToNeuron,\n 'RewardToAccount' : RewardToAccount,\n });\n const RewardNodeProvider = IDL.Record({\n 'node_provider' : IDL.Opt(NodeProvider),\n 'reward_mode' : IDL.Opt(RewardMode),\n 'amount_e8s' : IDL.Nat64,\n });\n const MostRecentMonthlyNodeProviderRewards = IDL.Record({\n 'timestamp' : IDL.Nat64,\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const GovernanceCachedMetrics = IDL.Record({\n 'not_dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'garbage_collectable_neurons_count' : IDL.Nat64,\n 'neurons_with_invalid_stake_count' : IDL.Nat64,\n 'not_dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'total_supply_icp' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_count' : IDL.Nat64,\n 'dissolved_neurons_count' : IDL.Nat64,\n 'total_staked_e8s' : IDL.Nat64,\n 'not_dissolving_neurons_count' : IDL.Nat64,\n 'dissolved_neurons_e8s' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_e8s' : IDL.Nat64,\n 'dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'dissolving_neurons_count' : IDL.Nat64,\n 'dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'community_fund_total_staked_e8s' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const NetworkEconomics = IDL.Record({\n 'neuron_minimum_stake_e8s' : IDL.Nat64,\n 'max_proposals_to_keep_per_topic' : IDL.Nat32,\n 'neuron_management_fee_per_proposal_e8s' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'transaction_fee_e8s' : IDL.Nat64,\n 'neuron_spawn_dissolve_delay_seconds' : IDL.Nat64,\n 'minimum_icp_xdr_rate' : IDL.Nat64,\n 'maximum_node_provider_rewards_e8s' : IDL.Nat64,\n });\n const RewardEvent = IDL.Record({\n 'day_after_genesis' : IDL.Nat64,\n 'actual_timestamp_seconds' : IDL.Nat64,\n 'distributed_e8s_equivalent' : IDL.Nat64,\n 'settled_proposals' : IDL.Vec(NeuronId),\n });\n const NeuronStakeTransfer = IDL.Record({\n 'to_subaccount' : IDL.Vec(IDL.Nat8),\n 'neuron_stake_e8s' : IDL.Nat64,\n 'from' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n 'from_subaccount' : IDL.Vec(IDL.Nat8),\n 'transfer_timestamp' : IDL.Nat64,\n 'block_height' : IDL.Nat64,\n });\n const GovernanceError = IDL.Record({\n 'error_message' : IDL.Text,\n 'error_type' : IDL.Int32,\n });\n const Ballot = IDL.Record({ 'vote' : IDL.Int32, 'voting_power' : IDL.Nat64 });\n const Tally = IDL.Record({\n 'no' : IDL.Nat64,\n 'yes' : IDL.Nat64,\n 'total' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const KnownNeuronData = IDL.Record({\n 'name' : IDL.Text,\n 'description' : IDL.Opt(IDL.Text),\n });\n const KnownNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n });\n const Spawn = IDL.Record({\n 'percentage_to_spawn' : IDL.Opt(IDL.Nat32),\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Opt(IDL.Nat64),\n });\n const Split = IDL.Record({ 'amount_e8s' : IDL.Nat64 });\n const Follow = IDL.Record({\n 'topic' : IDL.Int32,\n 'followees' : IDL.Vec(NeuronId),\n });\n const ClaimOrRefreshNeuronFromAccount = IDL.Record({\n 'controller' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n });\n const By = IDL.Variant({\n 'NeuronIdOrSubaccount' : IDL.Record({}),\n 'MemoAndController' : ClaimOrRefreshNeuronFromAccount,\n 'Memo' : IDL.Nat64,\n });\n const ClaimOrRefresh = IDL.Record({ 'by' : IDL.Opt(By) });\n const RemoveHotKey = IDL.Record({\n 'hot_key_to_remove' : IDL.Opt(IDL.Principal),\n });\n const AddHotKey = IDL.Record({ 'new_hot_key' : IDL.Opt(IDL.Principal) });\n const IncreaseDissolveDelay = IDL.Record({\n 'additional_dissolve_delay_seconds' : IDL.Nat32,\n });\n const SetDissolveTimestamp = IDL.Record({\n 'dissolve_timestamp_seconds' : IDL.Nat64,\n });\n const Operation = IDL.Variant({\n 'RemoveHotKey' : RemoveHotKey,\n 'AddHotKey' : AddHotKey,\n 'StopDissolving' : IDL.Record({}),\n 'StartDissolving' : IDL.Record({}),\n 'IncreaseDissolveDelay' : IncreaseDissolveDelay,\n 'JoinCommunityFund' : IDL.Record({}),\n 'LeaveCommunityFund' : IDL.Record({}),\n 'SetDissolveTimestamp' : SetDissolveTimestamp,\n });\n const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });\n const RegisterVote = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal' : IDL.Opt(NeuronId),\n });\n const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });\n const DisburseToNeuron = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'kyc_verified' : IDL.Bool,\n 'amount_e8s' : IDL.Nat64,\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Nat64,\n });\n const MergeMaturity = IDL.Record({ 'percentage_to_merge' : IDL.Nat32 });\n const Amount = IDL.Record({ 'e8s' : IDL.Nat64 });\n const Disburse = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n 'amount' : IDL.Opt(Amount),\n });\n const Command = IDL.Variant({\n 'Spawn' : Spawn,\n 'Split' : Split,\n 'Follow' : Follow,\n 'ClaimOrRefresh' : ClaimOrRefresh,\n 'Configure' : Configure,\n 'RegisterVote' : RegisterVote,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'MakeProposal' : Proposal,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronIdOrSubaccount = IDL.Variant({\n 'Subaccount' : IDL.Vec(IDL.Nat8),\n 'NeuronId' : NeuronId,\n });\n const ManageNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'command' : IDL.Opt(Command),\n 'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),\n });\n const ExecuteNnsFunction = IDL.Record({\n 'nns_function' : IDL.Int32,\n 'payload' : IDL.Vec(IDL.Nat8),\n });\n const TimeWindow = IDL.Record({\n 'start_timestamp_seconds' : IDL.Nat64,\n 'end_timestamp_seconds' : IDL.Nat64,\n });\n const SetOpenTimeWindowRequest = IDL.Record({\n 'open_time_window' : IDL.Opt(TimeWindow),\n });\n const SetSnsTokenSwapOpenTimeWindow = IDL.Record({\n 'request' : IDL.Opt(SetOpenTimeWindowRequest),\n 'swap_canister_id' : IDL.Opt(IDL.Principal),\n });\n const SetDefaultFollowees = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n });\n const RewardNodeProviders = IDL.Record({\n 'use_registry_derived_rewards' : IDL.Opt(IDL.Bool),\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const ApproveGenesisKyc = IDL.Record({\n 'principals' : IDL.Vec(IDL.Principal),\n });\n const Change = IDL.Variant({\n 'ToRemove' : NodeProvider,\n 'ToAdd' : NodeProvider,\n });\n const AddOrRemoveNodeProvider = IDL.Record({ 'change' : IDL.Opt(Change) });\n const Motion = IDL.Record({ 'motion_text' : IDL.Text });\n const Action = IDL.Variant({\n 'RegisterKnownNeuron' : KnownNeuron,\n 'ManageNeuron' : ManageNeuron,\n 'ExecuteNnsFunction' : ExecuteNnsFunction,\n 'RewardNodeProvider' : RewardNodeProvider,\n 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,\n 'SetDefaultFollowees' : SetDefaultFollowees,\n 'RewardNodeProviders' : RewardNodeProviders,\n 'ManageNetworkEconomics' : NetworkEconomics,\n 'ApproveGenesisKyc' : ApproveGenesisKyc,\n 'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,\n 'Motion' : Motion,\n });\n Proposal.fill(\n IDL.Record({\n 'url' : IDL.Text,\n 'title' : IDL.Opt(IDL.Text),\n 'action' : IDL.Opt(Action),\n 'summary' : IDL.Text,\n })\n );\n const WaitForQuietState = IDL.Record({\n 'current_deadline_timestamp_seconds' : IDL.Nat64,\n });\n const ProposalData = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const Command_2 = IDL.Variant({\n 'Spawn' : NeuronId,\n 'Split' : Split,\n 'Configure' : Configure,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'ClaimOrRefreshNeuron' : ClaimOrRefresh,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronInFlightCommand = IDL.Record({\n 'command' : IDL.Opt(Command_2),\n 'timestamp' : IDL.Nat64,\n });\n const BallotInfo = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const DissolveState = IDL.Variant({\n 'DissolveDelaySeconds' : IDL.Nat64,\n 'WhenDissolvedTimestampSeconds' : IDL.Nat64,\n });\n const Neuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'controller' : IDL.Opt(IDL.Principal),\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'kyc_verified' : IDL.Bool,\n 'not_for_profit' : IDL.Bool,\n 'maturity_e8s_equivalent' : IDL.Nat64,\n 'cached_neuron_stake_e8s' : IDL.Nat64,\n 'created_timestamp_seconds' : IDL.Nat64,\n 'aging_since_timestamp_seconds' : IDL.Nat64,\n 'hot_keys' : IDL.Vec(IDL.Principal),\n 'account' : IDL.Vec(IDL.Nat8),\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'dissolve_state' : IDL.Opt(DissolveState),\n 'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'neuron_fees_e8s' : IDL.Nat64,\n 'transfer' : IDL.Opt(NeuronStakeTransfer),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n });\n const Governance = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'most_recent_monthly_node_provider_rewards' : IDL.Opt(\n MostRecentMonthlyNodeProviderRewards\n ),\n 'wait_for_quiet_threshold_seconds' : IDL.Nat64,\n 'metrics' : IDL.Opt(GovernanceCachedMetrics),\n 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),\n 'node_providers' : IDL.Vec(NodeProvider),\n 'economics' : IDL.Opt(NetworkEconomics),\n 'spawning_neurons' : IDL.Opt(IDL.Bool),\n 'latest_reward_event' : IDL.Opt(RewardEvent),\n 'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),\n 'short_voting_period_seconds' : IDL.Nat64,\n 'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),\n 'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),\n 'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),\n 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),\n 'genesis_timestamp_seconds' : IDL.Nat64,\n });\n return [Governance];\n};\n", "/* Do not edit. Compiled with ./scripts/compile-idl-js from packages/nns/candid/governance.did */\nexport const idlFactory = ({ IDL }) => {\n const Proposal = IDL.Rec();\n const NeuronId = IDL.Record({ 'id' : IDL.Nat64 });\n const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });\n const AccountIdentifier = IDL.Record({ 'hash' : IDL.Vec(IDL.Nat8) });\n const NodeProvider = IDL.Record({\n 'id' : IDL.Opt(IDL.Principal),\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardToNeuron = IDL.Record({ 'dissolve_delay_seconds' : IDL.Nat64 });\n const RewardToAccount = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardMode = IDL.Variant({\n 'RewardToNeuron' : RewardToNeuron,\n 'RewardToAccount' : RewardToAccount,\n });\n const RewardNodeProvider = IDL.Record({\n 'node_provider' : IDL.Opt(NodeProvider),\n 'reward_mode' : IDL.Opt(RewardMode),\n 'amount_e8s' : IDL.Nat64,\n });\n const MostRecentMonthlyNodeProviderRewards = IDL.Record({\n 'timestamp' : IDL.Nat64,\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const GovernanceCachedMetrics = IDL.Record({\n 'not_dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'garbage_collectable_neurons_count' : IDL.Nat64,\n 'neurons_with_invalid_stake_count' : IDL.Nat64,\n 'not_dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'total_supply_icp' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_count' : IDL.Nat64,\n 'dissolved_neurons_count' : IDL.Nat64,\n 'total_staked_e8s' : IDL.Nat64,\n 'not_dissolving_neurons_count' : IDL.Nat64,\n 'dissolved_neurons_e8s' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_e8s' : IDL.Nat64,\n 'dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'dissolving_neurons_count' : IDL.Nat64,\n 'dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'community_fund_total_staked_e8s' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const NetworkEconomics = IDL.Record({\n 'neuron_minimum_stake_e8s' : IDL.Nat64,\n 'max_proposals_to_keep_per_topic' : IDL.Nat32,\n 'neuron_management_fee_per_proposal_e8s' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'transaction_fee_e8s' : IDL.Nat64,\n 'neuron_spawn_dissolve_delay_seconds' : IDL.Nat64,\n 'minimum_icp_xdr_rate' : IDL.Nat64,\n 'maximum_node_provider_rewards_e8s' : IDL.Nat64,\n });\n const RewardEvent = IDL.Record({\n 'day_after_genesis' : IDL.Nat64,\n 'actual_timestamp_seconds' : IDL.Nat64,\n 'distributed_e8s_equivalent' : IDL.Nat64,\n 'settled_proposals' : IDL.Vec(NeuronId),\n });\n const NeuronStakeTransfer = IDL.Record({\n 'to_subaccount' : IDL.Vec(IDL.Nat8),\n 'neuron_stake_e8s' : IDL.Nat64,\n 'from' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n 'from_subaccount' : IDL.Vec(IDL.Nat8),\n 'transfer_timestamp' : IDL.Nat64,\n 'block_height' : IDL.Nat64,\n });\n const GovernanceError = IDL.Record({\n 'error_message' : IDL.Text,\n 'error_type' : IDL.Int32,\n });\n const Ballot = IDL.Record({ 'vote' : IDL.Int32, 'voting_power' : IDL.Nat64 });\n const Tally = IDL.Record({\n 'no' : IDL.Nat64,\n 'yes' : IDL.Nat64,\n 'total' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const KnownNeuronData = IDL.Record({\n 'name' : IDL.Text,\n 'description' : IDL.Opt(IDL.Text),\n });\n const KnownNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n });\n const Spawn = IDL.Record({\n 'percentage_to_spawn' : IDL.Opt(IDL.Nat32),\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Opt(IDL.Nat64),\n });\n const Split = IDL.Record({ 'amount_e8s' : IDL.Nat64 });\n const Follow = IDL.Record({\n 'topic' : IDL.Int32,\n 'followees' : IDL.Vec(NeuronId),\n });\n const ClaimOrRefreshNeuronFromAccount = IDL.Record({\n 'controller' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n });\n const By = IDL.Variant({\n 'NeuronIdOrSubaccount' : IDL.Record({}),\n 'MemoAndController' : ClaimOrRefreshNeuronFromAccount,\n 'Memo' : IDL.Nat64,\n });\n const ClaimOrRefresh = IDL.Record({ 'by' : IDL.Opt(By) });\n const RemoveHotKey = IDL.Record({\n 'hot_key_to_remove' : IDL.Opt(IDL.Principal),\n });\n const AddHotKey = IDL.Record({ 'new_hot_key' : IDL.Opt(IDL.Principal) });\n const IncreaseDissolveDelay = IDL.Record({\n 'additional_dissolve_delay_seconds' : IDL.Nat32,\n });\n const SetDissolveTimestamp = IDL.Record({\n 'dissolve_timestamp_seconds' : IDL.Nat64,\n });\n const Operation = IDL.Variant({\n 'RemoveHotKey' : RemoveHotKey,\n 'AddHotKey' : AddHotKey,\n 'StopDissolving' : IDL.Record({}),\n 'StartDissolving' : IDL.Record({}),\n 'IncreaseDissolveDelay' : IncreaseDissolveDelay,\n 'JoinCommunityFund' : IDL.Record({}),\n 'LeaveCommunityFund' : IDL.Record({}),\n 'SetDissolveTimestamp' : SetDissolveTimestamp,\n });\n const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });\n const RegisterVote = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal' : IDL.Opt(NeuronId),\n });\n const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });\n const DisburseToNeuron = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'kyc_verified' : IDL.Bool,\n 'amount_e8s' : IDL.Nat64,\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Nat64,\n });\n const MergeMaturity = IDL.Record({ 'percentage_to_merge' : IDL.Nat32 });\n const Amount = IDL.Record({ 'e8s' : IDL.Nat64 });\n const Disburse = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n 'amount' : IDL.Opt(Amount),\n });\n const Command = IDL.Variant({\n 'Spawn' : Spawn,\n 'Split' : Split,\n 'Follow' : Follow,\n 'ClaimOrRefresh' : ClaimOrRefresh,\n 'Configure' : Configure,\n 'RegisterVote' : RegisterVote,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'MakeProposal' : Proposal,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronIdOrSubaccount = IDL.Variant({\n 'Subaccount' : IDL.Vec(IDL.Nat8),\n 'NeuronId' : NeuronId,\n });\n const ManageNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'command' : IDL.Opt(Command),\n 'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),\n });\n const ExecuteNnsFunction = IDL.Record({\n 'nns_function' : IDL.Int32,\n 'payload' : IDL.Vec(IDL.Nat8),\n });\n const TimeWindow = IDL.Record({\n 'start_timestamp_seconds' : IDL.Nat64,\n 'end_timestamp_seconds' : IDL.Nat64,\n });\n const SetOpenTimeWindowRequest = IDL.Record({\n 'open_time_window' : IDL.Opt(TimeWindow),\n });\n const SetSnsTokenSwapOpenTimeWindow = IDL.Record({\n 'request' : IDL.Opt(SetOpenTimeWindowRequest),\n 'swap_canister_id' : IDL.Opt(IDL.Principal),\n });\n const SetDefaultFollowees = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n });\n const RewardNodeProviders = IDL.Record({\n 'use_registry_derived_rewards' : IDL.Opt(IDL.Bool),\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const ApproveGenesisKyc = IDL.Record({\n 'principals' : IDL.Vec(IDL.Principal),\n });\n const Change = IDL.Variant({\n 'ToRemove' : NodeProvider,\n 'ToAdd' : NodeProvider,\n });\n const AddOrRemoveNodeProvider = IDL.Record({ 'change' : IDL.Opt(Change) });\n const Motion = IDL.Record({ 'motion_text' : IDL.Text });\n const Action = IDL.Variant({\n 'RegisterKnownNeuron' : KnownNeuron,\n 'ManageNeuron' : ManageNeuron,\n 'ExecuteNnsFunction' : ExecuteNnsFunction,\n 'RewardNodeProvider' : RewardNodeProvider,\n 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,\n 'SetDefaultFollowees' : SetDefaultFollowees,\n 'RewardNodeProviders' : RewardNodeProviders,\n 'ManageNetworkEconomics' : NetworkEconomics,\n 'ApproveGenesisKyc' : ApproveGenesisKyc,\n 'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,\n 'Motion' : Motion,\n });\n Proposal.fill(\n IDL.Record({\n 'url' : IDL.Text,\n 'title' : IDL.Opt(IDL.Text),\n 'action' : IDL.Opt(Action),\n 'summary' : IDL.Text,\n })\n );\n const WaitForQuietState = IDL.Record({\n 'current_deadline_timestamp_seconds' : IDL.Nat64,\n });\n const ProposalData = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const Command_2 = IDL.Variant({\n 'Spawn' : NeuronId,\n 'Split' : Split,\n 'Configure' : Configure,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'ClaimOrRefreshNeuron' : ClaimOrRefresh,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronInFlightCommand = IDL.Record({\n 'command' : IDL.Opt(Command_2),\n 'timestamp' : IDL.Nat64,\n });\n const BallotInfo = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const DissolveState = IDL.Variant({\n 'DissolveDelaySeconds' : IDL.Nat64,\n 'WhenDissolvedTimestampSeconds' : IDL.Nat64,\n });\n const Neuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'controller' : IDL.Opt(IDL.Principal),\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'kyc_verified' : IDL.Bool,\n 'not_for_profit' : IDL.Bool,\n 'maturity_e8s_equivalent' : IDL.Nat64,\n 'cached_neuron_stake_e8s' : IDL.Nat64,\n 'created_timestamp_seconds' : IDL.Nat64,\n 'aging_since_timestamp_seconds' : IDL.Nat64,\n 'hot_keys' : IDL.Vec(IDL.Principal),\n 'account' : IDL.Vec(IDL.Nat8),\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'dissolve_state' : IDL.Opt(DissolveState),\n 'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'neuron_fees_e8s' : IDL.Nat64,\n 'transfer' : IDL.Opt(NeuronStakeTransfer),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n });\n const Governance = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'most_recent_monthly_node_provider_rewards' : IDL.Opt(\n MostRecentMonthlyNodeProviderRewards\n ),\n 'wait_for_quiet_threshold_seconds' : IDL.Nat64,\n 'metrics' : IDL.Opt(GovernanceCachedMetrics),\n 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),\n 'node_providers' : IDL.Vec(NodeProvider),\n 'economics' : IDL.Opt(NetworkEconomics),\n 'spawning_neurons' : IDL.Opt(IDL.Bool),\n 'latest_reward_event' : IDL.Opt(RewardEvent),\n 'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),\n 'short_voting_period_seconds' : IDL.Nat64,\n 'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),\n 'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),\n 'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),\n 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),\n 'genesis_timestamp_seconds' : IDL.Nat64,\n });\n const Result = IDL.Variant({ 'Ok' : IDL.Null, 'Err' : GovernanceError });\n const Result_1 = IDL.Variant({\n 'Error' : GovernanceError,\n 'NeuronId' : NeuronId,\n });\n const ClaimOrRefreshNeuronFromAccountResponse = IDL.Record({\n 'result' : IDL.Opt(Result_1),\n });\n const Result_2 = IDL.Variant({ 'Ok' : Neuron, 'Err' : GovernanceError });\n const Result_3 = IDL.Variant({\n 'Ok' : RewardNodeProviders,\n 'Err' : GovernanceError,\n });\n const NeuronInfo = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'created_timestamp_seconds' : IDL.Nat64,\n 'state' : IDL.Int32,\n 'stake_e8s' : IDL.Nat64,\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'retrieved_at_timestamp_seconds' : IDL.Nat64,\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'voting_power' : IDL.Nat64,\n 'age_seconds' : IDL.Nat64,\n });\n const Result_4 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });\n const Result_5 = IDL.Variant({\n 'Ok' : NodeProvider,\n 'Err' : GovernanceError,\n });\n const ProposalInfo = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'status' : IDL.Int32,\n 'topic' : IDL.Int32,\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'deadline_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'reward_status' : IDL.Int32,\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const ListKnownNeuronsResponse = IDL.Record({\n 'known_neurons' : IDL.Vec(KnownNeuron),\n });\n const ListNeurons = IDL.Record({\n 'neuron_ids' : IDL.Vec(IDL.Nat64),\n 'include_neurons_readable_by_caller' : IDL.Bool,\n });\n const ListNeuronsResponse = IDL.Record({\n 'neuron_infos' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInfo)),\n 'full_neurons' : IDL.Vec(Neuron),\n });\n const ListNodeProvidersResponse = IDL.Record({\n 'node_providers' : IDL.Vec(NodeProvider),\n });\n const ListProposalInfo = IDL.Record({\n 'include_reward_status' : IDL.Vec(IDL.Int32),\n 'before_proposal' : IDL.Opt(NeuronId),\n 'limit' : IDL.Nat32,\n 'exclude_topic' : IDL.Vec(IDL.Int32),\n 'include_status' : IDL.Vec(IDL.Int32),\n });\n const ListProposalInfoResponse = IDL.Record({\n 'proposal_info' : IDL.Vec(ProposalInfo),\n });\n const SpawnResponse = IDL.Record({ 'created_neuron_id' : IDL.Opt(NeuronId) });\n const ClaimOrRefreshResponse = IDL.Record({\n 'refreshed_neuron_id' : IDL.Opt(NeuronId),\n });\n const MakeProposalResponse = IDL.Record({\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const MergeMaturityResponse = IDL.Record({\n 'merged_maturity_e8s' : IDL.Nat64,\n 'new_stake_e8s' : IDL.Nat64,\n });\n const DisburseResponse = IDL.Record({ 'transfer_block_height' : IDL.Nat64 });\n const Command_1 = IDL.Variant({\n 'Error' : GovernanceError,\n 'Spawn' : SpawnResponse,\n 'Split' : SpawnResponse,\n 'Follow' : IDL.Record({}),\n 'ClaimOrRefresh' : ClaimOrRefreshResponse,\n 'Configure' : IDL.Record({}),\n 'RegisterVote' : IDL.Record({}),\n 'Merge' : IDL.Record({}),\n 'DisburseToNeuron' : SpawnResponse,\n 'MakeProposal' : MakeProposalResponse,\n 'MergeMaturity' : MergeMaturityResponse,\n 'Disburse' : DisburseResponse,\n });\n const ManageNeuronResponse = IDL.Record({ 'command' : IDL.Opt(Command_1) });\n const UpdateNodeProvider = IDL.Record({\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n return IDL.Service({\n 'claim_gtc_neurons' : IDL.Func(\n [IDL.Principal, IDL.Vec(NeuronId)],\n [Result],\n [],\n ),\n 'claim_or_refresh_neuron_from_account' : IDL.Func(\n [ClaimOrRefreshNeuronFromAccount],\n [ClaimOrRefreshNeuronFromAccountResponse],\n [],\n ),\n 'get_build_metadata' : IDL.Func([], [IDL.Text], ['query']),\n 'get_full_neuron' : IDL.Func([IDL.Nat64], [Result_2], ['query']),\n 'get_full_neuron_by_id_or_subaccount' : IDL.Func(\n [NeuronIdOrSubaccount],\n [Result_2],\n ['query'],\n ),\n 'get_monthly_node_provider_rewards' : IDL.Func([], [Result_3], []),\n 'get_most_recent_monthly_node_provider_rewards' : IDL.Func(\n [],\n [IDL.Opt(MostRecentMonthlyNodeProviderRewards)],\n ['query'],\n ),\n 'get_network_economics_parameters' : IDL.Func(\n [],\n [NetworkEconomics],\n ['query'],\n ),\n 'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], ['query']),\n 'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_4], ['query']),\n 'get_neuron_info_by_id_or_subaccount' : IDL.Func(\n [NeuronIdOrSubaccount],\n [Result_4],\n ['query'],\n ),\n 'get_node_provider_by_caller' : IDL.Func([IDL.Null], [Result_5], ['query']),\n 'get_pending_proposals' : IDL.Func([], [IDL.Vec(ProposalInfo)], ['query']),\n 'get_proposal_info' : IDL.Func(\n [IDL.Nat64],\n [IDL.Opt(ProposalInfo)],\n ['query'],\n ),\n 'list_known_neurons' : IDL.Func([], [ListKnownNeuronsResponse], ['query']),\n 'list_neurons' : IDL.Func([ListNeurons], [ListNeuronsResponse], ['query']),\n 'list_node_providers' : IDL.Func(\n [],\n [ListNodeProvidersResponse],\n ['query'],\n ),\n 'list_proposals' : IDL.Func(\n [ListProposalInfo],\n [ListProposalInfoResponse],\n ['query'],\n ),\n 'manage_neuron' : IDL.Func([ManageNeuron], [ManageNeuronResponse], []),\n 'transfer_gtc_neuron' : IDL.Func([NeuronId, NeuronId], [Result], []),\n 'update_node_provider' : IDL.Func([UpdateNodeProvider], [Result], []),\n });\n};\nexport const init = ({ IDL }) => {\n const Proposal = IDL.Rec();\n const NeuronId = IDL.Record({ 'id' : IDL.Nat64 });\n const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });\n const AccountIdentifier = IDL.Record({ 'hash' : IDL.Vec(IDL.Nat8) });\n const NodeProvider = IDL.Record({\n 'id' : IDL.Opt(IDL.Principal),\n 'reward_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardToNeuron = IDL.Record({ 'dissolve_delay_seconds' : IDL.Nat64 });\n const RewardToAccount = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n });\n const RewardMode = IDL.Variant({\n 'RewardToNeuron' : RewardToNeuron,\n 'RewardToAccount' : RewardToAccount,\n });\n const RewardNodeProvider = IDL.Record({\n 'node_provider' : IDL.Opt(NodeProvider),\n 'reward_mode' : IDL.Opt(RewardMode),\n 'amount_e8s' : IDL.Nat64,\n });\n const MostRecentMonthlyNodeProviderRewards = IDL.Record({\n 'timestamp' : IDL.Nat64,\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const GovernanceCachedMetrics = IDL.Record({\n 'not_dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'garbage_collectable_neurons_count' : IDL.Nat64,\n 'neurons_with_invalid_stake_count' : IDL.Nat64,\n 'not_dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'total_supply_icp' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_count' : IDL.Nat64,\n 'dissolved_neurons_count' : IDL.Nat64,\n 'total_staked_e8s' : IDL.Nat64,\n 'not_dissolving_neurons_count' : IDL.Nat64,\n 'dissolved_neurons_e8s' : IDL.Nat64,\n 'neurons_with_less_than_6_months_dissolve_delay_e8s' : IDL.Nat64,\n 'dissolving_neurons_count_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Nat64)\n ),\n 'dissolving_neurons_count' : IDL.Nat64,\n 'dissolving_neurons_e8s_buckets' : IDL.Vec(\n IDL.Tuple(IDL.Nat64, IDL.Float64)\n ),\n 'community_fund_total_staked_e8s' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const NetworkEconomics = IDL.Record({\n 'neuron_minimum_stake_e8s' : IDL.Nat64,\n 'max_proposals_to_keep_per_topic' : IDL.Nat32,\n 'neuron_management_fee_per_proposal_e8s' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'transaction_fee_e8s' : IDL.Nat64,\n 'neuron_spawn_dissolve_delay_seconds' : IDL.Nat64,\n 'minimum_icp_xdr_rate' : IDL.Nat64,\n 'maximum_node_provider_rewards_e8s' : IDL.Nat64,\n });\n const RewardEvent = IDL.Record({\n 'day_after_genesis' : IDL.Nat64,\n 'actual_timestamp_seconds' : IDL.Nat64,\n 'distributed_e8s_equivalent' : IDL.Nat64,\n 'settled_proposals' : IDL.Vec(NeuronId),\n });\n const NeuronStakeTransfer = IDL.Record({\n 'to_subaccount' : IDL.Vec(IDL.Nat8),\n 'neuron_stake_e8s' : IDL.Nat64,\n 'from' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n 'from_subaccount' : IDL.Vec(IDL.Nat8),\n 'transfer_timestamp' : IDL.Nat64,\n 'block_height' : IDL.Nat64,\n });\n const GovernanceError = IDL.Record({\n 'error_message' : IDL.Text,\n 'error_type' : IDL.Int32,\n });\n const Ballot = IDL.Record({ 'vote' : IDL.Int32, 'voting_power' : IDL.Nat64 });\n const Tally = IDL.Record({\n 'no' : IDL.Nat64,\n 'yes' : IDL.Nat64,\n 'total' : IDL.Nat64,\n 'timestamp_seconds' : IDL.Nat64,\n });\n const KnownNeuronData = IDL.Record({\n 'name' : IDL.Text,\n 'description' : IDL.Opt(IDL.Text),\n });\n const KnownNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n });\n const Spawn = IDL.Record({\n 'percentage_to_spawn' : IDL.Opt(IDL.Nat32),\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Opt(IDL.Nat64),\n });\n const Split = IDL.Record({ 'amount_e8s' : IDL.Nat64 });\n const Follow = IDL.Record({\n 'topic' : IDL.Int32,\n 'followees' : IDL.Vec(NeuronId),\n });\n const ClaimOrRefreshNeuronFromAccount = IDL.Record({\n 'controller' : IDL.Opt(IDL.Principal),\n 'memo' : IDL.Nat64,\n });\n const By = IDL.Variant({\n 'NeuronIdOrSubaccount' : IDL.Record({}),\n 'MemoAndController' : ClaimOrRefreshNeuronFromAccount,\n 'Memo' : IDL.Nat64,\n });\n const ClaimOrRefresh = IDL.Record({ 'by' : IDL.Opt(By) });\n const RemoveHotKey = IDL.Record({\n 'hot_key_to_remove' : IDL.Opt(IDL.Principal),\n });\n const AddHotKey = IDL.Record({ 'new_hot_key' : IDL.Opt(IDL.Principal) });\n const IncreaseDissolveDelay = IDL.Record({\n 'additional_dissolve_delay_seconds' : IDL.Nat32,\n });\n const SetDissolveTimestamp = IDL.Record({\n 'dissolve_timestamp_seconds' : IDL.Nat64,\n });\n const Operation = IDL.Variant({\n 'RemoveHotKey' : RemoveHotKey,\n 'AddHotKey' : AddHotKey,\n 'StopDissolving' : IDL.Record({}),\n 'StartDissolving' : IDL.Record({}),\n 'IncreaseDissolveDelay' : IncreaseDissolveDelay,\n 'JoinCommunityFund' : IDL.Record({}),\n 'LeaveCommunityFund' : IDL.Record({}),\n 'SetDissolveTimestamp' : SetDissolveTimestamp,\n });\n const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });\n const RegisterVote = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal' : IDL.Opt(NeuronId),\n });\n const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });\n const DisburseToNeuron = IDL.Record({\n 'dissolve_delay_seconds' : IDL.Nat64,\n 'kyc_verified' : IDL.Bool,\n 'amount_e8s' : IDL.Nat64,\n 'new_controller' : IDL.Opt(IDL.Principal),\n 'nonce' : IDL.Nat64,\n });\n const MergeMaturity = IDL.Record({ 'percentage_to_merge' : IDL.Nat32 });\n const Amount = IDL.Record({ 'e8s' : IDL.Nat64 });\n const Disburse = IDL.Record({\n 'to_account' : IDL.Opt(AccountIdentifier),\n 'amount' : IDL.Opt(Amount),\n });\n const Command = IDL.Variant({\n 'Spawn' : Spawn,\n 'Split' : Split,\n 'Follow' : Follow,\n 'ClaimOrRefresh' : ClaimOrRefresh,\n 'Configure' : Configure,\n 'RegisterVote' : RegisterVote,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'MakeProposal' : Proposal,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronIdOrSubaccount = IDL.Variant({\n 'Subaccount' : IDL.Vec(IDL.Nat8),\n 'NeuronId' : NeuronId,\n });\n const ManageNeuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'command' : IDL.Opt(Command),\n 'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),\n });\n const ExecuteNnsFunction = IDL.Record({\n 'nns_function' : IDL.Int32,\n 'payload' : IDL.Vec(IDL.Nat8),\n });\n const TimeWindow = IDL.Record({\n 'start_timestamp_seconds' : IDL.Nat64,\n 'end_timestamp_seconds' : IDL.Nat64,\n });\n const SetOpenTimeWindowRequest = IDL.Record({\n 'open_time_window' : IDL.Opt(TimeWindow),\n });\n const SetSnsTokenSwapOpenTimeWindow = IDL.Record({\n 'request' : IDL.Opt(SetOpenTimeWindowRequest),\n 'swap_canister_id' : IDL.Opt(IDL.Principal),\n });\n const SetDefaultFollowees = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n });\n const RewardNodeProviders = IDL.Record({\n 'use_registry_derived_rewards' : IDL.Opt(IDL.Bool),\n 'rewards' : IDL.Vec(RewardNodeProvider),\n });\n const ApproveGenesisKyc = IDL.Record({\n 'principals' : IDL.Vec(IDL.Principal),\n });\n const Change = IDL.Variant({\n 'ToRemove' : NodeProvider,\n 'ToAdd' : NodeProvider,\n });\n const AddOrRemoveNodeProvider = IDL.Record({ 'change' : IDL.Opt(Change) });\n const Motion = IDL.Record({ 'motion_text' : IDL.Text });\n const Action = IDL.Variant({\n 'RegisterKnownNeuron' : KnownNeuron,\n 'ManageNeuron' : ManageNeuron,\n 'ExecuteNnsFunction' : ExecuteNnsFunction,\n 'RewardNodeProvider' : RewardNodeProvider,\n 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,\n 'SetDefaultFollowees' : SetDefaultFollowees,\n 'RewardNodeProviders' : RewardNodeProviders,\n 'ManageNetworkEconomics' : NetworkEconomics,\n 'ApproveGenesisKyc' : ApproveGenesisKyc,\n 'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,\n 'Motion' : Motion,\n });\n Proposal.fill(\n IDL.Record({\n 'url' : IDL.Text,\n 'title' : IDL.Opt(IDL.Text),\n 'action' : IDL.Opt(Action),\n 'summary' : IDL.Text,\n })\n );\n const WaitForQuietState = IDL.Record({\n 'current_deadline_timestamp_seconds' : IDL.Nat64,\n });\n const ProposalData = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'failure_reason' : IDL.Opt(GovernanceError),\n 'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),\n 'proposal_timestamp_seconds' : IDL.Nat64,\n 'reward_event_round' : IDL.Nat64,\n 'failed_timestamp_seconds' : IDL.Nat64,\n 'reject_cost_e8s' : IDL.Nat64,\n 'latest_tally' : IDL.Opt(Tally),\n 'decided_timestamp_seconds' : IDL.Nat64,\n 'proposal' : IDL.Opt(Proposal),\n 'proposer' : IDL.Opt(NeuronId),\n 'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),\n 'executed_timestamp_seconds' : IDL.Nat64,\n });\n const Command_2 = IDL.Variant({\n 'Spawn' : NeuronId,\n 'Split' : Split,\n 'Configure' : Configure,\n 'Merge' : Merge,\n 'DisburseToNeuron' : DisburseToNeuron,\n 'ClaimOrRefreshNeuron' : ClaimOrRefresh,\n 'MergeMaturity' : MergeMaturity,\n 'Disburse' : Disburse,\n });\n const NeuronInFlightCommand = IDL.Record({\n 'command' : IDL.Opt(Command_2),\n 'timestamp' : IDL.Nat64,\n });\n const BallotInfo = IDL.Record({\n 'vote' : IDL.Int32,\n 'proposal_id' : IDL.Opt(NeuronId),\n });\n const DissolveState = IDL.Variant({\n 'DissolveDelaySeconds' : IDL.Nat64,\n 'WhenDissolvedTimestampSeconds' : IDL.Nat64,\n });\n const Neuron = IDL.Record({\n 'id' : IDL.Opt(NeuronId),\n 'controller' : IDL.Opt(IDL.Principal),\n 'recent_ballots' : IDL.Vec(BallotInfo),\n 'kyc_verified' : IDL.Bool,\n 'not_for_profit' : IDL.Bool,\n 'maturity_e8s_equivalent' : IDL.Nat64,\n 'cached_neuron_stake_e8s' : IDL.Nat64,\n 'created_timestamp_seconds' : IDL.Nat64,\n 'aging_since_timestamp_seconds' : IDL.Nat64,\n 'hot_keys' : IDL.Vec(IDL.Principal),\n 'account' : IDL.Vec(IDL.Nat8),\n 'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n 'dissolve_state' : IDL.Opt(DissolveState),\n 'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'neuron_fees_e8s' : IDL.Nat64,\n 'transfer' : IDL.Opt(NeuronStakeTransfer),\n 'known_neuron_data' : IDL.Opt(KnownNeuronData),\n 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),\n });\n const Governance = IDL.Record({\n 'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),\n 'most_recent_monthly_node_provider_rewards' : IDL.Opt(\n MostRecentMonthlyNodeProviderRewards\n ),\n 'wait_for_quiet_threshold_seconds' : IDL.Nat64,\n 'metrics' : IDL.Opt(GovernanceCachedMetrics),\n 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),\n 'node_providers' : IDL.Vec(NodeProvider),\n 'economics' : IDL.Opt(NetworkEconomics),\n 'spawning_neurons' : IDL.Opt(IDL.Bool),\n 'latest_reward_event' : IDL.Opt(RewardEvent),\n 'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),\n 'short_voting_period_seconds' : IDL.Nat64,\n 'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),\n 'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),\n 'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),\n 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),\n 'genesis_timestamp_seconds' : IDL.Nat64,\n });\n return [Governance];\n};\n", "import { Principal } from \"@dfinity/principal\";\nimport type {\n AccountIdentifier as RawAccountIdentifier,\n Action as RawAction,\n Amount,\n By as RawBy,\n Change as RawChange,\n Command as RawCommand,\n Followees as RawFollowees,\n ListNeurons as RawListNeurons,\n ListProposalInfo,\n ManageNeuron as RawManageNeuron,\n NeuronId as RawNeuronId,\n NeuronIdOrSubaccount as RawNeuronIdOrSubaccount,\n NodeProvider as RawNodeProvider,\n Operation as RawOperation,\n RewardMode as RawRewardMode,\n} from \"../../../candid/governance\";\nimport { UnsupportedValueError } from \"../../errors/governance.errors\";\nimport type { AccountIdentifier, E8s, NeuronId } from \"../../types/common\";\nimport type {\n Action,\n By,\n Change,\n ClaimNeuronRequest,\n ClaimOrRefreshNeuronRequest,\n Command,\n DisburseToNeuronRequest,\n FollowRequest,\n ListProposalsRequest,\n MakeProposalRequest,\n ManageNeuron,\n NeuronIdOrSubaccount,\n NodeProvider,\n Operation,\n ProposalId,\n RewardMode,\n Vote,\n} from \"../../types/governance_converters\";\nimport { accountIdentifierToBytes } from \"../../utils/account_identifier.utils\";\nimport { arrayBufferToArrayOfNumber } from \"../../utils/converter.utils\";\n\nconst fromProposalId = (proposalId: ProposalId): RawNeuronId => ({\n id: proposalId,\n});\n\nconst fromNeuronId = (neuronId: NeuronId): RawNeuronId => ({\n id: neuronId,\n});\n\nconst fromFollowees = (followees: Array<NeuronId>): RawFollowees => ({\n followees: followees.map(fromNeuronId),\n});\n\nconst fromNeuronIdOrSubaccount = (\n neuronIdOrSubaccount: NeuronIdOrSubaccount\n): RawNeuronIdOrSubaccount => {\n if (\"NeuronId\" in neuronIdOrSubaccount) {\n return { NeuronId: { id: neuronIdOrSubaccount.NeuronId } };\n }\n if (\"Subaccount\" in neuronIdOrSubaccount) {\n return { Subaccount: neuronIdOrSubaccount.Subaccount };\n }\n throw new UnsupportedValueError(neuronIdOrSubaccount);\n};\n\nconst fromAction = (action: Action): RawAction => {\n if (\"ExecuteNnsFunction\" in action) {\n const executeNnsFunction = action.ExecuteNnsFunction;\n\n if (executeNnsFunction.payloadBytes === undefined) {\n throw new Error(\"payloadBytes not found\");\n }\n\n return {\n ExecuteNnsFunction: {\n nns_function: executeNnsFunction.nnsFunctionId,\n payload: arrayBufferToArrayOfNumber(executeNnsFunction.payloadBytes),\n },\n };\n }\n if (\"ManageNeuron\" in action) {\n const manageNeuron = action.ManageNeuron;\n return {\n ManageNeuron: fromManageNeuron(manageNeuron),\n };\n }\n if (\"ApproveGenesisKyc\" in action) {\n const approveGenesisKyc = action.ApproveGenesisKyc;\n return {\n ApproveGenesisKyc: {\n principals: approveGenesisKyc.principals.map(Principal.fromText),\n },\n };\n }\n if (\"ManageNetworkEconomics\" in action) {\n const networkEconomics = action.ManageNetworkEconomics;\n return {\n ManageNetworkEconomics: {\n neuron_minimum_stake_e8s: networkEconomics.neuronMinimumStake,\n max_proposals_to_keep_per_topic:\n networkEconomics.maxProposalsToKeepPerTopic,\n neuron_management_fee_per_proposal_e8s:\n networkEconomics.neuronManagementFeePerProposal,\n reject_cost_e8s: networkEconomics.rejectCost,\n transaction_fee_e8s: networkEconomics.transactionFee,\n neuron_spawn_dissolve_delay_seconds:\n networkEconomics.neuronSpawnDissolveDelaySeconds,\n minimum_icp_xdr_rate: networkEconomics.minimumIcpXdrRate,\n maximum_node_provider_rewards_e8s:\n networkEconomics.maximumNodeProviderRewards,\n },\n };\n }\n if (\"RewardNodeProvider\" in action) {\n const rewardNodeProvider = action.RewardNodeProvider;\n return {\n RewardNodeProvider: {\n node_provider: rewardNodeProvider.nodeProvider\n ? [fromNodeProvider(rewardNodeProvider.nodeProvider)]\n : [],\n amount_e8s: rewardNodeProvider.amountE8s,\n reward_mode:\n rewardNodeProvider.rewardMode != null\n ? [fromRewardMode(rewardNodeProvider.rewardMode)]\n : [],\n },\n };\n }\n if (\"RewardNodeProviders\" in action) {\n const rewardNodeProviders = action.RewardNodeProviders;\n return {\n RewardNodeProviders: {\n use_registry_derived_rewards:\n rewardNodeProviders.useRegistryDerivedRewards === undefined\n ? []\n : [rewardNodeProviders.useRegistryDerivedRewards],\n rewards: rewardNodeProviders.rewards.map((r) => ({\n node_provider: r.nodeProvider\n ? [fromNodeProvider(r.nodeProvider)]\n : [],\n amount_e8s: r.amountE8s,\n reward_mode:\n r.rewardMode != null ? [fromRewardMode(r.rewardMode)] : [],\n })),\n },\n };\n }\n if (\"AddOrRemoveNodeProvider\" in action) {\n const addOrRemoveNodeProvider = action.AddOrRemoveNodeProvider;\n return {\n AddOrRemoveNodeProvider: {\n change: addOrRemoveNodeProvider.change\n ? [fromChange(addOrRemoveNodeProvider.change)]\n : [],\n },\n };\n }\n if (\"Motion\" in action) {\n const motion = action.Motion;\n return {\n Motion: {\n motion_text: motion.motionText,\n },\n };\n }\n\n if (\"SetDefaultFollowees\" in action) {\n const setDefaultFollowees = action.SetDefaultFollowees;\n return {\n SetDefaultFollowees: {\n default_followees: setDefaultFollowees.defaultFollowees.map((f) => [\n f.topic as number,\n fromFollowees(f.followees),\n ]),\n },\n };\n }\n\n if (\"RegisterKnownNeuron\" in action) {\n const knownNeuron = action.RegisterKnownNeuron;\n return {\n RegisterKnownNeuron: {\n id: [{ id: knownNeuron.id }],\n known_neuron_data: [\n {\n name: knownNeuron.name,\n description:\n knownNeuron.description !== undefined\n ? [knownNeuron.description]\n : [],\n },\n ],\n },\n };\n }\n\n if (\"SetSnsTokenSwapOpenTimeWindow\" in action) {\n const { request, swapCanisterId } = action.SetSnsTokenSwapOpenTimeWindow;\n\n return {\n SetSnsTokenSwapOpenTimeWindow: {\n request:\n request === undefined\n ? []\n : [\n {\n open_time_window:\n request.openTimeWindow === undefined\n ? []\n : [\n {\n start_timestamp_seconds:\n request.openTimeWindow.startTimestampSeconds,\n end_timestamp_seconds:\n request.openTimeWindow.endTimestampSeconds,\n },\n ],\n },\n ],\n\n swap_canister_id:\n swapCanisterId === undefined\n ? []\n : [Principal.fromText(swapCanisterId)],\n },\n };\n }\n\n // If there's a missing action, this line will cause a compiler error.\n throw new UnsupportedValueError(action);\n};\n\nconst fromCommand = (command: Command): RawCommand => {\n if (\"Split\" in command) {\n const split = command.Split;\n return {\n Split: {\n amount_e8s: split.amount,\n },\n };\n }\n if (\"Follow\" in command) {\n const follow = command.Follow;\n return {\n Follow: {\n topic: follow.topic,\n followees: follow.followees.map(fromNeuronId),\n },\n };\n }\n if (\"ClaimOrRefresh\" in command) {\n const claimOrRefresh = command.ClaimOrRefresh;\n return {\n ClaimOrRefresh: {\n by: claimOrRefresh.by ? [fromClaimOrRefreshBy(claimOrRefresh.by)] : [],\n },\n };\n }\n if (\"Configure\" in command) {\n const configure = command.Configure;\n return {\n Configure: {\n operation: configure.operation\n ? [fromOperation(configure.operation)]\n : [],\n },\n };\n }\n if (\"RegisterVote\" in command) {\n const registerVote = command.RegisterVote;\n return {\n RegisterVote: {\n vote: registerVote.vote,\n proposal: registerVote.proposal\n ? [fromProposalId(registerVote.proposal)]\n : [],\n },\n };\n }\n if (\"DisburseToNeuron\" in command) {\n const disburseToNeuron = command.DisburseToNeuron;\n return {\n DisburseToNeuron: {\n dissolve_delay_seconds: disburseToNeuron.dissolveDelaySeconds,\n kyc_verified: disburseToNeuron.kycVerified,\n amount_e8s: disburseToNeuron.amount,\n new_controller: disburseToNeuron.newController\n ? [Principal.fromText(disburseToNeuron.newController)]\n : [],\n nonce: disburseToNeuron.nonce,\n },\n };\n }\n if (\"MergeMaturity\" in command) {\n const mergeMaturity = command.MergeMaturity;\n return {\n MergeMaturity: {\n percentage_to_merge: mergeMaturity.percentageToMerge,\n },\n };\n }\n if (\"MakeProposal\" in command) {\n const makeProposal = command.MakeProposal;\n return {\n MakeProposal: {\n url: makeProposal.url,\n title: [],\n action: makeProposal.action ? [fromAction(makeProposal.action)] : [],\n summary: makeProposal.summary,\n },\n };\n }\n if (\"Disburse\" in command) {\n const disburse = command.Disburse;\n return {\n Disburse: {\n to_account: disburse.toAccountId\n ? [fromAccountIdentifier(disburse.toAccountId)]\n : [],\n amount: disburse.amount ? [fromAmount(disburse.amount)] : [],\n },\n };\n }\n if (\"Spawn\" in command) {\n const spawn = command.Spawn;\n return {\n Spawn: {\n percentage_to_spawn:\n spawn.percentageToSpawn === undefined\n ? []\n : [spawn.percentageToSpawn],\n new_controller: spawn.newController\n ? [Principal.fromText(spawn.newController)]\n : [],\n nonce: [],\n },\n };\n }\n if (\"Merge\" in command) {\n const merge = command.Merge;\n return {\n Merge: {\n source_neuron_id: merge.sourceNeuronId\n ? [{ id: merge.sourceNeuronId }]\n : [],\n },\n };\n }\n\n // If there's a missing command above, this line will cause a compiler error.\n throw new UnsupportedValueError(command);\n};\n\nconst fromOperation = (operation: Operation): RawOperation => {\n if (\"RemoveHotKey\" in operation) {\n const removeHotKey = operation.RemoveHotKey;\n return {\n RemoveHotKey: {\n hot_key_to_remove:\n removeHotKey.hotKeyToRemove != null\n ? [Principal.fromText(removeHotKey.hotKeyToRemove)]\n : [],\n },\n };\n }\n if (\"AddHotKey\" in operation) {\n const addHotKey = operation.AddHotKey;\n return {\n AddHotKey: {\n new_hot_key: addHotKey.newHotKey\n ? [Principal.fromText(addHotKey.newHotKey)]\n : [],\n },\n };\n }\n if (\"StopDissolving\" in operation) {\n return {\n StopDissolving: {},\n };\n }\n if (\"StartDissolving\" in operation) {\n return {\n StartDissolving: {},\n };\n }\n if (\"IncreaseDissolveDelay\" in operation) {\n const increaseDissolveDelay = operation.IncreaseDissolveDelay;\n return {\n IncreaseDissolveDelay: {\n additional_dissolve_delay_seconds:\n increaseDissolveDelay.additionalDissolveDelaySeconds,\n },\n };\n }\n if (\"JoinCommunityFund\" in operation) {\n return operation;\n }\n if (\"LeaveCommunityFund\" in operation) {\n return operation;\n }\n if (\"SetDissolveTimestamp\" in operation) {\n const setDissolveTimestamp = operation.SetDissolveTimestamp;\n return {\n SetDissolveTimestamp: {\n dissolve_timestamp_seconds:\n setDissolveTimestamp.dissolveTimestampSeconds,\n },\n };\n }\n // If there's a missing operation above, this line will cause a compiler error.\n throw new UnsupportedValueError(operation);\n};\n\nconst fromChange = (change: Change): RawChange => {\n if (\"ToRemove\" in change) {\n return {\n ToRemove: fromNodeProvider(change.ToRemove),\n };\n }\n if (\"ToAdd\" in change) {\n return {\n ToAdd: fromNodeProvider(change.ToAdd),\n };\n }\n // If there's a missing change above, this line will cause a compiler error.\n throw new UnsupportedValueError(change);\n};\n\nconst fromNodeProvider = (nodeProvider: NodeProvider): RawNodeProvider => {\n return {\n id: nodeProvider.id != null ? [Principal.fromText(nodeProvider.id)] : [],\n reward_account:\n nodeProvider.rewardAccount != null\n ? [fromAccountIdentifier(nodeProvider.rewardAccount)]\n : [],\n };\n};\n\nconst fromAmount = (amount: E8s): Amount => ({\n e8s: amount,\n});\n\nconst fromAccountIdentifier = (\n accountIdentifier: AccountIdentifier\n): RawAccountIdentifier => {\n const bytes: Uint8Array = accountIdentifierToBytes(accountIdentifier);\n return {\n hash: arrayBufferToArrayOfNumber(bytes),\n };\n};\n\nconst fromRewardMode = (rewardMode: RewardMode): RawRewardMode => {\n if (\"RewardToNeuron\" in rewardMode) {\n return {\n RewardToNeuron: {\n dissolve_delay_seconds: rewardMode.RewardToNeuron.dissolveDelaySeconds,\n },\n };\n } else if (\"RewardToAccount\" in rewardMode) {\n return {\n RewardToAccount: {\n to_account:\n rewardMode.RewardToAccount.toAccount != null\n ? [fromAccountIdentifier(rewardMode.RewardToAccount.toAccount)]\n : [],\n },\n };\n } else {\n // If there's a missing rewardMode above, this line will cause a compiler error.\n throw new UnsupportedValueError(rewardMode);\n }\n};\n\nconst fromClaimOrRefreshBy = (by: By): RawBy => {\n if (\"NeuronIdOrSubaccount\" in by) {\n return {\n NeuronIdOrSubaccount: {},\n };\n } else if (\"Memo\" in by) {\n return {\n Memo: by.Memo,\n };\n } else if (\"MemoAndController\" in by) {\n return {\n MemoAndController: {\n memo: by.MemoAndController.memo,\n controller: by.MemoAndController.controller\n ? [by.MemoAndController.controller]\n : [],\n },\n };\n } else {\n // Ensures all cases are covered at compile-time.\n throw new UnsupportedValueError(by);\n }\n};\n\nexport const fromListNeurons = (neuronIds?: NeuronId[]): RawListNeurons => ({\n neuron_ids: neuronIds ?? [],\n include_neurons_readable_by_caller: neuronIds ? false : true,\n});\n\nexport const fromManageNeuron = ({\n id,\n command,\n neuronIdOrSubaccount,\n}: ManageNeuron): RawManageNeuron => ({\n id: id ? [fromNeuronId(id)] : [],\n command: command ? [fromCommand(command)] : [],\n neuron_id_or_subaccount: neuronIdOrSubaccount\n ? [fromNeuronIdOrSubaccount(neuronIdOrSubaccount)]\n : [],\n});\n\nexport const fromClaimNeuronRequest = ({\n publicKey,\n nonce,\n dissolveDelayInSecs,\n}: ClaimNeuronRequest): [Array<number>, bigint, bigint] => [\n arrayBufferToArrayOfNumber(publicKey),\n nonce,\n dissolveDelayInSecs,\n];\n\nexport const fromListProposalsRequest = ({\n includeRewardStatus,\n beforeProposal,\n excludeTopic,\n includeStatus,\n limit,\n}: ListProposalsRequest): ListProposalInfo => {\n return {\n include_reward_status: includeRewardStatus,\n before_proposal: beforeProposal ? [fromProposalId(beforeProposal)] : [],\n limit: limit,\n exclude_topic: excludeTopic,\n include_status: includeStatus,\n };\n};\n\n/* Protobuf is not supported yet\nexport const fromAddHotKeyRequest = (request: AddHotKeyRequest): PbManageNeuron => {\n const hotkeyPrincipal = new PbPrincipalId();\n hotkeyPrincipal.setSerializedId(\n Principal.fromText(request.principal).toUint8Array()\n );\n\n const hotkey = new PbManageNeuron.AddHotKey();\n hotkey.setNewHotKey(hotkeyPrincipal);\n\n const configure = new PbManageNeuron.Configure();\n configure.setAddHotKey(hotkey);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n*/\n\nexport const fromClaimOrRefreshNeuronRequest = (\n request: ClaimOrRefreshNeuronRequest\n): RawManageNeuron => {\n const rawCommand: RawCommand = {\n ClaimOrRefresh: { by: [{ NeuronIdOrSubaccount: {} }] },\n };\n\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [{ NeuronId: { id: request.neuronId } }],\n };\n};\n\nexport const toClaimOrRefreshRequest = ({\n memo,\n controller,\n}: {\n memo: bigint;\n controller?: Principal;\n}): RawManageNeuron => {\n const rawCommand: RawCommand = {\n ClaimOrRefresh: {\n by: [\n {\n MemoAndController: {\n controller: controller == undefined ? [] : [controller],\n memo,\n },\n },\n ],\n },\n };\n\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [],\n };\n};\n\n/* Protobuf is not supported yet\nexport const fromMergeMaturityRequest = (\n request: MergeMaturityRequest\n): PbManageNeuron => {\n const mergeMaturity = new PbManageNeuron.MergeMaturity();\n mergeMaturity.setPercentageToMerge(request.percentageToMerge);\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setMergeMaturity(mergeMaturity);\n return manageNeuron;\n};\n*/\n\n/* Protobuf is not supported yet\nexport const fromRemoveHotKeyRequest = (\n request: RemoveHotKeyRequest\n): PbManageNeuron => {\n const hotkeyPrincipal = new PbPrincipalId();\n hotkeyPrincipal.setSerializedId(\n Principal.fromText(request.principal).toUint8Array()\n );\n\n const command = new PbManageNeuron.RemoveHotKey();\n command.setHotKeyToRemove(hotkeyPrincipal);\n\n const configure = new PbManageNeuron.Configure();\n configure.setRemoveHotKey(command);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromStartDissolvingRequest = (\n request: StartDissolvingRequest\n): PbManageNeuron => {\n const configure = new PbManageNeuron.Configure();\n configure.setStartDissolving(new PbManageNeuron.StartDissolving());\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromStopDissolvingRequest = (\n request: StopDissolvingRequest\n): PbManageNeuron => {\n const configure = new PbManageNeuron.Configure();\n configure.setStopDissolving(new PbManageNeuron.StopDissolving());\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromIncreaseDissolveDelayRequest = (\n request: IncreaseDissolveDelayRequest\n): PbManageNeuron => {\n const command = new PbManageNeuron.IncreaseDissolveDelay();\n command.setAdditionalDissolveDelaySeconds(\n request.additionalDissolveDelaySeconds\n );\n\n const configure = new PbManageNeuron.Configure();\n configure.setIncreaseDissolveDelay(command);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromFollowRequest = (request: FollowRequest): PbManageNeuron => {\n const follow = new PbManageNeuron.Follow();\n follow.setTopic(request.topic);\n follow.setFolloweesList(\n request.followees.map((followee) => {\n const neuronId = new PbNeuronId();\n neuronId.setId(followee.toString());\n return neuronId;\n })\n );\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setFollow(follow);\n return manageNeuron;\n};\n\nexport const fromRegisterVoteRequest = (\n request: RegisterVoteRequest\n): PbManageNeuron => {\n const registerVote = new PbManageNeuron.RegisterVote();\n registerVote.setVote(request.vote);\n const proposal = new PbProposalId();\n proposal.setId(request.proposal.toString());\n registerVote.setProposal(proposal);\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setRegisterVote(registerVote);\n return manageNeuron;\n};\n\nexport const fromSpawnRequest = (request: SpawnRequest): PbManageNeuron => {\n const spawn = new PbManageNeuron.Spawn();\n\n if (request.newController) {\n const newController = new PbPrincipalId();\n newController.setSerializedId(\n Principal.fromText(request.newController).toUint8Array().slice(4)\n );\n spawn.setNewController(newController);\n }\n\n const manageNeuron = new PbManageNeuron();\n manageNeuron.setSpawn(spawn);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n return manageNeuron;\n};\n*/\n\nexport const toSplitRawRequest = ({\n neuronId,\n amount,\n}: {\n neuronId: NeuronId;\n amount: E8s;\n}): RawManageNeuron => {\n const rawCommand: RawCommand = {\n Split: {\n amount_e8s: amount,\n },\n };\n\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [{ NeuronId: { id: neuronId } }],\n };\n};\n\n/* Protobuf is not supported yet\nexport const fromDisburseRequest = (request: DisburseRequest): PbManageNeuron => {\n const disburse = new PbManageNeuron.Disburse();\n\n if (request.toAccountId) {\n const toAccountIdentifier = new PbAccountIdentifier();\n toAccountIdentifier.setHash(\n Uint8Array.from(Buffer.from(request.toAccountId, \"hex\"))\n );\n disburse.setToAccount(toAccountIdentifier);\n }\n\n if (request.amount != null) {\n const amount = new PbManageNeuron.Disburse.Amount();\n amount.setE8s(request.amount.toString());\n disburse.setAmount(amount);\n }\n\n const manageNeuron = new PbManageNeuron();\n manageNeuron.setDisburse(disburse);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n return manageNeuron;\n};\n*/\n\nexport const fromDisburseToNeuronRequest = (\n request: DisburseToNeuronRequest\n): RawManageNeuron => {\n const rawCommand: RawCommand = {\n DisburseToNeuron: {\n dissolve_delay_seconds: request.dissolveDelaySeconds,\n kyc_verified: request.kycVerified,\n amount_e8s: request.amount,\n new_controller:\n request.newController != null\n ? [Principal.fromText(request.newController)]\n : [],\n nonce: request.nonce,\n },\n };\n\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [{ NeuronId: { id: request.neuronId } }],\n };\n};\n\nexport const fromMakeProposalRequest = (\n request: MakeProposalRequest\n): RawManageNeuron => {\n const rawCommand: RawCommand = {\n MakeProposal: {\n url: request.url,\n title: request.title != null ? [request.title] : [],\n summary: request.summary,\n action: [fromAction(request.action)],\n },\n };\n\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [{ NeuronId: { id: request.neuronId } }],\n };\n};\n\nexport const toRegisterVoteRequest = ({\n neuronId,\n vote,\n proposalId,\n}: {\n neuronId: NeuronId;\n vote: Vote;\n proposalId: ProposalId;\n}): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n RegisterVote: {\n vote,\n proposal: [{ id: proposalId }],\n },\n },\n });\n\nexport const toMakeProposalRawRequest = (\n request: MakeProposalRequest\n): RawManageNeuron => {\n const rawCommand: RawCommand = {\n MakeProposal: {\n url: request.url,\n title: request.title != null ? [request.title] : [],\n summary: request.summary,\n action: [fromAction(request.action)],\n },\n };\n return {\n id: [],\n command: [rawCommand],\n neuron_id_or_subaccount: [{ NeuronId: { id: request.neuronId } }],\n };\n};\n\nexport const toManageNeuronsFollowRequest = ({\n neuronId,\n topic,\n followees,\n}: FollowRequest): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n Follow: {\n topic,\n followees: followees.map((followeeId) => ({ id: followeeId })),\n },\n },\n });\n\nexport const toDisburseNeuronRequest = ({\n neuronId,\n toAccountId,\n amount,\n}: {\n neuronId: NeuronId;\n toAccountId?: string;\n amount?: E8s;\n}): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n Disburse: {\n to_account:\n toAccountId !== undefined ? [fromAccountIdentifier(toAccountId)] : [],\n amount: amount !== undefined ? [fromAmount(amount)] : [],\n },\n },\n });\n\nexport const toMergeMaturityRequest = ({\n neuronId,\n percentageToMerge,\n}: {\n neuronId: NeuronId;\n percentageToMerge: number;\n}): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n MergeMaturity: {\n percentage_to_merge: percentageToMerge,\n },\n },\n });\n\nexport const toSpawnNeuronRequest = ({\n neuronId,\n percentageToSpawn,\n newController,\n nonce,\n}: {\n neuronId: NeuronId;\n percentageToSpawn?: number;\n newController?: Principal;\n nonce?: bigint;\n}): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n Spawn: {\n percentage_to_spawn:\n percentageToSpawn === undefined ? [] : [percentageToSpawn],\n new_controller: newController === undefined ? [] : [newController],\n nonce: nonce === undefined ? [] : [nonce],\n },\n },\n });\n\nexport const toAddHotkeyRequest = ({\n neuronId,\n principal,\n}: {\n neuronId: NeuronId;\n principal: Principal;\n}): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n AddHotKey: {\n new_hot_key: [principal],\n },\n },\n });\n\nexport const toRemoveHotkeyRequest = ({\n neuronId,\n principal,\n}: {\n neuronId: NeuronId;\n principal: Principal;\n}): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n RemoveHotKey: {\n hot_key_to_remove: [principal],\n },\n },\n });\n\nexport const toIncreaseDissolveDelayRequest = ({\n neuronId,\n additionalDissolveDelaySeconds,\n}: {\n neuronId: NeuronId;\n additionalDissolveDelaySeconds: number;\n}): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n IncreaseDissolveDelay: {\n additional_dissolve_delay_seconds: additionalDissolveDelaySeconds,\n },\n },\n });\n\nexport const toJoinCommunityFundRequest = (\n neuronId: NeuronId\n): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n JoinCommunityFund: {},\n },\n });\n\nexport const toLeaveCommunityFundRequest = (\n neuronId: NeuronId\n): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n LeaveCommunityFund: {},\n },\n });\n\nexport const toMergeRequest = ({\n sourceNeuronId,\n targetNeuronId,\n}: {\n sourceNeuronId: NeuronId;\n targetNeuronId: NeuronId;\n}): RawManageNeuron =>\n toCommand({\n neuronId: targetNeuronId,\n command: {\n Merge: { source_neuron_id: [{ id: sourceNeuronId }] },\n },\n });\n\nexport const toStartDissolvingRequest = (neuronId: NeuronId): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n StartDissolving: {},\n },\n });\n\nexport const toStopDissolvingRequest = (neuronId: NeuronId): RawManageNeuron =>\n toConfigureOperation({\n neuronId,\n operation: {\n StopDissolving: {},\n },\n });\n\nexport const toCommand = ({\n neuronId,\n command,\n}: {\n neuronId: NeuronId;\n command: RawCommand;\n}): RawManageNeuron => ({\n id: [{ id: neuronId }],\n command: [command],\n neuron_id_or_subaccount: [],\n});\n\nexport const toConfigureOperation = ({\n neuronId,\n operation,\n}: {\n neuronId: NeuronId;\n operation: RawOperation;\n}): RawManageNeuron =>\n toCommand({\n neuronId,\n command: {\n Configure: {\n operation: [operation],\n },\n },\n });\n", "import type { GovernanceError as GovernanceErrorDetail } from \"../../candid/governance\";\nimport type { ICP } from \"../icp\";\n\nexport abstract class StakeNeuronError extends Error {}\n\nexport class CouldNotClaimNeuronError extends StakeNeuronError {}\n\nexport class InsufficientAmountError extends StakeNeuronError {\n constructor(public readonly minimumAmount: ICP) {\n super();\n }\n}\n\nexport class UnrecognizedTypeError extends Error {}\nexport class GovernanceError extends Error {\n constructor(public readonly detail: GovernanceErrorDetail) {\n super();\n }\n}\n\nexport class InvalidPercentageError extends Error {}\nexport class InvalidAccountIDError extends Error {}\n\n/**\n * An error used to ensure at compile-time that it's never reached.\n */\nexport class UnsupportedValueError extends Error {\n constructor(value: never) {\n super(\"Unsupported value: \" + value);\n }\n}\n\nexport class FeatureNotSupportedError extends Error {}\n", "import type { Principal } from \"@dfinity/principal\";\nimport { Buffer } from \"buffer\";\nimport { sha224 } from \"js-sha256\";\nimport type { AccountIdentifier } from \"../types/common\";\nimport {\n asciiStringToByteArray,\n calculateCrc32,\n toHexString,\n} from \"./converter.utils\";\n\nexport const accountIdentifierToBytes = (\n accountIdentifier: AccountIdentifier\n): Uint8Array =>\n Uint8Array.from(Buffer.from(accountIdentifier, \"hex\")).subarray(4);\n\nexport const accountIdentifierFromBytes = (\n accountIdentifier: Uint8Array\n): AccountIdentifier => Buffer.from(accountIdentifier).toString(\"hex\");\n\nexport const principalToAccountIdentifier = (\n principal: Principal,\n subAccount?: Uint8Array\n): string => {\n // Hash (sha224) the principal, the subAccount and some padding\n const padding = asciiStringToByteArray(\"\\x0Aaccount-id\");\n\n const shaObj = sha224.create();\n shaObj.update([\n ...padding,\n ...principal.toUint8Array(),\n ...(subAccount ?? Array(32).fill(0)),\n ]);\n const hash = new Uint8Array(shaObj.array());\n\n // Prepend the checksum of the hash and convert to a hex string\n const checksum = calculateCrc32(hash);\n const bytes = new Uint8Array([...checksum, ...hash]);\n return toHexString(bytes);\n};\n", "import { Principal } from \"@dfinity/principal\";\nimport {\n NeuronId as PbNeuronId,\n PrincipalId as PbPrincipalId,\n} from \"../../../proto/base_types_pb\";\nimport { ManageNeuron as PbManageNeuron } from \"../../../proto/governance_pb\";\nimport { AccountIdentifier as PbAccountIdentifier } from \"../../../proto/ledger_pb\";\nimport type { NeuronId } from \"../../types/common\";\nimport type {\n AddHotKeyRequest,\n DisburseRequest,\n FollowRequest,\n MergeMaturityRequest,\n MergeRequest,\n RemoveHotKeyRequest,\n SpawnRequest,\n} from \"../../types/governance_converters\";\n\n// Original `ts` implementation:\n// nns-dapp/frontend/ts/src/canisters/governance/RequestConverters.ts /\n// https://github.com/dfinity/nns-dapp/blob/main/frontend/ts/src/canisters/governance/RequestConverters.ts\n\nexport const fromAddHotKeyRequest = (\n request: AddHotKeyRequest\n): PbManageNeuron => {\n const hotkeyPrincipal = new PbPrincipalId();\n hotkeyPrincipal.setSerializedId(\n Principal.fromText(request.principal).toUint8Array()\n );\n\n const hotkey = new PbManageNeuron.AddHotKey();\n hotkey.setNewHotKey(hotkeyPrincipal);\n\n const configure = new PbManageNeuron.Configure();\n configure.setAddHotKey(hotkey);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromRemoveHotKeyRequest = (\n request: RemoveHotKeyRequest\n): PbManageNeuron => {\n const hotkeyPrincipal = new PbPrincipalId();\n hotkeyPrincipal.setSerializedId(\n Principal.fromText(request.principal).toUint8Array()\n );\n\n const command = new PbManageNeuron.RemoveHotKey();\n command.setHotKeyToRemove(hotkeyPrincipal);\n\n const configure = new PbManageNeuron.Configure();\n configure.setRemoveHotKey(command);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n result.setNeuronId(neuronId);\n\n return result;\n};\n\nexport const fromIncreaseDissolveDelayRequest = ({\n neuronId,\n additionalDissolveDelaySeconds,\n}: {\n neuronId: NeuronId;\n additionalDissolveDelaySeconds: number;\n}): PbManageNeuron => {\n const command = new PbManageNeuron.IncreaseDissolveDelay();\n command.setAdditionalDissolveDelaySeconds(additionalDissolveDelaySeconds);\n\n const configure = new PbManageNeuron.Configure();\n configure.setIncreaseDissolveDelay(command);\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const pbNeuronId = new PbNeuronId();\n pbNeuronId.setId(neuronId.toString());\n result.setNeuronId(pbNeuronId);\n\n return result;\n};\n\nexport const fromStartDissolvingRequest = (\n neuronId: NeuronId\n): PbManageNeuron => {\n const configure = new PbManageNeuron.Configure();\n configure.setStartDissolving(new PbManageNeuron.StartDissolving());\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const pbNeuronId = new PbNeuronId();\n pbNeuronId.setId(neuronId.toString());\n result.setNeuronId(pbNeuronId);\n\n return result;\n};\n\nexport const fromStopDissolvingRequest = (\n neuronId: NeuronId\n): PbManageNeuron => {\n const configure = new PbManageNeuron.Configure();\n configure.setStopDissolving(new PbManageNeuron.StopDissolving());\n\n const result = new PbManageNeuron();\n result.setConfigure(configure);\n\n const pbNeuronId = new PbNeuronId();\n pbNeuronId.setId(neuronId.toString());\n result.setNeuronId(pbNeuronId);\n\n return result;\n};\n\nexport const fromDisburseRequest = (\n request: DisburseRequest\n): PbManageNeuron => {\n const disburse = new PbManageNeuron.Disburse();\n\n if (request.toAccountId) {\n const toAccountIdentifier = new PbAccountIdentifier();\n toAccountIdentifier.setHash(\n Uint8Array.from(Buffer.from(request.toAccountId, \"hex\"))\n );\n disburse.setToAccount(toAccountIdentifier);\n }\n\n if (request.amount != null) {\n const amount = new PbManageNeuron.Disburse.Amount();\n amount.setE8s(request.amount.toString());\n disburse.setAmount(amount);\n }\n\n const manageNeuron = new PbManageNeuron();\n manageNeuron.setDisburse(disburse);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n return manageNeuron;\n};\n\nexport const fromMergeMaturityRequest = (\n request: MergeMaturityRequest\n): PbManageNeuron => {\n const mergeMaturity = new PbManageNeuron.MergeMaturity();\n mergeMaturity.setPercentageToMerge(request.percentageToMerge);\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setMergeMaturity(mergeMaturity);\n return manageNeuron;\n};\n\nexport const fromSpawnRequest = (request: SpawnRequest): PbManageNeuron => {\n const spawn = new PbManageNeuron.Spawn();\n\n if (request.newController) {\n const newController = new PbPrincipalId();\n newController.setSerializedId(\n Principal.fromText(request.newController).toUint8Array().slice(4)\n );\n spawn.setNewController(newController);\n }\n\n if (request.percentageToSpawn !== undefined) {\n spawn.setPercentageToSpawn(request.percentageToSpawn);\n }\n\n const manageNeuron = new PbManageNeuron();\n manageNeuron.setSpawn(spawn);\n\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n return manageNeuron;\n};\n\nexport const fromMergeRequest = (request: MergeRequest): PbManageNeuron => {\n const merge = new PbManageNeuron.Merge();\n const sourceNeuronId = new PbNeuronId();\n sourceNeuronId.setId(request.sourceNeuronId.toString());\n merge.setSourceNeuronId(sourceNeuronId);\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.targetNeuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setMerge(merge);\n return manageNeuron;\n};\n\nexport const fromFollowRequest = (request: FollowRequest): PbManageNeuron => {\n const follow = new PbManageNeuron.Follow();\n follow.setTopic(request.topic);\n follow.setFolloweesList(\n request.followees.map((followee) => {\n const neuronId = new PbNeuronId();\n neuronId.setId(followee.toString());\n return neuronId;\n })\n );\n const manageNeuron = new PbManageNeuron();\n const neuronId = new PbNeuronId();\n neuronId.setId(request.neuronId.toString());\n manageNeuron.setNeuronId(neuronId);\n manageNeuron.setFollow(follow);\n return manageNeuron;\n};\n", "import { Principal } from \"@dfinity/principal\";\nimport { fromNullable } from \"@dfinity/utils\";\nimport type { Map } from \"google-protobuf\";\nimport type {\n AccountIdentifier as RawAccountIdentifier,\n Action as RawAction,\n Amount as RawAmount,\n Ballot as RawBallot,\n BallotInfo as RawBallotInfo,\n By as RawBy,\n Change as RawChange,\n Command as RawCommand,\n DissolveState as RawDissolveState,\n Followees as RawFollowees,\n KnownNeuron as RawKnownNeuron,\n ListNeuronsResponse as RawListNeuronsResponse,\n ListProposalInfoResponse as RawListProposalInfoResponse,\n Neuron as RawNeuron,\n NeuronId as RawNeuronId,\n NeuronIdOrSubaccount as RawNeuronIdOrSubaccount,\n NeuronInfo as RawNeuronInfo,\n NodeProvider as RawNodeProvider,\n Operation as RawOperation,\n Proposal as RawProposal,\n ProposalInfo as RawProposalInfo,\n RewardMode as RawRewardMode,\n Tally as RawTally,\n} from \"../../../candid/governance\";\nimport type { PrincipalId } from \"../../../proto/base_types_pb\";\nimport type {\n BallotInfo as PbBallotInfo,\n ListNeuronsResponse,\n Neuron as PbNeuron,\n NeuronInfo as PbNeuronInfo,\n} from \"../../../proto/governance_pb\";\nimport { AccountIdentifier, SubAccount } from \"../../account_identifier\";\nimport { UnsupportedValueError } from \"../../errors/governance.errors\";\nimport type {\n AccountIdentifier as AccountIdentifierString,\n E8s,\n NeuronId,\n} from \"../../types/common\";\nimport type {\n Action,\n Ballot,\n BallotInfo,\n By,\n Change,\n Command,\n DissolveState,\n Followees,\n KnownNeuron,\n ListProposalsResponse,\n Neuron,\n NeuronIdOrSubaccount,\n NeuronInfo,\n NodeProvider,\n Operation,\n Proposal,\n ProposalInfo,\n RewardMode,\n Tally,\n} from \"../../types/governance_converters\";\nimport { NeuronState } from \"../../types/governance_converters\";\nimport {\n accountIdentifierFromBytes,\n principalToAccountIdentifier,\n} from \"../../utils/account_identifier.utils\";\nimport { arrayOfNumberToUint8Array } from \"../../utils/converter.utils\";\n\nconst toNeuronInfo = ({\n neuronId,\n neuronInfo,\n rawNeuron,\n canisterId,\n}: {\n neuronId: bigint;\n neuronInfo: RawNeuronInfo;\n rawNeuron?: RawNeuron;\n canisterId: Principal;\n}): NeuronInfo => {\n const fullNeuron = rawNeuron\n ? toNeuron({ neuron: rawNeuron, canisterId })\n : undefined;\n return {\n neuronId: neuronId,\n dissolveDelaySeconds: neuronInfo.dissolve_delay_seconds,\n recentBallots: neuronInfo.recent_ballots.map(toBallotInfo),\n createdTimestampSeconds: neuronInfo.created_timestamp_seconds,\n state: neuronInfo.state,\n joinedCommunityFundTimestampSeconds: neuronInfo\n .joined_community_fund_timestamp_seconds.length\n ? neuronInfo.joined_community_fund_timestamp_seconds[0]\n : undefined,\n retrievedAtTimestampSeconds: neuronInfo.retrieved_at_timestamp_seconds,\n votingPower: neuronInfo.voting_power,\n ageSeconds: neuronInfo.age_seconds,\n fullNeuron: fullNeuron,\n };\n};\n\nconst toNeuron = ({\n neuron,\n canisterId,\n}: {\n neuron: RawNeuron;\n canisterId: Principal;\n}): Neuron => ({\n id: neuron.id.length ? toNeuronId(neuron.id[0]) : undefined,\n controller: neuron.controller.length\n ? neuron.controller[0].toString()\n : undefined,\n recentBallots: neuron.recent_ballots.map(toBallotInfo),\n kycVerified: neuron.kyc_verified,\n notForProfit: neuron.not_for_profit,\n cachedNeuronStake: neuron.cached_neuron_stake_e8s,\n createdTimestampSeconds: neuron.created_timestamp_seconds,\n maturityE8sEquivalent: neuron.maturity_e8s_equivalent,\n agingSinceTimestampSeconds: neuron.aging_since_timestamp_seconds,\n neuronFees: neuron.neuron_fees_e8s,\n hotKeys: neuron.hot_keys.map((p) => p.toString()),\n accountIdentifier: principalToAccountIdentifier(\n canisterId,\n arrayOfNumberToUint8Array(neuron.account)\n ),\n joinedCommunityFundTimestampSeconds: neuron\n .joined_community_fund_timestamp_seconds.length\n ? neuron.joined_community_fund_timestamp_seconds[0]\n : undefined,\n dissolveState: neuron.dissolve_state.length\n ? toDissolveState(neuron.dissolve_state[0])\n : undefined,\n spawnAtTimesSeconds: neuron.spawn_at_timestamp_seconds[0],\n followees: neuron.followees.map(([topic, followees]) =>\n toFollowees({ topic, followees })\n ),\n});\n\nconst toBallotInfo = ({ vote, proposal_id }: RawBallotInfo): BallotInfo => ({\n vote,\n proposalId: proposal_id.length ? toNeuronId(proposal_id[0]) : undefined,\n});\n\nconst toDissolveState = (dissolveState: RawDissolveState): DissolveState => {\n if (\"DissolveDelaySeconds\" in dissolveState) {\n return {\n DissolveDelaySeconds: dissolveState.DissolveDelaySeconds,\n };\n } else {\n return {\n WhenDissolvedTimestampSeconds:\n dissolveState.WhenDissolvedTimestampSeconds,\n };\n }\n};\n\nconst toFollowees = ({\n topic,\n followees,\n}: {\n topic: number;\n followees: RawFollowees;\n}): Followees => ({\n topic,\n followees: followees.followees.map(toNeuronId),\n});\n\nconst toNeuronId = ({ id }: RawNeuronId): NeuronId => id;\n\nconst toNeuronIdOrSubaccount = (\n neuronIdOrSubaccount: RawNeuronIdOrSubaccount\n): NeuronIdOrSubaccount => {\n if (\"NeuronId\" in neuronIdOrSubaccount) {\n return { NeuronId: neuronIdOrSubaccount.NeuronId.id };\n }\n if (\"Subaccount\" in neuronIdOrSubaccount) {\n return { Subaccount: neuronIdOrSubaccount.Subaccount };\n }\n throw new UnsupportedValueError(neuronIdOrSubaccount);\n};\n\nconst toBallot = ({\n neuronId,\n ballot,\n}: {\n neuronId: bigint;\n ballot: RawBallot;\n}): Ballot => {\n const { vote, voting_power: votingPower } = ballot;\n\n return {\n neuronId,\n vote,\n votingPower,\n };\n};\n\nconst toProposal = ({\n title,\n url,\n action,\n summary,\n}: RawProposal): Proposal => ({\n title: title.length ? title[0] : undefined,\n url,\n action: action.length ? toAction(action[0]) : undefined,\n summary,\n});\n\nconst toAction = (action: RawAction): Action => {\n if (\"ExecuteNnsFunction\" in action) {\n const executeNnsFunction = action.ExecuteNnsFunction;\n\n return {\n ExecuteNnsFunction: {\n nnsFunctionId: executeNnsFunction.nns_function,\n },\n };\n }\n if (\"ManageNeuron\" in action) {\n const manageNeuron = action.ManageNeuron;\n return {\n ManageNeuron: {\n id: manageNeuron.id.length ? toNeuronId(manageNeuron.id[0]) : undefined,\n command: manageNeuron.command.length\n ? toCommand(manageNeuron.command[0])\n : undefined,\n neuronIdOrSubaccount: manageNeuron.neuron_id_or_subaccount.length\n ? toNeuronIdOrSubaccount(manageNeuron.neuron_id_or_subaccount[0])\n : undefined,\n },\n };\n }\n if (\"ApproveGenesisKyc\" in action) {\n const approveKyc = action.ApproveGenesisKyc;\n return {\n ApproveGenesisKyc: {\n principals: approveKyc.principals.map((p) => p.toString()),\n },\n };\n }\n if (\"ManageNetworkEconomics\" in action) {\n const networkEconomics = action.ManageNetworkEconomics;\n return {\n ManageNetworkEconomics: {\n neuronMinimumStake: networkEconomics.neuron_minimum_stake_e8s,\n maxProposalsToKeepPerTopic:\n networkEconomics.max_proposals_to_keep_per_topic,\n neuronManagementFeePerProposal:\n networkEconomics.neuron_management_fee_per_proposal_e8s,\n rejectCost: networkEconomics.reject_cost_e8s,\n transactionFee: networkEconomics.transaction_fee_e8s,\n neuronSpawnDissolveDelaySeconds:\n networkEconomics.neuron_spawn_dissolve_delay_seconds,\n minimumIcpXdrRate: networkEconomics.minimum_icp_xdr_rate,\n maximumNodeProviderRewards:\n networkEconomics.maximum_node_provider_rewards_e8s,\n },\n };\n }\n if (\"RewardNodeProvider\" in action) {\n const rewardNodeProvider = action.RewardNodeProvider;\n return {\n RewardNodeProvider: {\n nodeProvider: rewardNodeProvider.node_provider.length\n ? toNodeProvider(rewardNodeProvider.node_provider[0])\n : undefined,\n amountE8s: rewardNodeProvider.amount_e8s,\n rewardMode: rewardNodeProvider.reward_mode.length\n ? toRewardMode(rewardNodeProvider.reward_mode[0])\n : undefined,\n },\n };\n }\n if (\"RewardNodeProviders\" in action) {\n const rewardNodeProviders = action.RewardNodeProviders;\n return {\n RewardNodeProviders: {\n useRegistryDerivedRewards: rewardNodeProviders\n .use_registry_derived_rewards.length\n ? rewardNodeProviders.use_registry_derived_rewards[0]\n : undefined,\n rewards: rewardNodeProviders.rewards.map((r) => ({\n nodeProvider: r.node_provider.length\n ? toNodeProvider(r.node_provider[0])\n : undefined,\n amountE8s: r.amount_e8s,\n rewardMode: r.reward_mode.length\n ? toRewardMode(r.reward_mode[0])\n : undefined,\n })),\n },\n };\n }\n if (\"AddOrRemoveNodeProvider\" in action) {\n const addOrRemoveNodeProvider = action.AddOrRemoveNodeProvider;\n return {\n AddOrRemoveNodeProvider: {\n change: addOrRemoveNodeProvider.change.length\n ? toChange(addOrRemoveNodeProvider.change[0])\n : undefined,\n },\n };\n }\n if (\"Motion\" in action) {\n const motion = action.Motion;\n return {\n Motion: {\n motionText: motion.motion_text,\n },\n };\n }\n if (\"SetDefaultFollowees\" in action) {\n const setDefaultFollowees = action.SetDefaultFollowees;\n return {\n SetDefaultFollowees: {\n defaultFollowees: setDefaultFollowees.default_followees.map(\n ([topic, followees]) => toFollowees({ topic, followees })\n ),\n },\n };\n }\n if (\"RegisterKnownNeuron\" in action) {\n const knownNeuron = action.RegisterKnownNeuron;\n return {\n RegisterKnownNeuron: toKnownNeuron(knownNeuron),\n };\n }\n\n if (\"SetSnsTokenSwapOpenTimeWindow\" in action) {\n const SetSnsTokenSwapOpenTimeWindow = action.SetSnsTokenSwapOpenTimeWindow;\n const request = SetSnsTokenSwapOpenTimeWindow.request?.length\n ? {\n openTimeWindow: SetSnsTokenSwapOpenTimeWindow.request[0]\n .open_time_window.length\n ? {\n startTimestampSeconds:\n SetSnsTokenSwapOpenTimeWindow.request[0].open_time_window[0]\n .start_timestamp_seconds,\n endTimestampSeconds:\n SetSnsTokenSwapOpenTimeWindow.request[0].open_time_window[0]\n .end_timestamp_seconds,\n }\n : undefined,\n }\n : undefined;\n\n const swapCanisterId = SetSnsTokenSwapOpenTimeWindow?.swap_canister_id\n .length\n ? SetSnsTokenSwapOpenTimeWindow.swap_canister_id[0].toString()\n : undefined;\n\n return {\n SetSnsTokenSwapOpenTimeWindow: {\n request,\n swapCanisterId,\n },\n };\n }\n\n throw new UnsupportedValueError(action);\n};\n\nconst toTally = (tally: RawTally): Tally => {\n return {\n no: tally.no,\n yes: tally.yes,\n total: tally.total,\n timestampSeconds: tally.timestamp_seconds,\n };\n};\n\nconst toCommand = (command: RawCommand): Command => {\n if (\"Spawn\" in command) {\n const spawn = command.Spawn;\n return {\n Spawn: {\n newController: spawn.new_controller.length\n ? spawn.new_controller[0].toString()\n : undefined,\n percentageToSpawn: spawn.percentage_to_spawn.length\n ? spawn.percentage_to_spawn[0]\n : 0,\n },\n };\n }\n if (\"Split\" in command) {\n const split = command.Split;\n return {\n Split: {\n amount: split.amount_e8s,\n },\n };\n }\n if (\"Follow\" in command) {\n const follow = command.Follow;\n return {\n Follow: {\n topic: follow.topic,\n followees: follow.followees.map(toNeuronId),\n },\n };\n }\n if (\"ClaimOrRefresh\" in command) {\n const claimOrRefresh = command.ClaimOrRefresh;\n return {\n ClaimOrRefresh: {\n by: claimOrRefresh.by.length\n ? toClaimOrRefreshBy(claimOrRefresh.by[0])\n : undefined,\n },\n };\n }\n if (\"Configure\" in command) {\n const configure = command.Configure;\n return {\n Configure: {\n operation: configure.operation.length\n ? toOperation(configure.operation[0])\n : undefined,\n },\n };\n }\n if (\"RegisterVote\" in command) {\n const registerVote = command.RegisterVote;\n return {\n RegisterVote: {\n vote: registerVote.vote,\n proposal: registerVote.proposal.length\n ? toNeuronId(registerVote.proposal[0])\n : undefined,\n },\n };\n }\n if (\"DisburseToNeuron\" in command) {\n const disburseToNeuron = command.DisburseToNeuron;\n return {\n DisburseToNeuron: {\n dissolveDelaySeconds: disburseToNeuron.dissolve_delay_seconds,\n kycVerified: disburseToNeuron.kyc_verified,\n amount: disburseToNeuron.amount_e8s,\n newController: disburseToNeuron.new_controller.length\n ? disburseToNeuron.new_controller[0].toString()\n : undefined,\n nonce: disburseToNeuron.nonce,\n },\n };\n }\n if (\"MergeMaturity\" in command) {\n const mergeMaturity = command.MergeMaturity;\n return {\n MergeMaturity: {\n percentageToMerge: mergeMaturity.percentage_to_merge,\n },\n };\n }\n if (\"MakeProposal\" in command) {\n const makeProposal = command.MakeProposal;\n return {\n MakeProposal: {\n title: makeProposal.title.length ? makeProposal.title[0] : undefined,\n url: makeProposal.url,\n action: makeProposal.action.length\n ? toAction(makeProposal.action[0])\n : undefined,\n summary: makeProposal.summary,\n },\n };\n }\n if (\"Disburse\" in command) {\n const disburse = command.Disburse;\n return {\n Disburse: {\n toAccountId: disburse.to_account.length\n ? toAccountIdentifier(disburse.to_account[0])\n : undefined,\n amount: disburse.amount.length\n ? toAmount(disburse.amount[0])\n : undefined,\n },\n };\n }\n if (\"Merge\" in command) {\n const merge = command.Merge;\n return {\n Merge: {\n sourceNeuronId: merge.source_neuron_id.length\n ? merge.source_neuron_id[0].id\n : undefined,\n },\n };\n }\n throw new UnsupportedValueError(command);\n};\n\nconst toOperation = (operation: RawOperation): Operation => {\n if (\"RemoveHotKey\" in operation) {\n const removeHotKey = operation.RemoveHotKey;\n return {\n RemoveHotKey: {\n hotKeyToRemove: removeHotKey.hot_key_to_remove.length\n ? removeHotKey.hot_key_to_remove[0].toString()\n : undefined,\n },\n };\n }\n if (\"AddHotKey\" in operation) {\n const addHotKey = operation.AddHotKey;\n return {\n AddHotKey: {\n newHotKey: addHotKey.new_hot_key.length\n ? addHotKey.new_hot_key[0].toString()\n : undefined,\n },\n };\n }\n if (\"StopDissolving\" in operation) {\n return {\n StopDissolving: {},\n };\n }\n if (\"StartDissolving\" in operation) {\n return {\n StartDissolving: {},\n };\n }\n if (\"IncreaseDissolveDelay\" in operation) {\n const increaseDissolveDelay = operation.IncreaseDissolveDelay;\n return {\n IncreaseDissolveDelay: {\n additionalDissolveDelaySeconds:\n increaseDissolveDelay.additional_dissolve_delay_seconds,\n },\n };\n }\n if (\"JoinCommunityFund\" in operation) {\n return operation;\n }\n if (\"LeaveCommunityFund\" in operation) {\n return operation;\n }\n if (\"SetDissolveTimestamp\" in operation) {\n const setDissolveTimestamp = operation.SetDissolveTimestamp;\n return {\n SetDissolveTimestamp: {\n dissolveTimestampSeconds:\n setDissolveTimestamp.dissolve_timestamp_seconds,\n },\n };\n }\n throw new UnsupportedValueError(operation);\n};\n\nconst toChange = (change: RawChange): Change => {\n if (\"ToRemove\" in change) {\n return {\n ToRemove: toNodeProvider(change.ToRemove),\n };\n }\n if (\"ToAdd\" in change) {\n return {\n ToAdd: toNodeProvider(change.ToAdd),\n };\n }\n throw new UnsupportedValueError(change);\n};\n\nconst toNodeProvider = (nodeProvider: RawNodeProvider): NodeProvider => {\n return {\n id: nodeProvider.id.length ? nodeProvider.id[0].toString() : undefined,\n rewardAccount: nodeProvider.reward_account.length\n ? toAccountIdentifier(nodeProvider.reward_account[0])\n : undefined,\n };\n};\n\nconst toAmount = (amount: RawAmount): E8s => {\n return amount.e8s;\n};\n\nconst toAccountIdentifier = (\n accountIdentifier: RawAccountIdentifier\n): AccountIdentifierString =>\n accountIdentifierFromBytes(new Uint8Array(accountIdentifier.hash));\n\nconst toRewardMode = (rewardMode: RawRewardMode): RewardMode => {\n if (\"RewardToNeuron\" in rewardMode) {\n return {\n RewardToNeuron: {\n dissolveDelaySeconds: rewardMode.RewardToNeuron.dissolve_delay_seconds,\n },\n };\n } else if (\"RewardToAccount\" in rewardMode) {\n return {\n RewardToAccount: {\n toAccount:\n rewardMode.RewardToAccount.to_account != undefined &&\n rewardMode.RewardToAccount.to_account.length\n ? toAccountIdentifier(rewardMode.RewardToAccount.to_account[0])\n : undefined,\n },\n };\n } else {\n // Ensures all cases are covered at compile-time.\n throw new UnsupportedValueError(rewardMode);\n }\n};\n\nconst toClaimOrRefreshBy = (by: RawBy): By => {\n if (\"NeuronIdOrSubaccount\" in by) {\n return {\n NeuronIdOrSubaccount: {},\n };\n } else if (\"Memo\" in by) {\n return {\n Memo: by.Memo,\n };\n } else if (\"MemoAndController\" in by) {\n return {\n MemoAndController: {\n memo: by.MemoAndController.memo,\n controller: by.MemoAndController.controller.length\n ? by.MemoAndController.controller[0]\n : undefined,\n },\n };\n } else {\n // Ensures all cases are covered at compile-time.\n throw new UnsupportedValueError(by);\n }\n};\n\nexport const toProposalInfo = (\n proposalInfo: RawProposalInfo\n): ProposalInfo => ({\n id: proposalInfo.id.length ? toNeuronId(proposalInfo.id[0]) : undefined,\n ballots: proposalInfo.ballots.map((b) =>\n toBallot({ neuronId: b[0], ballot: b[1] })\n ),\n rejectCost: proposalInfo.reject_cost_e8s,\n proposalTimestampSeconds: proposalInfo.proposal_timestamp_seconds,\n rewardEventRound: proposalInfo.reward_event_round,\n failedTimestampSeconds: proposalInfo.failed_timestamp_seconds,\n deadlineTimestampSeconds: fromNullable(\n proposalInfo.deadline_timestamp_seconds\n ),\n decidedTimestampSeconds: proposalInfo.decided_timestamp_seconds,\n proposal: proposalInfo.proposal.length\n ? toProposal(proposalInfo.proposal[0])\n : undefined,\n proposer: proposalInfo.proposer.length\n ? toNeuronId(proposalInfo.proposer[0])\n : undefined,\n latestTally: proposalInfo.latest_tally.length\n ? toTally(proposalInfo.latest_tally[0])\n : undefined,\n executedTimestampSeconds: proposalInfo.executed_timestamp_seconds,\n topic: proposalInfo.topic,\n status: proposalInfo.status,\n rewardStatus: proposalInfo.reward_status,\n});\n\nexport const toArrayOfNeuronInfo = ({\n response: { neuron_infos, full_neurons },\n canisterId,\n}: {\n response: RawListNeuronsResponse;\n canisterId: Principal;\n}): Array<NeuronInfo> =>\n neuron_infos.map(([id, neuronInfo]) =>\n toNeuronInfo({\n neuronId: id,\n neuronInfo,\n rawNeuron: full_neurons.find(\n (neuron) => neuron.id.length && neuron.id[0].id === id\n ),\n canisterId,\n })\n );\n\nexport const toListProposalsResponse = ({\n proposal_info,\n}: RawListProposalInfoResponse): ListProposalsResponse => ({\n proposals: proposal_info.map(toProposalInfo),\n});\n\nexport const toKnownNeuron = ({\n id,\n known_neuron_data,\n}: RawKnownNeuron): KnownNeuron => {\n return {\n id: id[0]?.id ?? BigInt(0),\n name: known_neuron_data[0]?.name ?? \"\",\n description: known_neuron_data[0]?.description[0] ?? \"\",\n };\n};\n\nconst convertPbBallot = (pbBallot: PbBallotInfo): BallotInfo => {\n const pbProposalId = pbBallot.getProposalId();\n return {\n vote: pbBallot.getVote(),\n proposalId:\n pbProposalId !== undefined ? BigInt(pbProposalId.getId()) : undefined,\n };\n};\n\nconst pbNeuronToNeuronState = (neuron?: PbNeuron): NeuronState => {\n if (neuron?.hasWhenDissolvedTimestampSeconds()) {\n return NeuronState.DISSOLVING;\n }\n if (neuron?.hasDissolveDelaySeconds()) {\n const delay = neuron.getDissolveDelaySeconds();\n if (delay === \"0\") {\n return NeuronState.DISSOLVED;\n }\n return NeuronState.LOCKED;\n }\n return NeuronState.UNSPECIFIED;\n};\n\nconst convertPbFolloweesMapToFollowees = (\n pbFolloweesMap: Map<number, PbNeuron.Followees>\n): Followees[] => {\n return pbFolloweesMap.toArray().map(([topicString, pbFollowees]) => {\n return {\n topic: Number(topicString),\n followees:\n pbFollowees\n .getFolloweesList?.()\n .map((neuronId) => BigInt(neuronId.getId())) ?? [],\n };\n });\n};\n\nconst convertPbPrincipalIdToPrincipalString = (\n pbPrincipal: PrincipalId\n): string =>\n Principal.fromUint8Array(pbPrincipal.getSerializedId_asU8()).toText();\n\nconst convertNeuronSubaccountToAccountIdentifier = ({\n neuron,\n canisterId,\n}: {\n neuron: PbNeuron;\n canisterId: Principal;\n}): AccountIdentifier => {\n // We assume fromBytes does not return an Error type.\n const subAccount = SubAccount.fromBytes(\n neuron.getAccount_asU8()\n ) as SubAccount;\n\n return AccountIdentifier.fromPrincipal({\n principal: canisterId,\n subAccount: subAccount,\n });\n};\n\nconst convertPbNeuronToFullNeuron = ({\n pbNeuron,\n pbNeuronInfo,\n canisterId,\n}: {\n pbNeuron: PbNeuron;\n pbNeuronInfo: PbNeuronInfo;\n canisterId: Principal;\n}): Neuron => {\n const idObj = pbNeuron.getId();\n const pbController = pbNeuron.getController();\n const controller =\n pbController === undefined\n ? pbController\n : convertPbPrincipalIdToPrincipalString(pbController);\n let dissolveState = undefined;\n if (pbNeuron.hasWhenDissolvedTimestampSeconds()) {\n dissolveState = {\n WhenDissolvedTimestampSeconds: BigInt(\n pbNeuron.getWhenDissolvedTimestampSeconds()\n ),\n };\n } else if (pbNeuron.hasDissolveDelaySeconds()) {\n dissolveState = {\n DissolveDelaySeconds: BigInt(pbNeuron.getDissolveDelaySeconds()),\n };\n }\n return {\n id: idObj === undefined ? undefined : BigInt(idObj.getId()),\n controller,\n recentBallots: pbNeuronInfo.getRecentBallotsList().map(convertPbBallot),\n kycVerified: pbNeuron.getKycVerified(),\n notForProfit: pbNeuron.getNotForProfit(),\n cachedNeuronStake: BigInt(pbNeuron.getCachedNeuronStakeE8s()),\n createdTimestampSeconds: BigInt(pbNeuron.getCreatedTimestampSeconds()),\n maturityE8sEquivalent: BigInt(pbNeuron.getMaturityE8sEquivalent()),\n agingSinceTimestampSeconds: BigInt(\n pbNeuron.getAgingSinceTimestampSeconds()\n ),\n spawnAtTimesSeconds: pbNeuron.hasSpawnAtTimestampSeconds()\n ? BigInt(pbNeuron.getSpawnAtTimestampSeconds())\n : undefined,\n neuronFees: BigInt(pbNeuron.getNeuronFeesE8s()),\n hotKeys: pbNeuron\n .getHotKeysList()\n .map(convertPbPrincipalIdToPrincipalString),\n accountIdentifier: convertNeuronSubaccountToAccountIdentifier({\n neuron: pbNeuron,\n canisterId,\n }).toHex(),\n // TODO: Data not available in Neuron type\n joinedCommunityFundTimestampSeconds: undefined,\n dissolveState,\n followees: convertPbFolloweesMapToFollowees(pbNeuron.getFolloweesMap()),\n };\n};\n\nexport const convertPbNeuronToNeuronInfo =\n ({\n pbNeurons,\n canisterId,\n }: {\n pbNeurons: PbNeuron[];\n canisterId: Principal;\n }) =>\n (pbNeuronMapEntry: ListNeuronsResponse.NeuronMapEntry): NeuronInfo => {\n const pbNeuron = pbNeurons.find(\n (pbNeuron) => pbNeuron.getId()?.getId() === pbNeuronMapEntry.getKey()\n );\n const pbNeuronInfo = pbNeuronMapEntry.getValue();\n if (pbNeuronInfo === undefined) {\n throw new Error(\n `NeuronInfo not present for neuron ${pbNeuronMapEntry.getKey()}`\n );\n }\n return {\n neuronId: BigInt(pbNeuronMapEntry.getKey()),\n dissolveDelaySeconds: BigInt(pbNeuronInfo.getDissolveDelaySeconds()),\n recentBallots: pbNeuronInfo.getRecentBallotsList().map(convertPbBallot),\n createdTimestampSeconds: BigInt(\n pbNeuronInfo.getCreatedTimestampSeconds()\n ),\n state: pbNeuronToNeuronState(pbNeuron),\n // TODO: Data not available in Neuron type\n joinedCommunityFundTimestampSeconds: undefined,\n retrievedAtTimestampSeconds: BigInt(\n pbNeuronInfo.getRetrievedAtTimestampSeconds()\n ),\n votingPower: BigInt(pbNeuronInfo.getVotingPower()),\n ageSeconds: BigInt(pbNeuronInfo.getAgeSeconds()),\n fullNeuron:\n pbNeuron === undefined\n ? undefined\n : convertPbNeuronToFullNeuron({ pbNeuron, pbNeuronInfo, canisterId }),\n };\n };\n", "import type { DerEncodedPublicKey } from \"@dfinity/agent\";\nimport type { Principal } from \"@dfinity/principal\";\nimport type {\n AccountIdentifier,\n CanisterIdString,\n E8s,\n NeuronId,\n Option,\n PrincipalString,\n} from \"./common\";\n\nexport type Action =\n | { RegisterKnownNeuron: KnownNeuron }\n | {\n ExecuteNnsFunction: ExecuteNnsFunction;\n }\n | { ManageNeuron: ManageNeuron }\n | { ApproveGenesisKyc: ApproveGenesisKyc }\n | { ManageNetworkEconomics: NetworkEconomics }\n | { RewardNodeProvider: RewardNodeProvider }\n | { RewardNodeProviders: RewardNodeProviders }\n | { AddOrRemoveNodeProvider: AddOrRemoveNodeProvider }\n | { SetDefaultFollowees: SetDefaultFollowees }\n | { Motion: Motion }\n | { SetSnsTokenSwapOpenTimeWindow: SetSnsTokenSwapOpenTimeWindow };\nexport interface AddHotKey {\n newHotKey: Option<PrincipalString>;\n}\nexport interface AddOrRemoveNodeProvider {\n change: Option<Change>;\n}\nexport interface ApproveGenesisKyc {\n principals: Array<PrincipalString>;\n}\nexport type AuthzChangeOp =\n | { Authorize: { addSelf: boolean } }\n | { Deauthorize: null };\nexport interface Ballot {\n neuronId: bigint;\n vote: Vote;\n votingPower: bigint;\n}\nexport interface BallotInfo {\n vote: Vote;\n proposalId: Option<ProposalId>;\n}\nexport type By =\n | { NeuronIdOrSubaccount: Record<string, never> }\n | { MemoAndController: ClaimOrRefreshNeuronFromAccount }\n | { Memo: bigint };\nexport interface CanisterAuthzInfo {\n methodsAuthz: Array<MethodAuthzInfo>;\n}\nexport type Change = { ToRemove: NodeProvider } | { ToAdd: NodeProvider };\nexport type ClaimOrRefresh = { by: Option<By> };\nexport interface ClaimOrRefreshNeuronFromAccount {\n controller: Option<Principal>;\n memo: bigint;\n}\nexport type ClaimOrRefreshNeuronRequest = {\n neuronId: NeuronId;\n by: Option<By>;\n};\nexport type Command =\n | { Spawn: Spawn }\n | { Split: Split }\n | { Follow: Follow }\n | { ClaimOrRefresh: ClaimOrRefresh }\n | { Configure: Configure }\n | { RegisterVote: RegisterVote }\n | { Merge: Merge }\n | { DisburseToNeuron: DisburseToNeuron }\n | { MergeMaturity: MergeMaturity }\n | { MakeProposal: Proposal }\n | { Disburse: Disburse };\nexport interface Configure {\n operation: Option<Operation>;\n}\nexport interface Disburse {\n toAccountId: Option<AccountIdentifier>;\n amount: Option<E8s>;\n}\nexport interface DisburseResponse {\n transferBlockHeight: bigint;\n}\nexport interface DisburseToNeuron {\n dissolveDelaySeconds: bigint;\n kycVerified: boolean;\n amount: E8s;\n newController: Option<PrincipalString>;\n nonce: bigint;\n}\nexport type DissolveState =\n | { DissolveDelaySeconds: bigint }\n | { WhenDissolvedTimestampSeconds: bigint };\nexport interface ExecuteNnsFunction {\n nnsFunctionId: number;\n payloadBytes?: ArrayBuffer;\n}\nexport interface Follow {\n topic: Topic;\n followees: Array<NeuronId>;\n}\nexport interface Followees {\n topic: Topic;\n followees: Array<NeuronId>;\n}\n\nexport interface IncreaseDissolveDelay {\n additionalDissolveDelaySeconds: number;\n}\nexport interface KnownNeuron {\n id: NeuronId;\n name: string;\n description: Option<string>;\n}\nexport interface SetDissolveTimestamp {\n dissolveTimestampSeconds: bigint;\n}\nexport interface ListProposalsRequest {\n // Limit on the number of [ProposalInfo] to return. If no value is\n // specified, or if a value greater than 100 is specified, 100\n // will be used.\n limit: number;\n\n // If specified, only return proposals that are stricty earlier than\n // the specified proposal according to the proposal ID. If not\n // specified, start with the most recent proposal.\n beforeProposal: Option<ProposalId>;\n\n // Include proposals that have a reward status in this list (see\n // [ProposalRewardStatus] for more information). If this list is\n // empty, no restriction is applied. For example, many users listing\n // proposals will only be interested in proposals for which they can\n // receive voting rewards, i.e., with reward status\n // PROPOSAL_REWARD_STATUS_ACCEPT_VOTES.\n includeRewardStatus: Array<ProposalRewardStatus>;\n\n // Exclude proposals with a topic in this list. This is particularly\n // useful to exclude proposals on the topics TOPIC_EXCHANGE_RATE and\n // TOPIC_KYC which most users are not likely to be interested in\n // seeing\n excludeTopic: Array<Topic>;\n\n // Include proposals that have a status in this list (see\n // [ProposalStatus] for more information). If this list is empty, no\n // restriction is applied.\n includeStatus: Array<ProposalStatus>;\n}\nexport interface ListProposalsResponse {\n proposals: Array<ProposalInfo>;\n}\nexport interface MakeProposalResponse {\n proposalId: ProposalId;\n}\nexport interface ManageNeuron {\n id: Option<NeuronId>;\n command: Option<Command>;\n neuronIdOrSubaccount: Option<NeuronIdOrSubaccount>;\n}\nexport interface Merge {\n sourceNeuronId: Option<NeuronId>;\n}\nexport interface MergeRequest {\n sourceNeuronId: NeuronId;\n targetNeuronId: NeuronId;\n}\nexport interface MergeMaturity {\n percentageToMerge: number;\n}\nexport interface MergeMaturityRequest {\n neuronId: NeuronId;\n percentageToMerge: number;\n}\nexport interface MergeMaturityResponse {\n mergedMaturityE8s: bigint;\n newStakeE8s: bigint;\n}\nexport interface MethodAuthzChange {\n principal: Option<PrincipalString>;\n methodName: string;\n canister: CanisterIdString;\n operation: AuthzChangeOp;\n}\nexport interface MethodAuthzInfo {\n methodName: string;\n principalIds: Array<ArrayBuffer>;\n}\nexport interface Motion {\n motionText: string;\n}\n\nexport interface SetSnsTokenSwapOpenTimeWindow {\n request?: {\n openTimeWindow?: {\n startTimestampSeconds: bigint;\n endTimestampSeconds: bigint;\n };\n };\n swapCanisterId?: string;\n}\nexport interface NetworkEconomics {\n neuronMinimumStake: E8s;\n maxProposalsToKeepPerTopic: number;\n neuronManagementFeePerProposal: E8s;\n rejectCost: E8s;\n transactionFee: E8s;\n neuronSpawnDissolveDelaySeconds: bigint;\n minimumIcpXdrRate: bigint;\n maximumNodeProviderRewards: bigint;\n}\nexport interface Neuron {\n id: Option<NeuronId>;\n controller: Option<PrincipalString>;\n recentBallots: Array<BallotInfo>;\n kycVerified: boolean;\n notForProfit: boolean;\n cachedNeuronStake: E8s;\n createdTimestampSeconds: bigint;\n maturityE8sEquivalent: bigint;\n agingSinceTimestampSeconds: bigint;\n spawnAtTimesSeconds: Option<bigint>;\n neuronFees: E8s;\n hotKeys: Array<PrincipalString>;\n accountIdentifier: AccountIdentifier;\n joinedCommunityFundTimestampSeconds: Option<bigint>;\n dissolveState: Option<DissolveState>;\n followees: Array<Followees>;\n}\nexport type NeuronIdOrSubaccount =\n | { Subaccount: Array<number> }\n | { NeuronId: NeuronId };\nexport enum NeuronState {\n UNSPECIFIED = 0,\n LOCKED = 1,\n DISSOLVING = 2,\n DISSOLVED = 3,\n SPAWNING = 4,\n}\nexport interface NeuronInfo {\n neuronId: NeuronId;\n dissolveDelaySeconds: bigint;\n recentBallots: Array<BallotInfo>;\n createdTimestampSeconds: bigint;\n state: NeuronState;\n joinedCommunityFundTimestampSeconds: Option<bigint>;\n retrievedAtTimestampSeconds: bigint;\n votingPower: bigint;\n ageSeconds: bigint;\n fullNeuron: Option<Neuron>;\n}\n\nexport interface NodeProvider {\n id: Option<PrincipalString>;\n rewardAccount: Option<AccountIdentifier>;\n}\nexport type Operation =\n | { RemoveHotKey: RemoveHotKey }\n | { AddHotKey: AddHotKey }\n | { StopDissolving: Record<string, never> }\n | { StartDissolving: Record<string, never> }\n | { IncreaseDissolveDelay: IncreaseDissolveDelay }\n | { JoinCommunityFund: Record<string, never> }\n | { LeaveCommunityFund: Record<string, never> }\n | { SetDissolveTimestamp: SetDissolveTimestamp };\nexport interface Proposal {\n title: Option<string>;\n url: string;\n action: Option<Action>;\n summary: string;\n}\nexport type ProposalId = bigint;\n\nexport interface ProposalInfo {\n id: Option<ProposalId>;\n ballots: Array<Ballot>;\n rejectCost: E8s;\n proposalTimestampSeconds: bigint;\n rewardEventRound: bigint;\n failedTimestampSeconds: bigint;\n decidedTimestampSeconds: bigint;\n deadlineTimestampSeconds: Option<bigint>;\n latestTally: Option<Tally>;\n proposal: Option<Proposal>;\n proposer: Option<NeuronId>;\n executedTimestampSeconds: bigint;\n topic: Topic;\n status: ProposalStatus;\n rewardStatus: ProposalRewardStatus;\n}\n\n// The proposal status, with respect to reward distribution.\n// See also ProposalStatus.\nexport enum ProposalRewardStatus {\n PROPOSAL_REWARD_STATUS_UNKNOWN = 0,\n\n // The proposal still accept votes, for the purpose of\n // vote rewards. This implies nothing on the ProposalStatus.\n PROPOSAL_REWARD_STATUS_ACCEPT_VOTES = 1,\n\n // The proposal no longer accepts votes. It is due to settle\n // at the next reward event.\n PROPOSAL_REWARD_STATUS_READY_TO_SETTLE = 2,\n\n // The proposal has been taken into account in a reward event.\n PROPOSAL_REWARD_STATUS_SETTLED = 3,\n\n // The proposal is not eligible to be taken into account in a reward event.\n PROPOSAL_REWARD_STATUS_INELIGIBLE = 4,\n}\n\n// The proposal status, with respect to decision making and execution.\n// See also ProposalRewardStatus.\nexport enum ProposalStatus {\n PROPOSAL_STATUS_UNKNOWN = 0,\n\n // A decision (accept/reject) has yet to be made.\n PROPOSAL_STATUS_OPEN = 1,\n\n // The proposal has been rejected.\n PROPOSAL_STATUS_REJECTED = 2,\n\n // The proposal has been accepted. At this time, either execution\n // as not yet started, or it has but the outcome is not yet known.\n PROPOSAL_STATUS_ACCEPTED = 3,\n\n // The proposal was accepted and successfully executed.\n PROPOSAL_STATUS_EXECUTED = 4,\n\n // The proposal was accepted, but execution failed.\n PROPOSAL_STATUS_FAILED = 5,\n}\n\nexport enum Vote {\n UNSPECIFIED = 0,\n YES = 1,\n NO = 2,\n}\nexport interface RegisterVote {\n vote: Vote;\n proposal: Option<ProposalId>;\n}\nexport interface RemoveHotKey {\n hotKeyToRemove: Option<PrincipalString>;\n}\nexport type RewardMode =\n | { RewardToNeuron: RewardToNeuron }\n | { RewardToAccount: RewardToAccount };\nexport type RewardNodeProviders = {\n useRegistryDerivedRewards: boolean | undefined;\n rewards: Array<RewardNodeProvider>;\n};\nexport interface RewardToAccount {\n toAccount: Option<AccountIdentifier>;\n}\nexport interface RewardToNeuron {\n dissolveDelaySeconds: bigint;\n}\n\nexport type ClaimNeuronRequest = {\n publicKey: DerEncodedPublicKey;\n nonce: bigint;\n dissolveDelayInSecs: bigint;\n};\n\nexport interface RewardNodeProvider {\n nodeProvider: Option<NodeProvider>;\n rewardMode: Option<RewardMode>;\n amountE8s: bigint;\n}\nexport interface SetDefaultFollowees {\n defaultFollowees: Array<Followees>;\n}\nexport interface Spawn {\n newController: Option<PrincipalString>;\n percentageToSpawn: number | undefined;\n}\n\nexport interface Split {\n amount: E8s;\n}\nexport interface Tally {\n no: bigint;\n yes: bigint;\n total: bigint;\n timestampSeconds: bigint;\n}\nexport enum Topic {\n // https://github.com/dfinity/ic/blob/master/rs/nns/governance/proto/ic_nns_governance/pb/v1/governance.proto#L27\n Unspecified = 0,\n ManageNeuron = 1,\n ExchangeRate = 2,\n NetworkEconomics = 3,\n Governance = 4,\n NodeAdmin = 5,\n ParticipantManagement = 6,\n SubnetManagement = 7,\n NetworkCanisterManagement = 8,\n Kyc = 9,\n NodeProviderRewards = 10,\n SnsDecentralizationSale = 11,\n}\n\nexport interface AddHotKeyRequest {\n neuronId: NeuronId;\n principal: PrincipalString;\n}\n\nexport interface RemoveHotKeyRequest {\n neuronId: NeuronId;\n principal: PrincipalString;\n}\n\nexport interface StartDissolvingRequest {\n neuronId: NeuronId;\n}\n\nexport interface StopDissolvingRequest {\n neuronId: NeuronId;\n}\n\nexport interface IncreaseDissolveDelayRequest {\n neuronId: NeuronId;\n additionalDissolveDelaySeconds: number;\n}\n\nexport interface FollowRequest {\n neuronId: NeuronId;\n topic: Topic;\n followees: Array<NeuronId>;\n}\n\nexport interface RegisterVoteRequest {\n neuronId: NeuronId;\n vote: Vote;\n proposal: ProposalId;\n}\n\nexport interface SpawnRequest {\n neuronId: NeuronId;\n newController: Option<PrincipalString>;\n percentageToSpawn?: number;\n}\n\nexport interface SplitRequest {\n neuronId: NeuronId;\n amount: E8s;\n}\n\nexport interface DisburseRequest {\n neuronId: NeuronId;\n toAccountId?: AccountIdentifier;\n amount?: E8s;\n}\n\nexport interface DisburseToNeuronRequest {\n neuronId: NeuronId;\n dissolveDelaySeconds: bigint;\n kycVerified: boolean;\n amount: E8s;\n newController: Option<PrincipalString>;\n nonce: bigint;\n}\n\nexport interface JoinCommunityFundRequest {\n neuronId: NeuronId;\n}\n\nexport interface MakeProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n url: string;\n summary: string;\n action: Action;\n}\n\nexport interface MakeMotionProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n url: string;\n text: string;\n summary: string;\n}\n\nexport interface MakeNetworkEconomicsProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n summary: string;\n url: string;\n networkEconomics: NetworkEconomics;\n}\n\nexport interface MakeRewardNodeProviderProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n summary: string;\n url: string;\n nodeProvider: PrincipalString;\n amount: E8s;\n rewardMode: Option<RewardMode>;\n}\n\nexport interface MakeSetDefaultFolloweesProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n summary: string;\n url: string;\n followees: Array<Followees>;\n}\n\nexport interface MakeExecuteNnsFunctionProposalRequest {\n neuronId: NeuronId;\n title: Option<string>;\n summary: string;\n url: string;\n nnsFunction: number;\n payload: ArrayBuffer;\n}\n\nexport interface ListNodeProvidersResponse {\n nodeProviders: NodeProvider[];\n}\n", "import { ManageNeuronResponse as PbManageNeuronResponse } from \"../../../proto/governance_pb\";\nimport { GovernanceError } from \"../../errors/governance.errors\";\n\nexport const checkPbManageNeuronResponse = (rawResponse: Uint8Array): void => {\n const response = PbManageNeuronResponse.deserializeBinary(rawResponse);\n const err = response.getError();\n if (err) {\n throw new GovernanceError({\n error_message: err.getErrorMessage(),\n error_type: err.getErrorType(),\n });\n }\n};\n", "import type {\n Command_1,\n ManageNeuron,\n ManageNeuronResponse,\n _SERVICE as GovernanceService,\n} from \"../../../candid/governance\";\nimport { GovernanceError } from \"../../errors/governance.errors\";\n\n/**\n * Checks a Manage Neuron Response for error and returns successful response data.\n *\n * @throws {@link GovernanceError}\n */\nexport const getSuccessfulCommandFromResponse = (\n response: ManageNeuronResponse\n): Command_1 => {\n const { command } = response;\n const data = command[0];\n if (!data) {\n throw new GovernanceError({\n error_message: \"Error updating neuron\",\n error_type: 0,\n });\n }\n\n if (\"Error\" in data) {\n throw new GovernanceError(data.Error);\n }\n return data;\n};\n\n/**\n * @throws {@link GovernanceError}\n */\nexport const manageNeuron = async ({\n request,\n service,\n}: {\n request: ManageNeuron;\n service: GovernanceService;\n}): Promise<void> => {\n const response = await service.manage_neuron(request);\n // We use it only to assert that there are no errors\n getSuccessfulCommandFromResponse(response);\n};\n", "import { InvalidAccountIDError } from \"../errors/governance.errors\";\nimport { calculateCrc32 } from \"./converter.utils\";\n\n/**\n * Checks account id check sum\n *\n * @throws InvalidAccountIDError\n */\nexport const checkAccountId = (accountId: string): void => {\n // Verify the checksum of the given address.\n if (accountId.length != 64) {\n throw new InvalidAccountIDError(\n `Invalid account identifier ${accountId}. The account identifier must be 64 chars in length.`\n );\n }\n\n const toAccountBytes = Buffer.from(accountId, \"hex\");\n const foundChecksum = toAccountBytes.slice(0, 4);\n const expectedCheckum = Buffer.from(calculateCrc32(toAccountBytes.slice(4)));\n if (!expectedCheckum.equals(foundChecksum)) {\n throw new InvalidAccountIDError(\n `Account identifier ${accountId} has an invalid checksum. Are you sure the account identifier is correct?\\n\\nExpected checksum: ${expectedCheckum.toString(\n \"hex\"\n )}\\nFound checksum: ${foundChecksum.toString(\"hex\")}`\n );\n }\n};\n", "import { InvalidPercentageError } from \"../errors/governance.errors\";\n\nexport const assertPercentageNumber = (percentage: number) => {\n if (percentage < 0 || percentage > 100) {\n throw new InvalidPercentageError(\n `${percentage} is not a valid percentage number.`\n );\n }\n};\n"],
5
+ "mappings": "6WAAA,2BAUA,GAAI,IAAS,KACT,EAAU,KACV,GACD,MAAO,SAAW,YAAc,MAAO,QAAO,KAAW,WACtD,OAAO,IAAO,4BAA4B,EAC1C,KAEN,EAAQ,OAAS,EACjB,EAAQ,WAAa,G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