@sentio/sdk 2.57.12-rc.1 → 2.57.12-rc.a

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 (245) hide show
  1. package/lib/aptos/ext/token.d.ts.map +1 -1
  2. package/lib/aptos/ext/token.js +4 -6
  3. package/lib/aptos/ext/token.js.map +1 -1
  4. package/lib/chunk-24EEMT46.js +3 -0
  5. package/lib/chunk-24EEMT46.js.map +1 -0
  6. package/lib/chunk-2R7O6UGY.js +3 -0
  7. package/lib/chunk-2R7O6UGY.js.map +1 -0
  8. package/lib/chunk-4JXRK4YH.js +29 -0
  9. package/lib/chunk-4JXRK4YH.js.map +1 -0
  10. package/lib/chunk-7QZC3R57.js +3 -0
  11. package/lib/chunk-7QZC3R57.js.map +1 -0
  12. package/lib/chunk-AK5E6DKD.js +6 -0
  13. package/lib/chunk-AK5E6DKD.js.map +1 -0
  14. package/lib/chunk-ATZBHPQN.js +3 -0
  15. package/lib/chunk-ATZBHPQN.js.map +1 -0
  16. package/lib/chunk-B6U7F4GY.js +29 -0
  17. package/lib/chunk-B6U7F4GY.js.map +1 -0
  18. package/lib/chunk-DGKULIPW.js +3 -0
  19. package/lib/chunk-DGKULIPW.js.map +1 -0
  20. package/lib/chunk-DS2LOABN.js +3 -0
  21. package/lib/chunk-DS2LOABN.js.map +1 -0
  22. package/lib/chunk-FMBGZMT4.js +6 -0
  23. package/lib/chunk-FMBGZMT4.js.map +1 -0
  24. package/lib/chunk-FMZDKD72.js +8 -0
  25. package/lib/chunk-FMZDKD72.js.map +1 -0
  26. package/lib/chunk-G5BIPHMS.js +3 -0
  27. package/lib/chunk-G5BIPHMS.js.map +1 -0
  28. package/lib/chunk-G6XPDWDE.js +3 -0
  29. package/lib/chunk-G6XPDWDE.js.map +1 -0
  30. package/lib/chunk-GJX3DL4J.js +499 -0
  31. package/lib/chunk-GJX3DL4J.js.map +1 -0
  32. package/lib/chunk-GTITFWMU.js +259 -0
  33. package/lib/chunk-GTITFWMU.js.map +1 -0
  34. package/lib/chunk-J7Z2TKQE.js +33 -0
  35. package/lib/chunk-J7Z2TKQE.js.map +1 -0
  36. package/lib/chunk-JQ4LTUIX.js +995 -0
  37. package/lib/chunk-JQ4LTUIX.js.map +1 -0
  38. package/lib/chunk-LG2TF5WR.js +8 -0
  39. package/lib/chunk-LG2TF5WR.js.map +1 -0
  40. package/lib/chunk-LVWOFGF2.js +3 -0
  41. package/lib/chunk-LVWOFGF2.js.map +1 -0
  42. package/lib/chunk-O564J2U6.js +11 -0
  43. package/lib/chunk-O564J2U6.js.map +1 -0
  44. package/lib/chunk-QGIFUSFI.js +84 -0
  45. package/lib/chunk-QGIFUSFI.js.map +1 -0
  46. package/lib/chunk-QGPJOTWP.js +3 -0
  47. package/lib/chunk-QGPJOTWP.js.map +1 -0
  48. package/lib/chunk-RA75ESSD.js +3 -0
  49. package/lib/chunk-RA75ESSD.js.map +1 -0
  50. package/lib/chunk-RVAYZJ7X.js +5 -0
  51. package/lib/chunk-RVAYZJ7X.js.map +1 -0
  52. package/lib/chunk-SPY3PKUB.js +3 -0
  53. package/lib/chunk-SPY3PKUB.js.map +1 -0
  54. package/lib/chunk-SUCYR7EB.js +3 -0
  55. package/lib/chunk-SUCYR7EB.js.map +1 -0
  56. package/lib/chunk-TGIXVAHB.js +7 -0
  57. package/lib/chunk-TGIXVAHB.js.map +1 -0
  58. package/lib/chunk-TSEQGMTN.js +5 -0
  59. package/lib/chunk-TSEQGMTN.js.map +1 -0
  60. package/lib/chunk-ZHI6ULD5.js +3 -0
  61. package/lib/chunk-ZHI6ULD5.js.map +1 -0
  62. package/lib/multipart-parser-J6QPYJHT.js +4 -0
  63. package/lib/multipart-parser-J6QPYJHT.js.map +1 -0
  64. package/package.json +4 -4
  65. package/src/aptos/builtin/0x1.d.ts +6451 -0
  66. package/src/aptos/builtin/0x1.d.ts.map +1 -0
  67. package/src/aptos/builtin/0x1.js +7138 -0
  68. package/src/aptos/builtin/0x1.js.map +1 -0
  69. package/src/aptos/builtin/0x3.d.ts +1122 -0
  70. package/src/aptos/builtin/0x3.d.ts.map +1 -0
  71. package/src/aptos/builtin/0x3.js +937 -0
  72. package/src/aptos/builtin/0x3.js.map +1 -0
  73. package/src/aptos/builtin/0x4.d.ts +551 -0
  74. package/src/aptos/builtin/0x4.d.ts.map +1 -0
  75. package/src/aptos/builtin/0x4.js +529 -0
  76. package/src/aptos/builtin/0x4.js.map +1 -0
  77. package/src/aptos/builtin/index.d.ts +4 -0
  78. package/src/aptos/builtin/index.d.ts.map +1 -0
  79. package/src/aptos/builtin/index.js +7 -0
  80. package/src/aptos/builtin/index.js.map +1 -0
  81. package/src/aptos/ext/token.ts +4 -6
  82. package/src/eth/builtin/eacaggregatorproxy.d.ts +5 -0
  83. package/src/eth/builtin/eacaggregatorproxy.d.ts.map +1 -0
  84. package/src/eth/builtin/eacaggregatorproxy.js +8 -0
  85. package/src/eth/builtin/eacaggregatorproxy.js.map +1 -0
  86. package/src/eth/builtin/erc1155.d.ts +5 -0
  87. package/src/eth/builtin/erc1155.d.ts.map +1 -0
  88. package/src/eth/builtin/erc1155.js +8 -0
  89. package/src/eth/builtin/erc1155.js.map +1 -0
  90. package/src/eth/builtin/erc20.d.ts +5 -0
  91. package/src/eth/builtin/erc20.d.ts.map +1 -0
  92. package/src/eth/builtin/erc20.js +8 -0
  93. package/src/eth/builtin/erc20.js.map +1 -0
  94. package/src/eth/builtin/erc20bytes.d.ts +5 -0
  95. package/src/eth/builtin/erc20bytes.d.ts.map +1 -0
  96. package/src/eth/builtin/erc20bytes.js +8 -0
  97. package/src/eth/builtin/erc20bytes.js.map +1 -0
  98. package/src/eth/builtin/erc721.d.ts +5 -0
  99. package/src/eth/builtin/erc721.d.ts.map +1 -0
  100. package/src/eth/builtin/erc721.js +8 -0
  101. package/src/eth/builtin/erc721.js.map +1 -0
  102. package/src/eth/builtin/index.d.ts +13 -0
  103. package/src/eth/builtin/index.d.ts.map +1 -0
  104. package/src/eth/builtin/index.js +16 -0
  105. package/src/eth/builtin/index.js.map +1 -0
  106. package/src/eth/builtin/internal/EACAggregatorProxy.d.ts +50 -0
  107. package/src/eth/builtin/internal/EACAggregatorProxy.d.ts.map +1 -0
  108. package/src/eth/builtin/internal/EACAggregatorProxy.js +2 -0
  109. package/src/eth/builtin/internal/EACAggregatorProxy.js.map +1 -0
  110. package/src/eth/builtin/internal/ERC1155.d.ts +57 -0
  111. package/src/eth/builtin/internal/ERC1155.d.ts.map +1 -0
  112. package/src/eth/builtin/internal/ERC1155.js +2 -0
  113. package/src/eth/builtin/internal/ERC1155.js.map +1 -0
  114. package/src/eth/builtin/internal/ERC20.d.ts +41 -0
  115. package/src/eth/builtin/internal/ERC20.d.ts.map +1 -0
  116. package/src/eth/builtin/internal/ERC20.js +2 -0
  117. package/src/eth/builtin/internal/ERC20.js.map +1 -0
  118. package/src/eth/builtin/internal/ERC20Bytes.d.ts +32 -0
  119. package/src/eth/builtin/internal/ERC20Bytes.d.ts.map +1 -0
  120. package/src/eth/builtin/internal/ERC20Bytes.js +2 -0
  121. package/src/eth/builtin/internal/ERC20Bytes.js.map +1 -0
  122. package/src/eth/builtin/internal/ERC721.d.ts +43 -0
  123. package/src/eth/builtin/internal/ERC721.d.ts.map +1 -0
  124. package/src/eth/builtin/internal/ERC721.js +2 -0
  125. package/src/eth/builtin/internal/ERC721.js.map +1 -0
  126. package/src/eth/builtin/internal/WETH9.d.ts +47 -0
  127. package/src/eth/builtin/internal/WETH9.d.ts.map +1 -0
  128. package/src/eth/builtin/internal/WETH9.js +2 -0
  129. package/src/eth/builtin/internal/WETH9.js.map +1 -0
  130. package/src/eth/builtin/internal/common.d.ts +3 -0
  131. package/src/eth/builtin/internal/common.d.ts.map +1 -0
  132. package/src/eth/builtin/internal/common.js +8 -0
  133. package/src/eth/builtin/internal/common.js.map +1 -0
  134. package/src/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +373 -0
  135. package/src/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -0
  136. package/src/eth/builtin/internal/eacaggregatorproxy-processor.js +1355 -0
  137. package/src/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -0
  138. package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.d.ts +7 -0
  139. package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.d.ts.map +1 -0
  140. package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.js +55 -0
  141. package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.js.map +1 -0
  142. package/src/eth/builtin/internal/erc1155-processor.d.ts +173 -0
  143. package/src/eth/builtin/internal/erc1155-processor.d.ts.map +1 -0
  144. package/src/eth/builtin/internal/erc1155-processor.js +596 -0
  145. package/src/eth/builtin/internal/erc1155-processor.js.map +1 -0
  146. package/src/eth/builtin/internal/erc1155-test-utils.d.ts +7 -0
  147. package/src/eth/builtin/internal/erc1155-test-utils.d.ts.map +1 -0
  148. package/src/eth/builtin/internal/erc1155-test-utils.js +55 -0
  149. package/src/eth/builtin/internal/erc1155-test-utils.js.map +1 -0
  150. package/src/eth/builtin/internal/erc20-processor.d.ts +244 -0
  151. package/src/eth/builtin/internal/erc20-processor.d.ts.map +1 -0
  152. package/src/eth/builtin/internal/erc20-processor.js +1109 -0
  153. package/src/eth/builtin/internal/erc20-processor.js.map +1 -0
  154. package/src/eth/builtin/internal/erc20-test-utils.d.ts +6 -0
  155. package/src/eth/builtin/internal/erc20-test-utils.d.ts.map +1 -0
  156. package/src/eth/builtin/internal/erc20-test-utils.js +44 -0
  157. package/src/eth/builtin/internal/erc20-test-utils.js.map +1 -0
  158. package/src/eth/builtin/internal/erc20bytes-processor.d.ts +144 -0
  159. package/src/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -0
  160. package/src/eth/builtin/internal/erc20bytes-processor.js +594 -0
  161. package/src/eth/builtin/internal/erc20bytes-processor.js.map +1 -0
  162. package/src/eth/builtin/internal/erc20bytes-test-utils.d.ts +5 -0
  163. package/src/eth/builtin/internal/erc20bytes-test-utils.d.ts.map +1 -0
  164. package/src/eth/builtin/internal/erc20bytes-test-utils.js +33 -0
  165. package/src/eth/builtin/internal/erc20bytes-test-utils.js.map +1 -0
  166. package/src/eth/builtin/internal/erc721-processor.d.ts +215 -0
  167. package/src/eth/builtin/internal/erc721-processor.d.ts.map +1 -0
  168. package/src/eth/builtin/internal/erc721-processor.js +895 -0
  169. package/src/eth/builtin/internal/erc721-processor.js.map +1 -0
  170. package/src/eth/builtin/internal/erc721-test-utils.d.ts +6 -0
  171. package/src/eth/builtin/internal/erc721-test-utils.d.ts.map +1 -0
  172. package/src/eth/builtin/internal/erc721-test-utils.js +44 -0
  173. package/src/eth/builtin/internal/erc721-test-utils.js.map +1 -0
  174. package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.d.ts +400 -0
  175. package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.d.ts.map +1 -0
  176. package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.js +524 -0
  177. package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.js.map +1 -0
  178. package/src/eth/builtin/internal/factories/ERC1155__factory.d.ts +251 -0
  179. package/src/eth/builtin/internal/factories/ERC1155__factory.d.ts.map +1 -0
  180. package/src/eth/builtin/internal/factories/ERC1155__factory.js +329 -0
  181. package/src/eth/builtin/internal/factories/ERC1155__factory.js.map +1 -0
  182. package/src/eth/builtin/internal/factories/ERC20Bytes__factory.d.ts +185 -0
  183. package/src/eth/builtin/internal/factories/ERC20Bytes__factory.d.ts.map +1 -0
  184. package/src/eth/builtin/internal/factories/ERC20Bytes__factory.js +251 -0
  185. package/src/eth/builtin/internal/factories/ERC20Bytes__factory.js.map +1 -0
  186. package/src/eth/builtin/internal/factories/ERC20__factory.d.ts +303 -0
  187. package/src/eth/builtin/internal/factories/ERC20__factory.d.ts.map +1 -0
  188. package/src/eth/builtin/internal/factories/ERC20__factory.js +401 -0
  189. package/src/eth/builtin/internal/factories/ERC20__factory.js.map +1 -0
  190. package/src/eth/builtin/internal/factories/ERC721__factory.d.ts +273 -0
  191. package/src/eth/builtin/internal/factories/ERC721__factory.d.ts.map +1 -0
  192. package/src/eth/builtin/internal/factories/ERC721__factory.js +361 -0
  193. package/src/eth/builtin/internal/factories/ERC721__factory.js.map +1 -0
  194. package/src/eth/builtin/internal/factories/WETH9__factory.d.ts +220 -0
  195. package/src/eth/builtin/internal/factories/WETH9__factory.d.ts.map +1 -0
  196. package/src/eth/builtin/internal/factories/WETH9__factory.js +294 -0
  197. package/src/eth/builtin/internal/factories/WETH9__factory.js.map +1 -0
  198. package/src/eth/builtin/internal/factories/index.d.ts +7 -0
  199. package/src/eth/builtin/internal/factories/index.d.ts.map +1 -0
  200. package/src/eth/builtin/internal/factories/index.js +10 -0
  201. package/src/eth/builtin/internal/factories/index.js.map +1 -0
  202. package/src/eth/builtin/internal/index.d.ts +14 -0
  203. package/src/eth/builtin/internal/index.d.ts.map +1 -0
  204. package/src/eth/builtin/internal/index.js +8 -0
  205. package/src/eth/builtin/internal/index.js.map +1 -0
  206. package/src/eth/builtin/internal/weth9-processor.d.ts +172 -0
  207. package/src/eth/builtin/internal/weth9-processor.d.ts.map +1 -0
  208. package/src/eth/builtin/internal/weth9-processor.js +729 -0
  209. package/src/eth/builtin/internal/weth9-processor.js.map +1 -0
  210. package/src/eth/builtin/internal/weth9-test-utils.d.ts +7 -0
  211. package/src/eth/builtin/internal/weth9-test-utils.d.ts.map +1 -0
  212. package/src/eth/builtin/internal/weth9-test-utils.js +55 -0
  213. package/src/eth/builtin/internal/weth9-test-utils.js.map +1 -0
  214. package/src/eth/builtin/weth9.d.ts +5 -0
  215. package/src/eth/builtin/weth9.d.ts.map +1 -0
  216. package/src/eth/builtin/weth9.js +8 -0
  217. package/src/eth/builtin/weth9.js.map +1 -0
  218. package/src/solana/builtin/index.d.ts +2 -0
  219. package/src/solana/builtin/index.d.ts.map +1 -0
  220. package/src/solana/builtin/index.js +2 -0
  221. package/src/solana/builtin/index.js.map +1 -0
  222. package/src/solana/builtin/spl-token-processor.d.ts +40 -0
  223. package/src/solana/builtin/spl-token-processor.d.ts.map +1 -0
  224. package/src/solana/builtin/spl-token-processor.js +254 -0
  225. package/src/solana/builtin/spl-token-processor.js.map +1 -0
  226. package/src/solana/builtin/types.d.ts +428 -0
  227. package/src/solana/builtin/types.d.ts.map +1 -0
  228. package/src/solana/builtin/types.js +201 -0
  229. package/src/solana/builtin/types.js.map +1 -0
  230. package/src/sui/builtin/0x1.d.ts +114 -0
  231. package/src/sui/builtin/0x1.d.ts.map +1 -0
  232. package/src/sui/builtin/0x1.js +159 -0
  233. package/src/sui/builtin/0x1.js.map +1 -0
  234. package/src/sui/builtin/0x2.d.ts +1250 -0
  235. package/src/sui/builtin/0x2.d.ts.map +1 -0
  236. package/src/sui/builtin/0x2.js +1511 -0
  237. package/src/sui/builtin/0x2.js.map +1 -0
  238. package/src/sui/builtin/0x3.d.ts +774 -0
  239. package/src/sui/builtin/0x3.d.ts.map +1 -0
  240. package/src/sui/builtin/0x3.js +720 -0
  241. package/src/sui/builtin/0x3.js.map +1 -0
  242. package/src/sui/builtin/index.d.ts +4 -0
  243. package/src/sui/builtin/index.d.ts.map +1 -0
  244. package/src/sui/builtin/index.js +7 -0
  245. package/src/sui/builtin/index.js.map +1 -0
