@sentio/sdk 1.26.2 → 1.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/types.d.ts +2 -2
- package/lib/aptos/types.js +6 -6
- package/lib/aptos/types.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +53 -15
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +260 -255
- package/lib/builtin/aptos/0x1.js +428 -422
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +39 -39
- package/lib/builtin/aptos/0x3.js +66 -66
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/exporter.d.ts +4 -9
- package/lib/core/exporter.js +8 -8
- package/lib/core/exporter.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +2 -9
- package/lib/gen/processor/protos/processor.js +15 -54
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/service.js +2 -3
- package/lib/service.js.map +1 -1
- package/lib/tests/erc20.js +1 -5
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +16 -16
- package/lib/tests/types/aptos/souffle.js +26 -26
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/types.ts +6 -6
- package/src/aptos-codegen/codegen.ts +64 -17
- package/src/builtin/aptos/0x1.ts +472 -454
- package/src/builtin/aptos/0x3.ts +78 -78
- package/src/core/exporter.ts +9 -14
- package/src/gen/processor/protos/processor.ts +15 -59
- package/src/service.ts +2 -3
- package/src/tests/erc20.ts +1 -5
- package/src/tests/types/aptos/souffle.ts +26 -26
package/lib/builtin/aptos/0x1.js
CHANGED
|
@@ -10,12 +10,12 @@ const sdk_1 = require("@sentio/sdk");
|
|
|
10
10
|
var acl;
|
|
11
11
|
(function (acl) {
|
|
12
12
|
class ACL {
|
|
13
|
-
static
|
|
13
|
+
static TYPE_QNAME = "0x1::acl::ACL";
|
|
14
14
|
list;
|
|
15
15
|
}
|
|
16
16
|
acl.ACL = ACL;
|
|
17
|
-
function loadTypes(
|
|
18
|
-
loadAllTypes(
|
|
17
|
+
function loadTypes(_r) {
|
|
18
|
+
loadAllTypes(_r);
|
|
19
19
|
}
|
|
20
20
|
acl.loadTypes = loadTypes;
|
|
21
21
|
acl.ABI = JSON.parse('{"address":"0x1","name":"acl","friends":[],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::acl::ACL","address"],"return":[]},{"name":"assert_contains","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::acl::ACL","address"],"return":[]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::acl::ACL","address"],"return":["bool"]},{"name":"empty","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::acl::ACL"]},{"name":"remove","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::acl::ACL","address"],"return":[]}],"structs":[{"name":"ACL","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"list","type":"vector<address>"}]}]}');
|
|
@@ -23,21 +23,21 @@ var acl;
|
|
|
23
23
|
var any;
|
|
24
24
|
(function (any) {
|
|
25
25
|
class Any {
|
|
26
|
-
static
|
|
26
|
+
static TYPE_QNAME = "0x1::any::Any";
|
|
27
27
|
type_name;
|
|
28
28
|
data;
|
|
29
29
|
}
|
|
30
30
|
any.Any = Any;
|
|
31
|
-
function loadTypes(
|
|
32
|
-
loadAllTypes(
|
|
31
|
+
function loadTypes(_r) {
|
|
32
|
+
loadAllTypes(_r);
|
|
33
33
|
}
|
|
34
34
|
any.loadTypes = loadTypes;
|
|
35
35
|
any.ABI = JSON.parse('{"address":"0x1","name":"any","friends":["0x1::copyable_any"],"exposed_functions":[{"name":"pack","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["T0"],"return":["0x1::any::Any"]},{"name":"type_name","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::any::Any"],"return":["&0x1::string::String"]},{"name":"unpack","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::any::Any"],"return":["T0"]}],"structs":[{"name":"Any","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"type_name","type":"0x1::string::String"},{"name":"data","type":"vector<u8>"}]}]}');
|
|
36
36
|
})(any = exports.any || (exports.any = {}));
|
|
37
37
|
var bcs;
|
|
38
38
|
(function (bcs) {
|
|
39
|
-
function loadTypes(
|
|
40
|
-
loadAllTypes(
|
|
39
|
+
function loadTypes(_r) {
|
|
40
|
+
loadAllTypes(_r);
|
|
41
41
|
}
|
|
42
42
|
bcs.loadTypes = loadTypes;
|
|
43
43
|
bcs.ABI = JSON.parse('{"address":"0x1","name":"bcs","friends":[],"exposed_functions":[{"name":"to_bytes","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&T0"],"return":["vector<u8>"]}],"structs":[]}');
|
|
@@ -67,13 +67,13 @@ class code extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
67
67
|
exports.code = code;
|
|
68
68
|
(function (code) {
|
|
69
69
|
class AllowedDep {
|
|
70
|
-
static
|
|
70
|
+
static TYPE_QNAME = "0x1::code::AllowedDep";
|
|
71
71
|
account;
|
|
72
72
|
module_name;
|
|
73
73
|
}
|
|
74
74
|
code.AllowedDep = AllowedDep;
|
|
75
75
|
class ModuleMetadata {
|
|
76
|
-
static
|
|
76
|
+
static TYPE_QNAME = "0x1::code::ModuleMetadata";
|
|
77
77
|
name;
|
|
78
78
|
source;
|
|
79
79
|
source_map;
|
|
@@ -81,13 +81,13 @@ exports.code = code;
|
|
|
81
81
|
}
|
|
82
82
|
code.ModuleMetadata = ModuleMetadata;
|
|
83
83
|
class PackageDep {
|
|
84
|
-
static
|
|
84
|
+
static TYPE_QNAME = "0x1::code::PackageDep";
|
|
85
85
|
account;
|
|
86
86
|
package_name;
|
|
87
87
|
}
|
|
88
88
|
code.PackageDep = PackageDep;
|
|
89
89
|
class PackageMetadata {
|
|
90
|
-
static
|
|
90
|
+
static TYPE_QNAME = "0x1::code::PackageMetadata";
|
|
91
91
|
name;
|
|
92
92
|
upgrade_policy;
|
|
93
93
|
upgrade_number;
|
|
@@ -99,17 +99,17 @@ exports.code = code;
|
|
|
99
99
|
}
|
|
100
100
|
code.PackageMetadata = PackageMetadata;
|
|
101
101
|
class PackageRegistry {
|
|
102
|
-
static
|
|
102
|
+
static TYPE_QNAME = "0x1::code::PackageRegistry";
|
|
103
103
|
packages;
|
|
104
104
|
}
|
|
105
105
|
code.PackageRegistry = PackageRegistry;
|
|
106
106
|
class UpgradePolicy {
|
|
107
|
-
static
|
|
107
|
+
static TYPE_QNAME = "0x1::code::UpgradePolicy";
|
|
108
108
|
policy;
|
|
109
109
|
}
|
|
110
110
|
code.UpgradePolicy = UpgradePolicy;
|
|
111
|
-
function loadTypes(
|
|
112
|
-
loadAllTypes(
|
|
111
|
+
function loadTypes(_r) {
|
|
112
|
+
loadAllTypes(_r);
|
|
113
113
|
}
|
|
114
114
|
code.loadTypes = loadTypes;
|
|
115
115
|
code.ABI = JSON.parse('{"address":"0x1","name":"code","friends":[],"exposed_functions":[{"name":"can_change_upgrade_policy_to","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::code::UpgradePolicy","0x1::code::UpgradePolicy"],"return":["bool"]},{"name":"publish_package","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::code::PackageMetadata","vector<vector<u8>>"],"return":[]},{"name":"publish_package_txn","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","vector<vector<u8>>"],"return":[]},{"name":"upgrade_policy_arbitrary","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::code::UpgradePolicy"]},{"name":"upgrade_policy_compat","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::code::UpgradePolicy"]},{"name":"upgrade_policy_immutable","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::code::UpgradePolicy"]}],"structs":[{"name":"AllowedDep","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"module_name","type":"0x1::string::String"}]},{"name":"ModuleMetadata","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"name","type":"0x1::string::String"},{"name":"source","type":"vector<u8>"},{"name":"source_map","type":"vector<u8>"},{"name":"extension","type":"0x1::option::Option<0x1::copyable_any::Any>"}]},{"name":"PackageDep","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"},{"name":"package_name","type":"0x1::string::String"}]},{"name":"PackageMetadata","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"name","type":"0x1::string::String"},{"name":"upgrade_policy","type":"0x1::code::UpgradePolicy"},{"name":"upgrade_number","type":"u64"},{"name":"source_digest","type":"0x1::string::String"},{"name":"manifest","type":"vector<u8>"},{"name":"modules","type":"vector<0x1::code::ModuleMetadata>"},{"name":"deps","type":"vector<0x1::code::PackageDep>"},{"name":"extension","type":"0x1::option::Option<0x1::copyable_any::Any>"}]},{"name":"PackageRegistry","is_native":false,"abilities":["drop","store","key"],"generic_type_params":[],"fields":[{"name":"packages","type":"vector<0x1::code::PackageMetadata>"}]},{"name":"UpgradePolicy","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"policy","type":"u8"}]}]}');
|
|
@@ -172,17 +172,17 @@ class coin extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
172
172
|
exports.coin = coin;
|
|
173
173
|
(function (coin) {
|
|
174
174
|
class BurnCapability {
|
|
175
|
-
static
|
|
175
|
+
static TYPE_QNAME = "0x1::coin::BurnCapability";
|
|
176
176
|
dummy_field;
|
|
177
177
|
}
|
|
178
178
|
coin.BurnCapability = BurnCapability;
|
|
179
179
|
class Coin {
|
|
180
|
-
static
|
|
180
|
+
static TYPE_QNAME = "0x1::coin::Coin";
|
|
181
181
|
value;
|
|
182
182
|
}
|
|
183
183
|
coin.Coin = Coin;
|
|
184
184
|
class CoinInfo {
|
|
185
|
-
static
|
|
185
|
+
static TYPE_QNAME = "0x1::coin::CoinInfo";
|
|
186
186
|
name;
|
|
187
187
|
symbol;
|
|
188
188
|
decimals;
|
|
@@ -190,7 +190,7 @@ exports.coin = coin;
|
|
|
190
190
|
}
|
|
191
191
|
coin.CoinInfo = CoinInfo;
|
|
192
192
|
class CoinStore {
|
|
193
|
-
static
|
|
193
|
+
static TYPE_QNAME = "0x1::coin::CoinStore";
|
|
194
194
|
coin;
|
|
195
195
|
frozen;
|
|
196
196
|
deposit_events;
|
|
@@ -198,32 +198,32 @@ exports.coin = coin;
|
|
|
198
198
|
}
|
|
199
199
|
coin.CoinStore = CoinStore;
|
|
200
200
|
class DepositEvent {
|
|
201
|
-
static
|
|
201
|
+
static TYPE_QNAME = "0x1::coin::DepositEvent";
|
|
202
202
|
amount;
|
|
203
203
|
}
|
|
204
204
|
coin.DepositEvent = DepositEvent;
|
|
205
205
|
class FreezeCapability {
|
|
206
|
-
static
|
|
206
|
+
static TYPE_QNAME = "0x1::coin::FreezeCapability";
|
|
207
207
|
dummy_field;
|
|
208
208
|
}
|
|
209
209
|
coin.FreezeCapability = FreezeCapability;
|
|
210
210
|
class MintCapability {
|
|
211
|
-
static
|
|
211
|
+
static TYPE_QNAME = "0x1::coin::MintCapability";
|
|
212
212
|
dummy_field;
|
|
213
213
|
}
|
|
214
214
|
coin.MintCapability = MintCapability;
|
|
215
215
|
class SupplyConfig {
|
|
216
|
-
static
|
|
216
|
+
static TYPE_QNAME = "0x1::coin::SupplyConfig";
|
|
217
217
|
allow_upgrades;
|
|
218
218
|
}
|
|
219
219
|
coin.SupplyConfig = SupplyConfig;
|
|
220
220
|
class WithdrawEvent {
|
|
221
|
-
static
|
|
221
|
+
static TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
|
222
222
|
amount;
|
|
223
223
|
}
|
|
224
224
|
coin.WithdrawEvent = WithdrawEvent;
|
|
225
|
-
function loadTypes(
|
|
226
|
-
loadAllTypes(
|
|
225
|
+
function loadTypes(_r) {
|
|
226
|
+
loadAllTypes(_r);
|
|
227
227
|
}
|
|
228
228
|
coin.loadTypes = loadTypes;
|
|
229
229
|
coin.ABI = JSON.parse('{"address":"0x1","name":"coin","friends":["0x1::aptos_coin","0x1::genesis"],"exposed_functions":[{"name":"allow_supply_upgrades","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","bool"],"return":[]},{"name":"balance","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address"],"return":["u64"]},{"name":"burn","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::coin::Coin<T0>","&0x1::coin::BurnCapability<T0>"],"return":[]},{"name":"burn_from","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address","u64","&0x1::coin::BurnCapability<T0>"],"return":[]},{"name":"decimals","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["u8"]},{"name":"deposit","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address","0x1::coin::Coin<T0>"],"return":[]},{"name":"destroy_burn_cap","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::coin::BurnCapability<T0>"],"return":[]},{"name":"destroy_freeze_cap","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::coin::FreezeCapability<T0>"],"return":[]},{"name":"destroy_mint_cap","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::coin::MintCapability<T0>"],"return":[]},{"name":"destroy_zero","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::coin::Coin<T0>"],"return":[]},{"name":"extract","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::coin::Coin<T0>","u64"],"return":["0x1::coin::Coin<T0>"]},{"name":"extract_all","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::coin::Coin<T0>"],"return":["0x1::coin::Coin<T0>"]},{"name":"freeze_coin_store","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["address","&0x1::coin::FreezeCapability<T0>"],"return":[]},{"name":"initialize","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x1::string::String","0x1::string::String","u8","bool"],"return":["0x1::coin::BurnCapability<T0>","0x1::coin::FreezeCapability<T0>","0x1::coin::MintCapability<T0>"]},{"name":"initialize_supply_config","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"initialize_with_parallelizable_supply","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","0x1::string::String","0x1::string::String","u8","bool"],"return":["0x1::coin::BurnCapability<T0>","0x1::coin::FreezeCapability<T0>","0x1::coin::MintCapability<T0>"]},{"name":"is_account_registered","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address"],"return":["bool"]},{"name":"is_coin_initialized","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["bool"]},{"name":"merge","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::coin::Coin<T0>","0x1::coin::Coin<T0>"],"return":[]},{"name":"mint","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["u64","&0x1::coin::MintCapability<T0>"],"return":["0x1::coin::Coin<T0>"]},{"name":"name","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::string::String"]},{"name":"register","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer"],"return":[]},{"name":"supply","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::option::Option<u128>"]},{"name":"symbol","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::string::String"]},{"name":"transfer","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","u64"],"return":[]},{"name":"unfreeze_coin_store","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["address","&0x1::coin::FreezeCapability<T0>"],"return":[]},{"name":"upgrade_supply","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer"],"return":[]},{"name":"value","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::coin::Coin<T0>"],"return":["u64"]},{"name":"withdraw","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64"],"return":["0x1::coin::Coin<T0>"]},{"name":"zero","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::coin::Coin<T0>"]}],"structs":[{"name":"BurnCapability","is_native":false,"abilities":["copy","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"Coin","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"value","type":"u64"}]},{"name":"CoinInfo","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"name","type":"0x1::string::String"},{"name":"symbol","type":"0x1::string::String"},{"name":"decimals","type":"u8"},{"name":"supply","type":"0x1::option::Option<0x1::optional_aggregator::OptionalAggregator>"}]},{"name":"CoinStore","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"coin","type":"0x1::coin::Coin<T0>"},{"name":"frozen","type":"bool"},{"name":"deposit_events","type":"0x1::event::EventHandle<0x1::coin::DepositEvent>"},{"name":"withdraw_events","type":"0x1::event::EventHandle<0x1::coin::WithdrawEvent>"}]},{"name":"DepositEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"amount","type":"u64"}]},{"name":"FreezeCapability","is_native":false,"abilities":["copy","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"MintCapability","is_native":false,"abilities":["copy","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"SupplyConfig","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"allow_upgrades","type":"bool"}]},{"name":"WithdrawEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"amount","type":"u64"}]}]}');
|
|
@@ -231,34 +231,34 @@ exports.coin = coin;
|
|
|
231
231
|
var guid;
|
|
232
232
|
(function (guid) {
|
|
233
233
|
class GUID {
|
|
234
|
-
static
|
|
234
|
+
static TYPE_QNAME = "0x1::guid::GUID";
|
|
235
235
|
id;
|
|
236
236
|
}
|
|
237
237
|
guid.GUID = GUID;
|
|
238
238
|
class ID {
|
|
239
|
-
static
|
|
239
|
+
static TYPE_QNAME = "0x1::guid::ID";
|
|
240
240
|
creation_num;
|
|
241
241
|
addr;
|
|
242
242
|
}
|
|
243
243
|
guid.ID = ID;
|
|
244
|
-
function loadTypes(
|
|
245
|
-
loadAllTypes(
|
|
244
|
+
function loadTypes(_r) {
|
|
245
|
+
loadAllTypes(_r);
|
|
246
246
|
}
|
|
247
247
|
guid.loadTypes = loadTypes;
|
|
248
248
|
guid.ABI = JSON.parse('{"address":"0x1","name":"guid","friends":["0x1::account"],"exposed_functions":[{"name":"create","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["address","&mut u64"],"return":["0x1::guid::GUID"]},{"name":"create_id","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","u64"],"return":["0x1::guid::ID"]},{"name":"creation_num","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::GUID"],"return":["u64"]},{"name":"creator_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::GUID"],"return":["address"]},{"name":"eq_id","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::GUID","&0x1::guid::ID"],"return":["bool"]},{"name":"id","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::GUID"],"return":["0x1::guid::ID"]},{"name":"id_creation_num","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::ID"],"return":["u64"]},{"name":"id_creator_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::guid::ID"],"return":["address"]}],"structs":[{"name":"GUID","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"id","type":"0x1::guid::ID"}]},{"name":"ID","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"creation_num","type":"u64"},{"name":"addr","type":"address"}]}]}');
|
|
249
249
|
})(guid = exports.guid || (exports.guid = {}));
|
|
250
250
|
var hash;
|
|
251
251
|
(function (hash) {
|
|
252
|
-
function loadTypes(
|
|
253
|
-
loadAllTypes(
|
|
252
|
+
function loadTypes(_r) {
|
|
253
|
+
loadAllTypes(_r);
|
|
254
254
|
}
|
|
255
255
|
hash.loadTypes = loadTypes;
|
|
256
256
|
hash.ABI = JSON.parse('{"address":"0x1","name":"hash","friends":[],"exposed_functions":[{"name":"sha2_256","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["vector<u8>"]},{"name":"sha3_256","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["vector<u8>"]}],"structs":[]}');
|
|
257
257
|
})(hash = exports.hash || (exports.hash = {}));
|
|
258
258
|
var util;
|
|
259
259
|
(function (util) {
|
|
260
|
-
function loadTypes(
|
|
261
|
-
loadAllTypes(
|
|
260
|
+
function loadTypes(_r) {
|
|
261
|
+
loadAllTypes(_r);
|
|
262
262
|
}
|
|
263
263
|
util.loadTypes = loadTypes;
|
|
264
264
|
util.ABI = JSON.parse('{"address":"0x1","name":"util","friends":["0x1::code","0x1::gas_schedule"],"exposed_functions":[{"name":"address_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["address"]},{"name":"from_bytes","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["vector<u8>"],"return":["T0"]}],"structs":[]}');
|
|
@@ -293,7 +293,7 @@ class block extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
293
293
|
exports.block = block;
|
|
294
294
|
(function (block) {
|
|
295
295
|
class BlockResource {
|
|
296
|
-
static
|
|
296
|
+
static TYPE_QNAME = "0x1::block::BlockResource";
|
|
297
297
|
height;
|
|
298
298
|
epoch_interval;
|
|
299
299
|
new_block_events;
|
|
@@ -301,7 +301,7 @@ exports.block = block;
|
|
|
301
301
|
}
|
|
302
302
|
block.BlockResource = BlockResource;
|
|
303
303
|
class NewBlockEvent {
|
|
304
|
-
static
|
|
304
|
+
static TYPE_QNAME = "0x1::block::NewBlockEvent";
|
|
305
305
|
hash;
|
|
306
306
|
epoch;
|
|
307
307
|
round;
|
|
@@ -313,29 +313,29 @@ exports.block = block;
|
|
|
313
313
|
}
|
|
314
314
|
block.NewBlockEvent = NewBlockEvent;
|
|
315
315
|
class UpdateEpochIntervalEvent {
|
|
316
|
-
static
|
|
316
|
+
static TYPE_QNAME = "0x1::block::UpdateEpochIntervalEvent";
|
|
317
317
|
old_epoch_interval;
|
|
318
318
|
new_epoch_interval;
|
|
319
319
|
}
|
|
320
320
|
block.UpdateEpochIntervalEvent = UpdateEpochIntervalEvent;
|
|
321
|
-
function loadTypes(
|
|
322
|
-
loadAllTypes(
|
|
321
|
+
function loadTypes(_r) {
|
|
322
|
+
loadAllTypes(_r);
|
|
323
323
|
}
|
|
324
324
|
block.loadTypes = loadTypes;
|
|
325
325
|
block.ABI = JSON.parse('{"address":"0x1","name":"block","friends":["0x1::genesis"],"exposed_functions":[{"name":"emit_writeset_block_event","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"get_current_block_height","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"get_epoch_interval_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"update_epoch_interval_microsecs","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u64"],"return":[]}],"structs":[{"name":"BlockResource","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"height","type":"u64"},{"name":"epoch_interval","type":"u64"},{"name":"new_block_events","type":"0x1::event::EventHandle<0x1::block::NewBlockEvent>"},{"name":"update_epoch_interval_events","type":"0x1::event::EventHandle<0x1::block::UpdateEpochIntervalEvent>"}]},{"name":"NewBlockEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"hash","type":"address"},{"name":"epoch","type":"u64"},{"name":"round","type":"u64"},{"name":"height","type":"u64"},{"name":"previous_block_votes_bitvec","type":"vector<u8>"},{"name":"proposer","type":"address"},{"name":"failed_proposer_indices","type":"vector<u64>"},{"name":"time_microseconds","type":"u64"}]},{"name":"UpdateEpochIntervalEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"old_epoch_interval","type":"u64"},{"name":"new_epoch_interval","type":"u64"}]}]}');
|
|
326
326
|
})(block = exports.block || (exports.block = {}));
|
|
327
327
|
var debug;
|
|
328
328
|
(function (debug) {
|
|
329
|
-
function loadTypes(
|
|
330
|
-
loadAllTypes(
|
|
329
|
+
function loadTypes(_r) {
|
|
330
|
+
loadAllTypes(_r);
|
|
331
331
|
}
|
|
332
332
|
debug.loadTypes = loadTypes;
|
|
333
333
|
debug.ABI = JSON.parse('{"address":"0x1","name":"debug","friends":[],"exposed_functions":[{"name":"print","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&T0"],"return":[]},{"name":"print_stack_trace","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":[]}],"structs":[]}');
|
|
334
334
|
})(debug = exports.debug || (exports.debug = {}));
|
|
335
335
|
var error;
|
|
336
336
|
(function (error) {
|
|
337
|
-
function loadTypes(
|
|
338
|
-
loadAllTypes(
|
|
337
|
+
function loadTypes(_r) {
|
|
338
|
+
loadAllTypes(_r);
|
|
339
339
|
}
|
|
340
340
|
error.loadTypes = loadTypes;
|
|
341
341
|
error.ABI = JSON.parse('{"address":"0x1","name":"error","friends":[],"exposed_functions":[{"name":"aborted","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"already_exists","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"canonical","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["u64"]},{"name":"internal","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"invalid_argument","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"invalid_state","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"not_found","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"not_implemented","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"out_of_range","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"permission_denied","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"resource_exhausted","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"unauthenticated","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]},{"name":"unavailable","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64"]}],"structs":[]}');
|
|
@@ -343,13 +343,13 @@ var error;
|
|
|
343
343
|
var event;
|
|
344
344
|
(function (event) {
|
|
345
345
|
class EventHandle {
|
|
346
|
-
static
|
|
346
|
+
static TYPE_QNAME = "0x1::event::EventHandle";
|
|
347
347
|
counter;
|
|
348
348
|
guid;
|
|
349
349
|
}
|
|
350
350
|
event.EventHandle = EventHandle;
|
|
351
|
-
function loadTypes(
|
|
352
|
-
loadAllTypes(
|
|
351
|
+
function loadTypes(_r) {
|
|
352
|
+
loadAllTypes(_r);
|
|
353
353
|
}
|
|
354
354
|
event.loadTypes = loadTypes;
|
|
355
355
|
event.ABI = JSON.parse('{"address":"0x1","name":"event","friends":["0x1::account"],"exposed_functions":[{"name":"counter","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["&0x1::event::EventHandle<T0>"],"return":["u64"]},{"name":"destroy_handle","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["0x1::event::EventHandle<T0>"],"return":[]},{"name":"emit_event","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["&mut 0x1::event::EventHandle<T0>","T0"],"return":[]},{"name":"guid","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["&0x1::event::EventHandle<T0>"],"return":["&0x1::guid::GUID"]},{"name":"new_event_handle","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["0x1::guid::GUID"],"return":["0x1::event::EventHandle<T0>"]}],"structs":[{"name":"EventHandle","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":["drop","store"]}],"fields":[{"name":"counter","type":"u64"},{"name":"guid","type":"0x1::guid::GUID"}]}]}');
|
|
@@ -456,57 +456,57 @@ class stake extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
456
456
|
});
|
|
457
457
|
return this;
|
|
458
458
|
}
|
|
459
|
-
|
|
459
|
+
onEventRegisterValidatorCandidateEvent(func) {
|
|
460
460
|
this.onEvent(func, {
|
|
461
|
-
type: "stake::
|
|
461
|
+
type: "stake::RegisterValidatorCandidateEvent",
|
|
462
462
|
});
|
|
463
463
|
return this;
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
onEventSetOperatorEvent(func) {
|
|
466
466
|
this.onEvent(func, {
|
|
467
|
-
type: "stake::
|
|
467
|
+
type: "stake::SetOperatorEvent",
|
|
468
468
|
});
|
|
469
469
|
return this;
|
|
470
470
|
}
|
|
471
|
-
|
|
471
|
+
onEventAddStakeEvent(func) {
|
|
472
472
|
this.onEvent(func, {
|
|
473
|
-
type: "stake::
|
|
473
|
+
type: "stake::AddStakeEvent",
|
|
474
474
|
});
|
|
475
475
|
return this;
|
|
476
476
|
}
|
|
477
|
-
|
|
477
|
+
onEventReactivateStakeEvent(func) {
|
|
478
478
|
this.onEvent(func, {
|
|
479
|
-
type: "stake::
|
|
479
|
+
type: "stake::ReactivateStakeEvent",
|
|
480
480
|
});
|
|
481
481
|
return this;
|
|
482
482
|
}
|
|
483
|
-
|
|
483
|
+
onEventRotateConsensusKeyEvent(func) {
|
|
484
484
|
this.onEvent(func, {
|
|
485
|
-
type: "stake::
|
|
485
|
+
type: "stake::RotateConsensusKeyEvent",
|
|
486
486
|
});
|
|
487
487
|
return this;
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
onEventUpdateNetworkAndFullnodeAddressesEvent(func) {
|
|
490
490
|
this.onEvent(func, {
|
|
491
|
-
type: "stake::
|
|
491
|
+
type: "stake::UpdateNetworkAndFullnodeAddressesEvent",
|
|
492
492
|
});
|
|
493
493
|
return this;
|
|
494
494
|
}
|
|
495
|
-
|
|
495
|
+
onEventIncreaseLockupEvent(func) {
|
|
496
496
|
this.onEvent(func, {
|
|
497
|
-
type: "stake::
|
|
497
|
+
type: "stake::IncreaseLockupEvent",
|
|
498
498
|
});
|
|
499
499
|
return this;
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
onEventJoinValidatorSetEvent(func) {
|
|
502
502
|
this.onEvent(func, {
|
|
503
|
-
type: "stake::
|
|
503
|
+
type: "stake::JoinValidatorSetEvent",
|
|
504
504
|
});
|
|
505
505
|
return this;
|
|
506
506
|
}
|
|
507
|
-
|
|
507
|
+
onEventDistributeRewardsEvent(func) {
|
|
508
508
|
this.onEvent(func, {
|
|
509
|
-
type: "stake::
|
|
509
|
+
type: "stake::DistributeRewardsEvent",
|
|
510
510
|
});
|
|
511
511
|
return this;
|
|
512
512
|
}
|
|
@@ -516,15 +516,15 @@ class stake extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
516
516
|
});
|
|
517
517
|
return this;
|
|
518
518
|
}
|
|
519
|
-
|
|
519
|
+
onEventWithdrawStakeEvent(func) {
|
|
520
520
|
this.onEvent(func, {
|
|
521
|
-
type: "stake::
|
|
521
|
+
type: "stake::WithdrawStakeEvent",
|
|
522
522
|
});
|
|
523
523
|
return this;
|
|
524
524
|
}
|
|
525
|
-
|
|
525
|
+
onEventLeaveValidatorSetEvent(func) {
|
|
526
526
|
this.onEvent(func, {
|
|
527
|
-
type: "stake::
|
|
527
|
+
type: "stake::LeaveValidatorSetEvent",
|
|
528
528
|
});
|
|
529
529
|
return this;
|
|
530
530
|
}
|
|
@@ -535,82 +535,82 @@ class stake extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
535
535
|
exports.stake = stake;
|
|
536
536
|
(function (stake) {
|
|
537
537
|
class AddStakeEvent {
|
|
538
|
-
static
|
|
538
|
+
static TYPE_QNAME = "0x1::stake::AddStakeEvent";
|
|
539
539
|
pool_address;
|
|
540
540
|
amount_added;
|
|
541
541
|
}
|
|
542
542
|
stake.AddStakeEvent = AddStakeEvent;
|
|
543
543
|
class AllowedValidators {
|
|
544
|
-
static
|
|
544
|
+
static TYPE_QNAME = "0x1::stake::AllowedValidators";
|
|
545
545
|
accounts;
|
|
546
546
|
}
|
|
547
547
|
stake.AllowedValidators = AllowedValidators;
|
|
548
548
|
class AptosCoinCapabilities {
|
|
549
|
-
static
|
|
549
|
+
static TYPE_QNAME = "0x1::stake::AptosCoinCapabilities";
|
|
550
550
|
mint_cap;
|
|
551
551
|
}
|
|
552
552
|
stake.AptosCoinCapabilities = AptosCoinCapabilities;
|
|
553
553
|
class DistributeRewardsEvent {
|
|
554
|
-
static
|
|
554
|
+
static TYPE_QNAME = "0x1::stake::DistributeRewardsEvent";
|
|
555
555
|
pool_address;
|
|
556
556
|
rewards_amount;
|
|
557
557
|
}
|
|
558
558
|
stake.DistributeRewardsEvent = DistributeRewardsEvent;
|
|
559
559
|
class IncreaseLockupEvent {
|
|
560
|
-
static
|
|
560
|
+
static TYPE_QNAME = "0x1::stake::IncreaseLockupEvent";
|
|
561
561
|
pool_address;
|
|
562
562
|
old_locked_until_secs;
|
|
563
563
|
new_locked_until_secs;
|
|
564
564
|
}
|
|
565
565
|
stake.IncreaseLockupEvent = IncreaseLockupEvent;
|
|
566
566
|
class IndividualValidatorPerformance {
|
|
567
|
-
static
|
|
567
|
+
static TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
|
|
568
568
|
successful_proposals;
|
|
569
569
|
failed_proposals;
|
|
570
570
|
}
|
|
571
571
|
stake.IndividualValidatorPerformance = IndividualValidatorPerformance;
|
|
572
572
|
class JoinValidatorSetEvent {
|
|
573
|
-
static
|
|
573
|
+
static TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
|
|
574
574
|
pool_address;
|
|
575
575
|
}
|
|
576
576
|
stake.JoinValidatorSetEvent = JoinValidatorSetEvent;
|
|
577
577
|
class LeaveValidatorSetEvent {
|
|
578
|
-
static
|
|
578
|
+
static TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
|
|
579
579
|
pool_address;
|
|
580
580
|
}
|
|
581
581
|
stake.LeaveValidatorSetEvent = LeaveValidatorSetEvent;
|
|
582
582
|
class OwnerCapability {
|
|
583
|
-
static
|
|
583
|
+
static TYPE_QNAME = "0x1::stake::OwnerCapability";
|
|
584
584
|
pool_address;
|
|
585
585
|
}
|
|
586
586
|
stake.OwnerCapability = OwnerCapability;
|
|
587
587
|
class ReactivateStakeEvent {
|
|
588
|
-
static
|
|
588
|
+
static TYPE_QNAME = "0x1::stake::ReactivateStakeEvent";
|
|
589
589
|
pool_address;
|
|
590
590
|
amount;
|
|
591
591
|
}
|
|
592
592
|
stake.ReactivateStakeEvent = ReactivateStakeEvent;
|
|
593
593
|
class RegisterValidatorCandidateEvent {
|
|
594
|
-
static
|
|
594
|
+
static TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
|
|
595
595
|
pool_address;
|
|
596
596
|
}
|
|
597
597
|
stake.RegisterValidatorCandidateEvent = RegisterValidatorCandidateEvent;
|
|
598
598
|
class RotateConsensusKeyEvent {
|
|
599
|
-
static
|
|
599
|
+
static TYPE_QNAME = "0x1::stake::RotateConsensusKeyEvent";
|
|
600
600
|
pool_address;
|
|
601
601
|
old_consensus_pubkey;
|
|
602
602
|
new_consensus_pubkey;
|
|
603
603
|
}
|
|
604
604
|
stake.RotateConsensusKeyEvent = RotateConsensusKeyEvent;
|
|
605
605
|
class SetOperatorEvent {
|
|
606
|
-
static
|
|
606
|
+
static TYPE_QNAME = "0x1::stake::SetOperatorEvent";
|
|
607
607
|
pool_address;
|
|
608
608
|
old_operator;
|
|
609
609
|
new_operator;
|
|
610
610
|
}
|
|
611
611
|
stake.SetOperatorEvent = SetOperatorEvent;
|
|
612
612
|
class StakePool {
|
|
613
|
-
static
|
|
613
|
+
static TYPE_QNAME = "0x1::stake::StakePool";
|
|
614
614
|
active;
|
|
615
615
|
inactive;
|
|
616
616
|
pending_active;
|
|
@@ -633,13 +633,13 @@ exports.stake = stake;
|
|
|
633
633
|
}
|
|
634
634
|
stake.StakePool = StakePool;
|
|
635
635
|
class UnlockStakeEvent {
|
|
636
|
-
static
|
|
636
|
+
static TYPE_QNAME = "0x1::stake::UnlockStakeEvent";
|
|
637
637
|
pool_address;
|
|
638
638
|
amount_unlocked;
|
|
639
639
|
}
|
|
640
640
|
stake.UnlockStakeEvent = UnlockStakeEvent;
|
|
641
641
|
class UpdateNetworkAndFullnodeAddressesEvent {
|
|
642
|
-
static
|
|
642
|
+
static TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
|
|
643
643
|
pool_address;
|
|
644
644
|
old_network_addresses;
|
|
645
645
|
new_network_addresses;
|
|
@@ -648,7 +648,7 @@ exports.stake = stake;
|
|
|
648
648
|
}
|
|
649
649
|
stake.UpdateNetworkAndFullnodeAddressesEvent = UpdateNetworkAndFullnodeAddressesEvent;
|
|
650
650
|
class ValidatorConfig {
|
|
651
|
-
static
|
|
651
|
+
static TYPE_QNAME = "0x1::stake::ValidatorConfig";
|
|
652
652
|
consensus_pubkey;
|
|
653
653
|
network_addresses;
|
|
654
654
|
fullnode_addresses;
|
|
@@ -656,19 +656,19 @@ exports.stake = stake;
|
|
|
656
656
|
}
|
|
657
657
|
stake.ValidatorConfig = ValidatorConfig;
|
|
658
658
|
class ValidatorInfo {
|
|
659
|
-
static
|
|
659
|
+
static TYPE_QNAME = "0x1::stake::ValidatorInfo";
|
|
660
660
|
addr;
|
|
661
661
|
voting_power;
|
|
662
662
|
config;
|
|
663
663
|
}
|
|
664
664
|
stake.ValidatorInfo = ValidatorInfo;
|
|
665
665
|
class ValidatorPerformance {
|
|
666
|
-
static
|
|
666
|
+
static TYPE_QNAME = "0x1::stake::ValidatorPerformance";
|
|
667
667
|
validators;
|
|
668
668
|
}
|
|
669
669
|
stake.ValidatorPerformance = ValidatorPerformance;
|
|
670
670
|
class ValidatorSet {
|
|
671
|
-
static
|
|
671
|
+
static TYPE_QNAME = "0x1::stake::ValidatorSet";
|
|
672
672
|
consensus_scheme;
|
|
673
673
|
active_validators;
|
|
674
674
|
pending_inactive;
|
|
@@ -678,13 +678,13 @@ exports.stake = stake;
|
|
|
678
678
|
}
|
|
679
679
|
stake.ValidatorSet = ValidatorSet;
|
|
680
680
|
class WithdrawStakeEvent {
|
|
681
|
-
static
|
|
681
|
+
static TYPE_QNAME = "0x1::stake::WithdrawStakeEvent";
|
|
682
682
|
pool_address;
|
|
683
683
|
amount_withdrawn;
|
|
684
684
|
}
|
|
685
685
|
stake.WithdrawStakeEvent = WithdrawStakeEvent;
|
|
686
|
-
function loadTypes(
|
|
687
|
-
loadAllTypes(
|
|
686
|
+
function loadTypes(_r) {
|
|
687
|
+
loadAllTypes(_r);
|
|
688
688
|
}
|
|
689
689
|
stake.loadTypes = loadTypes;
|
|
690
690
|
stake.ABI = JSON.parse('{"address":"0x1","name":"stake","friends":["0x1::block","0x1::genesis","0x1::reconfiguration"],"exposed_functions":[{"name":"add_stake","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"add_stake_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability","0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"],"return":[]},{"name":"configure_allowed_validators","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","vector<address>"],"return":[]},{"name":"deposit_owner_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::stake::OwnerCapability"],"return":[]},{"name":"destroy_owner_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::stake::OwnerCapability"],"return":[]},{"name":"extract_owner_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["0x1::stake::OwnerCapability"]},{"name":"get_current_epoch_proposal_counts","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["u64","u64"]},{"name":"get_current_epoch_voting_power","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_delegated_voter","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["address"]},{"name":"get_lockup_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_operator","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["address"]},{"name":"get_owned_pool_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability"],"return":["address"]},{"name":"get_remaining_lockup_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_stake","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64","u64","u64","u64"]},{"name":"get_validator_config","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["vector<u8>","vector<u8>","vector<u8>"]},{"name":"get_validator_index","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_validator_state","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"increase_lockup","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"increase_lockup_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability"],"return":[]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"initialize_stake_owner","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64","address","address"],"return":[]},{"name":"initialize_validator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","vector<u8>","vector<u8>","vector<u8>"],"return":[]},{"name":"is_current_epoch_validator","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"join_validator_set","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"join_validator_set_internal","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"leave_validator_set","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"on_new_epoch","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":[]},{"name":"reactivate_stake","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"reactivate_stake_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability","u64"],"return":[]},{"name":"remove_validators","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","&vector<address>"],"return":[]},{"name":"rotate_consensus_key","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","vector<u8>","vector<u8>"],"return":[]},{"name":"set_delegated_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"set_delegated_voter_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability","address"],"return":[]},{"name":"set_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"set_operator_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability","address"],"return":[]},{"name":"stake_pool_exists","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"store_aptos_coin_mint_cap","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::coin::MintCapability<0x1::aptos_coin::AptosCoin>"],"return":[]},{"name":"unlock","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"unlock_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","&0x1::stake::OwnerCapability"],"return":[]},{"name":"update_network_and_fullnode_addresses","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","vector<u8>","vector<u8>"],"return":[]},{"name":"update_performance_statistics","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["0x1::option::Option<u64>","vector<u64>"],"return":[]},{"name":"withdraw","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"withdraw_with_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::stake::OwnerCapability","u64"],"return":["0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"]}],"structs":[{"name":"AddStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"amount_added","type":"u64"}]},{"name":"AllowedValidators","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"accounts","type":"vector<address>"}]},{"name":"AptosCoinCapabilities","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"mint_cap","type":"0x1::coin::MintCapability<0x1::aptos_coin::AptosCoin>"}]},{"name":"DistributeRewardsEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"rewards_amount","type":"u64"}]},{"name":"IncreaseLockupEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"old_locked_until_secs","type":"u64"},{"name":"new_locked_until_secs","type":"u64"}]},{"name":"IndividualValidatorPerformance","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"successful_proposals","type":"u64"},{"name":"failed_proposals","type":"u64"}]},{"name":"JoinValidatorSetEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"}]},{"name":"LeaveValidatorSetEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"}]},{"name":"OwnerCapability","is_native":false,"abilities":["store","key"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"}]},{"name":"ReactivateStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"RegisterValidatorCandidateEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"}]},{"name":"RotateConsensusKeyEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"old_consensus_pubkey","type":"vector<u8>"},{"name":"new_consensus_pubkey","type":"vector<u8>"}]},{"name":"SetOperatorEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"old_operator","type":"address"},{"name":"new_operator","type":"address"}]},{"name":"StakePool","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"active","type":"0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"},{"name":"inactive","type":"0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"},{"name":"pending_active","type":"0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"},{"name":"pending_inactive","type":"0x1::coin::Coin<0x1::aptos_coin::AptosCoin>"},{"name":"locked_until_secs","type":"u64"},{"name":"operator_address","type":"address"},{"name":"delegated_voter","type":"address"},{"name":"initialize_validator_events","type":"0x1::event::EventHandle<0x1::stake::RegisterValidatorCandidateEvent>"},{"name":"set_operator_events","type":"0x1::event::EventHandle<0x1::stake::SetOperatorEvent>"},{"name":"add_stake_events","type":"0x1::event::EventHandle<0x1::stake::AddStakeEvent>"},{"name":"reactivate_stake_events","type":"0x1::event::EventHandle<0x1::stake::ReactivateStakeEvent>"},{"name":"rotate_consensus_key_events","type":"0x1::event::EventHandle<0x1::stake::RotateConsensusKeyEvent>"},{"name":"update_network_and_fullnode_addresses_events","type":"0x1::event::EventHandle<0x1::stake::UpdateNetworkAndFullnodeAddressesEvent>"},{"name":"increase_lockup_events","type":"0x1::event::EventHandle<0x1::stake::IncreaseLockupEvent>"},{"name":"join_validator_set_events","type":"0x1::event::EventHandle<0x1::stake::JoinValidatorSetEvent>"},{"name":"distribute_rewards_events","type":"0x1::event::EventHandle<0x1::stake::DistributeRewardsEvent>"},{"name":"unlock_stake_events","type":"0x1::event::EventHandle<0x1::stake::UnlockStakeEvent>"},{"name":"withdraw_stake_events","type":"0x1::event::EventHandle<0x1::stake::WithdrawStakeEvent>"},{"name":"leave_validator_set_events","type":"0x1::event::EventHandle<0x1::stake::LeaveValidatorSetEvent>"}]},{"name":"UnlockStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"amount_unlocked","type":"u64"}]},{"name":"UpdateNetworkAndFullnodeAddressesEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"old_network_addresses","type":"vector<u8>"},{"name":"new_network_addresses","type":"vector<u8>"},{"name":"old_fullnode_addresses","type":"vector<u8>"},{"name":"new_fullnode_addresses","type":"vector<u8>"}]},{"name":"ValidatorConfig","is_native":false,"abilities":["copy","drop","store","key"],"generic_type_params":[],"fields":[{"name":"consensus_pubkey","type":"vector<u8>"},{"name":"network_addresses","type":"vector<u8>"},{"name":"fullnode_addresses","type":"vector<u8>"},{"name":"validator_index","type":"u64"}]},{"name":"ValidatorInfo","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"addr","type":"address"},{"name":"voting_power","type":"u64"},{"name":"config","type":"0x1::stake::ValidatorConfig"}]},{"name":"ValidatorPerformance","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"validators","type":"vector<0x1::stake::IndividualValidatorPerformance>"}]},{"name":"ValidatorSet","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"consensus_scheme","type":"u8"},{"name":"active_validators","type":"vector<0x1::stake::ValidatorInfo>"},{"name":"pending_inactive","type":"vector<0x1::stake::ValidatorInfo>"},{"name":"pending_active","type":"vector<0x1::stake::ValidatorInfo>"},{"name":"total_voting_power","type":"u128"},{"name":"total_joining_power","type":"u128"}]},{"name":"WithdrawStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"amount_withdrawn","type":"u64"}]}]}');
|
|
@@ -692,25 +692,25 @@ exports.stake = stake;
|
|
|
692
692
|
var table;
|
|
693
693
|
(function (table) {
|
|
694
694
|
class Box {
|
|
695
|
-
static
|
|
695
|
+
static TYPE_QNAME = "0x1::table::Box";
|
|
696
696
|
val;
|
|
697
697
|
}
|
|
698
698
|
table.Box = Box;
|
|
699
699
|
class Table {
|
|
700
|
-
static
|
|
700
|
+
static TYPE_QNAME = "0x1::table::Table";
|
|
701
701
|
handle;
|
|
702
702
|
}
|
|
703
703
|
table.Table = Table;
|
|
704
|
-
function loadTypes(
|
|
705
|
-
loadAllTypes(
|
|
704
|
+
function loadTypes(_r) {
|
|
705
|
+
loadAllTypes(_r);
|
|
706
706
|
}
|
|
707
707
|
table.loadTypes = loadTypes;
|
|
708
708
|
table.ABI = JSON.parse('{"address":"0x1","name":"table","friends":["0x1::table_with_length"],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table::Table<T0, T1>","T0","T1"],"return":[]},{"name":"borrow","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table::Table<T0, T1>","T0"],"return":["&T1"]},{"name":"borrow_mut","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table::Table<T0, T1>","T0"],"return":["&mut T1"]},{"name":"borrow_mut_with_default","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["drop"]}],"params":["&mut 0x1::table::Table<T0, T1>","T0","T1"],"return":["&mut T1"]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table::Table<T0, T1>","T0"],"return":["bool"]},{"name":"destroy","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["0x1::table::Table<T0, T1>"],"return":[]},{"name":"new","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["store"]}],"params":[],"return":["0x1::table::Table<T0, T1>"]},{"name":"remove","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table::Table<T0, T1>","T0"],"return":["T1"]},{"name":"upsert","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["drop"]}],"params":["&mut 0x1::table::Table<T0, T1>","T0","T1"],"return":[]}],"structs":[{"name":"Box","is_native":false,"abilities":["drop","store","key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"val","type":"T0"}]},{"name":"Table","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"fields":[{"name":"handle","type":"address"}]}]}');
|
|
709
709
|
})(table = exports.table || (exports.table = {}));
|
|
710
710
|
var math64;
|
|
711
711
|
(function (math64) {
|
|
712
|
-
function loadTypes(
|
|
713
|
-
loadAllTypes(
|
|
712
|
+
function loadTypes(_r) {
|
|
713
|
+
loadAllTypes(_r);
|
|
714
714
|
}
|
|
715
715
|
math64.loadTypes = loadTypes;
|
|
716
716
|
math64.ABI = JSON.parse('{"address":"0x1","name":"math64","friends":[],"exposed_functions":[{"name":"average","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["u64"]},{"name":"max","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["u64"]},{"name":"min","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["u64"]},{"name":"pow","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["u64"]}],"structs":[]}');
|
|
@@ -718,20 +718,20 @@ var math64;
|
|
|
718
718
|
var option;
|
|
719
719
|
(function (option) {
|
|
720
720
|
class Option {
|
|
721
|
-
static
|
|
721
|
+
static TYPE_QNAME = "0x1::option::Option";
|
|
722
722
|
vec;
|
|
723
723
|
}
|
|
724
724
|
option.Option = Option;
|
|
725
|
-
function loadTypes(
|
|
726
|
-
loadAllTypes(
|
|
725
|
+
function loadTypes(_r) {
|
|
726
|
+
loadAllTypes(_r);
|
|
727
727
|
}
|
|
728
728
|
option.loadTypes = loadTypes;
|
|
729
729
|
option.ABI = JSON.parse('{"address":"0x1","name":"option","friends":[],"exposed_functions":[{"name":"borrow","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::option::Option<T0>"],"return":["&T0"]},{"name":"borrow_mut","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::option::Option<T0>"],"return":["&mut T0"]},{"name":"borrow_with_default","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::option::Option<T0>","&T0"],"return":["&T0"]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::option::Option<T0>","&T0"],"return":["bool"]},{"name":"destroy_none","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::option::Option<T0>"],"return":[]},{"name":"destroy_some","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::option::Option<T0>"],"return":["T0"]},{"name":"destroy_with_default","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop"]}],"params":["0x1::option::Option<T0>","T0"],"return":["T0"]},{"name":"extract","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::option::Option<T0>"],"return":["T0"]},{"name":"fill","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::option::Option<T0>","T0"],"return":[]},{"name":"get_with_default","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]}],"params":["&0x1::option::Option<T0>","T0"],"return":["T0"]},{"name":"is_none","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::option::Option<T0>"],"return":["bool"]},{"name":"is_some","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&0x1::option::Option<T0>"],"return":["bool"]},{"name":"none","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::option::Option<T0>"]},{"name":"some","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["T0"],"return":["0x1::option::Option<T0>"]},{"name":"swap","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::option::Option<T0>","T0"],"return":["T0"]},{"name":"swap_or_fill","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut 0x1::option::Option<T0>","T0"],"return":["0x1::option::Option<T0>"]},{"name":"to_vec","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::option::Option<T0>"],"return":["vector<T0>"]}],"structs":[{"name":"Option","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"vec","type":"vector<T0>"}]}]}');
|
|
730
730
|
})(option = exports.option || (exports.option = {}));
|
|
731
731
|
var signer;
|
|
732
732
|
(function (signer) {
|
|
733
|
-
function loadTypes(
|
|
734
|
-
loadAllTypes(
|
|
733
|
+
function loadTypes(_r) {
|
|
734
|
+
loadAllTypes(_r);
|
|
735
735
|
}
|
|
736
736
|
signer.loadTypes = loadTypes;
|
|
737
737
|
signer.ABI = JSON.parse('{"address":"0x1","name":"signer","friends":[],"exposed_functions":[{"name":"address_of","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["address"]},{"name":"borrow_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["&address"]}],"structs":[]}');
|
|
@@ -739,20 +739,20 @@ var signer;
|
|
|
739
739
|
var string;
|
|
740
740
|
(function (string) {
|
|
741
741
|
class String {
|
|
742
|
-
static
|
|
742
|
+
static TYPE_QNAME = "0x1::string::String";
|
|
743
743
|
bytes;
|
|
744
744
|
}
|
|
745
745
|
string.String = String;
|
|
746
|
-
function loadTypes(
|
|
747
|
-
loadAllTypes(
|
|
746
|
+
function loadTypes(_r) {
|
|
747
|
+
loadAllTypes(_r);
|
|
748
748
|
}
|
|
749
749
|
string.loadTypes = loadTypes;
|
|
750
750
|
string.ABI = JSON.parse('{"address":"0x1","name":"string","friends":[],"exposed_functions":[{"name":"append","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::string::String","0x1::string::String"],"return":[]},{"name":"append_utf8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::string::String","vector<u8>"],"return":[]},{"name":"bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::string::String"],"return":["&vector<u8>"]},{"name":"index_of","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::string::String","&0x1::string::String"],"return":["u64"]},{"name":"insert","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::string::String","u64","0x1::string::String"],"return":[]},{"name":"internal_check_utf8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&vector<u8>"],"return":["bool"]},{"name":"is_empty","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::string::String"],"return":["bool"]},{"name":"length","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::string::String"],"return":["u64"]},{"name":"sub_string","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::string::String","u64","u64"],"return":["0x1::string::String"]},{"name":"try_utf8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::string::String>"]},{"name":"utf8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::string::String"]}],"structs":[{"name":"String","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]}]}');
|
|
751
751
|
})(string = exports.string || (exports.string = {}));
|
|
752
752
|
var vector;
|
|
753
753
|
(function (vector) {
|
|
754
|
-
function loadTypes(
|
|
755
|
-
loadAllTypes(
|
|
754
|
+
function loadTypes(_r) {
|
|
755
|
+
loadAllTypes(_r);
|
|
756
756
|
}
|
|
757
757
|
vector.loadTypes = loadTypes;
|
|
758
758
|
vector.ABI = JSON.parse('{"address":"0x1","name":"vector","friends":[],"exposed_functions":[{"name":"append","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","vector<T0>"],"return":[]},{"name":"borrow","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&vector<T0>","u64"],"return":["&T0"]},{"name":"borrow_mut","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","u64"],"return":["&mut T0"]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&vector<T0>","&T0"],"return":["bool"]},{"name":"destroy_empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["vector<T0>"],"return":[]},{"name":"empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["vector<T0>"]},{"name":"index_of","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&vector<T0>","&T0"],"return":["bool","u64"]},{"name":"is_empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&vector<T0>"],"return":["bool"]},{"name":"length","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&vector<T0>"],"return":["u64"]},{"name":"pop_back","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>"],"return":["T0"]},{"name":"push_back","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","T0"],"return":[]},{"name":"remove","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","u64"],"return":["T0"]},{"name":"reverse","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>"],"return":[]},{"name":"singleton","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["T0"],"return":["vector<T0>"]},{"name":"swap","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","u64","u64"],"return":[]},{"name":"swap_remove","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&mut vector<T0>","u64"],"return":["T0"]}],"structs":[]}');
|
|
@@ -780,6 +780,12 @@ class voting extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
780
780
|
});
|
|
781
781
|
return this;
|
|
782
782
|
}
|
|
783
|
+
onEventResolveProposal(func) {
|
|
784
|
+
this.onEvent(func, {
|
|
785
|
+
type: "voting::ResolveProposal",
|
|
786
|
+
});
|
|
787
|
+
return this;
|
|
788
|
+
}
|
|
783
789
|
onEventVoteEvent(func) {
|
|
784
790
|
this.onEvent(func, {
|
|
785
791
|
type: "voting::VoteEvent",
|
|
@@ -793,7 +799,7 @@ class voting extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
793
799
|
exports.voting = voting;
|
|
794
800
|
(function (voting) {
|
|
795
801
|
class CreateProposalEvent {
|
|
796
|
-
static
|
|
802
|
+
static TYPE_QNAME = "0x1::voting::CreateProposalEvent";
|
|
797
803
|
proposal_id;
|
|
798
804
|
early_resolution_vote_threshold;
|
|
799
805
|
execution_hash;
|
|
@@ -803,7 +809,7 @@ exports.voting = voting;
|
|
|
803
809
|
}
|
|
804
810
|
voting.CreateProposalEvent = CreateProposalEvent;
|
|
805
811
|
class Proposal {
|
|
806
|
-
static
|
|
812
|
+
static TYPE_QNAME = "0x1::voting::Proposal";
|
|
807
813
|
proposer;
|
|
808
814
|
execution_content;
|
|
809
815
|
metadata;
|
|
@@ -819,13 +825,13 @@ exports.voting = voting;
|
|
|
819
825
|
}
|
|
820
826
|
voting.Proposal = Proposal;
|
|
821
827
|
class RegisterForumEvent {
|
|
822
|
-
static
|
|
828
|
+
static TYPE_QNAME = "0x1::voting::RegisterForumEvent";
|
|
823
829
|
hosting_account;
|
|
824
830
|
proposal_type_info;
|
|
825
831
|
}
|
|
826
832
|
voting.RegisterForumEvent = RegisterForumEvent;
|
|
827
833
|
class ResolveProposal {
|
|
828
|
-
static
|
|
834
|
+
static TYPE_QNAME = "0x1::voting::ResolveProposal";
|
|
829
835
|
proposal_id;
|
|
830
836
|
yes_votes;
|
|
831
837
|
no_votes;
|
|
@@ -833,13 +839,13 @@ exports.voting = voting;
|
|
|
833
839
|
}
|
|
834
840
|
voting.ResolveProposal = ResolveProposal;
|
|
835
841
|
class VoteEvent {
|
|
836
|
-
static
|
|
842
|
+
static TYPE_QNAME = "0x1::voting::VoteEvent";
|
|
837
843
|
proposal_id;
|
|
838
844
|
num_votes;
|
|
839
845
|
}
|
|
840
846
|
voting.VoteEvent = VoteEvent;
|
|
841
847
|
class VotingEvents {
|
|
842
|
-
static
|
|
848
|
+
static TYPE_QNAME = "0x1::voting::VotingEvents";
|
|
843
849
|
create_proposal_events;
|
|
844
850
|
register_forum_events;
|
|
845
851
|
resolve_proposal_events;
|
|
@@ -847,14 +853,14 @@ exports.voting = voting;
|
|
|
847
853
|
}
|
|
848
854
|
voting.VotingEvents = VotingEvents;
|
|
849
855
|
class VotingForum {
|
|
850
|
-
static
|
|
856
|
+
static TYPE_QNAME = "0x1::voting::VotingForum";
|
|
851
857
|
proposals;
|
|
852
858
|
events;
|
|
853
859
|
next_proposal_id;
|
|
854
860
|
}
|
|
855
861
|
voting.VotingForum = VotingForum;
|
|
856
|
-
function loadTypes(
|
|
857
|
-
loadAllTypes(
|
|
862
|
+
function loadTypes(_r) {
|
|
863
|
+
loadAllTypes(_r);
|
|
858
864
|
}
|
|
859
865
|
voting.loadTypes = loadTypes;
|
|
860
866
|
voting.ABI = JSON.parse('{"address":"0x1","name":"voting","friends":[],"exposed_functions":[{"name":"can_be_resolved_early","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["&0x1::voting::Proposal<T0>"],"return":["bool"]},{"name":"create_proposal","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","address","T0","vector<u8>","u128","u64","0x1::option::Option<u128>","0x1::simple_map::SimpleMap<0x1::string::String, vector<u8>>"],"return":["u64"]},{"name":"get_execution_hash","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["vector<u8>"]},{"name":"get_proposal_expiration_secs","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["u64"]},{"name":"get_proposal_state","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["u64"]},{"name":"is_resolved","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["bool"]},{"name":"is_voting_closed","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["bool"]},{"name":"register","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["&signer"],"return":[]},{"name":"resolve","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["address","u64"],"return":["T0"]},{"name":"vote","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]}],"params":["&T0","address","u64","u64","bool"],"return":[]}],"structs":[{"name":"CreateProposalEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"proposal_id","type":"u64"},{"name":"early_resolution_vote_threshold","type":"0x1::option::Option<u128>"},{"name":"execution_hash","type":"vector<u8>"},{"name":"expiration_secs","type":"u64"},{"name":"metadata","type":"0x1::simple_map::SimpleMap<0x1::string::String, vector<u8>>"},{"name":"min_vote_threshold","type":"u128"}]},{"name":"Proposal","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":["store"]}],"fields":[{"name":"proposer","type":"address"},{"name":"execution_content","type":"0x1::option::Option<T0>"},{"name":"metadata","type":"0x1::simple_map::SimpleMap<0x1::string::String, vector<u8>>"},{"name":"creation_time_secs","type":"u64"},{"name":"execution_hash","type":"vector<u8>"},{"name":"min_vote_threshold","type":"u128"},{"name":"expiration_secs","type":"u64"},{"name":"early_resolution_vote_threshold","type":"0x1::option::Option<u128>"},{"name":"yes_votes","type":"u128"},{"name":"no_votes","type":"u128"},{"name":"is_resolved","type":"bool"},{"name":"resolution_time_secs","type":"u64"}]},{"name":"RegisterForumEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"hosting_account","type":"address"},{"name":"proposal_type_info","type":"0x1::type_info::TypeInfo"}]},{"name":"ResolveProposal","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"proposal_id","type":"u64"},{"name":"yes_votes","type":"u128"},{"name":"no_votes","type":"u128"},{"name":"resolved_early","type":"bool"}]},{"name":"VoteEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"proposal_id","type":"u64"},{"name":"num_votes","type":"u64"}]},{"name":"VotingEvents","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"create_proposal_events","type":"0x1::event::EventHandle<0x1::voting::CreateProposalEvent>"},{"name":"register_forum_events","type":"0x1::event::EventHandle<0x1::voting::RegisterForumEvent>"},{"name":"resolve_proposal_events","type":"0x1::event::EventHandle<0x1::voting::ResolveProposal>"},{"name":"vote_events","type":"0x1::event::EventHandle<0x1::voting::VoteEvent>"}]},{"name":"VotingForum","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":["store"]}],"fields":[{"name":"proposals","type":"0x1::table::Table<u64, 0x1::voting::Proposal<T0>>"},{"name":"events","type":"0x1::voting::VotingEvents"},{"name":"next_proposal_id","type":"u64"}]}]}');
|
|
@@ -910,7 +916,7 @@ class account extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
910
916
|
exports.account = account;
|
|
911
917
|
(function (account) {
|
|
912
918
|
class Account {
|
|
913
|
-
static
|
|
919
|
+
static TYPE_QNAME = "0x1::account::Account";
|
|
914
920
|
authentication_key;
|
|
915
921
|
sequence_number;
|
|
916
922
|
guid_creation_num;
|
|
@@ -921,39 +927,39 @@ exports.account = account;
|
|
|
921
927
|
}
|
|
922
928
|
account.Account = Account;
|
|
923
929
|
class CapabilityOffer {
|
|
924
|
-
static
|
|
930
|
+
static TYPE_QNAME = "0x1::account::CapabilityOffer";
|
|
925
931
|
for;
|
|
926
932
|
}
|
|
927
933
|
account.CapabilityOffer = CapabilityOffer;
|
|
928
934
|
class CoinRegisterEvent {
|
|
929
|
-
static
|
|
935
|
+
static TYPE_QNAME = "0x1::account::CoinRegisterEvent";
|
|
930
936
|
type_info;
|
|
931
937
|
}
|
|
932
938
|
account.CoinRegisterEvent = CoinRegisterEvent;
|
|
933
939
|
class KeyRotationEvent {
|
|
934
|
-
static
|
|
940
|
+
static TYPE_QNAME = "0x1::account::KeyRotationEvent";
|
|
935
941
|
old_authentication_key;
|
|
936
942
|
new_authentication_key;
|
|
937
943
|
}
|
|
938
944
|
account.KeyRotationEvent = KeyRotationEvent;
|
|
939
945
|
class OriginatingAddress {
|
|
940
|
-
static
|
|
946
|
+
static TYPE_QNAME = "0x1::account::OriginatingAddress";
|
|
941
947
|
address_map;
|
|
942
948
|
}
|
|
943
949
|
account.OriginatingAddress = OriginatingAddress;
|
|
944
950
|
class RotationCapability {
|
|
945
|
-
static
|
|
951
|
+
static TYPE_QNAME = "0x1::account::RotationCapability";
|
|
946
952
|
account;
|
|
947
953
|
}
|
|
948
954
|
account.RotationCapability = RotationCapability;
|
|
949
955
|
class RotationCapabilityOfferProofChallenge {
|
|
950
|
-
static
|
|
956
|
+
static TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
|
951
957
|
sequence_number;
|
|
952
958
|
recipient_address;
|
|
953
959
|
}
|
|
954
960
|
account.RotationCapabilityOfferProofChallenge = RotationCapabilityOfferProofChallenge;
|
|
955
961
|
class RotationProofChallenge {
|
|
956
|
-
static
|
|
962
|
+
static TYPE_QNAME = "0x1::account::RotationProofChallenge";
|
|
957
963
|
sequence_number;
|
|
958
964
|
originator;
|
|
959
965
|
current_auth_key;
|
|
@@ -961,25 +967,25 @@ exports.account = account;
|
|
|
961
967
|
}
|
|
962
968
|
account.RotationProofChallenge = RotationProofChallenge;
|
|
963
969
|
class SignerCapability {
|
|
964
|
-
static
|
|
970
|
+
static TYPE_QNAME = "0x1::account::SignerCapability";
|
|
965
971
|
account;
|
|
966
972
|
}
|
|
967
973
|
account.SignerCapability = SignerCapability;
|
|
968
974
|
class SignerCapabilityOfferProofChallenge {
|
|
969
|
-
static
|
|
975
|
+
static TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
|
970
976
|
sequence_number;
|
|
971
977
|
recipient_address;
|
|
972
978
|
}
|
|
973
979
|
account.SignerCapabilityOfferProofChallenge = SignerCapabilityOfferProofChallenge;
|
|
974
980
|
class SignerCapabilityOfferProofChallengeV2 {
|
|
975
|
-
static
|
|
981
|
+
static TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
|
976
982
|
sequence_number;
|
|
977
983
|
source_address;
|
|
978
984
|
recipient_address;
|
|
979
985
|
}
|
|
980
986
|
account.SignerCapabilityOfferProofChallengeV2 = SignerCapabilityOfferProofChallengeV2;
|
|
981
|
-
function loadTypes(
|
|
982
|
-
loadAllTypes(
|
|
987
|
+
function loadTypes(_r) {
|
|
988
|
+
loadAllTypes(_r);
|
|
983
989
|
}
|
|
984
990
|
account.loadTypes = loadTypes;
|
|
985
991
|
account.ABI = JSON.parse('{"address":"0x1","name":"account","friends":["0x1::aptos_account","0x1::coin","0x1::genesis","0x1::resource_account","0x1::transaction_validation"],"exposed_functions":[{"name":"create_account","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["address"],"return":["signer"]},{"name":"create_authorized_signer","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":["signer"]},{"name":"create_framework_reserved_account","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["address"],"return":["signer","0x1::account::SignerCapability"]},{"name":"create_guid","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["0x1::guid::GUID"]},{"name":"create_resource_account","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":["signer","0x1::account::SignerCapability"]},{"name":"create_resource_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&address","vector<u8>"],"return":["address"]},{"name":"create_signer_with_capability","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::account::SignerCapability"],"return":["signer"]},{"name":"exists_at","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"get_authentication_key","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["vector<u8>"]},{"name":"get_guid_next_creation_num","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_sequence_number","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"get_signer_capability_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::account::SignerCapability"],"return":["address"]},{"name":"increment_sequence_number","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["address"],"return":[]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"new_event_handle","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop","store"]}],"params":["&signer"],"return":["0x1::event::EventHandle<T0>"]},{"name":"offer_signer_capability","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","u8","vector<u8>","address"],"return":[]},{"name":"register_coin","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["address"],"return":[]},{"name":"revoke_signer_capability","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"rotate_authentication_key","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u8","vector<u8>","u8","vector<u8>","vector<u8>","vector<u8>"],"return":[]},{"name":"rotate_authentication_key_internal","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":[]}],"structs":[{"name":"Account","is_native":false,"abilities":["store","key"],"generic_type_params":[],"fields":[{"name":"authentication_key","type":"vector<u8>"},{"name":"sequence_number","type":"u64"},{"name":"guid_creation_num","type":"u64"},{"name":"coin_register_events","type":"0x1::event::EventHandle<0x1::account::CoinRegisterEvent>"},{"name":"key_rotation_events","type":"0x1::event::EventHandle<0x1::account::KeyRotationEvent>"},{"name":"rotation_capability_offer","type":"0x1::account::CapabilityOffer<0x1::account::RotationCapability>"},{"name":"signer_capability_offer","type":"0x1::account::CapabilityOffer<0x1::account::SignerCapability>"}]},{"name":"CapabilityOffer","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"for","type":"0x1::option::Option<address>"}]},{"name":"CoinRegisterEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"type_info","type":"0x1::type_info::TypeInfo"}]},{"name":"KeyRotationEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"old_authentication_key","type":"vector<u8>"},{"name":"new_authentication_key","type":"vector<u8>"}]},{"name":"OriginatingAddress","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"address_map","type":"0x1::table::Table<address, address>"}]},{"name":"RotationCapability","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"}]},{"name":"RotationCapabilityOfferProofChallenge","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"sequence_number","type":"u64"},{"name":"recipient_address","type":"address"}]},{"name":"RotationProofChallenge","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"sequence_number","type":"u64"},{"name":"originator","type":"address"},{"name":"current_auth_key","type":"address"},{"name":"new_public_key","type":"vector<u8>"}]},{"name":"SignerCapability","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"account","type":"address"}]},{"name":"SignerCapabilityOfferProofChallenge","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"sequence_number","type":"u64"},{"name":"recipient_address","type":"address"}]},{"name":"SignerCapabilityOfferProofChallengeV2","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"sequence_number","type":"u64"},{"name":"source_address","type":"address"},{"name":"recipient_address","type":"address"}]}]}');
|
|
@@ -987,28 +993,28 @@ exports.account = account;
|
|
|
987
993
|
var ed25519;
|
|
988
994
|
(function (ed25519) {
|
|
989
995
|
class Signature {
|
|
990
|
-
static
|
|
996
|
+
static TYPE_QNAME = "0x1::ed25519::Signature";
|
|
991
997
|
bytes;
|
|
992
998
|
}
|
|
993
999
|
ed25519.Signature = Signature;
|
|
994
1000
|
class SignedMessage {
|
|
995
|
-
static
|
|
1001
|
+
static TYPE_QNAME = "0x1::ed25519::SignedMessage";
|
|
996
1002
|
type_info;
|
|
997
1003
|
inner;
|
|
998
1004
|
}
|
|
999
1005
|
ed25519.SignedMessage = SignedMessage;
|
|
1000
1006
|
class UnvalidatedPublicKey {
|
|
1001
|
-
static
|
|
1007
|
+
static TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
|
|
1002
1008
|
bytes;
|
|
1003
1009
|
}
|
|
1004
1010
|
ed25519.UnvalidatedPublicKey = UnvalidatedPublicKey;
|
|
1005
1011
|
class ValidatedPublicKey {
|
|
1006
|
-
static
|
|
1012
|
+
static TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
|
|
1007
1013
|
bytes;
|
|
1008
1014
|
}
|
|
1009
1015
|
ed25519.ValidatedPublicKey = ValidatedPublicKey;
|
|
1010
|
-
function loadTypes(
|
|
1011
|
-
loadAllTypes(
|
|
1016
|
+
function loadTypes(_r) {
|
|
1017
|
+
loadAllTypes(_r);
|
|
1012
1018
|
}
|
|
1013
1019
|
ed25519.loadTypes = loadTypes;
|
|
1014
1020
|
ed25519.ABI = JSON.parse('{"address":"0x1","name":"ed25519","friends":[],"exposed_functions":[{"name":"new_signature_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::ed25519::Signature"]},{"name":"new_signed_message","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop"]}],"params":["T0"],"return":["0x1::ed25519::SignedMessage<T0>"]},{"name":"new_unvalidated_public_key_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::ed25519::UnvalidatedPublicKey"]},{"name":"new_validated_public_key_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ed25519::ValidatedPublicKey>"]},{"name":"public_key_into_unvalidated","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::ed25519::ValidatedPublicKey"],"return":["0x1::ed25519::UnvalidatedPublicKey"]},{"name":"public_key_to_unvalidated","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::ValidatedPublicKey"],"return":["0x1::ed25519::UnvalidatedPublicKey"]},{"name":"public_key_validate","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::UnvalidatedPublicKey"],"return":["0x1::option::Option<0x1::ed25519::ValidatedPublicKey>"]},{"name":"signature_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::Signature"],"return":["vector<u8>"]},{"name":"signature_verify_strict","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::Signature","&0x1::ed25519::UnvalidatedPublicKey","vector<u8>"],"return":["bool"]},{"name":"signature_verify_strict_t","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop"]}],"params":["&0x1::ed25519::Signature","&0x1::ed25519::UnvalidatedPublicKey","T0"],"return":["bool"]},{"name":"unvalidated_public_key_to_authentication_key","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::UnvalidatedPublicKey"],"return":["vector<u8>"]},{"name":"unvalidated_public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::UnvalidatedPublicKey"],"return":["vector<u8>"]},{"name":"validated_public_key_to_authentication_key","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::ValidatedPublicKey"],"return":["vector<u8>"]},{"name":"validated_public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ed25519::ValidatedPublicKey"],"return":["vector<u8>"]}],"structs":[{"name":"Signature","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"SignedMessage","is_native":false,"abilities":["drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"type_info","type":"0x1::type_info::TypeInfo"},{"name":"inner","type":"T0"}]},{"name":"UnvalidatedPublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"ValidatedPublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]}]}');
|
|
@@ -1016,13 +1022,13 @@ var ed25519;
|
|
|
1016
1022
|
var genesis;
|
|
1017
1023
|
(function (genesis) {
|
|
1018
1024
|
class AccountMap {
|
|
1019
|
-
static
|
|
1025
|
+
static TYPE_QNAME = "0x1::genesis::AccountMap";
|
|
1020
1026
|
account_address;
|
|
1021
1027
|
balance;
|
|
1022
1028
|
}
|
|
1023
1029
|
genesis.AccountMap = AccountMap;
|
|
1024
1030
|
class EmployeeAccountMap {
|
|
1025
|
-
static
|
|
1031
|
+
static TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
|
|
1026
1032
|
accounts;
|
|
1027
1033
|
validator;
|
|
1028
1034
|
vesting_schedule_numerator;
|
|
@@ -1031,7 +1037,7 @@ var genesis;
|
|
|
1031
1037
|
}
|
|
1032
1038
|
genesis.EmployeeAccountMap = EmployeeAccountMap;
|
|
1033
1039
|
class ValidatorConfiguration {
|
|
1034
|
-
static
|
|
1040
|
+
static TYPE_QNAME = "0x1::genesis::ValidatorConfiguration";
|
|
1035
1041
|
owner_address;
|
|
1036
1042
|
operator_address;
|
|
1037
1043
|
voter_address;
|
|
@@ -1043,22 +1049,22 @@ var genesis;
|
|
|
1043
1049
|
}
|
|
1044
1050
|
genesis.ValidatorConfiguration = ValidatorConfiguration;
|
|
1045
1051
|
class ValidatorConfigurationWithCommission {
|
|
1046
|
-
static
|
|
1052
|
+
static TYPE_QNAME = "0x1::genesis::ValidatorConfigurationWithCommission";
|
|
1047
1053
|
validator_config;
|
|
1048
1054
|
commission_percentage;
|
|
1049
1055
|
join_during_genesis;
|
|
1050
1056
|
}
|
|
1051
1057
|
genesis.ValidatorConfigurationWithCommission = ValidatorConfigurationWithCommission;
|
|
1052
|
-
function loadTypes(
|
|
1053
|
-
loadAllTypes(
|
|
1058
|
+
function loadTypes(_r) {
|
|
1059
|
+
loadAllTypes(_r);
|
|
1054
1060
|
}
|
|
1055
1061
|
genesis.loadTypes = loadTypes;
|
|
1056
1062
|
genesis.ABI = JSON.parse('{"address":"0x1","name":"genesis","friends":[],"exposed_functions":[],"structs":[{"name":"AccountMap","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"account_address","type":"address"},{"name":"balance","type":"u64"}]},{"name":"EmployeeAccountMap","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"accounts","type":"vector<address>"},{"name":"validator","type":"0x1::genesis::ValidatorConfigurationWithCommission"},{"name":"vesting_schedule_numerator","type":"vector<u64>"},{"name":"vesting_schedule_denominator","type":"u64"},{"name":"beneficiary_resetter","type":"address"}]},{"name":"ValidatorConfiguration","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"owner_address","type":"address"},{"name":"operator_address","type":"address"},{"name":"voter_address","type":"address"},{"name":"stake_amount","type":"u64"},{"name":"consensus_pubkey","type":"vector<u8>"},{"name":"proof_of_possession","type":"vector<u8>"},{"name":"network_addresses","type":"vector<u8>"},{"name":"full_node_network_addresses","type":"vector<u8>"}]},{"name":"ValidatorConfigurationWithCommission","is_native":false,"abilities":["copy","drop"],"generic_type_params":[],"fields":[{"name":"validator_config","type":"0x1::genesis::ValidatorConfiguration"},{"name":"commission_percentage","type":"u64"},{"name":"join_during_genesis","type":"bool"}]}]}');
|
|
1057
1063
|
})(genesis = exports.genesis || (exports.genesis = {}));
|
|
1058
1064
|
var math128;
|
|
1059
1065
|
(function (math128) {
|
|
1060
|
-
function loadTypes(
|
|
1061
|
-
loadAllTypes(
|
|
1066
|
+
function loadTypes(_r) {
|
|
1067
|
+
loadAllTypes(_r);
|
|
1062
1068
|
}
|
|
1063
1069
|
math128.loadTypes = loadTypes;
|
|
1064
1070
|
math128.ABI = JSON.parse('{"address":"0x1","name":"math128","friends":[],"exposed_functions":[{"name":"average","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u128","u128"],"return":["u128"]},{"name":"max","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u128","u128"],"return":["u128"]},{"name":"min","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u128","u128"],"return":["u128"]},{"name":"pow","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u128","u128"],"return":["u128"]}],"structs":[]}');
|
|
@@ -1088,17 +1094,17 @@ class version extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1088
1094
|
exports.version = version;
|
|
1089
1095
|
(function (version) {
|
|
1090
1096
|
class SetVersionCapability {
|
|
1091
|
-
static
|
|
1097
|
+
static TYPE_QNAME = "0x1::version::SetVersionCapability";
|
|
1092
1098
|
dummy_field;
|
|
1093
1099
|
}
|
|
1094
1100
|
version.SetVersionCapability = SetVersionCapability;
|
|
1095
1101
|
class Version {
|
|
1096
|
-
static
|
|
1102
|
+
static TYPE_QNAME = "0x1::version::Version";
|
|
1097
1103
|
major;
|
|
1098
1104
|
}
|
|
1099
1105
|
version.Version = Version;
|
|
1100
|
-
function loadTypes(
|
|
1101
|
-
loadAllTypes(
|
|
1106
|
+
function loadTypes(_r) {
|
|
1107
|
+
loadAllTypes(_r);
|
|
1102
1108
|
}
|
|
1103
1109
|
version.loadTypes = loadTypes;
|
|
1104
1110
|
version.ABI = JSON.parse('{"address":"0x1","name":"version","friends":["0x1::genesis"],"exposed_functions":[{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"set_version","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","u64"],"return":[]}],"structs":[{"name":"SetVersionCapability","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"Version","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"major","type":"u64"}]}]}');
|
|
@@ -1205,21 +1211,21 @@ class vesting extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1205
1211
|
});
|
|
1206
1212
|
return this;
|
|
1207
1213
|
}
|
|
1208
|
-
|
|
1214
|
+
onEventCreateVestingContractEvent(func) {
|
|
1209
1215
|
this.onEvent(func, {
|
|
1210
|
-
type: "vesting::
|
|
1216
|
+
type: "vesting::CreateVestingContractEvent",
|
|
1211
1217
|
});
|
|
1212
1218
|
return this;
|
|
1213
1219
|
}
|
|
1214
|
-
|
|
1220
|
+
onEventUpdateOperatorEvent(func) {
|
|
1215
1221
|
this.onEvent(func, {
|
|
1216
|
-
type: "vesting::
|
|
1222
|
+
type: "vesting::UpdateOperatorEvent",
|
|
1217
1223
|
});
|
|
1218
1224
|
return this;
|
|
1219
1225
|
}
|
|
1220
|
-
|
|
1226
|
+
onEventUpdateVoterEvent(func) {
|
|
1221
1227
|
this.onEvent(func, {
|
|
1222
|
-
type: "vesting::
|
|
1228
|
+
type: "vesting::UpdateVoterEvent",
|
|
1223
1229
|
});
|
|
1224
1230
|
return this;
|
|
1225
1231
|
}
|
|
@@ -1235,33 +1241,33 @@ class vesting extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1235
1241
|
});
|
|
1236
1242
|
return this;
|
|
1237
1243
|
}
|
|
1238
|
-
|
|
1244
|
+
onEventUnlockRewardsEvent(func) {
|
|
1239
1245
|
this.onEvent(func, {
|
|
1240
|
-
type: "vesting::
|
|
1246
|
+
type: "vesting::UnlockRewardsEvent",
|
|
1241
1247
|
});
|
|
1242
1248
|
return this;
|
|
1243
1249
|
}
|
|
1244
|
-
|
|
1250
|
+
onEventVestEvent(func) {
|
|
1245
1251
|
this.onEvent(func, {
|
|
1246
|
-
type: "vesting::
|
|
1252
|
+
type: "vesting::VestEvent",
|
|
1247
1253
|
});
|
|
1248
1254
|
return this;
|
|
1249
1255
|
}
|
|
1250
|
-
|
|
1256
|
+
onEventDistributeEvent(func) {
|
|
1251
1257
|
this.onEvent(func, {
|
|
1252
|
-
type: "vesting::
|
|
1258
|
+
type: "vesting::DistributeEvent",
|
|
1253
1259
|
});
|
|
1254
1260
|
return this;
|
|
1255
1261
|
}
|
|
1256
|
-
|
|
1262
|
+
onEventTerminateEvent(func) {
|
|
1257
1263
|
this.onEvent(func, {
|
|
1258
|
-
type: "vesting::
|
|
1264
|
+
type: "vesting::TerminateEvent",
|
|
1259
1265
|
});
|
|
1260
1266
|
return this;
|
|
1261
1267
|
}
|
|
1262
|
-
|
|
1268
|
+
onEventAdminWithdrawEvent(func) {
|
|
1263
1269
|
this.onEvent(func, {
|
|
1264
|
-
type: "vesting::
|
|
1270
|
+
type: "vesting::AdminWithdrawEvent",
|
|
1265
1271
|
});
|
|
1266
1272
|
return this;
|
|
1267
1273
|
}
|
|
@@ -1272,21 +1278,21 @@ class vesting extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1272
1278
|
exports.vesting = vesting;
|
|
1273
1279
|
(function (vesting) {
|
|
1274
1280
|
class AdminStore {
|
|
1275
|
-
static
|
|
1281
|
+
static TYPE_QNAME = "0x1::vesting::AdminStore";
|
|
1276
1282
|
vesting_contracts;
|
|
1277
1283
|
nonce;
|
|
1278
1284
|
create_events;
|
|
1279
1285
|
}
|
|
1280
1286
|
vesting.AdminStore = AdminStore;
|
|
1281
1287
|
class AdminWithdrawEvent {
|
|
1282
|
-
static
|
|
1288
|
+
static TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
|
|
1283
1289
|
admin;
|
|
1284
1290
|
vesting_contract_address;
|
|
1285
1291
|
amount;
|
|
1286
1292
|
}
|
|
1287
1293
|
vesting.AdminWithdrawEvent = AdminWithdrawEvent;
|
|
1288
1294
|
class CreateVestingContractEvent {
|
|
1289
|
-
static
|
|
1295
|
+
static TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
|
|
1290
1296
|
operator;
|
|
1291
1297
|
voter;
|
|
1292
1298
|
grant_amount;
|
|
@@ -1297,14 +1303,14 @@ exports.vesting = vesting;
|
|
|
1297
1303
|
}
|
|
1298
1304
|
vesting.CreateVestingContractEvent = CreateVestingContractEvent;
|
|
1299
1305
|
class DistributeEvent {
|
|
1300
|
-
static
|
|
1306
|
+
static TYPE_QNAME = "0x1::vesting::DistributeEvent";
|
|
1301
1307
|
admin;
|
|
1302
1308
|
vesting_contract_address;
|
|
1303
1309
|
amount;
|
|
1304
1310
|
}
|
|
1305
1311
|
vesting.DistributeEvent = DistributeEvent;
|
|
1306
1312
|
class ResetLockupEvent {
|
|
1307
|
-
static
|
|
1313
|
+
static TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
|
|
1308
1314
|
admin;
|
|
1309
1315
|
vesting_contract_address;
|
|
1310
1316
|
staking_pool_address;
|
|
@@ -1312,7 +1318,7 @@ exports.vesting = vesting;
|
|
|
1312
1318
|
}
|
|
1313
1319
|
vesting.ResetLockupEvent = ResetLockupEvent;
|
|
1314
1320
|
class SetBeneficiaryEvent {
|
|
1315
|
-
static
|
|
1321
|
+
static TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
|
1316
1322
|
admin;
|
|
1317
1323
|
vesting_contract_address;
|
|
1318
1324
|
shareholder;
|
|
@@ -1321,7 +1327,7 @@ exports.vesting = vesting;
|
|
|
1321
1327
|
}
|
|
1322
1328
|
vesting.SetBeneficiaryEvent = SetBeneficiaryEvent;
|
|
1323
1329
|
class StakingInfo {
|
|
1324
|
-
static
|
|
1330
|
+
static TYPE_QNAME = "0x1::vesting::StakingInfo";
|
|
1325
1331
|
pool_address;
|
|
1326
1332
|
operator;
|
|
1327
1333
|
voter;
|
|
@@ -1329,13 +1335,13 @@ exports.vesting = vesting;
|
|
|
1329
1335
|
}
|
|
1330
1336
|
vesting.StakingInfo = StakingInfo;
|
|
1331
1337
|
class TerminateEvent {
|
|
1332
|
-
static
|
|
1338
|
+
static TYPE_QNAME = "0x1::vesting::TerminateEvent";
|
|
1333
1339
|
admin;
|
|
1334
1340
|
vesting_contract_address;
|
|
1335
1341
|
}
|
|
1336
1342
|
vesting.TerminateEvent = TerminateEvent;
|
|
1337
1343
|
class UnlockRewardsEvent {
|
|
1338
|
-
static
|
|
1344
|
+
static TYPE_QNAME = "0x1::vesting::UnlockRewardsEvent";
|
|
1339
1345
|
admin;
|
|
1340
1346
|
vesting_contract_address;
|
|
1341
1347
|
staking_pool_address;
|
|
@@ -1343,7 +1349,7 @@ exports.vesting = vesting;
|
|
|
1343
1349
|
}
|
|
1344
1350
|
vesting.UnlockRewardsEvent = UnlockRewardsEvent;
|
|
1345
1351
|
class UpdateOperatorEvent {
|
|
1346
|
-
static
|
|
1352
|
+
static TYPE_QNAME = "0x1::vesting::UpdateOperatorEvent";
|
|
1347
1353
|
admin;
|
|
1348
1354
|
vesting_contract_address;
|
|
1349
1355
|
staking_pool_address;
|
|
@@ -1353,7 +1359,7 @@ exports.vesting = vesting;
|
|
|
1353
1359
|
}
|
|
1354
1360
|
vesting.UpdateOperatorEvent = UpdateOperatorEvent;
|
|
1355
1361
|
class UpdateVoterEvent {
|
|
1356
|
-
static
|
|
1362
|
+
static TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
|
1357
1363
|
admin;
|
|
1358
1364
|
vesting_contract_address;
|
|
1359
1365
|
staking_pool_address;
|
|
@@ -1362,7 +1368,7 @@ exports.vesting = vesting;
|
|
|
1362
1368
|
}
|
|
1363
1369
|
vesting.UpdateVoterEvent = UpdateVoterEvent;
|
|
1364
1370
|
class VestEvent {
|
|
1365
|
-
static
|
|
1371
|
+
static TYPE_QNAME = "0x1::vesting::VestEvent";
|
|
1366
1372
|
admin;
|
|
1367
1373
|
vesting_contract_address;
|
|
1368
1374
|
staking_pool_address;
|
|
@@ -1371,12 +1377,12 @@ exports.vesting = vesting;
|
|
|
1371
1377
|
}
|
|
1372
1378
|
vesting.VestEvent = VestEvent;
|
|
1373
1379
|
class VestingAccountManagement {
|
|
1374
|
-
static
|
|
1380
|
+
static TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
|
|
1375
1381
|
roles;
|
|
1376
1382
|
}
|
|
1377
1383
|
vesting.VestingAccountManagement = VestingAccountManagement;
|
|
1378
1384
|
class VestingContract {
|
|
1379
|
-
static
|
|
1385
|
+
static TYPE_QNAME = "0x1::vesting::VestingContract";
|
|
1380
1386
|
state;
|
|
1381
1387
|
admin;
|
|
1382
1388
|
grant_pool;
|
|
@@ -1398,15 +1404,15 @@ exports.vesting = vesting;
|
|
|
1398
1404
|
}
|
|
1399
1405
|
vesting.VestingContract = VestingContract;
|
|
1400
1406
|
class VestingSchedule {
|
|
1401
|
-
static
|
|
1407
|
+
static TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
|
1402
1408
|
schedule;
|
|
1403
1409
|
start_timestamp_secs;
|
|
1404
1410
|
period_duration;
|
|
1405
1411
|
last_vested_period;
|
|
1406
1412
|
}
|
|
1407
1413
|
vesting.VestingSchedule = VestingSchedule;
|
|
1408
|
-
function loadTypes(
|
|
1409
|
-
loadAllTypes(
|
|
1414
|
+
function loadTypes(_r) {
|
|
1415
|
+
loadAllTypes(_r);
|
|
1410
1416
|
}
|
|
1411
1417
|
vesting.loadTypes = loadTypes;
|
|
1412
1418
|
vesting.ABI = JSON.parse('{"address":"0x1","name":"vesting","friends":["0x1::genesis"],"exposed_functions":[{"name":"admin_withdraw","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"beneficiary","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["address"]},{"name":"create_vesting_contract","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","&vector<address>","0x1::simple_map::SimpleMap<address, 0x1::coin::Coin<0x1::aptos_coin::AptosCoin>>","0x1::vesting::VestingSchedule","address","address","address","u64","vector<u8>"],"return":["address"]},{"name":"create_vesting_schedule","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<0x1::fixed_point32::FixedPoint32>","u64","u64"],"return":["0x1::vesting::VestingSchedule"]},{"name":"distribute","visibility":"public","is_entry":true,"generic_type_params":[],"params":["address"],"return":[]},{"name":"get_role_holder","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","0x1::string::String"],"return":["address"]},{"name":"get_vesting_account_signer","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":["signer"]},{"name":"operator","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["address"]},{"name":"operator_commission_percentage","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"remaining_grant","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"reset_beneficiary","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"reset_lockup","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"set_beneficiary","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address","address"],"return":[]},{"name":"set_beneficiary_resetter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_management_role","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","0x1::string::String","address"],"return":[]},{"name":"stake_pool_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["address"]},{"name":"terminate_vesting_contract","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"unlock_rewards","visibility":"public","is_entry":true,"generic_type_params":[],"params":["address"],"return":[]},{"name":"update_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address","u64"],"return":[]},{"name":"update_operator_with_same_commission","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"update_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"vest","visibility":"public","is_entry":true,"generic_type_params":[],"params":["address"],"return":[]},{"name":"vesting_contracts","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["vector<address>"]},{"name":"vesting_start_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["u64"]},{"name":"voter","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["address"]}],"structs":[{"name":"AdminStore","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"vesting_contracts","type":"vector<address>"},{"name":"nonce","type":"u64"},{"name":"create_events","type":"0x1::event::EventHandle<0x1::vesting::CreateVestingContractEvent>"}]},{"name":"AdminWithdrawEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"CreateVestingContractEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"voter","type":"address"},{"name":"grant_amount","type":"u64"},{"name":"withdrawal_address","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"commission_percentage","type":"u64"}]},{"name":"DistributeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"ResetLockupEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"new_lockup_expiration_secs","type":"u64"}]},{"name":"SetBeneficiaryEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"shareholder","type":"address"},{"name":"old_beneficiary","type":"address"},{"name":"new_beneficiary","type":"address"}]},{"name":"StakingInfo","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"pool_address","type":"address"},{"name":"operator","type":"address"},{"name":"voter","type":"address"},{"name":"commission_percentage","type":"u64"}]},{"name":"TerminateEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"}]},{"name":"UnlockRewardsEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"UpdateOperatorEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"old_operator","type":"address"},{"name":"new_operator","type":"address"},{"name":"commission_percentage","type":"u64"}]},{"name":"UpdateVoterEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"old_voter","type":"address"},{"name":"new_voter","type":"address"}]},{"name":"VestEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"admin","type":"address"},{"name":"vesting_contract_address","type":"address"},{"name":"staking_pool_address","type":"address"},{"name":"period_vested","type":"u64"},{"name":"amount","type":"u64"}]},{"name":"VestingAccountManagement","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"roles","type":"0x1::simple_map::SimpleMap<0x1::string::String, address>"}]},{"name":"VestingContract","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"state","type":"u64"},{"name":"admin","type":"address"},{"name":"grant_pool","type":"0x1::pool_u64::Pool"},{"name":"beneficiaries","type":"0x1::simple_map::SimpleMap<address, address>"},{"name":"vesting_schedule","type":"0x1::vesting::VestingSchedule"},{"name":"withdrawal_address","type":"address"},{"name":"staking","type":"0x1::vesting::StakingInfo"},{"name":"remaining_grant","type":"u64"},{"name":"signer_cap","type":"0x1::account::SignerCapability"},{"name":"update_operator_events","type":"0x1::event::EventHandle<0x1::vesting::UpdateOperatorEvent>"},{"name":"update_voter_events","type":"0x1::event::EventHandle<0x1::vesting::UpdateVoterEvent>"},{"name":"reset_lockup_events","type":"0x1::event::EventHandle<0x1::vesting::ResetLockupEvent>"},{"name":"set_beneficiary_events","type":"0x1::event::EventHandle<0x1::vesting::SetBeneficiaryEvent>"},{"name":"unlock_rewards_events","type":"0x1::event::EventHandle<0x1::vesting::UnlockRewardsEvent>"},{"name":"vest_events","type":"0x1::event::EventHandle<0x1::vesting::VestEvent>"},{"name":"distribute_events","type":"0x1::event::EventHandle<0x1::vesting::DistributeEvent>"},{"name":"terminate_events","type":"0x1::event::EventHandle<0x1::vesting::TerminateEvent>"},{"name":"admin_withdraw_events","type":"0x1::event::EventHandle<0x1::vesting::AdminWithdrawEvent>"}]},{"name":"VestingSchedule","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"schedule","type":"vector<0x1::fixed_point32::FixedPoint32>"},{"name":"start_timestamp_secs","type":"u64"},{"name":"period_duration","type":"u64"},{"name":"last_vested_period","type":"u64"}]}]}');
|
|
@@ -1414,37 +1420,37 @@ exports.vesting = vesting;
|
|
|
1414
1420
|
var bls12381;
|
|
1415
1421
|
(function (bls12381) {
|
|
1416
1422
|
class AggrOrMultiSignature {
|
|
1417
|
-
static
|
|
1423
|
+
static TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
|
|
1418
1424
|
bytes;
|
|
1419
1425
|
}
|
|
1420
1426
|
bls12381.AggrOrMultiSignature = AggrOrMultiSignature;
|
|
1421
1427
|
class AggrPublicKeysWithPoP {
|
|
1422
|
-
static
|
|
1428
|
+
static TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
|
|
1423
1429
|
bytes;
|
|
1424
1430
|
}
|
|
1425
1431
|
bls12381.AggrPublicKeysWithPoP = AggrPublicKeysWithPoP;
|
|
1426
1432
|
class ProofOfPossession {
|
|
1427
|
-
static
|
|
1433
|
+
static TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
|
|
1428
1434
|
bytes;
|
|
1429
1435
|
}
|
|
1430
1436
|
bls12381.ProofOfPossession = ProofOfPossession;
|
|
1431
1437
|
class PublicKey {
|
|
1432
|
-
static
|
|
1438
|
+
static TYPE_QNAME = "0x1::bls12381::PublicKey";
|
|
1433
1439
|
bytes;
|
|
1434
1440
|
}
|
|
1435
1441
|
bls12381.PublicKey = PublicKey;
|
|
1436
1442
|
class PublicKeyWithPoP {
|
|
1437
|
-
static
|
|
1443
|
+
static TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
|
|
1438
1444
|
bytes;
|
|
1439
1445
|
}
|
|
1440
1446
|
bls12381.PublicKeyWithPoP = PublicKeyWithPoP;
|
|
1441
1447
|
class Signature {
|
|
1442
|
-
static
|
|
1448
|
+
static TYPE_QNAME = "0x1::bls12381::Signature";
|
|
1443
1449
|
bytes;
|
|
1444
1450
|
}
|
|
1445
1451
|
bls12381.Signature = Signature;
|
|
1446
|
-
function loadTypes(
|
|
1447
|
-
loadAllTypes(
|
|
1452
|
+
function loadTypes(_r) {
|
|
1453
|
+
loadAllTypes(_r);
|
|
1448
1454
|
}
|
|
1449
1455
|
bls12381.loadTypes = loadTypes;
|
|
1450
1456
|
bls12381.ABI = JSON.parse('{"address":"0x1","name":"bls12381","friends":[],"exposed_functions":[{"name":"aggr_or_multi_signature_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::bls12381::AggrOrMultiSignature"]},{"name":"aggr_or_multi_signature_subgroup_check","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::AggrOrMultiSignature"],"return":["bool"]},{"name":"aggr_or_multi_signature_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::AggrOrMultiSignature"],"return":["vector<u8>"]},{"name":"aggregate_pubkey_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::AggrPublicKeysWithPoP"],"return":["vector<u8>"]},{"name":"aggregate_pubkeys","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<0x1::bls12381::PublicKeyWithPoP>"],"return":["0x1::bls12381::AggrPublicKeysWithPoP"]},{"name":"aggregate_signatures","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<0x1::bls12381::Signature>"],"return":["0x1::option::Option<0x1::bls12381::AggrOrMultiSignature>"]},{"name":"proof_of_possession_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::bls12381::ProofOfPossession"]},{"name":"proof_of_possession_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::ProofOfPossession"],"return":["vector<u8>"]},{"name":"public_key_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::bls12381::PublicKey>"]},{"name":"public_key_from_bytes_with_pop","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>","&0x1::bls12381::ProofOfPossession"],"return":["0x1::option::Option<0x1::bls12381::PublicKeyWithPoP>"]},{"name":"public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::PublicKey"],"return":["vector<u8>"]},{"name":"public_key_with_pop_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::PublicKeyWithPoP"],"return":["vector<u8>"]},{"name":"signature_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::bls12381::Signature"]},{"name":"signature_subgroup_check","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::Signature"],"return":["bool"]},{"name":"signature_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::Signature"],"return":["vector<u8>"]},{"name":"verify_aggregate_signature","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::AggrOrMultiSignature","vector<0x1::bls12381::PublicKeyWithPoP>","vector<vector<u8>>"],"return":["bool"]},{"name":"verify_multisignature","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::AggrOrMultiSignature","&0x1::bls12381::AggrPublicKeysWithPoP","vector<u8>"],"return":["bool"]},{"name":"verify_normal_signature","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::Signature","&0x1::bls12381::PublicKey","vector<u8>"],"return":["bool"]},{"name":"verify_signature_share","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bls12381::Signature","&0x1::bls12381::PublicKeyWithPoP","vector<u8>"],"return":["bool"]}],"structs":[{"name":"AggrOrMultiSignature","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"AggrPublicKeysWithPoP","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"ProofOfPossession","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"PublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"PublicKeyWithPoP","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"Signature","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]}]}');
|
|
@@ -1452,12 +1458,12 @@ var bls12381;
|
|
|
1452
1458
|
var chain_id;
|
|
1453
1459
|
(function (chain_id) {
|
|
1454
1460
|
class ChainId {
|
|
1455
|
-
static
|
|
1461
|
+
static TYPE_QNAME = "0x1::chain_id::ChainId";
|
|
1456
1462
|
id;
|
|
1457
1463
|
}
|
|
1458
1464
|
chain_id.ChainId = ChainId;
|
|
1459
|
-
function loadTypes(
|
|
1460
|
-
loadAllTypes(
|
|
1465
|
+
function loadTypes(_r) {
|
|
1466
|
+
loadAllTypes(_r);
|
|
1461
1467
|
}
|
|
1462
1468
|
chain_id.loadTypes = loadTypes;
|
|
1463
1469
|
chain_id.ABI = JSON.parse('{"address":"0x1","name":"chain_id","friends":["0x1::genesis"],"exposed_functions":[{"name":"get","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u8"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","u8"],"return":[]}],"structs":[{"name":"ChainId","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"id","type":"u8"}]}]}');
|
|
@@ -1465,20 +1471,20 @@ var chain_id;
|
|
|
1465
1471
|
var features;
|
|
1466
1472
|
(function (features) {
|
|
1467
1473
|
class Features {
|
|
1468
|
-
static
|
|
1474
|
+
static TYPE_QNAME = "0x1::features::Features";
|
|
1469
1475
|
features;
|
|
1470
1476
|
}
|
|
1471
1477
|
features.Features = Features;
|
|
1472
|
-
function loadTypes(
|
|
1473
|
-
loadAllTypes(
|
|
1478
|
+
function loadTypes(_r) {
|
|
1479
|
+
loadAllTypes(_r);
|
|
1474
1480
|
}
|
|
1475
1481
|
features.loadTypes = loadTypes;
|
|
1476
1482
|
features.ABI = JSON.parse('{"address":"0x1","name":"features","friends":[],"exposed_functions":[{"name":"change_feature_flags","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u64>","vector<u64>"],"return":[]},{"name":"code_dependency_check_enabled","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["bool"]},{"name":"treat_friend_as_private","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["bool"]}],"structs":[{"name":"Features","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"features","type":"vector<u8>"}]}]}');
|
|
1477
1483
|
})(features = exports.features || (exports.features = {}));
|
|
1478
1484
|
var from_bcs;
|
|
1479
1485
|
(function (from_bcs) {
|
|
1480
|
-
function loadTypes(
|
|
1481
|
-
loadAllTypes(
|
|
1486
|
+
function loadTypes(_r) {
|
|
1487
|
+
loadAllTypes(_r);
|
|
1482
1488
|
}
|
|
1483
1489
|
from_bcs.loadTypes = loadTypes;
|
|
1484
1490
|
from_bcs.ABI = JSON.parse('{"address":"0x1","name":"from_bcs","friends":["0x1::any","0x1::copyable_any"],"exposed_functions":[{"name":"from_bytes","visibility":"friend","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["vector<u8>"],"return":["T0"]},{"name":"to_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["address"]},{"name":"to_bool","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["bool"]},{"name":"to_string","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::string::String"]},{"name":"to_u128","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["u128"]},{"name":"to_u64","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["u64"]},{"name":"to_u8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["u8"]}],"structs":[]}');
|
|
@@ -1486,7 +1492,7 @@ var from_bcs;
|
|
|
1486
1492
|
var pool_u64;
|
|
1487
1493
|
(function (pool_u64) {
|
|
1488
1494
|
class Pool {
|
|
1489
|
-
static
|
|
1495
|
+
static TYPE_QNAME = "0x1::pool_u64::Pool";
|
|
1490
1496
|
shareholders_limit;
|
|
1491
1497
|
total_coins;
|
|
1492
1498
|
total_shares;
|
|
@@ -1495,8 +1501,8 @@ var pool_u64;
|
|
|
1495
1501
|
scaling_factor;
|
|
1496
1502
|
}
|
|
1497
1503
|
pool_u64.Pool = Pool;
|
|
1498
|
-
function loadTypes(
|
|
1499
|
-
loadAllTypes(
|
|
1504
|
+
function loadTypes(_r) {
|
|
1505
|
+
loadAllTypes(_r);
|
|
1500
1506
|
}
|
|
1501
1507
|
pool_u64.loadTypes = loadTypes;
|
|
1502
1508
|
pool_u64.ABI = JSON.parse('{"address":"0x1","name":"pool_u64","friends":[],"exposed_functions":[{"name":"amount_to_shares","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","u64"],"return":["u64"]},{"name":"amount_to_shares_with_total_coins","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","u64","u64"],"return":["u64"]},{"name":"balance","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","address"],"return":["u64"]},{"name":"buy_in","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::pool_u64::Pool","address","u64"],"return":["u64"]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","address"],"return":["bool"]},{"name":"create","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["0x1::pool_u64::Pool"]},{"name":"create_with_scaling_factor","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["0x1::pool_u64::Pool"]},{"name":"destroy_empty","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::pool_u64::Pool"],"return":[]},{"name":"multiply_then_divide","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","u64","u64","u64"],"return":["u64"]},{"name":"redeem_shares","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::pool_u64::Pool","address","u64"],"return":["u64"]},{"name":"shareholders","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool"],"return":["vector<address>"]},{"name":"shareholders_count","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool"],"return":["u64"]},{"name":"shares","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","address"],"return":["u64"]},{"name":"shares_to_amount","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","u64"],"return":["u64"]},{"name":"shares_to_amount_with_total_coins","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool","u64","u64"],"return":["u64"]},{"name":"total_coins","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool"],"return":["u64"]},{"name":"total_shares","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::pool_u64::Pool"],"return":["u64"]},{"name":"transfer_shares","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::pool_u64::Pool","address","address","u64"],"return":[]},{"name":"update_total_coins","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::pool_u64::Pool","u64"],"return":[]}],"structs":[{"name":"Pool","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"shareholders_limit","type":"u64"},{"name":"total_coins","type":"u64"},{"name":"total_shares","type":"u64"},{"name":"shares","type":"0x1::simple_map::SimpleMap<address, u64>"},{"name":"shareholders","type":"vector<address>"},{"name":"scaling_factor","type":"u64"}]}]}');
|
|
@@ -1504,17 +1510,17 @@ var pool_u64;
|
|
|
1504
1510
|
var secp256k1;
|
|
1505
1511
|
(function (secp256k1) {
|
|
1506
1512
|
class ECDSARawPublicKey {
|
|
1507
|
-
static
|
|
1513
|
+
static TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
|
|
1508
1514
|
bytes;
|
|
1509
1515
|
}
|
|
1510
1516
|
secp256k1.ECDSARawPublicKey = ECDSARawPublicKey;
|
|
1511
1517
|
class ECDSASignature {
|
|
1512
|
-
static
|
|
1518
|
+
static TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
|
|
1513
1519
|
bytes;
|
|
1514
1520
|
}
|
|
1515
1521
|
secp256k1.ECDSASignature = ECDSASignature;
|
|
1516
|
-
function loadTypes(
|
|
1517
|
-
loadAllTypes(
|
|
1522
|
+
function loadTypes(_r) {
|
|
1523
|
+
loadAllTypes(_r);
|
|
1518
1524
|
}
|
|
1519
1525
|
secp256k1.loadTypes = loadTypes;
|
|
1520
1526
|
secp256k1.ABI = JSON.parse('{"address":"0x1","name":"secp256k1","friends":[],"exposed_functions":[{"name":"ecdsa_raw_public_key_from_64_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::secp256k1::ECDSARawPublicKey"]},{"name":"ecdsa_raw_public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::secp256k1::ECDSARawPublicKey"],"return":["vector<u8>"]},{"name":"ecdsa_recover","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>","u8","&0x1::secp256k1::ECDSASignature"],"return":["0x1::option::Option<0x1::secp256k1::ECDSARawPublicKey>"]},{"name":"ecdsa_signature_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::secp256k1::ECDSASignature"]},{"name":"ecdsa_signature_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::secp256k1::ECDSASignature"],"return":["vector<u8>"]}],"structs":[{"name":"ECDSARawPublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"ECDSASignature","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]}]}');
|
|
@@ -1522,12 +1528,12 @@ var secp256k1;
|
|
|
1522
1528
|
var timestamp;
|
|
1523
1529
|
(function (timestamp) {
|
|
1524
1530
|
class CurrentTimeMicroseconds {
|
|
1525
|
-
static
|
|
1531
|
+
static TYPE_QNAME = "0x1::timestamp::CurrentTimeMicroseconds";
|
|
1526
1532
|
microseconds;
|
|
1527
1533
|
}
|
|
1528
1534
|
timestamp.CurrentTimeMicroseconds = CurrentTimeMicroseconds;
|
|
1529
|
-
function loadTypes(
|
|
1530
|
-
loadAllTypes(
|
|
1535
|
+
function loadTypes(_r) {
|
|
1536
|
+
loadAllTypes(_r);
|
|
1531
1537
|
}
|
|
1532
1538
|
timestamp.loadTypes = loadTypes;
|
|
1533
1539
|
timestamp.ABI = JSON.parse('{"address":"0x1","name":"timestamp","friends":["0x1::genesis"],"exposed_functions":[{"name":"now_microseconds","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"now_seconds","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"set_time_has_started","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"update_global_time","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address","u64"],"return":[]}],"structs":[{"name":"CurrentTimeMicroseconds","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"microseconds","type":"u64"}]}]}');
|
|
@@ -1535,14 +1541,14 @@ var timestamp;
|
|
|
1535
1541
|
var type_info;
|
|
1536
1542
|
(function (type_info) {
|
|
1537
1543
|
class TypeInfo {
|
|
1538
|
-
static
|
|
1544
|
+
static TYPE_QNAME = "0x1::type_info::TypeInfo";
|
|
1539
1545
|
account_address;
|
|
1540
1546
|
module_name;
|
|
1541
1547
|
struct_name;
|
|
1542
1548
|
}
|
|
1543
1549
|
type_info.TypeInfo = TypeInfo;
|
|
1544
|
-
function loadTypes(
|
|
1545
|
-
loadAllTypes(
|
|
1550
|
+
function loadTypes(_r) {
|
|
1551
|
+
loadAllTypes(_r);
|
|
1546
1552
|
}
|
|
1547
1553
|
type_info.loadTypes = loadTypes;
|
|
1548
1554
|
type_info.ABI = JSON.parse('{"address":"0x1","name":"type_info","friends":[],"exposed_functions":[{"name":"account_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::type_info::TypeInfo"],"return":["address"]},{"name":"module_name","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::type_info::TypeInfo"],"return":["vector<u8>"]},{"name":"struct_name","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::type_info::TypeInfo"],"return":["vector<u8>"]},{"name":"type_name","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::string::String"]},{"name":"type_of","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":[],"return":["0x1::type_info::TypeInfo"]}],"structs":[{"name":"TypeInfo","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"account_address","type":"address"},{"name":"module_name","type":"vector<u8>"},{"name":"struct_name","type":"vector<u8>"}]}]}');
|
|
@@ -1550,14 +1556,14 @@ var type_info;
|
|
|
1550
1556
|
var aggregator;
|
|
1551
1557
|
(function (aggregator) {
|
|
1552
1558
|
class Aggregator {
|
|
1553
|
-
static
|
|
1559
|
+
static TYPE_QNAME = "0x1::aggregator::Aggregator";
|
|
1554
1560
|
handle;
|
|
1555
1561
|
key;
|
|
1556
1562
|
limit;
|
|
1557
1563
|
}
|
|
1558
1564
|
aggregator.Aggregator = Aggregator;
|
|
1559
|
-
function loadTypes(
|
|
1560
|
-
loadAllTypes(
|
|
1565
|
+
function loadTypes(_r) {
|
|
1566
|
+
loadAllTypes(_r);
|
|
1561
1567
|
}
|
|
1562
1568
|
aggregator.loadTypes = loadTypes;
|
|
1563
1569
|
aggregator.ABI = JSON.parse('{"address":"0x1","name":"aggregator","friends":[],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::aggregator::Aggregator","u128"],"return":[]},{"name":"destroy","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::aggregator::Aggregator"],"return":[]},{"name":"limit","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::aggregator::Aggregator"],"return":["u128"]},{"name":"read","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::aggregator::Aggregator"],"return":["u128"]},{"name":"sub","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::aggregator::Aggregator","u128"],"return":[]}],"structs":[{"name":"Aggregator","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"handle","type":"address"},{"name":"key","type":"address"},{"name":"limit","type":"u128"}]}]}');
|
|
@@ -1601,35 +1607,35 @@ class aptos_coin extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1601
1607
|
exports.aptos_coin = aptos_coin;
|
|
1602
1608
|
(function (aptos_coin) {
|
|
1603
1609
|
class AptosCoin {
|
|
1604
|
-
static
|
|
1610
|
+
static TYPE_QNAME = "0x1::aptos_coin::AptosCoin";
|
|
1605
1611
|
dummy_field;
|
|
1606
1612
|
}
|
|
1607
1613
|
aptos_coin.AptosCoin = AptosCoin;
|
|
1608
1614
|
class DelegatedMintCapability {
|
|
1609
|
-
static
|
|
1615
|
+
static TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
|
|
1610
1616
|
to;
|
|
1611
1617
|
}
|
|
1612
1618
|
aptos_coin.DelegatedMintCapability = DelegatedMintCapability;
|
|
1613
1619
|
class Delegations {
|
|
1614
|
-
static
|
|
1620
|
+
static TYPE_QNAME = "0x1::aptos_coin::Delegations";
|
|
1615
1621
|
inner;
|
|
1616
1622
|
}
|
|
1617
1623
|
aptos_coin.Delegations = Delegations;
|
|
1618
1624
|
class MintCapStore {
|
|
1619
|
-
static
|
|
1625
|
+
static TYPE_QNAME = "0x1::aptos_coin::MintCapStore";
|
|
1620
1626
|
mint_cap;
|
|
1621
1627
|
}
|
|
1622
1628
|
aptos_coin.MintCapStore = MintCapStore;
|
|
1623
|
-
function loadTypes(
|
|
1624
|
-
loadAllTypes(
|
|
1629
|
+
function loadTypes(_r) {
|
|
1630
|
+
loadAllTypes(_r);
|
|
1625
1631
|
}
|
|
1626
1632
|
aptos_coin.loadTypes = loadTypes;
|
|
1627
1633
|
aptos_coin.ABI = JSON.parse('{"address":"0x1","name":"aptos_coin","friends":["0x1::genesis"],"exposed_functions":[{"name":"claim_mint_capability","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"configure_accounts_for_test","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","&signer","0x1::coin::MintCapability<0x1::aptos_coin::AptosCoin>"],"return":[]},{"name":"delegate_mint_capability","visibility":"public","is_entry":true,"generic_type_params":[],"params":["signer","address"],"return":[]},{"name":"destroy_mint_cap","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"has_mint_capability","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["bool"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["0x1::coin::BurnCapability<0x1::aptos_coin::AptosCoin>","0x1::coin::MintCapability<0x1::aptos_coin::AptosCoin>"]},{"name":"mint","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","u64"],"return":[]}],"structs":[{"name":"AptosCoin","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"DelegatedMintCapability","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"to","type":"address"}]},{"name":"Delegations","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"inner","type":"vector<0x1::aptos_coin::DelegatedMintCapability>"}]},{"name":"MintCapStore","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"mint_cap","type":"0x1::coin::MintCapability<0x1::aptos_coin::AptosCoin>"}]}]}');
|
|
1628
1634
|
})(aptos_coin = exports.aptos_coin || (exports.aptos_coin = {}));
|
|
1629
1635
|
var aptos_hash;
|
|
1630
1636
|
(function (aptos_hash) {
|
|
1631
|
-
function loadTypes(
|
|
1632
|
-
loadAllTypes(
|
|
1637
|
+
function loadTypes(_r) {
|
|
1638
|
+
loadAllTypes(_r);
|
|
1633
1639
|
}
|
|
1634
1640
|
aptos_hash.loadTypes = loadTypes;
|
|
1635
1641
|
aptos_hash.ABI = JSON.parse('{"address":"0x1","name":"aptos_hash","friends":[],"exposed_functions":[{"name":"keccak256","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["vector<u8>"]},{"name":"sip_hash","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["u64"]},{"name":"sip_hash_from_value","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&T0"],"return":["u64"]}],"structs":[]}');
|
|
@@ -1637,13 +1643,13 @@ var aptos_hash;
|
|
|
1637
1643
|
var bit_vector;
|
|
1638
1644
|
(function (bit_vector) {
|
|
1639
1645
|
class BitVector {
|
|
1640
|
-
static
|
|
1646
|
+
static TYPE_QNAME = "0x1::bit_vector::BitVector";
|
|
1641
1647
|
length;
|
|
1642
1648
|
bit_field;
|
|
1643
1649
|
}
|
|
1644
1650
|
bit_vector.BitVector = BitVector;
|
|
1645
|
-
function loadTypes(
|
|
1646
|
-
loadAllTypes(
|
|
1651
|
+
function loadTypes(_r) {
|
|
1652
|
+
loadAllTypes(_r);
|
|
1647
1653
|
}
|
|
1648
1654
|
bit_vector.loadTypes = loadTypes;
|
|
1649
1655
|
bit_vector.ABI = JSON.parse('{"address":"0x1","name":"bit_vector","friends":[],"exposed_functions":[{"name":"is_index_set","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bit_vector::BitVector","u64"],"return":["bool"]},{"name":"length","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bit_vector::BitVector"],"return":["u64"]},{"name":"longest_set_sequence_starting_at","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::bit_vector::BitVector","u64"],"return":["u64"]},{"name":"new","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["0x1::bit_vector::BitVector"]},{"name":"set","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::bit_vector::BitVector","u64"],"return":[]},{"name":"shift_left","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::bit_vector::BitVector","u64"],"return":[]},{"name":"unset","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::bit_vector::BitVector","u64"],"return":[]}],"structs":[{"name":"BitVector","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"length","type":"u64"},{"name":"bit_field","type":"vector<bool>"}]}]}');
|
|
@@ -1651,27 +1657,27 @@ var bit_vector;
|
|
|
1651
1657
|
var capability;
|
|
1652
1658
|
(function (capability) {
|
|
1653
1659
|
class Cap {
|
|
1654
|
-
static
|
|
1660
|
+
static TYPE_QNAME = "0x1::capability::Cap";
|
|
1655
1661
|
root;
|
|
1656
1662
|
}
|
|
1657
1663
|
capability.Cap = Cap;
|
|
1658
1664
|
class CapDelegateState {
|
|
1659
|
-
static
|
|
1665
|
+
static TYPE_QNAME = "0x1::capability::CapDelegateState";
|
|
1660
1666
|
root;
|
|
1661
1667
|
}
|
|
1662
1668
|
capability.CapDelegateState = CapDelegateState;
|
|
1663
1669
|
class CapState {
|
|
1664
|
-
static
|
|
1670
|
+
static TYPE_QNAME = "0x1::capability::CapState";
|
|
1665
1671
|
delegates;
|
|
1666
1672
|
}
|
|
1667
1673
|
capability.CapState = CapState;
|
|
1668
1674
|
class LinearCap {
|
|
1669
|
-
static
|
|
1675
|
+
static TYPE_QNAME = "0x1::capability::LinearCap";
|
|
1670
1676
|
root;
|
|
1671
1677
|
}
|
|
1672
1678
|
capability.LinearCap = LinearCap;
|
|
1673
|
-
function loadTypes(
|
|
1674
|
-
loadAllTypes(
|
|
1679
|
+
function loadTypes(_r) {
|
|
1680
|
+
loadAllTypes(_r);
|
|
1675
1681
|
}
|
|
1676
1682
|
capability.loadTypes = loadTypes;
|
|
1677
1683
|
capability.ABI = JSON.parse('{"address":"0x1","name":"capability","friends":[],"exposed_functions":[{"name":"acquire","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","&T0"],"return":["0x1::capability::Cap<T0>"]},{"name":"acquire_linear","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","&T0"],"return":["0x1::capability::LinearCap<T0>"]},{"name":"create","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&signer","&T0"],"return":[]},{"name":"delegate","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::capability::Cap<T0>","&T0","&signer"],"return":[]},{"name":"linear_root_addr","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::capability::LinearCap<T0>","&T0"],"return":["address"]},{"name":"revoke","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::capability::Cap<T0>","&T0","address"],"return":[]},{"name":"root_addr","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::capability::Cap<T0>","&T0"],"return":["address"]}],"structs":[{"name":"Cap","is_native":false,"abilities":["copy","drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"root","type":"address"}]},{"name":"CapDelegateState","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"root","type":"address"}]},{"name":"CapState","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"delegates","type":"vector<address>"}]},{"name":"LinearCap","is_native":false,"abilities":["drop"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"root","type":"address"}]}]}');
|
|
@@ -1679,12 +1685,12 @@ var capability;
|
|
|
1679
1685
|
var comparator;
|
|
1680
1686
|
(function (comparator) {
|
|
1681
1687
|
class Result {
|
|
1682
|
-
static
|
|
1688
|
+
static TYPE_QNAME = "0x1::comparator::Result";
|
|
1683
1689
|
inner;
|
|
1684
1690
|
}
|
|
1685
1691
|
comparator.Result = Result;
|
|
1686
|
-
function loadTypes(
|
|
1687
|
-
loadAllTypes(
|
|
1692
|
+
function loadTypes(_r) {
|
|
1693
|
+
loadAllTypes(_r);
|
|
1688
1694
|
}
|
|
1689
1695
|
comparator.loadTypes = loadTypes;
|
|
1690
1696
|
comparator.ABI = JSON.parse('{"address":"0x1","name":"comparator","friends":[],"exposed_functions":[{"name":"compare","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["&T0","&T0"],"return":["0x1::comparator::Result"]},{"name":"compare_u8_vector","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>","vector<u8>"],"return":["0x1::comparator::Result"]},{"name":"is_equal","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::comparator::Result"],"return":["bool"]},{"name":"is_greater_than","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::comparator::Result"],"return":["bool"]},{"name":"is_smaller_than","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::comparator::Result"],"return":["bool"]}],"structs":[{"name":"Result","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"inner","type":"u8"}]}]}');
|
|
@@ -1692,18 +1698,18 @@ var comparator;
|
|
|
1692
1698
|
var simple_map;
|
|
1693
1699
|
(function (simple_map) {
|
|
1694
1700
|
class Element {
|
|
1695
|
-
static
|
|
1701
|
+
static TYPE_QNAME = "0x1::simple_map::Element";
|
|
1696
1702
|
key;
|
|
1697
1703
|
value;
|
|
1698
1704
|
}
|
|
1699
1705
|
simple_map.Element = Element;
|
|
1700
1706
|
class SimpleMap {
|
|
1701
|
-
static
|
|
1707
|
+
static TYPE_QNAME = "0x1::simple_map::SimpleMap";
|
|
1702
1708
|
data;
|
|
1703
1709
|
}
|
|
1704
1710
|
simple_map.SimpleMap = SimpleMap;
|
|
1705
|
-
function loadTypes(
|
|
1706
|
-
loadAllTypes(
|
|
1711
|
+
function loadTypes(_r) {
|
|
1712
|
+
loadAllTypes(_r);
|
|
1707
1713
|
}
|
|
1708
1714
|
simple_map.loadTypes = loadTypes;
|
|
1709
1715
|
simple_map.ABI = JSON.parse('{"address":"0x1","name":"simple_map","friends":[],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&mut 0x1::simple_map::SimpleMap<T0, T1>","T0","T1"],"return":[]},{"name":"borrow","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&0x1::simple_map::SimpleMap<T0, T1>","&T0"],"return":["&T1"]},{"name":"borrow_mut","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&mut 0x1::simple_map::SimpleMap<T0, T1>","&T0"],"return":["&mut T1"]},{"name":"contains_key","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&0x1::simple_map::SimpleMap<T0, T1>","&T0"],"return":["bool"]},{"name":"create","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":[],"return":["0x1::simple_map::SimpleMap<T0, T1>"]},{"name":"destroy_empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["0x1::simple_map::SimpleMap<T0, T1>"],"return":[]},{"name":"length","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&0x1::simple_map::SimpleMap<T0, T1>"],"return":["u64"]},{"name":"remove","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["store"]},{"constraints":["store"]}],"params":["&mut 0x1::simple_map::SimpleMap<T0, T1>","&T0"],"return":["T0","T1"]}],"structs":[{"name":"Element","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]},{"constraints":[]}],"fields":[{"name":"key","type":"T0"},{"name":"value","type":"T1"}]},{"name":"SimpleMap","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[{"constraints":[]},{"constraints":[]}],"fields":[{"name":"data","type":"vector<0x1::simple_map::Element<T0, T1>>"}]}]}');
|
|
@@ -1711,20 +1717,20 @@ var simple_map;
|
|
|
1711
1717
|
var storage_gas;
|
|
1712
1718
|
(function (storage_gas) {
|
|
1713
1719
|
class GasCurve {
|
|
1714
|
-
static
|
|
1720
|
+
static TYPE_QNAME = "0x1::storage_gas::GasCurve";
|
|
1715
1721
|
min_gas;
|
|
1716
1722
|
max_gas;
|
|
1717
1723
|
points;
|
|
1718
1724
|
}
|
|
1719
1725
|
storage_gas.GasCurve = GasCurve;
|
|
1720
1726
|
class Point {
|
|
1721
|
-
static
|
|
1727
|
+
static TYPE_QNAME = "0x1::storage_gas::Point";
|
|
1722
1728
|
x;
|
|
1723
1729
|
y;
|
|
1724
1730
|
}
|
|
1725
1731
|
storage_gas.Point = Point;
|
|
1726
1732
|
class StorageGas {
|
|
1727
|
-
static
|
|
1733
|
+
static TYPE_QNAME = "0x1::storage_gas::StorageGas";
|
|
1728
1734
|
per_item_read;
|
|
1729
1735
|
per_item_create;
|
|
1730
1736
|
per_item_write;
|
|
@@ -1734,21 +1740,21 @@ var storage_gas;
|
|
|
1734
1740
|
}
|
|
1735
1741
|
storage_gas.StorageGas = StorageGas;
|
|
1736
1742
|
class StorageGasConfig {
|
|
1737
|
-
static
|
|
1743
|
+
static TYPE_QNAME = "0x1::storage_gas::StorageGasConfig";
|
|
1738
1744
|
item_config;
|
|
1739
1745
|
byte_config;
|
|
1740
1746
|
}
|
|
1741
1747
|
storage_gas.StorageGasConfig = StorageGasConfig;
|
|
1742
1748
|
class UsageGasConfig {
|
|
1743
|
-
static
|
|
1749
|
+
static TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
|
|
1744
1750
|
target_usage;
|
|
1745
1751
|
read_curve;
|
|
1746
1752
|
create_curve;
|
|
1747
1753
|
write_curve;
|
|
1748
1754
|
}
|
|
1749
1755
|
storage_gas.UsageGasConfig = UsageGasConfig;
|
|
1750
|
-
function loadTypes(
|
|
1751
|
-
loadAllTypes(
|
|
1756
|
+
function loadTypes(_r) {
|
|
1757
|
+
loadAllTypes(_r);
|
|
1752
1758
|
}
|
|
1753
1759
|
storage_gas.loadTypes = loadTypes;
|
|
1754
1760
|
storage_gas.ABI = JSON.parse('{"address":"0x1","name":"storage_gas","friends":["0x1::gas_schedule","0x1::genesis","0x1::reconfiguration"],"exposed_functions":[{"name":"base_8192_exponential_curve","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["0x1::storage_gas::GasCurve"]},{"name":"initialize","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"new_gas_curve","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64","vector<0x1::storage_gas::Point>"],"return":["0x1::storage_gas::GasCurve"]},{"name":"new_point","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["0x1::storage_gas::Point"]},{"name":"new_storage_gas_config","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::storage_gas::UsageGasConfig","0x1::storage_gas::UsageGasConfig"],"return":["0x1::storage_gas::StorageGasConfig"]},{"name":"new_usage_gas_config","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","0x1::storage_gas::GasCurve","0x1::storage_gas::GasCurve","0x1::storage_gas::GasCurve"],"return":["0x1::storage_gas::UsageGasConfig"]},{"name":"on_reconfig","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":[]},{"name":"set_config","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::storage_gas::StorageGasConfig"],"return":[]}],"structs":[{"name":"GasCurve","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"min_gas","type":"u64"},{"name":"max_gas","type":"u64"},{"name":"points","type":"vector<0x1::storage_gas::Point>"}]},{"name":"Point","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"x","type":"u64"},{"name":"y","type":"u64"}]},{"name":"StorageGas","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"per_item_read","type":"u64"},{"name":"per_item_create","type":"u64"},{"name":"per_item_write","type":"u64"},{"name":"per_byte_read","type":"u64"},{"name":"per_byte_create","type":"u64"},{"name":"per_byte_write","type":"u64"}]},{"name":"StorageGasConfig","is_native":false,"abilities":["copy","drop","key"],"generic_type_params":[],"fields":[{"name":"item_config","type":"0x1::storage_gas::UsageGasConfig"},{"name":"byte_config","type":"0x1::storage_gas::UsageGasConfig"}]},{"name":"UsageGasConfig","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"target_usage","type":"u64"},{"name":"read_curve","type":"0x1::storage_gas::GasCurve"},{"name":"create_curve","type":"0x1::storage_gas::GasCurve"},{"name":"write_curve","type":"0x1::storage_gas::GasCurve"}]}]}');
|
|
@@ -1756,12 +1762,12 @@ var storage_gas;
|
|
|
1756
1762
|
var chain_status;
|
|
1757
1763
|
(function (chain_status) {
|
|
1758
1764
|
class GenesisEndMarker {
|
|
1759
|
-
static
|
|
1765
|
+
static TYPE_QNAME = "0x1::chain_status::GenesisEndMarker";
|
|
1760
1766
|
dummy_field;
|
|
1761
1767
|
}
|
|
1762
1768
|
chain_status.GenesisEndMarker = GenesisEndMarker;
|
|
1763
|
-
function loadTypes(
|
|
1764
|
-
loadAllTypes(
|
|
1769
|
+
function loadTypes(_r) {
|
|
1770
|
+
loadAllTypes(_r);
|
|
1765
1771
|
}
|
|
1766
1772
|
chain_status.loadTypes = loadTypes;
|
|
1767
1773
|
chain_status.ABI = JSON.parse('{"address":"0x1","name":"chain_status","friends":["0x1::genesis"],"exposed_functions":[{"name":"assert_genesis","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":[]},{"name":"assert_operating","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":[]},{"name":"is_genesis","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["bool"]},{"name":"is_operating","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["bool"]},{"name":"set_genesis_end","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]}],"structs":[{"name":"GenesisEndMarker","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"dummy_field","type":"bool"}]}]}');
|
|
@@ -1769,13 +1775,13 @@ var chain_status;
|
|
|
1769
1775
|
var copyable_any;
|
|
1770
1776
|
(function (copyable_any) {
|
|
1771
1777
|
class Any {
|
|
1772
|
-
static
|
|
1778
|
+
static TYPE_QNAME = "0x1::copyable_any::Any";
|
|
1773
1779
|
type_name;
|
|
1774
1780
|
data;
|
|
1775
1781
|
}
|
|
1776
1782
|
copyable_any.Any = Any;
|
|
1777
|
-
function loadTypes(
|
|
1778
|
-
loadAllTypes(
|
|
1783
|
+
function loadTypes(_r) {
|
|
1784
|
+
loadAllTypes(_r);
|
|
1779
1785
|
}
|
|
1780
1786
|
copyable_any.loadTypes = loadTypes;
|
|
1781
1787
|
copyable_any.ABI = JSON.parse('{"address":"0x1","name":"copyable_any","friends":[],"exposed_functions":[{"name":"pack","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop","store"]}],"params":["T0"],"return":["0x1::copyable_any::Any"]},{"name":"type_name","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::copyable_any::Any"],"return":["&0x1::string::String"]},{"name":"unpack","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":[]}],"params":["0x1::copyable_any::Any"],"return":["T0"]}],"structs":[{"name":"Any","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"type_name","type":"0x1::string::String"},{"name":"data","type":"vector<u8>"}]}]}');
|
|
@@ -1783,24 +1789,24 @@ var copyable_any;
|
|
|
1783
1789
|
var gas_schedule;
|
|
1784
1790
|
(function (gas_schedule) {
|
|
1785
1791
|
class GasEntry {
|
|
1786
|
-
static
|
|
1792
|
+
static TYPE_QNAME = "0x1::gas_schedule::GasEntry";
|
|
1787
1793
|
key;
|
|
1788
1794
|
val;
|
|
1789
1795
|
}
|
|
1790
1796
|
gas_schedule.GasEntry = GasEntry;
|
|
1791
1797
|
class GasSchedule {
|
|
1792
|
-
static
|
|
1798
|
+
static TYPE_QNAME = "0x1::gas_schedule::GasSchedule";
|
|
1793
1799
|
entries;
|
|
1794
1800
|
}
|
|
1795
1801
|
gas_schedule.GasSchedule = GasSchedule;
|
|
1796
1802
|
class GasScheduleV2 {
|
|
1797
|
-
static
|
|
1803
|
+
static TYPE_QNAME = "0x1::gas_schedule::GasScheduleV2";
|
|
1798
1804
|
feature_version;
|
|
1799
1805
|
entries;
|
|
1800
1806
|
}
|
|
1801
1807
|
gas_schedule.GasScheduleV2 = GasScheduleV2;
|
|
1802
|
-
function loadTypes(
|
|
1803
|
-
loadAllTypes(
|
|
1808
|
+
function loadTypes(_r) {
|
|
1809
|
+
loadAllTypes(_r);
|
|
1804
1810
|
}
|
|
1805
1811
|
gas_schedule.loadTypes = loadTypes;
|
|
1806
1812
|
gas_schedule.ABI = JSON.parse('{"address":"0x1","name":"gas_schedule","friends":["0x1::genesis"],"exposed_functions":[{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":[]},{"name":"set_gas_schedule","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":[]},{"name":"set_storage_gas_config","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::storage_gas::StorageGasConfig"],"return":[]}],"structs":[{"name":"GasEntry","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"key","type":"0x1::string::String"},{"name":"val","type":"u64"}]},{"name":"GasSchedule","is_native":false,"abilities":["copy","drop","key"],"generic_type_params":[],"fields":[{"name":"entries","type":"vector<0x1::gas_schedule::GasEntry>"}]},{"name":"GasScheduleV2","is_native":false,"abilities":["copy","drop","key"],"generic_type_params":[],"fields":[{"name":"feature_version","type":"u64"},{"name":"entries","type":"vector<0x1::gas_schedule::GasEntry>"}]}]}');
|
|
@@ -1851,14 +1857,14 @@ class managed_coin extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1851
1857
|
exports.managed_coin = managed_coin;
|
|
1852
1858
|
(function (managed_coin) {
|
|
1853
1859
|
class Capabilities {
|
|
1854
|
-
static
|
|
1860
|
+
static TYPE_QNAME = "0x1::managed_coin::Capabilities";
|
|
1855
1861
|
burn_cap;
|
|
1856
1862
|
freeze_cap;
|
|
1857
1863
|
mint_cap;
|
|
1858
1864
|
}
|
|
1859
1865
|
managed_coin.Capabilities = Capabilities;
|
|
1860
|
-
function loadTypes(
|
|
1861
|
-
loadAllTypes(
|
|
1866
|
+
function loadTypes(_r) {
|
|
1867
|
+
loadAllTypes(_r);
|
|
1862
1868
|
}
|
|
1863
1869
|
managed_coin.loadTypes = loadTypes;
|
|
1864
1870
|
managed_coin.ABI = JSON.parse('{"address":"0x1","name":"managed_coin","friends":[],"exposed_functions":[{"name":"burn","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","u64"],"return":[]},{"name":"initialize","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","vector<u8>","vector<u8>","u8","bool"],"return":[]},{"name":"mint","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer","address","u64"],"return":[]},{"name":"register","visibility":"public","is_entry":true,"generic_type_params":[{"constraints":[]}],"params":["&signer"],"return":[]}],"structs":[{"name":"Capabilities","is_native":false,"abilities":["key"],"generic_type_params":[{"constraints":[]}],"fields":[{"name":"burn_cap","type":"0x1::coin::BurnCapability<T0>"},{"name":"freeze_cap","type":"0x1::coin::FreezeCapability<T0>"},{"name":"mint_cap","type":"0x1::coin::MintCapability<T0>"}]}]}');
|
|
@@ -1866,22 +1872,22 @@ exports.managed_coin = managed_coin;
|
|
|
1866
1872
|
var ristretto255;
|
|
1867
1873
|
(function (ristretto255) {
|
|
1868
1874
|
class CompressedRistretto {
|
|
1869
|
-
static
|
|
1875
|
+
static TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
|
|
1870
1876
|
data;
|
|
1871
1877
|
}
|
|
1872
1878
|
ristretto255.CompressedRistretto = CompressedRistretto;
|
|
1873
1879
|
class RistrettoPoint {
|
|
1874
|
-
static
|
|
1880
|
+
static TYPE_QNAME = "0x1::ristretto255::RistrettoPoint";
|
|
1875
1881
|
handle;
|
|
1876
1882
|
}
|
|
1877
1883
|
ristretto255.RistrettoPoint = RistrettoPoint;
|
|
1878
1884
|
class Scalar {
|
|
1879
|
-
static
|
|
1885
|
+
static TYPE_QNAME = "0x1::ristretto255::Scalar";
|
|
1880
1886
|
data;
|
|
1881
1887
|
}
|
|
1882
1888
|
ristretto255.Scalar = Scalar;
|
|
1883
|
-
function loadTypes(
|
|
1884
|
-
loadAllTypes(
|
|
1889
|
+
function loadTypes(_r) {
|
|
1890
|
+
loadAllTypes(_r);
|
|
1885
1891
|
}
|
|
1886
1892
|
ristretto255.loadTypes = loadTypes;
|
|
1887
1893
|
ristretto255.ABI = JSON.parse('{"address":"0x1","name":"ristretto255","friends":[],"exposed_functions":[{"name":"basepoint","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"basepoint_compressed","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::CompressedRistretto"]},{"name":"basepoint_double_mul","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar","&0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"basepoint_mul","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"multi_scalar_mul","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&vector<0x1::ristretto255::RistrettoPoint>","&vector<0x1::ristretto255::Scalar>"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"new_compressed_point_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::CompressedRistretto>"]},{"name":"new_point_from_64_uniform_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::RistrettoPoint>"]},{"name":"new_point_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::RistrettoPoint>"]},{"name":"new_point_from_sha512","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"new_scalar_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::Scalar>"]},{"name":"new_scalar_from_sha512","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::ristretto255::Scalar"]},{"name":"new_scalar_from_u128","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u128"],"return":["0x1::ristretto255::Scalar"]},{"name":"new_scalar_from_u64","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["0x1::ristretto255::Scalar"]},{"name":"new_scalar_from_u8","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u8"],"return":["0x1::ristretto255::Scalar"]},{"name":"new_scalar_reduced_from_32_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::Scalar>"]},{"name":"new_scalar_uniform_from_64_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::ristretto255::Scalar>"]},{"name":"point_add","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::RistrettoPoint"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_add_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::RistrettoPoint"],"return":["&mut 0x1::ristretto255::RistrettoPoint"]},{"name":"point_compress","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint"],"return":["0x1::ristretto255::CompressedRistretto"]},{"name":"point_decompress","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::CompressedRistretto"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_equals","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::RistrettoPoint"],"return":["bool"]},{"name":"point_identity","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_identity_compressed","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::CompressedRistretto"]},{"name":"point_mul","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_mul_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::Scalar"],"return":["&mut 0x1::ristretto255::RistrettoPoint"]},{"name":"point_neg","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_neg_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::RistrettoPoint"],"return":["&mut 0x1::ristretto255::RistrettoPoint"]},{"name":"point_sub","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::RistrettoPoint"],"return":["0x1::ristretto255::RistrettoPoint"]},{"name":"point_sub_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::RistrettoPoint","&0x1::ristretto255::RistrettoPoint"],"return":["&mut 0x1::ristretto255::RistrettoPoint"]},{"name":"point_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::CompressedRistretto"],"return":["vector<u8>"]},{"name":"scalar_add","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::Scalar"]},{"name":"scalar_add_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["&mut 0x1::ristretto255::Scalar"]},{"name":"scalar_equals","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["bool"]},{"name":"scalar_invert","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["0x1::option::Option<0x1::ristretto255::Scalar>"]},{"name":"scalar_is_one","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["bool"]},{"name":"scalar_is_zero","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["bool"]},{"name":"scalar_mul","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::Scalar"]},{"name":"scalar_mul_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["&mut 0x1::ristretto255::Scalar"]},{"name":"scalar_neg","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::Scalar"]},{"name":"scalar_neg_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::Scalar"],"return":["&mut 0x1::ristretto255::Scalar"]},{"name":"scalar_one","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::Scalar"]},{"name":"scalar_sub","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["0x1::ristretto255::Scalar"]},{"name":"scalar_sub_assign","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::ristretto255::Scalar","&0x1::ristretto255::Scalar"],"return":["&mut 0x1::ristretto255::Scalar"]},{"name":"scalar_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::ristretto255::Scalar"],"return":["vector<u8>"]},{"name":"scalar_zero","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::ristretto255::Scalar"]}],"structs":[{"name":"CompressedRistretto","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"data","type":"vector<u8>"}]},{"name":"RistrettoPoint","is_native":false,"abilities":["drop"],"generic_type_params":[],"fields":[{"name":"handle","type":"u64"}]},{"name":"Scalar","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"data","type":"vector<u8>"}]}]}');
|
|
@@ -1917,8 +1923,8 @@ class aptos_account extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
1917
1923
|
}
|
|
1918
1924
|
exports.aptos_account = aptos_account;
|
|
1919
1925
|
(function (aptos_account) {
|
|
1920
|
-
function loadTypes(
|
|
1921
|
-
loadAllTypes(
|
|
1926
|
+
function loadTypes(_r) {
|
|
1927
|
+
loadAllTypes(_r);
|
|
1922
1928
|
}
|
|
1923
1929
|
aptos_account.loadTypes = loadTypes;
|
|
1924
1930
|
aptos_account.ABI = JSON.parse('{"address":"0x1","name":"aptos_account","friends":["0x1::genesis","0x1::resource_account"],"exposed_functions":[{"name":"assert_account_exists","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":[]},{"name":"assert_account_is_registered_for_apt","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":[]},{"name":"create_account","visibility":"public","is_entry":true,"generic_type_params":[],"params":["address"],"return":[]},{"name":"transfer","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","u64"],"return":[]}],"structs":[]}');
|
|
@@ -1926,12 +1932,12 @@ exports.aptos_account = aptos_account;
|
|
|
1926
1932
|
var fixed_point32;
|
|
1927
1933
|
(function (fixed_point32) {
|
|
1928
1934
|
class FixedPoint32 {
|
|
1929
|
-
static
|
|
1935
|
+
static TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
|
|
1930
1936
|
value;
|
|
1931
1937
|
}
|
|
1932
1938
|
fixed_point32.FixedPoint32 = FixedPoint32;
|
|
1933
|
-
function loadTypes(
|
|
1934
|
-
loadAllTypes(
|
|
1939
|
+
function loadTypes(_r) {
|
|
1940
|
+
loadAllTypes(_r);
|
|
1935
1941
|
}
|
|
1936
1942
|
fixed_point32.loadTypes = loadTypes;
|
|
1937
1943
|
fixed_point32.ABI = JSON.parse('{"address":"0x1","name":"fixed_point32","friends":[],"exposed_functions":[{"name":"create_from_rational","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","u64"],"return":["0x1::fixed_point32::FixedPoint32"]},{"name":"create_from_raw_value","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":["0x1::fixed_point32::FixedPoint32"]},{"name":"divide_u64","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","0x1::fixed_point32::FixedPoint32"],"return":["u64"]},{"name":"get_raw_value","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::fixed_point32::FixedPoint32"],"return":["u64"]},{"name":"is_zero","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::fixed_point32::FixedPoint32"],"return":["bool"]},{"name":"multiply_u64","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","0x1::fixed_point32::FixedPoint32"],"return":["u64"]}],"structs":[{"name":"FixedPoint32","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"value","type":"u64"}]}]}');
|
|
@@ -1939,22 +1945,22 @@ var fixed_point32;
|
|
|
1939
1945
|
var multi_ed25519;
|
|
1940
1946
|
(function (multi_ed25519) {
|
|
1941
1947
|
class Signature {
|
|
1942
|
-
static
|
|
1948
|
+
static TYPE_QNAME = "0x1::multi_ed25519::Signature";
|
|
1943
1949
|
bytes;
|
|
1944
1950
|
}
|
|
1945
1951
|
multi_ed25519.Signature = Signature;
|
|
1946
1952
|
class UnvalidatedPublicKey {
|
|
1947
|
-
static
|
|
1953
|
+
static TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
|
|
1948
1954
|
bytes;
|
|
1949
1955
|
}
|
|
1950
1956
|
multi_ed25519.UnvalidatedPublicKey = UnvalidatedPublicKey;
|
|
1951
1957
|
class ValidatedPublicKey {
|
|
1952
|
-
static
|
|
1958
|
+
static TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
|
|
1953
1959
|
bytes;
|
|
1954
1960
|
}
|
|
1955
1961
|
multi_ed25519.ValidatedPublicKey = ValidatedPublicKey;
|
|
1956
|
-
function loadTypes(
|
|
1957
|
-
loadAllTypes(
|
|
1962
|
+
function loadTypes(_r) {
|
|
1963
|
+
loadAllTypes(_r);
|
|
1958
1964
|
}
|
|
1959
1965
|
multi_ed25519.loadTypes = loadTypes;
|
|
1960
1966
|
multi_ed25519.ABI = JSON.parse('{"address":"0x1","name":"multi_ed25519","friends":[],"exposed_functions":[{"name":"new_signature_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::multi_ed25519::Signature"]},{"name":"new_unvalidated_public_key_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::multi_ed25519::UnvalidatedPublicKey"]},{"name":"new_validated_public_key_from_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["vector<u8>"],"return":["0x1::option::Option<0x1::multi_ed25519::ValidatedPublicKey>"]},{"name":"public_key_into_unvalidated","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::multi_ed25519::ValidatedPublicKey"],"return":["0x1::multi_ed25519::UnvalidatedPublicKey"]},{"name":"public_key_to_unvalidated","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::ValidatedPublicKey"],"return":["0x1::multi_ed25519::UnvalidatedPublicKey"]},{"name":"public_key_validate","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::UnvalidatedPublicKey"],"return":["0x1::option::Option<0x1::multi_ed25519::ValidatedPublicKey>"]},{"name":"signature_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::Signature"],"return":["vector<u8>"]},{"name":"signature_verify_strict","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::Signature","&0x1::multi_ed25519::UnvalidatedPublicKey","vector<u8>"],"return":["bool"]},{"name":"signature_verify_strict_t","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["drop"]}],"params":["&0x1::multi_ed25519::Signature","&0x1::multi_ed25519::UnvalidatedPublicKey","T0"],"return":["bool"]},{"name":"unvalidated_public_key_to_authentication_key","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::UnvalidatedPublicKey"],"return":["vector<u8>"]},{"name":"unvalidated_public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::UnvalidatedPublicKey"],"return":["vector<u8>"]},{"name":"validated_public_key_to_authentication_key","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::ValidatedPublicKey"],"return":["vector<u8>"]},{"name":"validated_public_key_to_bytes","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::multi_ed25519::ValidatedPublicKey"],"return":["vector<u8>"]}],"structs":[{"name":"Signature","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"UnvalidatedPublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]},{"name":"ValidatedPublicKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"bytes","type":"vector<u8>"}]}]}');
|
|
@@ -2032,8 +2038,8 @@ class staking_proxy extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2032
2038
|
}
|
|
2033
2039
|
exports.staking_proxy = staking_proxy;
|
|
2034
2040
|
(function (staking_proxy) {
|
|
2035
|
-
function loadTypes(
|
|
2036
|
-
loadAllTypes(
|
|
2041
|
+
function loadTypes(_r) {
|
|
2042
|
+
loadAllTypes(_r);
|
|
2037
2043
|
}
|
|
2038
2044
|
staking_proxy.loadTypes = loadTypes;
|
|
2039
2045
|
staking_proxy.ABI = JSON.parse('{"address":"0x1","name":"staking_proxy","friends":[],"exposed_functions":[{"name":"set_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_stake_pool_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"set_stake_pool_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"set_staking_contract_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_staking_contract_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_vesting_contract_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_vesting_contract_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"set_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]}],"structs":[]}');
|
|
@@ -2041,24 +2047,24 @@ exports.staking_proxy = staking_proxy;
|
|
|
2041
2047
|
var state_storage;
|
|
2042
2048
|
(function (state_storage) {
|
|
2043
2049
|
class GasParameter {
|
|
2044
|
-
static
|
|
2050
|
+
static TYPE_QNAME = "0x1::state_storage::GasParameter";
|
|
2045
2051
|
usage;
|
|
2046
2052
|
}
|
|
2047
2053
|
state_storage.GasParameter = GasParameter;
|
|
2048
2054
|
class StateStorageUsage {
|
|
2049
|
-
static
|
|
2055
|
+
static TYPE_QNAME = "0x1::state_storage::StateStorageUsage";
|
|
2050
2056
|
epoch;
|
|
2051
2057
|
usage;
|
|
2052
2058
|
}
|
|
2053
2059
|
state_storage.StateStorageUsage = StateStorageUsage;
|
|
2054
2060
|
class Usage {
|
|
2055
|
-
static
|
|
2061
|
+
static TYPE_QNAME = "0x1::state_storage::Usage";
|
|
2056
2062
|
items;
|
|
2057
2063
|
bytes;
|
|
2058
2064
|
}
|
|
2059
2065
|
state_storage.Usage = Usage;
|
|
2060
|
-
function loadTypes(
|
|
2061
|
-
loadAllTypes(
|
|
2066
|
+
function loadTypes(_r) {
|
|
2067
|
+
loadAllTypes(_r);
|
|
2062
2068
|
}
|
|
2063
2069
|
state_storage.loadTypes = loadTypes;
|
|
2064
2070
|
state_storage.ABI = JSON.parse('{"address":"0x1","name":"state_storage","friends":["0x1::block","0x1::genesis","0x1::reconfiguration","0x1::storage_gas"],"exposed_functions":[{"name":"current_items_and_bytes","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":["u64","u64"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"on_new_block","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["u64"],"return":[]},{"name":"on_reconfig","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":[]}],"structs":[{"name":"GasParameter","is_native":false,"abilities":["store","key"],"generic_type_params":[],"fields":[{"name":"usage","type":"0x1::state_storage::Usage"}]},{"name":"StateStorageUsage","is_native":false,"abilities":["store","key"],"generic_type_params":[],"fields":[{"name":"epoch","type":"u64"},{"name":"usage","type":"0x1::state_storage::Usage"}]},{"name":"Usage","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"items","type":"u64"},{"name":"bytes","type":"u64"}]}]}');
|
|
@@ -2066,7 +2072,7 @@ var state_storage;
|
|
|
2066
2072
|
var staking_config;
|
|
2067
2073
|
(function (staking_config) {
|
|
2068
2074
|
class StakingConfig {
|
|
2069
|
-
static
|
|
2075
|
+
static TYPE_QNAME = "0x1::staking_config::StakingConfig";
|
|
2070
2076
|
minimum_stake;
|
|
2071
2077
|
maximum_stake;
|
|
2072
2078
|
recurring_lockup_duration_secs;
|
|
@@ -2076,8 +2082,8 @@ var staking_config;
|
|
|
2076
2082
|
voting_power_increase_limit;
|
|
2077
2083
|
}
|
|
2078
2084
|
staking_config.StakingConfig = StakingConfig;
|
|
2079
|
-
function loadTypes(
|
|
2080
|
-
loadAllTypes(
|
|
2085
|
+
function loadTypes(_r) {
|
|
2086
|
+
loadAllTypes(_r);
|
|
2081
2087
|
}
|
|
2082
2088
|
staking_config.loadTypes = loadTypes;
|
|
2083
2089
|
staking_config.ABI = JSON.parse('{"address":"0x1","name":"staking_config","friends":["0x1::genesis"],"exposed_functions":[{"name":"get","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::staking_config::StakingConfig"]},{"name":"get_allow_validator_set_change","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::staking_config::StakingConfig"],"return":["bool"]},{"name":"get_recurring_lockup_duration","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::staking_config::StakingConfig"],"return":["u64"]},{"name":"get_required_stake","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::staking_config::StakingConfig"],"return":["u64","u64"]},{"name":"get_reward_rate","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::staking_config::StakingConfig"],"return":["u64","u64"]},{"name":"get_voting_power_increase_limit","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::staking_config::StakingConfig"],"return":["u64"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","u64","u64","u64","bool","u64","u64","u64"],"return":[]},{"name":"update_recurring_lockup_duration_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u64"],"return":[]},{"name":"update_required_stake","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u64","u64"],"return":[]},{"name":"update_rewards_rate","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u64","u64"],"return":[]},{"name":"update_voting_power_increase_limit","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u64"],"return":[]}],"structs":[{"name":"StakingConfig","is_native":false,"abilities":["copy","drop","key"],"generic_type_params":[],"fields":[{"name":"minimum_stake","type":"u64"},{"name":"maximum_stake","type":"u64"},{"name":"recurring_lockup_duration_secs","type":"u64"},{"name":"allow_validator_set_change","type":"bool"},{"name":"rewards_rate","type":"u64"},{"name":"rewards_rate_denominator","type":"u64"},{"name":"voting_power_increase_limit","type":"u64"}]}]}');
|
|
@@ -2109,24 +2115,24 @@ class reconfiguration extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2109
2115
|
exports.reconfiguration = reconfiguration;
|
|
2110
2116
|
(function (reconfiguration) {
|
|
2111
2117
|
class Configuration {
|
|
2112
|
-
static
|
|
2118
|
+
static TYPE_QNAME = "0x1::reconfiguration::Configuration";
|
|
2113
2119
|
epoch;
|
|
2114
2120
|
last_reconfiguration_time;
|
|
2115
2121
|
events;
|
|
2116
2122
|
}
|
|
2117
2123
|
reconfiguration.Configuration = Configuration;
|
|
2118
2124
|
class DisableReconfiguration {
|
|
2119
|
-
static
|
|
2125
|
+
static TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
|
|
2120
2126
|
dummy_field;
|
|
2121
2127
|
}
|
|
2122
2128
|
reconfiguration.DisableReconfiguration = DisableReconfiguration;
|
|
2123
2129
|
class NewEpochEvent {
|
|
2124
|
-
static
|
|
2130
|
+
static TYPE_QNAME = "0x1::reconfiguration::NewEpochEvent";
|
|
2125
2131
|
epoch;
|
|
2126
2132
|
}
|
|
2127
2133
|
reconfiguration.NewEpochEvent = NewEpochEvent;
|
|
2128
|
-
function loadTypes(
|
|
2129
|
-
loadAllTypes(
|
|
2134
|
+
function loadTypes(_r) {
|
|
2135
|
+
loadAllTypes(_r);
|
|
2130
2136
|
}
|
|
2131
2137
|
reconfiguration.loadTypes = loadTypes;
|
|
2132
2138
|
reconfiguration.ABI = JSON.parse('{"address":"0x1","name":"reconfiguration","friends":["0x1::aptos_governance","0x1::block","0x1::consensus_config","0x1::features","0x1::gas_schedule","0x1::genesis","0x1::version"],"exposed_functions":[{"name":"current_epoch","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"last_reconfiguration_time","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"reconfigure","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":[]}],"structs":[{"name":"Configuration","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"epoch","type":"u64"},{"name":"last_reconfiguration_time","type":"u64"},{"name":"events","type":"0x1::event::EventHandle<0x1::reconfiguration::NewEpochEvent>"}]},{"name":"DisableReconfiguration","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"dummy_field","type":"bool"}]},{"name":"NewEpochEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"epoch","type":"u64"}]}]}');
|
|
@@ -2134,12 +2140,12 @@ exports.reconfiguration = reconfiguration;
|
|
|
2134
2140
|
var transaction_fee;
|
|
2135
2141
|
(function (transaction_fee) {
|
|
2136
2142
|
class AptosCoinCapabilities {
|
|
2137
|
-
static
|
|
2143
|
+
static TYPE_QNAME = "0x1::transaction_fee::AptosCoinCapabilities";
|
|
2138
2144
|
burn_cap;
|
|
2139
2145
|
}
|
|
2140
2146
|
transaction_fee.AptosCoinCapabilities = AptosCoinCapabilities;
|
|
2141
|
-
function loadTypes(
|
|
2142
|
-
loadAllTypes(
|
|
2147
|
+
function loadTypes(_r) {
|
|
2148
|
+
loadAllTypes(_r);
|
|
2143
2149
|
}
|
|
2144
2150
|
transaction_fee.loadTypes = loadTypes;
|
|
2145
2151
|
transaction_fee.ABI = JSON.parse('{"address":"0x1","name":"transaction_fee","friends":["0x1::genesis","0x1::transaction_validation"],"exposed_functions":[{"name":"burn_fee","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["address","u64"],"return":[]},{"name":"store_aptos_coin_burn_cap","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","0x1::coin::BurnCapability<0x1::aptos_coin::AptosCoin>"],"return":[]}],"structs":[{"name":"AptosCoinCapabilities","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"burn_cap","type":"0x1::coin::BurnCapability<0x1::aptos_coin::AptosCoin>"}]}]}');
|
|
@@ -2204,12 +2210,12 @@ class aptos_governance extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2204
2210
|
exports.aptos_governance = aptos_governance;
|
|
2205
2211
|
(function (aptos_governance) {
|
|
2206
2212
|
class ApprovedExecutionHashes {
|
|
2207
|
-
static
|
|
2213
|
+
static TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
2208
2214
|
hashes;
|
|
2209
2215
|
}
|
|
2210
2216
|
aptos_governance.ApprovedExecutionHashes = ApprovedExecutionHashes;
|
|
2211
2217
|
class CreateProposalEvent {
|
|
2212
|
-
static
|
|
2218
|
+
static TYPE_QNAME = "0x1::aptos_governance::CreateProposalEvent";
|
|
2213
2219
|
proposer;
|
|
2214
2220
|
stake_pool;
|
|
2215
2221
|
proposal_id;
|
|
@@ -2218,39 +2224,39 @@ exports.aptos_governance = aptos_governance;
|
|
|
2218
2224
|
}
|
|
2219
2225
|
aptos_governance.CreateProposalEvent = CreateProposalEvent;
|
|
2220
2226
|
class GovernanceConfig {
|
|
2221
|
-
static
|
|
2227
|
+
static TYPE_QNAME = "0x1::aptos_governance::GovernanceConfig";
|
|
2222
2228
|
min_voting_threshold;
|
|
2223
2229
|
required_proposer_stake;
|
|
2224
2230
|
voting_duration_secs;
|
|
2225
2231
|
}
|
|
2226
2232
|
aptos_governance.GovernanceConfig = GovernanceConfig;
|
|
2227
2233
|
class GovernanceEvents {
|
|
2228
|
-
static
|
|
2234
|
+
static TYPE_QNAME = "0x1::aptos_governance::GovernanceEvents";
|
|
2229
2235
|
create_proposal_events;
|
|
2230
2236
|
update_config_events;
|
|
2231
2237
|
vote_events;
|
|
2232
2238
|
}
|
|
2233
2239
|
aptos_governance.GovernanceEvents = GovernanceEvents;
|
|
2234
2240
|
class GovernanceResponsbility {
|
|
2235
|
-
static
|
|
2241
|
+
static TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
|
|
2236
2242
|
signer_caps;
|
|
2237
2243
|
}
|
|
2238
2244
|
aptos_governance.GovernanceResponsbility = GovernanceResponsbility;
|
|
2239
2245
|
class RecordKey {
|
|
2240
|
-
static
|
|
2246
|
+
static TYPE_QNAME = "0x1::aptos_governance::RecordKey";
|
|
2241
2247
|
stake_pool;
|
|
2242
2248
|
proposal_id;
|
|
2243
2249
|
}
|
|
2244
2250
|
aptos_governance.RecordKey = RecordKey;
|
|
2245
2251
|
class UpdateConfigEvent {
|
|
2246
|
-
static
|
|
2252
|
+
static TYPE_QNAME = "0x1::aptos_governance::UpdateConfigEvent";
|
|
2247
2253
|
min_voting_threshold;
|
|
2248
2254
|
required_proposer_stake;
|
|
2249
2255
|
voting_duration_secs;
|
|
2250
2256
|
}
|
|
2251
2257
|
aptos_governance.UpdateConfigEvent = UpdateConfigEvent;
|
|
2252
2258
|
class VoteEvent {
|
|
2253
|
-
static
|
|
2259
|
+
static TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
|
2254
2260
|
proposal_id;
|
|
2255
2261
|
voter;
|
|
2256
2262
|
stake_pool;
|
|
@@ -2259,12 +2265,12 @@ exports.aptos_governance = aptos_governance;
|
|
|
2259
2265
|
}
|
|
2260
2266
|
aptos_governance.VoteEvent = VoteEvent;
|
|
2261
2267
|
class VotingRecords {
|
|
2262
|
-
static
|
|
2268
|
+
static TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
|
|
2263
2269
|
votes;
|
|
2264
2270
|
}
|
|
2265
2271
|
aptos_governance.VotingRecords = VotingRecords;
|
|
2266
|
-
function loadTypes(
|
|
2267
|
-
loadAllTypes(
|
|
2272
|
+
function loadTypes(_r) {
|
|
2273
|
+
loadAllTypes(_r);
|
|
2268
2274
|
}
|
|
2269
2275
|
aptos_governance.loadTypes = loadTypes;
|
|
2270
2276
|
aptos_governance.ABI = JSON.parse('{"address":"0x1","name":"aptos_governance","friends":[],"exposed_functions":[{"name":"add_approved_script_hash","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":[]},{"name":"add_approved_script_hash_script","visibility":"public","is_entry":true,"generic_type_params":[],"params":["u64"],"return":[]},{"name":"create_proposal","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","vector<u8>","vector<u8>","vector<u8>"],"return":[]},{"name":"get_min_voting_threshold","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u128"]},{"name":"get_required_proposer_stake","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"get_signer_testnet_only","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":["signer"]},{"name":"get_voting_duration_secs","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["u64"]},{"name":"reconfigure","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"remove_approved_hash","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64"],"return":[]},{"name":"resolve","visibility":"public","is_entry":false,"generic_type_params":[],"params":["u64","address"],"return":["signer"]},{"name":"store_signer_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address","0x1::account::SignerCapability"],"return":[]},{"name":"update_governance_config","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u128","u64","u64"],"return":[]},{"name":"vote","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","u64","bool"],"return":[]}],"structs":[{"name":"ApprovedExecutionHashes","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"hashes","type":"0x1::simple_map::SimpleMap<u64, vector<u8>>"}]},{"name":"CreateProposalEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"proposer","type":"address"},{"name":"stake_pool","type":"address"},{"name":"proposal_id","type":"u64"},{"name":"execution_hash","type":"vector<u8>"},{"name":"proposal_metadata","type":"0x1::simple_map::SimpleMap<0x1::string::String, vector<u8>>"}]},{"name":"GovernanceConfig","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"min_voting_threshold","type":"u128"},{"name":"required_proposer_stake","type":"u64"},{"name":"voting_duration_secs","type":"u64"}]},{"name":"GovernanceEvents","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"create_proposal_events","type":"0x1::event::EventHandle<0x1::aptos_governance::CreateProposalEvent>"},{"name":"update_config_events","type":"0x1::event::EventHandle<0x1::aptos_governance::UpdateConfigEvent>"},{"name":"vote_events","type":"0x1::event::EventHandle<0x1::aptos_governance::VoteEvent>"}]},{"name":"GovernanceResponsbility","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"signer_caps","type":"0x1::simple_map::SimpleMap<address, 0x1::account::SignerCapability>"}]},{"name":"RecordKey","is_native":false,"abilities":["copy","drop","store"],"generic_type_params":[],"fields":[{"name":"stake_pool","type":"address"},{"name":"proposal_id","type":"u64"}]},{"name":"UpdateConfigEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"min_voting_threshold","type":"u128"},{"name":"required_proposer_stake","type":"u64"},{"name":"voting_duration_secs","type":"u64"}]},{"name":"VoteEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"proposal_id","type":"u64"},{"name":"voter","type":"address"},{"name":"stake_pool","type":"address"},{"name":"num_votes","type":"u64"},{"name":"should_pass","type":"bool"}]},{"name":"VotingRecords","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"votes","type":"0x1::table::Table<0x1::aptos_governance::RecordKey, bool>"}]}]}');
|
|
@@ -2272,12 +2278,12 @@ exports.aptos_governance = aptos_governance;
|
|
|
2272
2278
|
var consensus_config;
|
|
2273
2279
|
(function (consensus_config) {
|
|
2274
2280
|
class ConsensusConfig {
|
|
2275
|
-
static
|
|
2281
|
+
static TYPE_QNAME = "0x1::consensus_config::ConsensusConfig";
|
|
2276
2282
|
config;
|
|
2277
2283
|
}
|
|
2278
2284
|
consensus_config.ConsensusConfig = ConsensusConfig;
|
|
2279
|
-
function loadTypes(
|
|
2280
|
-
loadAllTypes(
|
|
2285
|
+
function loadTypes(_r) {
|
|
2286
|
+
loadAllTypes(_r);
|
|
2281
2287
|
}
|
|
2282
2288
|
consensus_config.loadTypes = loadTypes;
|
|
2283
2289
|
consensus_config.ABI = JSON.parse('{"address":"0x1","name":"consensus_config","friends":["0x1::genesis"],"exposed_functions":[{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":[]},{"name":"set","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>"],"return":[]}],"structs":[{"name":"ConsensusConfig","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"config","type":"vector<u8>"}]}]}');
|
|
@@ -2324,12 +2330,12 @@ class resource_account extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2324
2330
|
exports.resource_account = resource_account;
|
|
2325
2331
|
(function (resource_account) {
|
|
2326
2332
|
class Container {
|
|
2327
|
-
static
|
|
2333
|
+
static TYPE_QNAME = "0x1::resource_account::Container";
|
|
2328
2334
|
store;
|
|
2329
2335
|
}
|
|
2330
2336
|
resource_account.Container = Container;
|
|
2331
|
-
function loadTypes(
|
|
2332
|
-
loadAllTypes(
|
|
2337
|
+
function loadTypes(_r) {
|
|
2338
|
+
loadAllTypes(_r);
|
|
2333
2339
|
}
|
|
2334
2340
|
resource_account.loadTypes = loadTypes;
|
|
2335
2341
|
resource_account.ABI = JSON.parse('{"address":"0x1","name":"resource_account","friends":[],"exposed_functions":[{"name":"create_resource_account","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","vector<u8>"],"return":[]},{"name":"create_resource_account_and_fund","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","vector<u8>","u64"],"return":[]},{"name":"create_resource_account_and_publish_package","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","vector<u8>","vector<u8>","vector<vector<u8>>"],"return":[]},{"name":"retrieve_resource_account_cap","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address"],"return":["0x1::account::SignerCapability"]}],"structs":[{"name":"Container","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"store","type":"0x1::simple_map::SimpleMap<address, 0x1::account::SignerCapability>"}]}]}');
|
|
@@ -2418,27 +2424,27 @@ class staking_contract extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2418
2424
|
});
|
|
2419
2425
|
return this;
|
|
2420
2426
|
}
|
|
2421
|
-
|
|
2427
|
+
onEventCreateStakingContractEvent(func) {
|
|
2422
2428
|
this.onEvent(func, {
|
|
2423
|
-
type: "staking_contract::
|
|
2429
|
+
type: "staking_contract::CreateStakingContractEvent",
|
|
2424
2430
|
});
|
|
2425
2431
|
return this;
|
|
2426
2432
|
}
|
|
2427
|
-
|
|
2433
|
+
onEventUpdateVoterEvent(func) {
|
|
2428
2434
|
this.onEvent(func, {
|
|
2429
|
-
type: "staking_contract::
|
|
2435
|
+
type: "staking_contract::UpdateVoterEvent",
|
|
2430
2436
|
});
|
|
2431
2437
|
return this;
|
|
2432
2438
|
}
|
|
2433
|
-
|
|
2439
|
+
onEventResetLockupEvent(func) {
|
|
2434
2440
|
this.onEvent(func, {
|
|
2435
|
-
type: "staking_contract::
|
|
2441
|
+
type: "staking_contract::ResetLockupEvent",
|
|
2436
2442
|
});
|
|
2437
2443
|
return this;
|
|
2438
2444
|
}
|
|
2439
|
-
|
|
2445
|
+
onEventAddStakeEvent(func) {
|
|
2440
2446
|
this.onEvent(func, {
|
|
2441
|
-
type: "staking_contract::
|
|
2447
|
+
type: "staking_contract::AddStakeEvent",
|
|
2442
2448
|
});
|
|
2443
2449
|
return this;
|
|
2444
2450
|
}
|
|
@@ -2448,9 +2454,9 @@ class staking_contract extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2448
2454
|
});
|
|
2449
2455
|
return this;
|
|
2450
2456
|
}
|
|
2451
|
-
|
|
2457
|
+
onEventUnlockStakeEvent(func) {
|
|
2452
2458
|
this.onEvent(func, {
|
|
2453
|
-
type: "staking_contract::
|
|
2459
|
+
type: "staking_contract::UnlockStakeEvent",
|
|
2454
2460
|
});
|
|
2455
2461
|
return this;
|
|
2456
2462
|
}
|
|
@@ -2460,15 +2466,15 @@ class staking_contract extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2460
2466
|
});
|
|
2461
2467
|
return this;
|
|
2462
2468
|
}
|
|
2463
|
-
|
|
2469
|
+
onEventAddDistributionEvent(func) {
|
|
2464
2470
|
this.onEvent(func, {
|
|
2465
|
-
type: "staking_contract::
|
|
2471
|
+
type: "staking_contract::AddDistributionEvent",
|
|
2466
2472
|
});
|
|
2467
2473
|
return this;
|
|
2468
2474
|
}
|
|
2469
|
-
|
|
2475
|
+
onEventDistributeEvent(func) {
|
|
2470
2476
|
this.onEvent(func, {
|
|
2471
|
-
type: "staking_contract::
|
|
2477
|
+
type: "staking_contract::DistributeEvent",
|
|
2472
2478
|
});
|
|
2473
2479
|
return this;
|
|
2474
2480
|
}
|
|
@@ -2479,21 +2485,21 @@ class staking_contract extends sdk_1.aptos.AptosBaseProcessor {
|
|
|
2479
2485
|
exports.staking_contract = staking_contract;
|
|
2480
2486
|
(function (staking_contract) {
|
|
2481
2487
|
class AddDistributionEvent {
|
|
2482
|
-
static
|
|
2488
|
+
static TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
|
|
2483
2489
|
operator;
|
|
2484
2490
|
pool_address;
|
|
2485
2491
|
amount;
|
|
2486
2492
|
}
|
|
2487
2493
|
staking_contract.AddDistributionEvent = AddDistributionEvent;
|
|
2488
2494
|
class AddStakeEvent {
|
|
2489
|
-
static
|
|
2495
|
+
static TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
|
|
2490
2496
|
operator;
|
|
2491
2497
|
pool_address;
|
|
2492
2498
|
amount;
|
|
2493
2499
|
}
|
|
2494
2500
|
staking_contract.AddStakeEvent = AddStakeEvent;
|
|
2495
2501
|
class CreateStakingContractEvent {
|
|
2496
|
-
static
|
|
2502
|
+
static TYPE_QNAME = "0x1::staking_contract::CreateStakingContractEvent";
|
|
2497
2503
|
operator;
|
|
2498
2504
|
voter;
|
|
2499
2505
|
pool_address;
|
|
@@ -2502,7 +2508,7 @@ exports.staking_contract = staking_contract;
|
|
|
2502
2508
|
}
|
|
2503
2509
|
staking_contract.CreateStakingContractEvent = CreateStakingContractEvent;
|
|
2504
2510
|
class DistributeEvent {
|
|
2505
|
-
static
|
|
2511
|
+
static TYPE_QNAME = "0x1::staking_contract::DistributeEvent";
|
|
2506
2512
|
operator;
|
|
2507
2513
|
pool_address;
|
|
2508
2514
|
recipient;
|
|
@@ -2510,7 +2516,7 @@ exports.staking_contract = staking_contract;
|
|
|
2510
2516
|
}
|
|
2511
2517
|
staking_contract.DistributeEvent = DistributeEvent;
|
|
2512
2518
|
class RequestCommissionEvent {
|
|
2513
|
-
static
|
|
2519
|
+
static TYPE_QNAME = "0x1::staking_contract::RequestCommissionEvent";
|
|
2514
2520
|
operator;
|
|
2515
2521
|
pool_address;
|
|
2516
2522
|
accumulated_rewards;
|
|
@@ -2518,13 +2524,13 @@ exports.staking_contract = staking_contract;
|
|
|
2518
2524
|
}
|
|
2519
2525
|
staking_contract.RequestCommissionEvent = RequestCommissionEvent;
|
|
2520
2526
|
class ResetLockupEvent {
|
|
2521
|
-
static
|
|
2527
|
+
static TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
|
|
2522
2528
|
operator;
|
|
2523
2529
|
pool_address;
|
|
2524
2530
|
}
|
|
2525
2531
|
staking_contract.ResetLockupEvent = ResetLockupEvent;
|
|
2526
2532
|
class StakingContract {
|
|
2527
|
-
static
|
|
2533
|
+
static TYPE_QNAME = "0x1::staking_contract::StakingContract";
|
|
2528
2534
|
principal;
|
|
2529
2535
|
pool_address;
|
|
2530
2536
|
owner_cap;
|
|
@@ -2534,7 +2540,7 @@ exports.staking_contract = staking_contract;
|
|
|
2534
2540
|
}
|
|
2535
2541
|
staking_contract.StakingContract = StakingContract;
|
|
2536
2542
|
class Store {
|
|
2537
|
-
static
|
|
2543
|
+
static TYPE_QNAME = "0x1::staking_contract::Store";
|
|
2538
2544
|
staking_contracts;
|
|
2539
2545
|
create_staking_contract_events;
|
|
2540
2546
|
update_voter_events;
|
|
@@ -2548,14 +2554,14 @@ exports.staking_contract = staking_contract;
|
|
|
2548
2554
|
}
|
|
2549
2555
|
staking_contract.Store = Store;
|
|
2550
2556
|
class SwitchOperatorEvent {
|
|
2551
|
-
static
|
|
2557
|
+
static TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
|
|
2552
2558
|
old_operator;
|
|
2553
2559
|
new_operator;
|
|
2554
2560
|
pool_address;
|
|
2555
2561
|
}
|
|
2556
2562
|
staking_contract.SwitchOperatorEvent = SwitchOperatorEvent;
|
|
2557
2563
|
class UnlockStakeEvent {
|
|
2558
|
-
static
|
|
2564
|
+
static TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
|
2559
2565
|
operator;
|
|
2560
2566
|
pool_address;
|
|
2561
2567
|
amount;
|
|
@@ -2563,23 +2569,23 @@ exports.staking_contract = staking_contract;
|
|
|
2563
2569
|
}
|
|
2564
2570
|
staking_contract.UnlockStakeEvent = UnlockStakeEvent;
|
|
2565
2571
|
class UpdateVoterEvent {
|
|
2566
|
-
static
|
|
2572
|
+
static TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
|
|
2567
2573
|
operator;
|
|
2568
2574
|
pool_address;
|
|
2569
2575
|
old_voter;
|
|
2570
2576
|
new_voter;
|
|
2571
2577
|
}
|
|
2572
2578
|
staking_contract.UpdateVoterEvent = UpdateVoterEvent;
|
|
2573
|
-
function loadTypes(
|
|
2574
|
-
loadAllTypes(
|
|
2579
|
+
function loadTypes(_r) {
|
|
2580
|
+
loadAllTypes(_r);
|
|
2575
2581
|
}
|
|
2576
2582
|
staking_contract.loadTypes = loadTypes;
|
|
2577
2583
|
staking_contract.ABI = JSON.parse('{"address":"0x1","name":"staking_contract","friends":[],"exposed_functions":[{"name":"add_stake","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","u64"],"return":[]},{"name":"commission_percentage","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["u64"]},{"name":"create_staking_contract","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address","u64","u64","vector<u8>"],"return":[]},{"name":"create_staking_contract_with_coins","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","address","address","0x1::coin::Coin<0x1::aptos_coin::AptosCoin>","u64","vector<u8>"],"return":["address"]},{"name":"distribute","visibility":"public","is_entry":true,"generic_type_params":[],"params":["address","address"],"return":[]},{"name":"last_recorded_principal","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["u64"]},{"name":"pending_distribution_counts","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["u64"]},{"name":"request_commission","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"reset_lockup","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"stake_pool_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["address"]},{"name":"staking_contract_amounts","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["u64","u64","u64"]},{"name":"staking_contract_exists","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address","address"],"return":["bool"]},{"name":"switch_operator","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address","u64"],"return":[]},{"name":"switch_operator_with_same_commission","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]},{"name":"unlock_rewards","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address"],"return":[]},{"name":"unlock_stake","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","u64"],"return":[]},{"name":"update_voter","visibility":"public","is_entry":true,"generic_type_params":[],"params":["&signer","address","address"],"return":[]}],"structs":[{"name":"AddDistributionEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"AddStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"amount","type":"u64"}]},{"name":"CreateStakingContractEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"voter","type":"address"},{"name":"pool_address","type":"address"},{"name":"principal","type":"u64"},{"name":"commission_percentage","type":"u64"}]},{"name":"DistributeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"u64"}]},{"name":"RequestCommissionEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"accumulated_rewards","type":"u64"},{"name":"commission_amount","type":"u64"}]},{"name":"ResetLockupEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"}]},{"name":"StakingContract","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"principal","type":"u64"},{"name":"pool_address","type":"address"},{"name":"owner_cap","type":"0x1::stake::OwnerCapability"},{"name":"commission_percentage","type":"u64"},{"name":"distribution_pool","type":"0x1::pool_u64::Pool"},{"name":"signer_cap","type":"0x1::account::SignerCapability"}]},{"name":"Store","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"staking_contracts","type":"0x1::simple_map::SimpleMap<address, 0x1::staking_contract::StakingContract>"},{"name":"create_staking_contract_events","type":"0x1::event::EventHandle<0x1::staking_contract::CreateStakingContractEvent>"},{"name":"update_voter_events","type":"0x1::event::EventHandle<0x1::staking_contract::UpdateVoterEvent>"},{"name":"reset_lockup_events","type":"0x1::event::EventHandle<0x1::staking_contract::ResetLockupEvent>"},{"name":"add_stake_events","type":"0x1::event::EventHandle<0x1::staking_contract::AddStakeEvent>"},{"name":"request_commission_events","type":"0x1::event::EventHandle<0x1::staking_contract::RequestCommissionEvent>"},{"name":"unlock_stake_events","type":"0x1::event::EventHandle<0x1::staking_contract::UnlockStakeEvent>"},{"name":"switch_operator_events","type":"0x1::event::EventHandle<0x1::staking_contract::SwitchOperatorEvent>"},{"name":"add_distribution_events","type":"0x1::event::EventHandle<0x1::staking_contract::AddDistributionEvent>"},{"name":"distribute_events","type":"0x1::event::EventHandle<0x1::staking_contract::DistributeEvent>"}]},{"name":"SwitchOperatorEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"old_operator","type":"address"},{"name":"new_operator","type":"address"},{"name":"pool_address","type":"address"}]},{"name":"UnlockStakeEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"amount","type":"u64"},{"name":"commission_paid","type":"u64"}]},{"name":"UpdateVoterEvent","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"operator","type":"address"},{"name":"pool_address","type":"address"},{"name":"old_voter","type":"address"},{"name":"new_voter","type":"address"}]}]}');
|
|
2578
2584
|
})(staking_contract = exports.staking_contract || (exports.staking_contract = {}));
|
|
2579
2585
|
var system_addresses;
|
|
2580
2586
|
(function (system_addresses) {
|
|
2581
|
-
function loadTypes(
|
|
2582
|
-
loadAllTypes(
|
|
2587
|
+
function loadTypes(_r) {
|
|
2588
|
+
loadAllTypes(_r);
|
|
2583
2589
|
}
|
|
2584
2590
|
system_addresses.loadTypes = loadTypes;
|
|
2585
2591
|
system_addresses.ABI = JSON.parse('{"address":"0x1","name":"system_addresses","friends":[],"exposed_functions":[{"name":"assert_aptos_framework","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"assert_core_resource","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"assert_core_resource_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":[]},{"name":"assert_framework_reserved_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"assert_vm","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]},{"name":"is_aptos_framework_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"is_core_resource_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"is_framework_reserved_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"is_reserved_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]},{"name":"is_vm","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":["bool"]},{"name":"is_vm_address","visibility":"public","is_entry":false,"generic_type_params":[],"params":["address"],"return":["bool"]}],"structs":[]}');
|
|
@@ -2587,13 +2593,13 @@ var system_addresses;
|
|
|
2587
2593
|
var table_with_length;
|
|
2588
2594
|
(function (table_with_length) {
|
|
2589
2595
|
class TableWithLength {
|
|
2590
|
-
static
|
|
2596
|
+
static TYPE_QNAME = "0x1::table_with_length::TableWithLength";
|
|
2591
2597
|
inner;
|
|
2592
2598
|
length;
|
|
2593
2599
|
}
|
|
2594
2600
|
table_with_length.TableWithLength = TableWithLength;
|
|
2595
|
-
function loadTypes(
|
|
2596
|
-
loadAllTypes(
|
|
2601
|
+
function loadTypes(_r) {
|
|
2602
|
+
loadAllTypes(_r);
|
|
2597
2603
|
}
|
|
2598
2604
|
table_with_length.loadTypes = loadTypes;
|
|
2599
2605
|
table_with_length.ABI = JSON.parse('{"address":"0x1","name":"table_with_length","friends":[],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table_with_length::TableWithLength<T0, T1>","T0","T1"],"return":[]},{"name":"borrow","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table_with_length::TableWithLength<T0, T1>","T0"],"return":["&T1"]},{"name":"borrow_mut","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table_with_length::TableWithLength<T0, T1>","T0"],"return":["&mut T1"]},{"name":"borrow_mut_with_default","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["drop"]}],"params":["&mut 0x1::table_with_length::TableWithLength<T0, T1>","T0","T1"],"return":["&mut T1"]},{"name":"contains","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table_with_length::TableWithLength<T0, T1>","T0"],"return":["bool"]},{"name":"destroy_empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["0x1::table_with_length::TableWithLength<T0, T1>"],"return":[]},{"name":"empty","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table_with_length::TableWithLength<T0, T1>"],"return":["bool"]},{"name":"length","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&0x1::table_with_length::TableWithLength<T0, T1>"],"return":["u64"]},{"name":"new","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["store"]}],"params":[],"return":["0x1::table_with_length::TableWithLength<T0, T1>"]},{"name":"remove","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"params":["&mut 0x1::table_with_length::TableWithLength<T0, T1>","T0"],"return":["T1"]},{"name":"upsert","visibility":"public","is_entry":false,"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":["drop"]}],"params":["&mut 0x1::table_with_length::TableWithLength<T0, T1>","T0","T1"],"return":[]}],"structs":[{"name":"TableWithLength","is_native":false,"abilities":["store"],"generic_type_params":[{"constraints":["copy","drop"]},{"constraints":[]}],"fields":[{"name":"inner","type":"0x1::table::Table<T0, T1>"},{"name":"length","type":"u64"}]}]}');
|
|
@@ -2601,12 +2607,12 @@ var table_with_length;
|
|
|
2601
2607
|
var aggregator_factory;
|
|
2602
2608
|
(function (aggregator_factory) {
|
|
2603
2609
|
class AggregatorFactory {
|
|
2604
|
-
static
|
|
2610
|
+
static TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
|
|
2605
2611
|
phantom_table;
|
|
2606
2612
|
}
|
|
2607
2613
|
aggregator_factory.AggregatorFactory = AggregatorFactory;
|
|
2608
|
-
function loadTypes(
|
|
2609
|
-
loadAllTypes(
|
|
2614
|
+
function loadTypes(_r) {
|
|
2615
|
+
loadAllTypes(_r);
|
|
2610
2616
|
}
|
|
2611
2617
|
aggregator_factory.loadTypes = loadTypes;
|
|
2612
2618
|
aggregator_factory.ABI = JSON.parse('{"address":"0x1","name":"aggregator_factory","friends":["0x1::genesis","0x1::optional_aggregator"],"exposed_functions":[{"name":"create_aggregator","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&signer","u128"],"return":["0x1::aggregator::Aggregator"]},{"name":"create_aggregator_internal","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["u128"],"return":["0x1::aggregator::Aggregator"]},{"name":"initialize_aggregator_factory","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer"],"return":[]}],"structs":[{"name":"AggregatorFactory","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"phantom_table","type":"0x1::table::Table<address, u128>"}]}]}');
|
|
@@ -2614,12 +2620,12 @@ var aggregator_factory;
|
|
|
2614
2620
|
var governance_proposal;
|
|
2615
2621
|
(function (governance_proposal) {
|
|
2616
2622
|
class GovernanceProposal {
|
|
2617
|
-
static
|
|
2623
|
+
static TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
|
|
2618
2624
|
dummy_field;
|
|
2619
2625
|
}
|
|
2620
2626
|
governance_proposal.GovernanceProposal = GovernanceProposal;
|
|
2621
|
-
function loadTypes(
|
|
2622
|
-
loadAllTypes(
|
|
2627
|
+
function loadTypes(_r) {
|
|
2628
|
+
loadAllTypes(_r);
|
|
2623
2629
|
}
|
|
2624
2630
|
governance_proposal.loadTypes = loadTypes;
|
|
2625
2631
|
governance_proposal.ABI = JSON.parse('{"address":"0x1","name":"governance_proposal","friends":["0x1::aptos_governance"],"exposed_functions":[{"name":"create_empty_proposal","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::governance_proposal::GovernanceProposal"]},{"name":"create_proposal","visibility":"friend","is_entry":false,"generic_type_params":[],"params":[],"return":["0x1::governance_proposal::GovernanceProposal"]}],"structs":[{"name":"GovernanceProposal","is_native":false,"abilities":["drop","store"],"generic_type_params":[],"fields":[{"name":"dummy_field","type":"bool"}]}]}');
|
|
@@ -2627,27 +2633,27 @@ var governance_proposal;
|
|
|
2627
2633
|
var optional_aggregator;
|
|
2628
2634
|
(function (optional_aggregator) {
|
|
2629
2635
|
class Integer {
|
|
2630
|
-
static
|
|
2636
|
+
static TYPE_QNAME = "0x1::optional_aggregator::Integer";
|
|
2631
2637
|
value;
|
|
2632
2638
|
limit;
|
|
2633
2639
|
}
|
|
2634
2640
|
optional_aggregator.Integer = Integer;
|
|
2635
2641
|
class OptionalAggregator {
|
|
2636
|
-
static
|
|
2642
|
+
static TYPE_QNAME = "0x1::optional_aggregator::OptionalAggregator";
|
|
2637
2643
|
aggregator;
|
|
2638
2644
|
integer;
|
|
2639
2645
|
}
|
|
2640
2646
|
optional_aggregator.OptionalAggregator = OptionalAggregator;
|
|
2641
|
-
function loadTypes(
|
|
2642
|
-
loadAllTypes(
|
|
2647
|
+
function loadTypes(_r) {
|
|
2648
|
+
loadAllTypes(_r);
|
|
2643
2649
|
}
|
|
2644
2650
|
optional_aggregator.loadTypes = loadTypes;
|
|
2645
2651
|
optional_aggregator.ABI = JSON.parse('{"address":"0x1","name":"optional_aggregator","friends":["0x1::coin"],"exposed_functions":[{"name":"add","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::optional_aggregator::OptionalAggregator","u128"],"return":[]},{"name":"destroy","visibility":"public","is_entry":false,"generic_type_params":[],"params":["0x1::optional_aggregator::OptionalAggregator"],"return":[]},{"name":"is_parallelizable","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::optional_aggregator::OptionalAggregator"],"return":["bool"]},{"name":"new","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["u128","bool"],"return":["0x1::optional_aggregator::OptionalAggregator"]},{"name":"read","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&0x1::optional_aggregator::OptionalAggregator"],"return":["u128"]},{"name":"sub","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::optional_aggregator::OptionalAggregator","u128"],"return":[]},{"name":"switch","visibility":"public","is_entry":false,"generic_type_params":[],"params":["&mut 0x1::optional_aggregator::OptionalAggregator"],"return":[]}],"structs":[{"name":"Integer","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"value","type":"u128"},{"name":"limit","type":"u128"}]},{"name":"OptionalAggregator","is_native":false,"abilities":["store"],"generic_type_params":[],"fields":[{"name":"aggregator","type":"0x1::option::Option<0x1::aggregator::Aggregator>"},{"name":"integer","type":"0x1::option::Option<0x1::optional_aggregator::Integer>"}]}]}');
|
|
2646
2652
|
})(optional_aggregator = exports.optional_aggregator || (exports.optional_aggregator = {}));
|
|
2647
2653
|
var transaction_context;
|
|
2648
2654
|
(function (transaction_context) {
|
|
2649
|
-
function loadTypes(
|
|
2650
|
-
loadAllTypes(
|
|
2655
|
+
function loadTypes(_r) {
|
|
2656
|
+
loadAllTypes(_r);
|
|
2651
2657
|
}
|
|
2652
2658
|
transaction_context.loadTypes = loadTypes;
|
|
2653
2659
|
transaction_context.ABI = JSON.parse('{"address":"0x1","name":"transaction_context","friends":[],"exposed_functions":[{"name":"get_script_hash","visibility":"public","is_entry":false,"generic_type_params":[],"params":[],"return":["vector<u8>"]}],"structs":[]}');
|
|
@@ -2655,7 +2661,7 @@ var transaction_context;
|
|
|
2655
2661
|
var transaction_validation;
|
|
2656
2662
|
(function (transaction_validation) {
|
|
2657
2663
|
class TransactionValidation {
|
|
2658
|
-
static
|
|
2664
|
+
static TYPE_QNAME = "0x1::transaction_validation::TransactionValidation";
|
|
2659
2665
|
module_addr;
|
|
2660
2666
|
module_name;
|
|
2661
2667
|
script_prologue_name;
|
|
@@ -2664,78 +2670,78 @@ var transaction_validation;
|
|
|
2664
2670
|
user_epilogue_name;
|
|
2665
2671
|
}
|
|
2666
2672
|
transaction_validation.TransactionValidation = TransactionValidation;
|
|
2667
|
-
function loadTypes(
|
|
2668
|
-
loadAllTypes(
|
|
2673
|
+
function loadTypes(_r) {
|
|
2674
|
+
loadAllTypes(_r);
|
|
2669
2675
|
}
|
|
2670
2676
|
transaction_validation.loadTypes = loadTypes;
|
|
2671
2677
|
transaction_validation.ABI = JSON.parse('{"address":"0x1","name":"transaction_validation","friends":["0x1::genesis"],"exposed_functions":[{"name":"initialize","visibility":"friend","is_entry":false,"generic_type_params":[],"params":["&signer","vector<u8>","vector<u8>","vector<u8>","vector<u8>"],"return":[]}],"structs":[{"name":"TransactionValidation","is_native":false,"abilities":["key"],"generic_type_params":[],"fields":[{"name":"module_addr","type":"address"},{"name":"module_name","type":"vector<u8>"},{"name":"script_prologue_name","type":"vector<u8>"},{"name":"module_prologue_name","type":"vector<u8>"},{"name":"multi_agent_prologue_name","type":"vector<u8>"},{"name":"user_epilogue_name","type":"vector<u8>"}]}]}');
|
|
2672
2678
|
})(transaction_validation = exports.transaction_validation || (exports.transaction_validation = {}));
|
|
2673
|
-
function loadAllTypes(
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2679
|
+
function loadAllTypes(_r) {
|
|
2680
|
+
_r.load(acl.ABI);
|
|
2681
|
+
_r.load(any.ABI);
|
|
2682
|
+
_r.load(bcs.ABI);
|
|
2683
|
+
_r.load(code.ABI);
|
|
2684
|
+
_r.load(coin.ABI);
|
|
2685
|
+
_r.load(guid.ABI);
|
|
2686
|
+
_r.load(hash.ABI);
|
|
2687
|
+
_r.load(util.ABI);
|
|
2688
|
+
_r.load(block.ABI);
|
|
2689
|
+
_r.load(debug.ABI);
|
|
2690
|
+
_r.load(error.ABI);
|
|
2691
|
+
_r.load(event.ABI);
|
|
2692
|
+
_r.load(stake.ABI);
|
|
2693
|
+
_r.load(table.ABI);
|
|
2694
|
+
_r.load(math64.ABI);
|
|
2695
|
+
_r.load(option.ABI);
|
|
2696
|
+
_r.load(signer.ABI);
|
|
2697
|
+
_r.load(string.ABI);
|
|
2698
|
+
_r.load(vector.ABI);
|
|
2699
|
+
_r.load(voting.ABI);
|
|
2700
|
+
_r.load(account.ABI);
|
|
2701
|
+
_r.load(ed25519.ABI);
|
|
2702
|
+
_r.load(genesis.ABI);
|
|
2703
|
+
_r.load(math128.ABI);
|
|
2704
|
+
_r.load(version.ABI);
|
|
2705
|
+
_r.load(vesting.ABI);
|
|
2706
|
+
_r.load(bls12381.ABI);
|
|
2707
|
+
_r.load(chain_id.ABI);
|
|
2708
|
+
_r.load(features.ABI);
|
|
2709
|
+
_r.load(from_bcs.ABI);
|
|
2710
|
+
_r.load(pool_u64.ABI);
|
|
2711
|
+
_r.load(secp256k1.ABI);
|
|
2712
|
+
_r.load(timestamp.ABI);
|
|
2713
|
+
_r.load(type_info.ABI);
|
|
2714
|
+
_r.load(aggregator.ABI);
|
|
2715
|
+
_r.load(aptos_coin.ABI);
|
|
2716
|
+
_r.load(aptos_hash.ABI);
|
|
2717
|
+
_r.load(bit_vector.ABI);
|
|
2718
|
+
_r.load(capability.ABI);
|
|
2719
|
+
_r.load(comparator.ABI);
|
|
2720
|
+
_r.load(simple_map.ABI);
|
|
2721
|
+
_r.load(storage_gas.ABI);
|
|
2722
|
+
_r.load(chain_status.ABI);
|
|
2723
|
+
_r.load(copyable_any.ABI);
|
|
2724
|
+
_r.load(gas_schedule.ABI);
|
|
2725
|
+
_r.load(managed_coin.ABI);
|
|
2726
|
+
_r.load(ristretto255.ABI);
|
|
2727
|
+
_r.load(aptos_account.ABI);
|
|
2728
|
+
_r.load(fixed_point32.ABI);
|
|
2729
|
+
_r.load(multi_ed25519.ABI);
|
|
2730
|
+
_r.load(staking_proxy.ABI);
|
|
2731
|
+
_r.load(state_storage.ABI);
|
|
2732
|
+
_r.load(staking_config.ABI);
|
|
2733
|
+
_r.load(reconfiguration.ABI);
|
|
2734
|
+
_r.load(transaction_fee.ABI);
|
|
2735
|
+
_r.load(aptos_governance.ABI);
|
|
2736
|
+
_r.load(consensus_config.ABI);
|
|
2737
|
+
_r.load(resource_account.ABI);
|
|
2738
|
+
_r.load(staking_contract.ABI);
|
|
2739
|
+
_r.load(system_addresses.ABI);
|
|
2740
|
+
_r.load(table_with_length.ABI);
|
|
2741
|
+
_r.load(aggregator_factory.ABI);
|
|
2742
|
+
_r.load(governance_proposal.ABI);
|
|
2743
|
+
_r.load(optional_aggregator.ABI);
|
|
2744
|
+
_r.load(transaction_context.ABI);
|
|
2745
|
+
_r.load(transaction_validation.ABI);
|
|
2740
2746
|
}
|
|
2741
2747
|
//# sourceMappingURL=0x1.js.map
|