@@ -0,0 +1,720 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* Generated types for 0x3, original address 0x3 */
5
+ import { TypeDescriptor } from "@typemove/move";
6
+ import { defaultMoveCoder } from "@sentio/sdk/sui";
7
+ import { SuiBaseProcessor, SuiNetwork, } from "@sentio/sdk/sui";
8
+ import * as _0x1 from "./0x1.js";
9
+ import * as _0x2 from "./0x2.js";
10
+ export class genesis extends SuiBaseProcessor {
11
+ constructor(options) {
12
+ super("genesis", options);
13
+ }
14
+ static DEFAULT_OPTIONS = {
15
+ address: "0x3",
16
+ network: SuiNetwork.MAIN_NET,
17
+ };
18
+ static bind(options = {}) {
19
+ return new genesis({ ...genesis.DEFAULT_OPTIONS, ...options });
20
+ }
21
+ onEventGenesisChainParameters(func, fetchConfig) {
22
+ this.onMoveEvent(func, { type: "genesis::GenesisChainParameters" }, fetchConfig);
23
+ return this;
24
+ }
25
+ onEventGenesisValidatorMetadata(func, fetchConfig) {
26
+ this.onMoveEvent(func, { type: "genesis::GenesisValidatorMetadata" }, fetchConfig);
27
+ return this;
28
+ }
29
+ }
30
+ (function (genesis) {
31
+ let GenesisChainParameters;
32
+ (function (GenesisChainParameters) {
33
+ GenesisChainParameters.TYPE_QNAME = "0x3::genesis::GenesisChainParameters";
34
+ const TYPE = new TypeDescriptor(GenesisChainParameters.TYPE_QNAME);
35
+ function type() {
36
+ return TYPE.apply();
37
+ }
38
+ GenesisChainParameters.type = type;
39
+ })(GenesisChainParameters = genesis.GenesisChainParameters || (genesis.GenesisChainParameters = {}));
40
+ let GenesisValidatorMetadata;
41
+ (function (GenesisValidatorMetadata) {
42
+ GenesisValidatorMetadata.TYPE_QNAME = "0x3::genesis::GenesisValidatorMetadata";
43
+ const TYPE = new TypeDescriptor(GenesisValidatorMetadata.TYPE_QNAME);
44
+ function type() {
45
+ return TYPE.apply();
46
+ }
47
+ GenesisValidatorMetadata.type = type;
48
+ })(GenesisValidatorMetadata = genesis.GenesisValidatorMetadata || (genesis.GenesisValidatorMetadata = {}));
49
+ let TokenAllocation;
50
+ (function (TokenAllocation) {
51
+ TokenAllocation.TYPE_QNAME = "0x3::genesis::TokenAllocation";
52
+ const TYPE = new TypeDescriptor(TokenAllocation.TYPE_QNAME);
53
+ function type() {
54
+ return TYPE.apply();
55
+ }
56
+ TokenAllocation.type = type;
57
+ })(TokenAllocation = genesis.TokenAllocation || (genesis.TokenAllocation = {}));
58
+ let TokenDistributionSchedule;
59
+ (function (TokenDistributionSchedule) {
60
+ TokenDistributionSchedule.TYPE_QNAME = "0x3::genesis::TokenDistributionSchedule";
61
+ const TYPE = new TypeDescriptor(TokenDistributionSchedule.TYPE_QNAME);
62
+ function type() {
63
+ return TYPE.apply();
64
+ }
65
+ TokenDistributionSchedule.type = type;
66
+ })(TokenDistributionSchedule = genesis.TokenDistributionSchedule || (genesis.TokenDistributionSchedule = {}));
67
+ })(genesis || (genesis = {}));
68
+ export var stake_subsidy;
69
+ (function (stake_subsidy) {
70
+ let StakeSubsidy;
71
+ (function (StakeSubsidy) {
72
+ StakeSubsidy.TYPE_QNAME = "0x3::stake_subsidy::StakeSubsidy";
73
+ const TYPE = new TypeDescriptor(StakeSubsidy.TYPE_QNAME);
74
+ function type() {
75
+ return TYPE.apply();
76
+ }
77
+ StakeSubsidy.type = type;
78
+ })(StakeSubsidy = stake_subsidy.StakeSubsidy || (stake_subsidy.StakeSubsidy = {}));
79
+ })(stake_subsidy || (stake_subsidy = {}));
80
+ export class staking_pool extends SuiBaseProcessor {
81
+ constructor(options) {
82
+ super("staking_pool", options);
83
+ }
84
+ static DEFAULT_OPTIONS = {
85
+ address: "0x3",
86
+ network: SuiNetwork.MAIN_NET,
87
+ };
88
+ static bind(options = {}) {
89
+ return new staking_pool({ ...staking_pool.DEFAULT_OPTIONS, ...options });
90
+ }
91
+ onEntryJoinStakedSui(func, filter, fetchConfig) {
92
+ this.onEntryFunctionCall(func, {
93
+ ...filter,
94
+ function: "staking_pool::join_staked_sui",
95
+ }, fetchConfig);
96
+ return this;
97
+ }
98
+ onEntrySplitStakedSui(func, filter, fetchConfig) {
99
+ this.onEntryFunctionCall(func, {
100
+ ...filter,
101
+ function: "staking_pool::split_staked_sui",
102
+ }, fetchConfig);
103
+ return this;
104
+ }
105
+ onEventFungibleStakedSuiDataKey(func, fetchConfig) {
106
+ this.onMoveEvent(func, { type: "staking_pool::FungibleStakedSuiDataKey" }, fetchConfig);
107
+ return this;
108
+ }
109
+ onEventPoolTokenExchangeRate(func, fetchConfig) {
110
+ this.onMoveEvent(func, { type: "staking_pool::PoolTokenExchangeRate" }, fetchConfig);
111
+ return this;
112
+ }
113
+ }
114
+ (function (staking_pool) {
115
+ let FungibleStakedSui;
116
+ (function (FungibleStakedSui) {
117
+ FungibleStakedSui.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSui";
118
+ const TYPE = new TypeDescriptor(FungibleStakedSui.TYPE_QNAME);
119
+ function type() {
120
+ return TYPE.apply();
121
+ }
122
+ FungibleStakedSui.type = type;
123
+ })(FungibleStakedSui = staking_pool.FungibleStakedSui || (staking_pool.FungibleStakedSui = {}));
124
+ let FungibleStakedSuiData;
125
+ (function (FungibleStakedSuiData) {
126
+ FungibleStakedSuiData.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiData";
127
+ const TYPE = new TypeDescriptor(FungibleStakedSuiData.TYPE_QNAME);
128
+ function type() {
129
+ return TYPE.apply();
130
+ }
131
+ FungibleStakedSuiData.type = type;
132
+ })(FungibleStakedSuiData = staking_pool.FungibleStakedSuiData || (staking_pool.FungibleStakedSuiData = {}));
133
+ let FungibleStakedSuiDataKey;
134
+ (function (FungibleStakedSuiDataKey) {
135
+ FungibleStakedSuiDataKey.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiDataKey";
136
+ const TYPE = new TypeDescriptor(FungibleStakedSuiDataKey.TYPE_QNAME);
137
+ function type() {
138
+ return TYPE.apply();
139
+ }
140
+ FungibleStakedSuiDataKey.type = type;
141
+ })(FungibleStakedSuiDataKey = staking_pool.FungibleStakedSuiDataKey || (staking_pool.FungibleStakedSuiDataKey = {}));
142
+ let PoolTokenExchangeRate;
143
+ (function (PoolTokenExchangeRate) {
144
+ PoolTokenExchangeRate.TYPE_QNAME = "0x3::staking_pool::PoolTokenExchangeRate";
145
+ const TYPE = new TypeDescriptor(PoolTokenExchangeRate.TYPE_QNAME);
146
+ function type() {
147
+ return TYPE.apply();
148
+ }
149
+ PoolTokenExchangeRate.type = type;
150
+ })(PoolTokenExchangeRate = staking_pool.PoolTokenExchangeRate || (staking_pool.PoolTokenExchangeRate = {}));
151
+ let StakedSui;
152
+ (function (StakedSui) {
153
+ StakedSui.TYPE_QNAME = "0x3::staking_pool::StakedSui";
154
+ const TYPE = new TypeDescriptor(StakedSui.TYPE_QNAME);
155
+ function type() {
156
+ return TYPE.apply();
157
+ }
158
+ StakedSui.type = type;
159
+ })(StakedSui = staking_pool.StakedSui || (staking_pool.StakedSui = {}));
160
+ let StakingPool;
161
+ (function (StakingPool) {
162
+ StakingPool.TYPE_QNAME = "0x3::staking_pool::StakingPool";
163
+ const TYPE = new TypeDescriptor(StakingPool.TYPE_QNAME);
164
+ function type() {
165
+ return TYPE.apply();
166
+ }
167
+ StakingPool.type = type;
168
+ })(StakingPool = staking_pool.StakingPool || (staking_pool.StakingPool = {}));
169
+ })(staking_pool || (staking_pool = {}));
170
+ export var storage_fund;
171
+ (function (storage_fund) {
172
+ let StorageFund;
173
+ (function (StorageFund) {
174
+ StorageFund.TYPE_QNAME = "0x3::storage_fund::StorageFund";
175
+ const TYPE = new TypeDescriptor(StorageFund.TYPE_QNAME);
176
+ function type() {
177
+ return TYPE.apply();
178
+ }
179
+ StorageFund.type = type;
180
+ })(StorageFund = storage_fund.StorageFund || (storage_fund.StorageFund = {}));
181
+ })(storage_fund || (storage_fund = {}));
182
+ export class sui_system extends SuiBaseProcessor {
183
+ constructor(options) {
184
+ super("sui_system", options);
185
+ }
186
+ static DEFAULT_OPTIONS = {
187
+ address: "0x3",
188
+ network: SuiNetwork.MAIN_NET,
189
+ };
190
+ static bind(options = {}) {
191
+ return new sui_system({ ...sui_system.DEFAULT_OPTIONS, ...options });
192
+ }
193
+ onEntryReportValidator(func, filter, fetchConfig) {
194
+ this.onEntryFunctionCall(func, {
195
+ ...filter,
196
+ function: "sui_system::report_validator",
197
+ }, fetchConfig);
198
+ return this;
199
+ }
200
+ onEntryRequestAddStake(func, filter, fetchConfig) {
201
+ this.onEntryFunctionCall(func, {
202
+ ...filter,
203
+ function: "sui_system::request_add_stake",
204
+ }, fetchConfig);
205
+ return this;
206
+ }
207
+ onEntryRequestAddStakeMulCoin(func, filter, fetchConfig) {
208
+ this.onEntryFunctionCall(func, {
209
+ ...filter,
210
+ function: "sui_system::request_add_stake_mul_coin",
211
+ }, fetchConfig);
212
+ return this;
213
+ }
214
+ onEntryRequestAddValidator(func, filter, fetchConfig) {
215
+ this.onEntryFunctionCall(func, {
216
+ ...filter,
217
+ function: "sui_system::request_add_validator",
218
+ }, fetchConfig);
219
+ return this;
220
+ }
221
+ onEntryRequestAddValidatorCandidate(func, filter, fetchConfig) {
222
+ this.onEntryFunctionCall(func, {
223
+ ...filter,
224
+ function: "sui_system::request_add_validator_candidate",
225
+ }, fetchConfig);
226
+ return this;
227
+ }
228
+ onEntryRequestRemoveValidator(func, filter, fetchConfig) {
229
+ this.onEntryFunctionCall(func, {
230
+ ...filter,
231
+ function: "sui_system::request_remove_validator",
232
+ }, fetchConfig);
233
+ return this;
234
+ }
235
+ onEntryRequestRemoveValidatorCandidate(func, filter, fetchConfig) {
236
+ this.onEntryFunctionCall(func, {
237
+ ...filter,
238
+ function: "sui_system::request_remove_validator_candidate",
239
+ }, fetchConfig);
240
+ return this;
241
+ }
242
+ onEntryRequestSetCommissionRate(func, filter, fetchConfig) {
243
+ this.onEntryFunctionCall(func, {
244
+ ...filter,
245
+ function: "sui_system::request_set_commission_rate",
246
+ }, fetchConfig);
247
+ return this;
248
+ }
249
+ onEntryRequestSetGasPrice(func, filter, fetchConfig) {
250
+ this.onEntryFunctionCall(func, {
251
+ ...filter,
252
+ function: "sui_system::request_set_gas_price",
253
+ }, fetchConfig);
254
+ return this;
255
+ }
256
+ onEntryRequestWithdrawStake(func, filter, fetchConfig) {
257
+ this.onEntryFunctionCall(func, {
258
+ ...filter,
259
+ function: "sui_system::request_withdraw_stake",
260
+ }, fetchConfig);
261
+ return this;
262
+ }
263
+ onEntryRotateOperationCap(func, filter, fetchConfig) {
264
+ this.onEntryFunctionCall(func, {
265
+ ...filter,
266
+ function: "sui_system::rotate_operation_cap",
267
+ }, fetchConfig);
268
+ return this;
269
+ }
270
+ onEntrySetCandidateValidatorCommissionRate(func, filter, fetchConfig) {
271
+ this.onEntryFunctionCall(func, {
272
+ ...filter,
273
+ function: "sui_system::set_candidate_validator_commission_rate",
274
+ }, fetchConfig);
275
+ return this;
276
+ }
277
+ onEntrySetCandidateValidatorGasPrice(func, filter, fetchConfig) {
278
+ this.onEntryFunctionCall(func, {
279
+ ...filter,
280
+ function: "sui_system::set_candidate_validator_gas_price",
281
+ }, fetchConfig);
282
+ return this;
283
+ }
284
+ onEntryUndoReportValidator(func, filter, fetchConfig) {
285
+ this.onEntryFunctionCall(func, {
286
+ ...filter,
287
+ function: "sui_system::undo_report_validator",
288
+ }, fetchConfig);
289
+ return this;
290
+ }
291
+ onEntryUpdateCandidateValidatorNetworkAddress(func, filter, fetchConfig) {
292
+ this.onEntryFunctionCall(func, {
293
+ ...filter,
294
+ function: "sui_system::update_candidate_validator_network_address",
295
+ }, fetchConfig);
296
+ return this;
297
+ }
298
+ onEntryUpdateCandidateValidatorNetworkPubkey(func, filter, fetchConfig) {
299
+ this.onEntryFunctionCall(func, {
300
+ ...filter,
301
+ function: "sui_system::update_candidate_validator_network_pubkey",
302
+ }, fetchConfig);
303
+ return this;
304
+ }
305
+ onEntryUpdateCandidateValidatorP2pAddress(func, filter, fetchConfig) {
306
+ this.onEntryFunctionCall(func, {
307
+ ...filter,
308
+ function: "sui_system::update_candidate_validator_p2p_address",
309
+ }, fetchConfig);
310
+ return this;
311
+ }
312
+ onEntryUpdateCandidateValidatorPrimaryAddress(func, filter, fetchConfig) {
313
+ this.onEntryFunctionCall(func, {
314
+ ...filter,
315
+ function: "sui_system::update_candidate_validator_primary_address",
316
+ }, fetchConfig);
317
+ return this;
318
+ }
319
+ onEntryUpdateCandidateValidatorProtocolPubkey(func, filter, fetchConfig) {
320
+ this.onEntryFunctionCall(func, {
321
+ ...filter,
322
+ function: "sui_system::update_candidate_validator_protocol_pubkey",
323
+ }, fetchConfig);
324
+ return this;
325
+ }
326
+ onEntryUpdateCandidateValidatorWorkerAddress(func, filter, fetchConfig) {
327
+ this.onEntryFunctionCall(func, {
328
+ ...filter,
329
+ function: "sui_system::update_candidate_validator_worker_address",
330
+ }, fetchConfig);
331
+ return this;
332
+ }
333
+ onEntryUpdateCandidateValidatorWorkerPubkey(func, filter, fetchConfig) {
334
+ this.onEntryFunctionCall(func, {
335
+ ...filter,
336
+ function: "sui_system::update_candidate_validator_worker_pubkey",
337
+ }, fetchConfig);
338
+ return this;
339
+ }
340
+ onEntryUpdateValidatorDescription(func, filter, fetchConfig) {
341
+ this.onEntryFunctionCall(func, {
342
+ ...filter,
343
+ function: "sui_system::update_validator_description",
344
+ }, fetchConfig);
345
+ return this;
346
+ }
347
+ onEntryUpdateValidatorImageUrl(func, filter, fetchConfig) {
348
+ this.onEntryFunctionCall(func, {
349
+ ...filter,
350
+ function: "sui_system::update_validator_image_url",
351
+ }, fetchConfig);
352
+ return this;
353
+ }
354
+ onEntryUpdateValidatorName(func, filter, fetchConfig) {
355
+ this.onEntryFunctionCall(func, {
356
+ ...filter,
357
+ function: "sui_system::update_validator_name",
358
+ }, fetchConfig);
359
+ return this;
360
+ }
361
+ onEntryUpdateValidatorNextEpochNetworkAddress(func, filter, fetchConfig) {
362
+ this.onEntryFunctionCall(func, {
363
+ ...filter,
364
+ function: "sui_system::update_validator_next_epoch_network_address",
365
+ }, fetchConfig);
366
+ return this;
367
+ }
368
+ onEntryUpdateValidatorNextEpochNetworkPubkey(func, filter, fetchConfig) {
369
+ this.onEntryFunctionCall(func, {
370
+ ...filter,
371
+ function: "sui_system::update_validator_next_epoch_network_pubkey",
372
+ }, fetchConfig);
373
+ return this;
374
+ }
375
+ onEntryUpdateValidatorNextEpochP2pAddress(func, filter, fetchConfig) {
376
+ this.onEntryFunctionCall(func, {
377
+ ...filter,
378
+ function: "sui_system::update_validator_next_epoch_p2p_address",
379
+ }, fetchConfig);
380
+ return this;
381
+ }
382
+ onEntryUpdateValidatorNextEpochPrimaryAddress(func, filter, fetchConfig) {
383
+ this.onEntryFunctionCall(func, {
384
+ ...filter,
385
+ function: "sui_system::update_validator_next_epoch_primary_address",
386
+ }, fetchConfig);
387
+ return this;
388
+ }
389
+ onEntryUpdateValidatorNextEpochProtocolPubkey(func, filter, fetchConfig) {
390
+ this.onEntryFunctionCall(func, {
391
+ ...filter,
392
+ function: "sui_system::update_validator_next_epoch_protocol_pubkey",
393
+ }, fetchConfig);
394
+ return this;
395
+ }
396
+ onEntryUpdateValidatorNextEpochWorkerAddress(func, filter, fetchConfig) {
397
+ this.onEntryFunctionCall(func, {
398
+ ...filter,
399
+ function: "sui_system::update_validator_next_epoch_worker_address",
400
+ }, fetchConfig);
401
+ return this;
402
+ }
403
+ onEntryUpdateValidatorNextEpochWorkerPubkey(func, filter, fetchConfig) {
404
+ this.onEntryFunctionCall(func, {
405
+ ...filter,
406
+ function: "sui_system::update_validator_next_epoch_worker_pubkey",
407
+ }, fetchConfig);
408
+ return this;
409
+ }
410
+ onEntryUpdateValidatorProjectUrl(func, filter, fetchConfig) {
411
+ this.onEntryFunctionCall(func, {
412
+ ...filter,
413
+ function: "sui_system::update_validator_project_url",
414
+ }, fetchConfig);
415
+ return this;
416
+ }
417
+ }
418
+ (function (sui_system) {
419
+ let SuiSystemState;
420
+ (function (SuiSystemState) {
421
+ SuiSystemState.TYPE_QNAME = "0x3::sui_system::SuiSystemState";
422
+ const TYPE = new TypeDescriptor(SuiSystemState.TYPE_QNAME);
423
+ function type() {
424
+ return TYPE.apply();
425
+ }
426
+ SuiSystemState.type = type;
427
+ })(SuiSystemState = sui_system.SuiSystemState || (sui_system.SuiSystemState = {}));
428
+ })(sui_system || (sui_system = {}));
429
+ export class sui_system_state_inner extends SuiBaseProcessor {
430
+ constructor(options) {
431
+ super("sui_system_state_inner", options);
432
+ }
433
+ static DEFAULT_OPTIONS = {
434
+ address: "0x3",
435
+ network: SuiNetwork.MAIN_NET,
436
+ };
437
+ static bind(options = {}) {
438
+ return new sui_system_state_inner({
439
+ ...sui_system_state_inner.DEFAULT_OPTIONS,
440
+ ...options,
441
+ });
442
+ }
443
+ onEventSystemEpochInfoEvent(func, fetchConfig) {
444
+ this.onMoveEvent(func, { type: "sui_system_state_inner::SystemEpochInfoEvent" }, fetchConfig);
445
+ return this;
446
+ }
447
+ }
448
+ (function (sui_system_state_inner) {
449
+ let SuiSystemStateInner;
450
+ (function (SuiSystemStateInner) {
451
+ SuiSystemStateInner.TYPE_QNAME = "0x3::sui_system_state_inner::SuiSystemStateInner";
452
+ const TYPE = new TypeDescriptor(SuiSystemStateInner.TYPE_QNAME);
453
+ function type() {
454
+ return TYPE.apply();
455
+ }
456
+ SuiSystemStateInner.type = type;
457
+ })(SuiSystemStateInner = sui_system_state_inner.SuiSystemStateInner || (sui_system_state_inner.SuiSystemStateInner = {}));
458
+ let SuiSystemStateInnerV2;
459
+ (function (SuiSystemStateInnerV2) {
460
+ SuiSystemStateInnerV2.TYPE_QNAME = "0x3::sui_system_state_inner::SuiSystemStateInnerV2";
461
+ const TYPE = new TypeDescriptor(SuiSystemStateInnerV2.TYPE_QNAME);
462
+ function type() {
463
+ return TYPE.apply();
464
+ }
465
+ SuiSystemStateInnerV2.type = type;
466
+ })(SuiSystemStateInnerV2 = sui_system_state_inner.SuiSystemStateInnerV2 || (sui_system_state_inner.SuiSystemStateInnerV2 = {}));
467
+ let SystemEpochInfoEvent;
468
+ (function (SystemEpochInfoEvent) {
469
+ SystemEpochInfoEvent.TYPE_QNAME = "0x3::sui_system_state_inner::SystemEpochInfoEvent";
470
+ const TYPE = new TypeDescriptor(SystemEpochInfoEvent.TYPE_QNAME);
471
+ function type() {
472
+ return TYPE.apply();
473
+ }
474
+ SystemEpochInfoEvent.type = type;
475
+ })(SystemEpochInfoEvent = sui_system_state_inner.SystemEpochInfoEvent || (sui_system_state_inner.SystemEpochInfoEvent = {}));
476
+ let SystemParameters;
477
+ (function (SystemParameters) {
478
+ SystemParameters.TYPE_QNAME = "0x3::sui_system_state_inner::SystemParameters";
479
+ const TYPE = new TypeDescriptor(SystemParameters.TYPE_QNAME);
480
+ function type() {
481
+ return TYPE.apply();
482
+ }
483
+ SystemParameters.type = type;
484
+ })(SystemParameters = sui_system_state_inner.SystemParameters || (sui_system_state_inner.SystemParameters = {}));
485
+ let SystemParametersV2;
486
+ (function (SystemParametersV2) {
487
+ SystemParametersV2.TYPE_QNAME = "0x3::sui_system_state_inner::SystemParametersV2";
488
+ const TYPE = new TypeDescriptor(SystemParametersV2.TYPE_QNAME);
489
+ function type() {
490
+ return TYPE.apply();
491
+ }
492
+ SystemParametersV2.type = type;
493
+ })(SystemParametersV2 = sui_system_state_inner.SystemParametersV2 || (sui_system_state_inner.SystemParametersV2 = {}));
494
+ })(sui_system_state_inner || (sui_system_state_inner = {}));
495
+ export class validator extends SuiBaseProcessor {
496
+ constructor(options) {
497
+ super("validator", options);
498
+ }
499
+ static DEFAULT_OPTIONS = {
500
+ address: "0x3",
501
+ network: SuiNetwork.MAIN_NET,
502
+ };
503
+ static bind(options = {}) {
504
+ return new validator({ ...validator.DEFAULT_OPTIONS, ...options });
505
+ }
506
+ onEventConvertingToFungibleStakedSuiEvent(func, fetchConfig) {
507
+ this.onMoveEvent(func, { type: "validator::ConvertingToFungibleStakedSuiEvent" }, fetchConfig);
508
+ return this;
509
+ }
510
+ onEventRedeemingFungibleStakedSuiEvent(func, fetchConfig) {
511
+ this.onMoveEvent(func, { type: "validator::RedeemingFungibleStakedSuiEvent" }, fetchConfig);
512
+ return this;
513
+ }
514
+ onEventStakingRequestEvent(func, fetchConfig) {
515
+ this.onMoveEvent(func, { type: "validator::StakingRequestEvent" }, fetchConfig);
516
+ return this;
517
+ }
518
+ onEventUnstakingRequestEvent(func, fetchConfig) {
519
+ this.onMoveEvent(func, { type: "validator::UnstakingRequestEvent" }, fetchConfig);
520
+ return this;
521
+ }
522
+ }
523
+ (function (validator) {
524
+ let ConvertingToFungibleStakedSuiEvent;
525
+ (function (ConvertingToFungibleStakedSuiEvent) {
526
+ ConvertingToFungibleStakedSuiEvent.TYPE_QNAME = "0x3::validator::ConvertingToFungibleStakedSuiEvent";
527
+ const TYPE = new TypeDescriptor(ConvertingToFungibleStakedSuiEvent.TYPE_QNAME);
528
+ function type() {
529
+ return TYPE.apply();
530
+ }
531
+ ConvertingToFungibleStakedSuiEvent.type = type;
532
+ })(ConvertingToFungibleStakedSuiEvent = validator.ConvertingToFungibleStakedSuiEvent || (validator.ConvertingToFungibleStakedSuiEvent = {}));
533
+ let RedeemingFungibleStakedSuiEvent;
534
+ (function (RedeemingFungibleStakedSuiEvent) {
535
+ RedeemingFungibleStakedSuiEvent.TYPE_QNAME = "0x3::validator::RedeemingFungibleStakedSuiEvent";
536
+ const TYPE = new TypeDescriptor(RedeemingFungibleStakedSuiEvent.TYPE_QNAME);
537
+ function type() {
538
+ return TYPE.apply();
539
+ }
540
+ RedeemingFungibleStakedSuiEvent.type = type;
541
+ })(RedeemingFungibleStakedSuiEvent = validator.RedeemingFungibleStakedSuiEvent || (validator.RedeemingFungibleStakedSuiEvent = {}));
542
+ let StakingRequestEvent;
543
+ (function (StakingRequestEvent) {
544
+ StakingRequestEvent.TYPE_QNAME = "0x3::validator::StakingRequestEvent";
545
+ const TYPE = new TypeDescriptor(StakingRequestEvent.TYPE_QNAME);
546
+ function type() {
547
+ return TYPE.apply();
548
+ }
549
+ StakingRequestEvent.type = type;
550
+ })(StakingRequestEvent = validator.StakingRequestEvent || (validator.StakingRequestEvent = {}));
551
+ let UnstakingRequestEvent;
552
+ (function (UnstakingRequestEvent) {
553
+ UnstakingRequestEvent.TYPE_QNAME = "0x3::validator::UnstakingRequestEvent";
554
+ const TYPE = new TypeDescriptor(UnstakingRequestEvent.TYPE_QNAME);
555
+ function type() {
556
+ return TYPE.apply();
557
+ }
558
+ UnstakingRequestEvent.type = type;
559
+ })(UnstakingRequestEvent = validator.UnstakingRequestEvent || (validator.UnstakingRequestEvent = {}));
560
+ let Validator;
561
+ (function (Validator) {
562
+ Validator.TYPE_QNAME = "0x3::validator::Validator";
563
+ const TYPE = new TypeDescriptor(Validator.TYPE_QNAME);
564
+ function type() {
565
+ return TYPE.apply();
566
+ }
567
+ Validator.type = type;
568
+ })(Validator = validator.Validator || (validator.Validator = {}));
569
+ let ValidatorMetadata;
570
+ (function (ValidatorMetadata) {
571
+ ValidatorMetadata.TYPE_QNAME = "0x3::validator::ValidatorMetadata";
572
+ const TYPE = new TypeDescriptor(ValidatorMetadata.TYPE_QNAME);
573
+ function type() {
574
+ return TYPE.apply();
575
+ }
576
+ ValidatorMetadata.type = type;
577
+ })(ValidatorMetadata = validator.ValidatorMetadata || (validator.ValidatorMetadata = {}));
578
+ })(validator || (validator = {}));
579
+ export var validator_cap;
580
+ (function (validator_cap) {
581
+ let UnverifiedValidatorOperationCap;
582
+ (function (UnverifiedValidatorOperationCap) {
583
+ UnverifiedValidatorOperationCap.TYPE_QNAME = "0x3::validator_cap::UnverifiedValidatorOperationCap";
584
+ const TYPE = new TypeDescriptor(UnverifiedValidatorOperationCap.TYPE_QNAME);
585
+ function type() {
586
+ return TYPE.apply();
587
+ }
588
+ UnverifiedValidatorOperationCap.type = type;
589
+ })(UnverifiedValidatorOperationCap = validator_cap.UnverifiedValidatorOperationCap || (validator_cap.UnverifiedValidatorOperationCap = {}));
590
+ let ValidatorOperationCap;
591
+ (function (ValidatorOperationCap) {
592
+ ValidatorOperationCap.TYPE_QNAME = "0x3::validator_cap::ValidatorOperationCap";
593
+ const TYPE = new TypeDescriptor(ValidatorOperationCap.TYPE_QNAME);
594
+ function type() {
595
+ return TYPE.apply();
596
+ }
597
+ ValidatorOperationCap.type = type;
598
+ })(ValidatorOperationCap = validator_cap.ValidatorOperationCap || (validator_cap.ValidatorOperationCap = {}));
599
+ })(validator_cap || (validator_cap = {}));
600
+ export class validator_set extends SuiBaseProcessor {
601
+ constructor(options) {
602
+ super("validator_set", options);
603
+ }
604
+ static DEFAULT_OPTIONS = {
605
+ address: "0x3",
606
+ network: SuiNetwork.MAIN_NET,
607
+ };
608
+ static bind(options = {}) {
609
+ return new validator_set({ ...validator_set.DEFAULT_OPTIONS, ...options });
610
+ }
611
+ onEventValidatorEpochInfoEvent(func, fetchConfig) {
612
+ this.onMoveEvent(func, { type: "validator_set::ValidatorEpochInfoEvent" }, fetchConfig);
613
+ return this;
614
+ }
615
+ onEventValidatorEpochInfoEventV2(func, fetchConfig) {
616
+ this.onMoveEvent(func, { type: "validator_set::ValidatorEpochInfoEventV2" }, fetchConfig);
617
+ return this;
618
+ }
619
+ onEventValidatorJoinEvent(func, fetchConfig) {
620
+ this.onMoveEvent(func, { type: "validator_set::ValidatorJoinEvent" }, fetchConfig);
621
+ return this;
622
+ }
623
+ onEventValidatorLeaveEvent(func, fetchConfig) {
624
+ this.onMoveEvent(func, { type: "validator_set::ValidatorLeaveEvent" }, fetchConfig);
625
+ return this;
626
+ }
627
+ }
628
+ (function (validator_set) {
629
+ let ValidatorEpochInfoEvent;
630
+ (function (ValidatorEpochInfoEvent) {
631
+ ValidatorEpochInfoEvent.TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEvent";
632
+ const TYPE = new TypeDescriptor(ValidatorEpochInfoEvent.TYPE_QNAME);
633
+ function type() {
634
+ return TYPE.apply();
635
+ }
636
+ ValidatorEpochInfoEvent.type = type;
637
+ })(ValidatorEpochInfoEvent = validator_set.ValidatorEpochInfoEvent || (validator_set.ValidatorEpochInfoEvent = {}));
638
+ let ValidatorEpochInfoEventV2;
639
+ (function (ValidatorEpochInfoEventV2) {
640
+ ValidatorEpochInfoEventV2.TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEventV2";
641
+ const TYPE = new TypeDescriptor(ValidatorEpochInfoEventV2.TYPE_QNAME);
642
+ function type() {
643
+ return TYPE.apply();
644
+ }
645
+ ValidatorEpochInfoEventV2.type = type;
646
+ })(ValidatorEpochInfoEventV2 = validator_set.ValidatorEpochInfoEventV2 || (validator_set.ValidatorEpochInfoEventV2 = {}));
647
+ let ValidatorJoinEvent;
648
+ (function (ValidatorJoinEvent) {
649
+ ValidatorJoinEvent.TYPE_QNAME = "0x3::validator_set::ValidatorJoinEvent";
650
+ const TYPE = new TypeDescriptor(ValidatorJoinEvent.TYPE_QNAME);
651
+ function type() {
652
+ return TYPE.apply();
653
+ }
654
+ ValidatorJoinEvent.type = type;
655
+ })(ValidatorJoinEvent = validator_set.ValidatorJoinEvent || (validator_set.ValidatorJoinEvent = {}));
656
+ let ValidatorLeaveEvent;
657
+ (function (ValidatorLeaveEvent) {
658
+ ValidatorLeaveEvent.TYPE_QNAME = "0x3::validator_set::ValidatorLeaveEvent";
659
+ const TYPE = new TypeDescriptor(ValidatorLeaveEvent.TYPE_QNAME);
660
+ function type() {
661
+ return TYPE.apply();
662
+ }
663
+ ValidatorLeaveEvent.type = type;
664
+ })(ValidatorLeaveEvent = validator_set.ValidatorLeaveEvent || (validator_set.ValidatorLeaveEvent = {}));
665
+ let ValidatorSet;
666
+ (function (ValidatorSet) {
667
+ ValidatorSet.TYPE_QNAME = "0x3::validator_set::ValidatorSet";
668
+ const TYPE = new TypeDescriptor(ValidatorSet.TYPE_QNAME);
669
+ function type() {
670
+ return TYPE.apply();
671
+ }
672
+ ValidatorSet.type = type;
673
+ })(ValidatorSet = validator_set.ValidatorSet || (validator_set.ValidatorSet = {}));
674
+ })(validator_set || (validator_set = {}));
675
+ export var validator_wrapper;
676
+ (function (validator_wrapper) {
677
+ let ValidatorWrapper;
678
+ (function (ValidatorWrapper) {
679
+ ValidatorWrapper.TYPE_QNAME = "0x3::validator_wrapper::ValidatorWrapper";
680
+ const TYPE = new TypeDescriptor(ValidatorWrapper.TYPE_QNAME);
681
+ function type() {
682
+ return TYPE.apply();
683
+ }
684
+ ValidatorWrapper.type = type;
685
+ })(ValidatorWrapper = validator_wrapper.ValidatorWrapper || (validator_wrapper.ValidatorWrapper = {}));
686
+ })(validator_wrapper || (validator_wrapper = {}));
687
+ export var voting_power;
688
+ (function (voting_power) {
689
+ let VotingPowerInfo;
690
+ (function (VotingPowerInfo) {
691
+ VotingPowerInfo.TYPE_QNAME = "0x3::voting_power::VotingPowerInfo";
692
+ const TYPE = new TypeDescriptor(VotingPowerInfo.TYPE_QNAME);
693
+ function type() {
694
+ return TYPE.apply();
695
+ }
696
+ VotingPowerInfo.type = type;
697
+ })(VotingPowerInfo = voting_power.VotingPowerInfo || (voting_power.VotingPowerInfo = {}));
698
+ let VotingPowerInfoV2;
699
+ (function (VotingPowerInfoV2) {
700
+ VotingPowerInfoV2.TYPE_QNAME = "0x3::voting_power::VotingPowerInfoV2";
701
+ const TYPE = new TypeDescriptor(VotingPowerInfoV2.TYPE_QNAME);
702
+ function type() {
703
+ return TYPE.apply();
704
+ }
705
+ VotingPowerInfoV2.type = type;
706
+ })(VotingPowerInfoV2 = voting_power.VotingPowerInfoV2 || (voting_power.VotingPowerInfoV2 = {}));
707
+ })(voting_power || (voting_power = {}));
708
+ const MODULES = JSON.parse('{"genesis":{"fileFormatVersion":6,"address":"0x3","name":"genesis","friends":[],"structs":{"GenesisChainParameters":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"protocol_version","type":"U64"},{"name":"chain_start_timestamp_ms","type":"U64"},{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"stake_subsidy_initial_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"}]},"GenesisValidatorMetadata":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"name","type":{"Vector":"U8"}},{"name":"description","type":{"Vector":"U8"}},{"name":"image_url","type":{"Vector":"U8"}},{"name":"project_url","type":{"Vector":"U8"}},{"name":"sui_address","type":"Address"},{"name":"gas_price","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"protocol_public_key","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"network_public_key","type":{"Vector":"U8"}},{"name":"worker_public_key","type":{"Vector":"U8"}},{"name":"network_address","type":{"Vector":"U8"}},{"name":"p2p_address","type":{"Vector":"U8"}},{"name":"primary_address","type":{"Vector":"U8"}},{"name":"worker_address","type":{"Vector":"U8"}}]},"TokenAllocation":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"recipient_address","type":"Address"},{"name":"amount_mist","type":"U64"},{"name":"staked_with_validator","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}}]},"TokenDistributionSchedule":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"stake_subsidy_fund_mist","type":"U64"},{"name":"allocations","type":{"Vector":{"Struct":{"address":"0x3","module":"genesis","name":"TokenAllocation","typeArguments":[]}}}}]}},"exposedFunctions":{}},"stake_subsidy":{"fileFormatVersion":6,"address":"0x3","name":"stake_subsidy","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StakeSubsidy":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"distribution_counter","type":"U64"},{"name":"current_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U16",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}]},"current_epoch_subsidy_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":["U64"]}}},"staking_pool":{"fileFormatVersion":6,"address":"0x3","name":"staking_pool","friends":[{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"FungibleStakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"value","type":"U64"}]},"FungibleStakedSuiData":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"FungibleStakedSuiDataKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"PoolTokenExchangeRate":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"sui_amount","type":"U64"},{"name":"pool_token_amount","type":"U64"}]},"StakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"StakingPool":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"activation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"deactivation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"sui_balance","type":"U64"},{"name":"rewards_pool","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"pool_token_balance","type":"U64"},{"name":"exchange_rates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}},{"name":"pending_stake","type":"U64"},{"name":"pending_total_sui_withdraw","type":"U64"},{"name":"pending_pool_token_withdraw","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"activate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"deposit_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"fungible_staked_sui_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"fungible_staked_sui_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":["U64"]},"is_equal_staking_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["Bool"]},"is_inactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"join_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}],"return":[]},"join_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":[]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"pool_token_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"process_pending_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"split_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"split_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"stake_activation_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"staked_sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"sui_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"withdraw_from_principal":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":["U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"storage_fund":{"fileFormatVersion":6,"address":"0x3","name":"storage_fund","friends":[{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StorageFund":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_object_storage_rebates","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"non_refundable_balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}]},"total_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]},"total_object_storage_rebates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]}}},"sui_system":{"fileFormatVersion":6,"address":"0x3","name":"sui_system","friends":[{"address":"0x3","name":"genesis"}],"structs":{"SuiSystemState":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"convert_to_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}},{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"pool_exchange_rates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_mul_coin":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"undo_report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]}}},"sui_system_state_inner":{"fileFormatVersion":6,"address":"0x3","name":"sui_system_state_inner","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"}],"structs":{"SuiSystemStateInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SuiSystemStateInnerV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParametersV2","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"reference_gas_price","type":"U64"},{"name":"total_stake","type":"U64"},{"name":"storage_fund_reinvestment","type":"U64"},{"name":"storage_charge","type":"U64"},{"name":"storage_rebate","type":"U64"},{"name":"storage_fund_balance","type":"U64"},{"name":"stake_subsidy_amount","type":"U64"},{"name":"total_gas_fees","type":"U64"},{"name":"total_stake_rewards_distributed","type":"U64"},{"name":"leftover_storage_fund_inflow","type":"U64"}]},"SystemParameters":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemParametersV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"min_validator_count","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_voting_powers":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64","U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}]},"create_system_parameters":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}]},"epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"epoch_start_timestamp_ms":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"genesis_system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"get_reporters_of":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]},"get_storage_fund_object_rebates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"get_storage_fund_total_balance":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"protocol_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_mul_coin":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"undo_report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v1_to_v2":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}]},"validator_address_by_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_stake_amount":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_staking_pool_mappings":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]}}},"validator":{"fileFormatVersion":6,"address":"0x3","name":"validator","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator_set"},{"address":"0x3","name":"voting_power"}],"structs":{"ConvertingToFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"staked_sui_principal_amount","type":"U64"},{"name":"fungible_staked_sui_amount","type":"U64"}]},"RedeemingFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"fungible_staked_sui_amount","type":"U64"},{"name":"sui_amount","type":"U64"}]},"StakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"epoch","type":"U64"},{"name":"amount","type":"U64"}]},"UnstakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"stake_activation_epoch","type":"U64"},{"name":"unstaking_epoch","type":"U64"},{"name":"principal_amount","type":"U64"},{"name":"reward_amount","type":"U64"}]},"Validator":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"metadata","type":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}},{"name":"voting_power","type":"U64"},{"name":"operation_cap_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"gas_price","type":"U64"},{"name":"staking_pool","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"name":"commission_rate","type":"U64"},{"name":"next_epoch_stake","type":"U64"},{"name":"next_epoch_gas_price","type":"U64"},{"name":"next_epoch_commission_rate","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"ValidatorMetadata":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"sui_address","type":"Address"},{"name":"protocol_pubkey_bytes","type":{"Vector":"U8"}},{"name":"network_pubkey_bytes","type":{"Vector":"U8"}},{"name":"worker_pubkey_bytes","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"image_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"project_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"net_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"p2p_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"primary_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"worker_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"next_epoch_protocol_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_proof_of_possession","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_network_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_worker_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_net_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_p2p_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_primary_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_worker_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"activate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"adjust_stake_and_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"commission_rate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"deposit_stake_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"description":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"effectuate_staged_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"get_staking_pool_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}]},"image_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"is_duplicate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}]},"name":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"new_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"next_epoch_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"next_epoch_network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"operation_cap_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"project_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_at_genesis":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"set_candidate_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"set_candidate_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"sui_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Address"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"update_candidate_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_candidate_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"validate_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}],"return":[]},"validate_metadata_bcs":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[]},"voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]}}},"validator_cap":{"fileFormatVersion":6,"address":"0x3","name":"validator_cap","friends":[{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"UnverifiedValidatorOperationCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"authorizer_validator_address","type":"Address"}]},"ValidatorOperationCap":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"authorizer_validator_address","type":"Address"}]}},"exposedFunctions":{"new_from_unverified":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"unverified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]},"verified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]}}},"validator_set":{"fileFormatVersion":6,"address":"0x3","name":"validator_set","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"ValidatorEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorEpochInfoEventV2":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorJoinEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ValidatorLeaveEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_voluntary","type":"Bool"}]},"ValidatorSet":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_stake","type":"U64"},{"name":"active_validators","type":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"name":"pending_active_validators","type":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]}}},{"name":"pending_removals","type":{"Vector":"U64"}},{"name":"staking_pool_mappings","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}},{"name":"inactive_validators","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"validator_candidates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["Address",{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"at_risk_validators","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validators":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},"U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"assert_no_pending_or_active_duplicates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"derive_reference_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"get_active_or_pending_or_candidate_validator_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address","U8"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_active_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_pending_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},"Address"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx_including_candidates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_verified_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}},"Bool"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"is_active_validator_by_sui_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_duplicate_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_inactive_validator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_validator_candidate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}]},"next_epoch_validator_count":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"staking_pool_mappings":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]},"sum_voting_power_by_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Vector":"Address"}}],"return":["U64"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"verify_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U8"],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]}}},"validator_wrapper":{"fileFormatVersion":6,"address":"0x3","name":"validator_wrapper","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"ValidatorWrapper":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"inner","type":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}]}},"exposedFunctions":{"create_v1":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]},"destroy":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"load_validator_maybe_upgrade":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]}}},"voting_power":{"fileFormatVersion":6,"address":"0x3","name":"voting_power","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"VotingPowerInfo":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"}]},"VotingPowerInfoV2":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"stake","type":"U64"}]}},"exposedFunctions":{"quorum_threshold":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}],"return":[]},"total_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}}}');
709
+ export function loadAllTypes(coder) {
710
+ _0x1.loadAllTypes(coder);
711
+ _0x2.loadAllTypes(coder);
712
+ for (const m of Object.values(MODULES)) {
713
+ coder.load(m, "0x3");
714
+ }
715
+ }
716
+ loadAllTypes(defaultMoveCoder(SuiNetwork.MAIN_NET));
717
+ loadAllTypes(defaultMoveCoder(SuiNetwork.TEST_NET));
718
+ loadAllTypes(defaultMoveCoder(SuiNetwork.MOVEMENT_TEST_NET));
719
+ loadAllTypes(defaultMoveCoder(SuiNetwork.MOVEMENT_MAIN_NET));
720
+ //# sourceMappingURL=0x3.js.map