@typemove/sui 1.6.2-rc.2 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +178 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +994 -2
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +535 -6
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +1300 -135
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +178 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +993 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +535 -6
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +1298 -133
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +748 -12
- package/src/abis/0x2.json +2395 -477
- package/src/builtin/0x1.ts +1385 -1
- package/src/builtin/0x2.ts +2064 -97
package/src/builtin/0x2.ts
CHANGED
|
@@ -1352,6 +1352,45 @@ export namespace bcs {
|
|
|
1352
1352
|
arguments: _args,
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
|
+
export function peelOptionU16(
|
|
1356
|
+
tx: TransactionBlock,
|
|
1357
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1358
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1359
|
+
const _args: any[] = [];
|
|
1360
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1361
|
+
|
|
1362
|
+
// @ts-ignore
|
|
1363
|
+
return tx.moveCall({
|
|
1364
|
+
target: "0x2::bcs::peel_option_u16",
|
|
1365
|
+
arguments: _args,
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
export function peelOptionU256(
|
|
1369
|
+
tx: TransactionBlock,
|
|
1370
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1371
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1372
|
+
const _args: any[] = [];
|
|
1373
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1374
|
+
|
|
1375
|
+
// @ts-ignore
|
|
1376
|
+
return tx.moveCall({
|
|
1377
|
+
target: "0x2::bcs::peel_option_u256",
|
|
1378
|
+
arguments: _args,
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
export function peelOptionU32(
|
|
1382
|
+
tx: TransactionBlock,
|
|
1383
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1384
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1385
|
+
const _args: any[] = [];
|
|
1386
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1387
|
+
|
|
1388
|
+
// @ts-ignore
|
|
1389
|
+
return tx.moveCall({
|
|
1390
|
+
target: "0x2::bcs::peel_option_u32",
|
|
1391
|
+
arguments: _args,
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1355
1394
|
export function peelOptionU64(
|
|
1356
1395
|
tx: TransactionBlock,
|
|
1357
1396
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1391,6 +1430,19 @@ export namespace bcs {
|
|
|
1391
1430
|
arguments: _args,
|
|
1392
1431
|
});
|
|
1393
1432
|
}
|
|
1433
|
+
export function peelU16(
|
|
1434
|
+
tx: TransactionBlock,
|
|
1435
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1436
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1437
|
+
const _args: any[] = [];
|
|
1438
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1439
|
+
|
|
1440
|
+
// @ts-ignore
|
|
1441
|
+
return tx.moveCall({
|
|
1442
|
+
target: "0x2::bcs::peel_u16",
|
|
1443
|
+
arguments: _args,
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1394
1446
|
export function peelU256(
|
|
1395
1447
|
tx: TransactionBlock,
|
|
1396
1448
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1404,6 +1456,19 @@ export namespace bcs {
|
|
|
1404
1456
|
arguments: _args,
|
|
1405
1457
|
});
|
|
1406
1458
|
}
|
|
1459
|
+
export function peelU32(
|
|
1460
|
+
tx: TransactionBlock,
|
|
1461
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1462
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1463
|
+
const _args: any[] = [];
|
|
1464
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1465
|
+
|
|
1466
|
+
// @ts-ignore
|
|
1467
|
+
return tx.moveCall({
|
|
1468
|
+
target: "0x2::bcs::peel_u32",
|
|
1469
|
+
arguments: _args,
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1407
1472
|
export function peelU64(
|
|
1408
1473
|
tx: TransactionBlock,
|
|
1409
1474
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1482,6 +1547,45 @@ export namespace bcs {
|
|
|
1482
1547
|
arguments: _args,
|
|
1483
1548
|
});
|
|
1484
1549
|
}
|
|
1550
|
+
export function peelVecU16(
|
|
1551
|
+
tx: TransactionBlock,
|
|
1552
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1553
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1554
|
+
const _args: any[] = [];
|
|
1555
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1556
|
+
|
|
1557
|
+
// @ts-ignore
|
|
1558
|
+
return tx.moveCall({
|
|
1559
|
+
target: "0x2::bcs::peel_vec_u16",
|
|
1560
|
+
arguments: _args,
|
|
1561
|
+
});
|
|
1562
|
+
}
|
|
1563
|
+
export function peelVecU256(
|
|
1564
|
+
tx: TransactionBlock,
|
|
1565
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1566
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1567
|
+
const _args: any[] = [];
|
|
1568
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1569
|
+
|
|
1570
|
+
// @ts-ignore
|
|
1571
|
+
return tx.moveCall({
|
|
1572
|
+
target: "0x2::bcs::peel_vec_u256",
|
|
1573
|
+
arguments: _args,
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
export function peelVecU32(
|
|
1577
|
+
tx: TransactionBlock,
|
|
1578
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1579
|
+
): TransactionArgument & [TransactionArgument] {
|
|
1580
|
+
const _args: any[] = [];
|
|
1581
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1582
|
+
|
|
1583
|
+
// @ts-ignore
|
|
1584
|
+
return tx.moveCall({
|
|
1585
|
+
target: "0x2::bcs::peel_vec_u32",
|
|
1586
|
+
arguments: _args,
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1485
1589
|
export function peelVecU64(
|
|
1486
1590
|
tx: TransactionBlock,
|
|
1487
1591
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1647,6 +1751,51 @@ export namespace bcs {
|
|
|
1647
1751
|
[_0x1.option.Option<bigint>]
|
|
1648
1752
|
>(inspectRes);
|
|
1649
1753
|
}
|
|
1754
|
+
export async function peelOptionU16(
|
|
1755
|
+
client: SuiClient,
|
|
1756
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1757
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>> {
|
|
1758
|
+
const tx = new TransactionBlock();
|
|
1759
|
+
builder.peelOptionU16(tx, args);
|
|
1760
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1761
|
+
transactionBlock: tx,
|
|
1762
|
+
sender: ZERO_ADDRESS,
|
|
1763
|
+
});
|
|
1764
|
+
|
|
1765
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1766
|
+
[_0x1.option.Option<number>]
|
|
1767
|
+
>(inspectRes);
|
|
1768
|
+
}
|
|
1769
|
+
export async function peelOptionU256(
|
|
1770
|
+
client: SuiClient,
|
|
1771
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1772
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>> {
|
|
1773
|
+
const tx = new TransactionBlock();
|
|
1774
|
+
builder.peelOptionU256(tx, args);
|
|
1775
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1776
|
+
transactionBlock: tx,
|
|
1777
|
+
sender: ZERO_ADDRESS,
|
|
1778
|
+
});
|
|
1779
|
+
|
|
1780
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1781
|
+
[_0x1.option.Option<bigint>]
|
|
1782
|
+
>(inspectRes);
|
|
1783
|
+
}
|
|
1784
|
+
export async function peelOptionU32(
|
|
1785
|
+
client: SuiClient,
|
|
1786
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1787
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>> {
|
|
1788
|
+
const tx = new TransactionBlock();
|
|
1789
|
+
builder.peelOptionU32(tx, args);
|
|
1790
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1791
|
+
transactionBlock: tx,
|
|
1792
|
+
sender: ZERO_ADDRESS,
|
|
1793
|
+
});
|
|
1794
|
+
|
|
1795
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1796
|
+
[_0x1.option.Option<number>]
|
|
1797
|
+
>(inspectRes);
|
|
1798
|
+
}
|
|
1650
1799
|
export async function peelOptionU64(
|
|
1651
1800
|
client: SuiClient,
|
|
1652
1801
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1692,6 +1841,21 @@ export namespace bcs {
|
|
|
1692
1841
|
inspectRes,
|
|
1693
1842
|
);
|
|
1694
1843
|
}
|
|
1844
|
+
export async function peelU16(
|
|
1845
|
+
client: SuiClient,
|
|
1846
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1847
|
+
): Promise<TypedDevInspectResults<[number]>> {
|
|
1848
|
+
const tx = new TransactionBlock();
|
|
1849
|
+
builder.peelU16(tx, args);
|
|
1850
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1851
|
+
transactionBlock: tx,
|
|
1852
|
+
sender: ZERO_ADDRESS,
|
|
1853
|
+
});
|
|
1854
|
+
|
|
1855
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[number]>(
|
|
1856
|
+
inspectRes,
|
|
1857
|
+
);
|
|
1858
|
+
}
|
|
1695
1859
|
export async function peelU256(
|
|
1696
1860
|
client: SuiClient,
|
|
1697
1861
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1707,6 +1871,21 @@ export namespace bcs {
|
|
|
1707
1871
|
inspectRes,
|
|
1708
1872
|
);
|
|
1709
1873
|
}
|
|
1874
|
+
export async function peelU32(
|
|
1875
|
+
client: SuiClient,
|
|
1876
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1877
|
+
): Promise<TypedDevInspectResults<[number]>> {
|
|
1878
|
+
const tx = new TransactionBlock();
|
|
1879
|
+
builder.peelU32(tx, args);
|
|
1880
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1881
|
+
transactionBlock: tx,
|
|
1882
|
+
sender: ZERO_ADDRESS,
|
|
1883
|
+
});
|
|
1884
|
+
|
|
1885
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[number]>(
|
|
1886
|
+
inspectRes,
|
|
1887
|
+
);
|
|
1888
|
+
}
|
|
1710
1889
|
export async function peelU64(
|
|
1711
1890
|
client: SuiClient,
|
|
1712
1891
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -1797,6 +1976,51 @@ export namespace bcs {
|
|
|
1797
1976
|
inspectRes,
|
|
1798
1977
|
);
|
|
1799
1978
|
}
|
|
1979
|
+
export async function peelVecU16(
|
|
1980
|
+
client: SuiClient,
|
|
1981
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1982
|
+
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
1983
|
+
const tx = new TransactionBlock();
|
|
1984
|
+
builder.peelVecU16(tx, args);
|
|
1985
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1986
|
+
transactionBlock: tx,
|
|
1987
|
+
sender: ZERO_ADDRESS,
|
|
1988
|
+
});
|
|
1989
|
+
|
|
1990
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
1991
|
+
inspectRes,
|
|
1992
|
+
);
|
|
1993
|
+
}
|
|
1994
|
+
export async function peelVecU256(
|
|
1995
|
+
client: SuiClient,
|
|
1996
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1997
|
+
): Promise<TypedDevInspectResults<[bigint[]]>> {
|
|
1998
|
+
const tx = new TransactionBlock();
|
|
1999
|
+
builder.peelVecU256(tx, args);
|
|
2000
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2001
|
+
transactionBlock: tx,
|
|
2002
|
+
sender: ZERO_ADDRESS,
|
|
2003
|
+
});
|
|
2004
|
+
|
|
2005
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint[]]>(
|
|
2006
|
+
inspectRes,
|
|
2007
|
+
);
|
|
2008
|
+
}
|
|
2009
|
+
export async function peelVecU32(
|
|
2010
|
+
client: SuiClient,
|
|
2011
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2012
|
+
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
2013
|
+
const tx = new TransactionBlock();
|
|
2014
|
+
builder.peelVecU32(tx, args);
|
|
2015
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2016
|
+
transactionBlock: tx,
|
|
2017
|
+
sender: ZERO_ADDRESS,
|
|
2018
|
+
});
|
|
2019
|
+
|
|
2020
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
2021
|
+
inspectRes,
|
|
2022
|
+
);
|
|
2023
|
+
}
|
|
1800
2024
|
export async function peelVecU64(
|
|
1801
2025
|
client: SuiClient,
|
|
1802
2026
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
@@ -3506,6 +3730,23 @@ export namespace coin {
|
|
|
3506
3730
|
}
|
|
3507
3731
|
}
|
|
3508
3732
|
|
|
3733
|
+
export interface DenyCapV2<T0> {
|
|
3734
|
+
id: object_.UID;
|
|
3735
|
+
allow_global_pause: Boolean;
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3738
|
+
export namespace DenyCapV2 {
|
|
3739
|
+
export const TYPE_QNAME = "0x2::coin::DenyCapV2";
|
|
3740
|
+
|
|
3741
|
+
const TYPE = new TypeDescriptor<DenyCapV2<any>>(DenyCapV2.TYPE_QNAME);
|
|
3742
|
+
|
|
3743
|
+
export function type<T0>(
|
|
3744
|
+
arg0: TypeDescriptor<T0> = ANY_TYPE,
|
|
3745
|
+
): TypeDescriptor<DenyCapV2<T0>> {
|
|
3746
|
+
return TYPE.apply(arg0);
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3509
3750
|
export interface RegulatedCoinMetadata<T0> {
|
|
3510
3751
|
id: object_.UID;
|
|
3511
3752
|
coin_metadata_object: object_.ID;
|
|
@@ -3683,6 +3924,48 @@ export namespace coin {
|
|
|
3683
3924
|
],
|
|
3684
3925
|
});
|
|
3685
3926
|
}
|
|
3927
|
+
export function createRegulatedCurrencyV2<T0 = any>(
|
|
3928
|
+
tx: TransactionBlock,
|
|
3929
|
+
args: [
|
|
3930
|
+
T0 | TransactionArgument,
|
|
3931
|
+
number | TransactionArgument,
|
|
3932
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3933
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3934
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3935
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
3936
|
+
Boolean | TransactionArgument,
|
|
3937
|
+
],
|
|
3938
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
3939
|
+
): TransactionArgument &
|
|
3940
|
+
[
|
|
3941
|
+
TransactionArgument,
|
|
3942
|
+
TransactionArgument,
|
|
3943
|
+
TransactionArgument,
|
|
3944
|
+
TransactionArgument,
|
|
3945
|
+
TransactionArgument,
|
|
3946
|
+
TransactionArgument,
|
|
3947
|
+
TransactionArgument,
|
|
3948
|
+
] {
|
|
3949
|
+
const _args: any[] = [];
|
|
3950
|
+
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
3951
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
3952
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
3953
|
+
_args.push(transactionArgumentOrVec(args[3], tx));
|
|
3954
|
+
_args.push(transactionArgumentOrVec(args[4], tx));
|
|
3955
|
+
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
3956
|
+
_args.push(transactionArgumentOrPure(args[6], tx));
|
|
3957
|
+
|
|
3958
|
+
// @ts-ignore
|
|
3959
|
+
return tx.moveCall({
|
|
3960
|
+
target: "0x2::coin::create_regulated_currency_v2",
|
|
3961
|
+
arguments: _args,
|
|
3962
|
+
typeArguments: [
|
|
3963
|
+
typeof typeArguments[0] === "string"
|
|
3964
|
+
? typeArguments[0]
|
|
3965
|
+
: typeArguments[0].getSignature(),
|
|
3966
|
+
],
|
|
3967
|
+
});
|
|
3968
|
+
}
|
|
3686
3969
|
export function denyListAdd<T0 = any>(
|
|
3687
3970
|
tx: TransactionBlock,
|
|
3688
3971
|
args: [
|
|
@@ -3758,13 +4041,195 @@ export namespace coin {
|
|
|
3758
4041
|
],
|
|
3759
4042
|
});
|
|
3760
4043
|
}
|
|
3761
|
-
export function
|
|
4044
|
+
export function denyListV2Add<T0 = any>(
|
|
3762
4045
|
tx: TransactionBlock,
|
|
3763
|
-
args: [
|
|
4046
|
+
args: [
|
|
4047
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4048
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4049
|
+
string | TransactionArgument,
|
|
4050
|
+
],
|
|
3764
4051
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3765
|
-
): TransactionArgument &
|
|
4052
|
+
): TransactionArgument &
|
|
4053
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
3766
4054
|
const _args: any[] = [];
|
|
3767
|
-
_args.push(
|
|
4055
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4056
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4057
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
4058
|
+
|
|
4059
|
+
// @ts-ignore
|
|
4060
|
+
return tx.moveCall({
|
|
4061
|
+
target: "0x2::coin::deny_list_v2_add",
|
|
4062
|
+
arguments: _args,
|
|
4063
|
+
typeArguments: [
|
|
4064
|
+
typeof typeArguments[0] === "string"
|
|
4065
|
+
? typeArguments[0]
|
|
4066
|
+
: typeArguments[0].getSignature(),
|
|
4067
|
+
],
|
|
4068
|
+
});
|
|
4069
|
+
}
|
|
4070
|
+
export function denyListV2ContainsCurrentEpoch<T0 = any>(
|
|
4071
|
+
tx: TransactionBlock,
|
|
4072
|
+
args: [
|
|
4073
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4074
|
+
string | TransactionArgument,
|
|
4075
|
+
],
|
|
4076
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4077
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4078
|
+
const _args: any[] = [];
|
|
4079
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4080
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
4081
|
+
|
|
4082
|
+
// @ts-ignore
|
|
4083
|
+
return tx.moveCall({
|
|
4084
|
+
target: "0x2::coin::deny_list_v2_contains_current_epoch",
|
|
4085
|
+
arguments: _args,
|
|
4086
|
+
typeArguments: [
|
|
4087
|
+
typeof typeArguments[0] === "string"
|
|
4088
|
+
? typeArguments[0]
|
|
4089
|
+
: typeArguments[0].getSignature(),
|
|
4090
|
+
],
|
|
4091
|
+
});
|
|
4092
|
+
}
|
|
4093
|
+
export function denyListV2ContainsNextEpoch<T0 = any>(
|
|
4094
|
+
tx: TransactionBlock,
|
|
4095
|
+
args: [
|
|
4096
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4097
|
+
string | TransactionArgument,
|
|
4098
|
+
],
|
|
4099
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4100
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4101
|
+
const _args: any[] = [];
|
|
4102
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4103
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
4104
|
+
|
|
4105
|
+
// @ts-ignore
|
|
4106
|
+
return tx.moveCall({
|
|
4107
|
+
target: "0x2::coin::deny_list_v2_contains_next_epoch",
|
|
4108
|
+
arguments: _args,
|
|
4109
|
+
typeArguments: [
|
|
4110
|
+
typeof typeArguments[0] === "string"
|
|
4111
|
+
? typeArguments[0]
|
|
4112
|
+
: typeArguments[0].getSignature(),
|
|
4113
|
+
],
|
|
4114
|
+
});
|
|
4115
|
+
}
|
|
4116
|
+
export function denyListV2DisableGlobalPause<T0 = any>(
|
|
4117
|
+
tx: TransactionBlock,
|
|
4118
|
+
args: [
|
|
4119
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4120
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4121
|
+
],
|
|
4122
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4123
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4124
|
+
const _args: any[] = [];
|
|
4125
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4126
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4127
|
+
|
|
4128
|
+
// @ts-ignore
|
|
4129
|
+
return tx.moveCall({
|
|
4130
|
+
target: "0x2::coin::deny_list_v2_disable_global_pause",
|
|
4131
|
+
arguments: _args,
|
|
4132
|
+
typeArguments: [
|
|
4133
|
+
typeof typeArguments[0] === "string"
|
|
4134
|
+
? typeArguments[0]
|
|
4135
|
+
: typeArguments[0].getSignature(),
|
|
4136
|
+
],
|
|
4137
|
+
});
|
|
4138
|
+
}
|
|
4139
|
+
export function denyListV2EnableGlobalPause<T0 = any>(
|
|
4140
|
+
tx: TransactionBlock,
|
|
4141
|
+
args: [
|
|
4142
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4143
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4144
|
+
],
|
|
4145
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4146
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4147
|
+
const _args: any[] = [];
|
|
4148
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4149
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4150
|
+
|
|
4151
|
+
// @ts-ignore
|
|
4152
|
+
return tx.moveCall({
|
|
4153
|
+
target: "0x2::coin::deny_list_v2_enable_global_pause",
|
|
4154
|
+
arguments: _args,
|
|
4155
|
+
typeArguments: [
|
|
4156
|
+
typeof typeArguments[0] === "string"
|
|
4157
|
+
? typeArguments[0]
|
|
4158
|
+
: typeArguments[0].getSignature(),
|
|
4159
|
+
],
|
|
4160
|
+
});
|
|
4161
|
+
}
|
|
4162
|
+
export function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(
|
|
4163
|
+
tx: TransactionBlock,
|
|
4164
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
4165
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4166
|
+
): TransactionArgument & [TransactionArgument] {
|
|
4167
|
+
const _args: any[] = [];
|
|
4168
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4169
|
+
|
|
4170
|
+
// @ts-ignore
|
|
4171
|
+
return tx.moveCall({
|
|
4172
|
+
target: "0x2::coin::deny_list_v2_is_global_pause_enabled_current_epoch",
|
|
4173
|
+
arguments: _args,
|
|
4174
|
+
typeArguments: [
|
|
4175
|
+
typeof typeArguments[0] === "string"
|
|
4176
|
+
? typeArguments[0]
|
|
4177
|
+
: typeArguments[0].getSignature(),
|
|
4178
|
+
],
|
|
4179
|
+
});
|
|
4180
|
+
}
|
|
4181
|
+
export function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(
|
|
4182
|
+
tx: TransactionBlock,
|
|
4183
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
4184
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4185
|
+
): TransactionArgument & [TransactionArgument] {
|
|
4186
|
+
const _args: any[] = [];
|
|
4187
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4188
|
+
|
|
4189
|
+
// @ts-ignore
|
|
4190
|
+
return tx.moveCall({
|
|
4191
|
+
target: "0x2::coin::deny_list_v2_is_global_pause_enabled_next_epoch",
|
|
4192
|
+
arguments: _args,
|
|
4193
|
+
typeArguments: [
|
|
4194
|
+
typeof typeArguments[0] === "string"
|
|
4195
|
+
? typeArguments[0]
|
|
4196
|
+
: typeArguments[0].getSignature(),
|
|
4197
|
+
],
|
|
4198
|
+
});
|
|
4199
|
+
}
|
|
4200
|
+
export function denyListV2Remove<T0 = any>(
|
|
4201
|
+
tx: TransactionBlock,
|
|
4202
|
+
args: [
|
|
4203
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4204
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4205
|
+
string | TransactionArgument,
|
|
4206
|
+
],
|
|
4207
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4208
|
+
): TransactionArgument &
|
|
4209
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
4210
|
+
const _args: any[] = [];
|
|
4211
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4212
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4213
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
4214
|
+
|
|
4215
|
+
// @ts-ignore
|
|
4216
|
+
return tx.moveCall({
|
|
4217
|
+
target: "0x2::coin::deny_list_v2_remove",
|
|
4218
|
+
arguments: _args,
|
|
4219
|
+
typeArguments: [
|
|
4220
|
+
typeof typeArguments[0] === "string"
|
|
4221
|
+
? typeArguments[0]
|
|
4222
|
+
: typeArguments[0].getSignature(),
|
|
4223
|
+
],
|
|
4224
|
+
});
|
|
4225
|
+
}
|
|
4226
|
+
export function destroyZero<T0 = any>(
|
|
4227
|
+
tx: TransactionBlock,
|
|
4228
|
+
args: [coin.Coin<T0> | TransactionArgument],
|
|
4229
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4230
|
+
): TransactionArgument & [TransactionArgument] {
|
|
4231
|
+
const _args: any[] = [];
|
|
4232
|
+
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
3768
4233
|
|
|
3769
4234
|
// @ts-ignore
|
|
3770
4235
|
return tx.moveCall({
|
|
@@ -3956,6 +4421,32 @@ export namespace coin {
|
|
|
3956
4421
|
],
|
|
3957
4422
|
});
|
|
3958
4423
|
}
|
|
4424
|
+
export function migrateRegulatedCurrencyToV2<T0 = any>(
|
|
4425
|
+
tx: TransactionBlock,
|
|
4426
|
+
args: [
|
|
4427
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
4428
|
+
coin.DenyCap<T0> | TransactionArgument,
|
|
4429
|
+
Boolean | TransactionArgument,
|
|
4430
|
+
],
|
|
4431
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4432
|
+
): TransactionArgument &
|
|
4433
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
4434
|
+
const _args: any[] = [];
|
|
4435
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4436
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
4437
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
4438
|
+
|
|
4439
|
+
// @ts-ignore
|
|
4440
|
+
return tx.moveCall({
|
|
4441
|
+
target: "0x2::coin::migrate_regulated_currency_to_v2",
|
|
4442
|
+
arguments: _args,
|
|
4443
|
+
typeArguments: [
|
|
4444
|
+
typeof typeArguments[0] === "string"
|
|
4445
|
+
? typeArguments[0]
|
|
4446
|
+
: typeArguments[0].getSignature(),
|
|
4447
|
+
],
|
|
4448
|
+
});
|
|
4449
|
+
}
|
|
3959
4450
|
export function mint<T0 = any>(
|
|
3960
4451
|
tx: TransactionBlock,
|
|
3961
4452
|
args: [
|
|
@@ -4438,6 +4929,34 @@ export namespace coin {
|
|
|
4438
4929
|
[coin.TreasuryCap<T0>, coin.DenyCap<T0>, coin.CoinMetadata<T0>]
|
|
4439
4930
|
>(inspectRes);
|
|
4440
4931
|
}
|
|
4932
|
+
export async function createRegulatedCurrencyV2<T0 = any>(
|
|
4933
|
+
client: SuiClient,
|
|
4934
|
+
args: [
|
|
4935
|
+
T0 | TransactionArgument,
|
|
4936
|
+
number | TransactionArgument,
|
|
4937
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4938
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4939
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4940
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
4941
|
+
Boolean | TransactionArgument,
|
|
4942
|
+
],
|
|
4943
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4944
|
+
): Promise<
|
|
4945
|
+
TypedDevInspectResults<
|
|
4946
|
+
[coin.TreasuryCap<T0>, coin.DenyCapV2<T0>, coin.CoinMetadata<T0>]
|
|
4947
|
+
>
|
|
4948
|
+
> {
|
|
4949
|
+
const tx = new TransactionBlock();
|
|
4950
|
+
builder.createRegulatedCurrencyV2(tx, args, typeArguments);
|
|
4951
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
4952
|
+
transactionBlock: tx,
|
|
4953
|
+
sender: ZERO_ADDRESS,
|
|
4954
|
+
});
|
|
4955
|
+
|
|
4956
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
4957
|
+
[coin.TreasuryCap<T0>, coin.DenyCapV2<T0>, coin.CoinMetadata<T0>]
|
|
4958
|
+
>(inspectRes);
|
|
4959
|
+
}
|
|
4441
4960
|
export async function denyListAdd<T0 = any>(
|
|
4442
4961
|
client: SuiClient,
|
|
4443
4962
|
args: [
|
|
@@ -4497,13 +5016,17 @@ export namespace coin {
|
|
|
4497
5016
|
inspectRes,
|
|
4498
5017
|
);
|
|
4499
5018
|
}
|
|
4500
|
-
export async function
|
|
5019
|
+
export async function denyListV2Add<T0 = any>(
|
|
4501
5020
|
client: SuiClient,
|
|
4502
|
-
args: [
|
|
5021
|
+
args: [
|
|
5022
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5023
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5024
|
+
string | TransactionArgument,
|
|
5025
|
+
],
|
|
4503
5026
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4504
5027
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4505
5028
|
const tx = new TransactionBlock();
|
|
4506
|
-
builder.
|
|
5029
|
+
builder.denyListV2Add(tx, args, typeArguments);
|
|
4507
5030
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4508
5031
|
transactionBlock: tx,
|
|
4509
5032
|
sender: ZERO_ADDRESS,
|
|
@@ -4513,61 +5036,209 @@ export namespace coin {
|
|
|
4513
5036
|
inspectRes,
|
|
4514
5037
|
);
|
|
4515
5038
|
}
|
|
4516
|
-
export async function
|
|
5039
|
+
export async function denyListV2ContainsCurrentEpoch<T0 = any>(
|
|
4517
5040
|
client: SuiClient,
|
|
4518
5041
|
args: [
|
|
4519
5042
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4520
|
-
|
|
5043
|
+
string | TransactionArgument,
|
|
4521
5044
|
],
|
|
4522
5045
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4523
|
-
): Promise<TypedDevInspectResults<[
|
|
5046
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
4524
5047
|
const tx = new TransactionBlock();
|
|
4525
|
-
builder.
|
|
5048
|
+
builder.denyListV2ContainsCurrentEpoch(tx, args, typeArguments);
|
|
4526
5049
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4527
5050
|
transactionBlock: tx,
|
|
4528
5051
|
sender: ZERO_ADDRESS,
|
|
4529
5052
|
});
|
|
4530
5053
|
|
|
4531
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
4532
|
-
|
|
4533
|
-
|
|
5054
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
5055
|
+
inspectRes,
|
|
5056
|
+
);
|
|
4534
5057
|
}
|
|
4535
|
-
export async function
|
|
5058
|
+
export async function denyListV2ContainsNextEpoch<T0 = any>(
|
|
4536
5059
|
client: SuiClient,
|
|
4537
|
-
args: [
|
|
5060
|
+
args: [
|
|
5061
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5062
|
+
string | TransactionArgument,
|
|
5063
|
+
],
|
|
4538
5064
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4539
|
-
): Promise<TypedDevInspectResults<[
|
|
5065
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
4540
5066
|
const tx = new TransactionBlock();
|
|
4541
|
-
builder.
|
|
5067
|
+
builder.denyListV2ContainsNextEpoch(tx, args, typeArguments);
|
|
4542
5068
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4543
5069
|
transactionBlock: tx,
|
|
4544
5070
|
sender: ZERO_ADDRESS,
|
|
4545
5071
|
});
|
|
4546
5072
|
|
|
4547
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
4548
|
-
|
|
4549
|
-
|
|
5073
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
5074
|
+
inspectRes,
|
|
5075
|
+
);
|
|
4550
5076
|
}
|
|
4551
|
-
export async function
|
|
5077
|
+
export async function denyListV2DisableGlobalPause<T0 = any>(
|
|
4552
5078
|
client: SuiClient,
|
|
4553
|
-
args: [
|
|
5079
|
+
args: [
|
|
5080
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5081
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5082
|
+
],
|
|
4554
5083
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4555
|
-
): Promise<TypedDevInspectResults<[
|
|
5084
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
4556
5085
|
const tx = new TransactionBlock();
|
|
4557
|
-
builder.
|
|
5086
|
+
builder.denyListV2DisableGlobalPause(tx, args, typeArguments);
|
|
4558
5087
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4559
5088
|
transactionBlock: tx,
|
|
4560
5089
|
sender: ZERO_ADDRESS,
|
|
4561
5090
|
});
|
|
4562
5091
|
|
|
4563
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
5092
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
4564
5093
|
inspectRes,
|
|
4565
5094
|
);
|
|
4566
5095
|
}
|
|
4567
|
-
export async function
|
|
5096
|
+
export async function denyListV2EnableGlobalPause<T0 = any>(
|
|
4568
5097
|
client: SuiClient,
|
|
4569
|
-
args: [
|
|
4570
|
-
|
|
5098
|
+
args: [
|
|
5099
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5100
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5101
|
+
],
|
|
5102
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5103
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
5104
|
+
const tx = new TransactionBlock();
|
|
5105
|
+
builder.denyListV2EnableGlobalPause(tx, args, typeArguments);
|
|
5106
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5107
|
+
transactionBlock: tx,
|
|
5108
|
+
sender: ZERO_ADDRESS,
|
|
5109
|
+
});
|
|
5110
|
+
|
|
5111
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5112
|
+
inspectRes,
|
|
5113
|
+
);
|
|
5114
|
+
}
|
|
5115
|
+
export async function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(
|
|
5116
|
+
client: SuiClient,
|
|
5117
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5118
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5119
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
5120
|
+
const tx = new TransactionBlock();
|
|
5121
|
+
builder.denyListV2IsGlobalPauseEnabledCurrentEpoch(
|
|
5122
|
+
tx,
|
|
5123
|
+
args,
|
|
5124
|
+
typeArguments,
|
|
5125
|
+
);
|
|
5126
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5127
|
+
transactionBlock: tx,
|
|
5128
|
+
sender: ZERO_ADDRESS,
|
|
5129
|
+
});
|
|
5130
|
+
|
|
5131
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
5132
|
+
inspectRes,
|
|
5133
|
+
);
|
|
5134
|
+
}
|
|
5135
|
+
export async function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(
|
|
5136
|
+
client: SuiClient,
|
|
5137
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5138
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5139
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
5140
|
+
const tx = new TransactionBlock();
|
|
5141
|
+
builder.denyListV2IsGlobalPauseEnabledNextEpoch(tx, args, typeArguments);
|
|
5142
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5143
|
+
transactionBlock: tx,
|
|
5144
|
+
sender: ZERO_ADDRESS,
|
|
5145
|
+
});
|
|
5146
|
+
|
|
5147
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
5148
|
+
inspectRes,
|
|
5149
|
+
);
|
|
5150
|
+
}
|
|
5151
|
+
export async function denyListV2Remove<T0 = any>(
|
|
5152
|
+
client: SuiClient,
|
|
5153
|
+
args: [
|
|
5154
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5155
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5156
|
+
string | TransactionArgument,
|
|
5157
|
+
],
|
|
5158
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5159
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
5160
|
+
const tx = new TransactionBlock();
|
|
5161
|
+
builder.denyListV2Remove(tx, args, typeArguments);
|
|
5162
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5163
|
+
transactionBlock: tx,
|
|
5164
|
+
sender: ZERO_ADDRESS,
|
|
5165
|
+
});
|
|
5166
|
+
|
|
5167
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5168
|
+
inspectRes,
|
|
5169
|
+
);
|
|
5170
|
+
}
|
|
5171
|
+
export async function destroyZero<T0 = any>(
|
|
5172
|
+
client: SuiClient,
|
|
5173
|
+
args: [coin.Coin<T0> | TransactionArgument],
|
|
5174
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5175
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
5176
|
+
const tx = new TransactionBlock();
|
|
5177
|
+
builder.destroyZero(tx, args, typeArguments);
|
|
5178
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5179
|
+
transactionBlock: tx,
|
|
5180
|
+
sender: ZERO_ADDRESS,
|
|
5181
|
+
});
|
|
5182
|
+
|
|
5183
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5184
|
+
inspectRes,
|
|
5185
|
+
);
|
|
5186
|
+
}
|
|
5187
|
+
export async function divideIntoN<T0 = any>(
|
|
5188
|
+
client: SuiClient,
|
|
5189
|
+
args: [
|
|
5190
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5191
|
+
bigint | TransactionArgument,
|
|
5192
|
+
],
|
|
5193
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5194
|
+
): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>> {
|
|
5195
|
+
const tx = new TransactionBlock();
|
|
5196
|
+
builder.divideIntoN(tx, args, typeArguments);
|
|
5197
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5198
|
+
transactionBlock: tx,
|
|
5199
|
+
sender: ZERO_ADDRESS,
|
|
5200
|
+
});
|
|
5201
|
+
|
|
5202
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
5203
|
+
[coin.Coin<T0>[]]
|
|
5204
|
+
>(inspectRes);
|
|
5205
|
+
}
|
|
5206
|
+
export async function fromBalance<T0 = any>(
|
|
5207
|
+
client: SuiClient,
|
|
5208
|
+
args: [balance.Balance<T0> | TransactionArgument],
|
|
5209
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5210
|
+
): Promise<TypedDevInspectResults<[coin.Coin<T0>]>> {
|
|
5211
|
+
const tx = new TransactionBlock();
|
|
5212
|
+
builder.fromBalance(tx, args, typeArguments);
|
|
5213
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5214
|
+
transactionBlock: tx,
|
|
5215
|
+
sender: ZERO_ADDRESS,
|
|
5216
|
+
});
|
|
5217
|
+
|
|
5218
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
5219
|
+
[coin.Coin<T0>]
|
|
5220
|
+
>(inspectRes);
|
|
5221
|
+
}
|
|
5222
|
+
export async function getDecimals<T0 = any>(
|
|
5223
|
+
client: SuiClient,
|
|
5224
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5225
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5226
|
+
): Promise<TypedDevInspectResults<[number]>> {
|
|
5227
|
+
const tx = new TransactionBlock();
|
|
5228
|
+
builder.getDecimals(tx, args, typeArguments);
|
|
5229
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5230
|
+
transactionBlock: tx,
|
|
5231
|
+
sender: ZERO_ADDRESS,
|
|
5232
|
+
});
|
|
5233
|
+
|
|
5234
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[number]>(
|
|
5235
|
+
inspectRes,
|
|
5236
|
+
);
|
|
5237
|
+
}
|
|
5238
|
+
export async function getDescription<T0 = any>(
|
|
5239
|
+
client: SuiClient,
|
|
5240
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5241
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
4571
5242
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4572
5243
|
const tx = new TransactionBlock();
|
|
4573
5244
|
builder.getDescription(tx, args, typeArguments);
|
|
@@ -4663,6 +5334,26 @@ export namespace coin {
|
|
|
4663
5334
|
inspectRes,
|
|
4664
5335
|
);
|
|
4665
5336
|
}
|
|
5337
|
+
export async function migrateRegulatedCurrencyToV2<T0 = any>(
|
|
5338
|
+
client: SuiClient,
|
|
5339
|
+
args: [
|
|
5340
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5341
|
+
coin.DenyCap<T0> | TransactionArgument,
|
|
5342
|
+
Boolean | TransactionArgument,
|
|
5343
|
+
],
|
|
5344
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5345
|
+
): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>> {
|
|
5346
|
+
const tx = new TransactionBlock();
|
|
5347
|
+
builder.migrateRegulatedCurrencyToV2(tx, args, typeArguments);
|
|
5348
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5349
|
+
transactionBlock: tx,
|
|
5350
|
+
sender: ZERO_ADDRESS,
|
|
5351
|
+
});
|
|
5352
|
+
|
|
5353
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
5354
|
+
[coin.DenyCapV2<T0>]
|
|
5355
|
+
>(inspectRes);
|
|
5356
|
+
}
|
|
4666
5357
|
export async function mint<T0 = any>(
|
|
4667
5358
|
client: SuiClient,
|
|
4668
5359
|
args: [
|
|
@@ -4973,46 +5664,70 @@ export namespace coin {
|
|
|
4973
5664
|
}
|
|
4974
5665
|
}
|
|
4975
5666
|
|
|
4976
|
-
export namespace
|
|
4977
|
-
export interface
|
|
5667
|
+
export namespace config {
|
|
5668
|
+
export interface Config<T0> {
|
|
4978
5669
|
id: object_.UID;
|
|
4979
|
-
lists: bag.Bag;
|
|
4980
5670
|
}
|
|
4981
5671
|
|
|
4982
|
-
export namespace
|
|
4983
|
-
export const TYPE_QNAME = "0x2::
|
|
5672
|
+
export namespace Config {
|
|
5673
|
+
export const TYPE_QNAME = "0x2::config::Config";
|
|
4984
5674
|
|
|
4985
|
-
const TYPE = new TypeDescriptor<
|
|
5675
|
+
const TYPE = new TypeDescriptor<Config<any>>(Config.TYPE_QNAME);
|
|
4986
5676
|
|
|
4987
|
-
export function type
|
|
4988
|
-
|
|
5677
|
+
export function type<T0>(
|
|
5678
|
+
arg0: TypeDescriptor<T0> = ANY_TYPE,
|
|
5679
|
+
): TypeDescriptor<Config<T0>> {
|
|
5680
|
+
return TYPE.apply(arg0);
|
|
4989
5681
|
}
|
|
4990
5682
|
}
|
|
4991
5683
|
|
|
4992
|
-
export interface
|
|
4993
|
-
|
|
4994
|
-
denied_count: table.Table<string, bigint>;
|
|
4995
|
-
denied_addresses: table.Table<number[], vec_set.VecSet<string>>;
|
|
5684
|
+
export interface Setting<T0> {
|
|
5685
|
+
data: _0x1.option.Option<config.SettingData<T0>>;
|
|
4996
5686
|
}
|
|
4997
5687
|
|
|
4998
|
-
export namespace
|
|
4999
|
-
export const TYPE_QNAME = "0x2::
|
|
5688
|
+
export namespace Setting {
|
|
5689
|
+
export const TYPE_QNAME = "0x2::config::Setting";
|
|
5000
5690
|
|
|
5001
|
-
const TYPE = new TypeDescriptor<
|
|
5691
|
+
const TYPE = new TypeDescriptor<Setting<any>>(Setting.TYPE_QNAME);
|
|
5002
5692
|
|
|
5003
|
-
export function type
|
|
5004
|
-
|
|
5693
|
+
export function type<T0>(
|
|
5694
|
+
arg0: TypeDescriptor<T0> = ANY_TYPE,
|
|
5695
|
+
): TypeDescriptor<Setting<T0>> {
|
|
5696
|
+
return TYPE.apply(arg0);
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
|
|
5700
|
+
export interface SettingData<T0> {
|
|
5701
|
+
newer_value_epoch: bigint;
|
|
5702
|
+
newer_value: _0x1.option.Option<T0>;
|
|
5703
|
+
older_value_opt: _0x1.option.Option<T0>;
|
|
5704
|
+
}
|
|
5705
|
+
|
|
5706
|
+
export namespace SettingData {
|
|
5707
|
+
export const TYPE_QNAME = "0x2::config::SettingData";
|
|
5708
|
+
|
|
5709
|
+
const TYPE = new TypeDescriptor<SettingData<any>>(SettingData.TYPE_QNAME);
|
|
5710
|
+
|
|
5711
|
+
export function type<T0>(
|
|
5712
|
+
arg0: TypeDescriptor<T0> = ANY_TYPE,
|
|
5713
|
+
): TypeDescriptor<SettingData<T0>> {
|
|
5714
|
+
return TYPE.apply(arg0);
|
|
5005
5715
|
}
|
|
5006
5716
|
}
|
|
5007
5717
|
|
|
5008
5718
|
export namespace builder {
|
|
5009
|
-
export function
|
|
5719
|
+
export function addForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
5010
5720
|
tx: TransactionBlock,
|
|
5011
5721
|
args: [
|
|
5012
5722
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5723
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5724
|
+
T1 | TransactionArgument,
|
|
5725
|
+
T2 | TransactionArgument,
|
|
5726
|
+
],
|
|
5727
|
+
typeArguments: [
|
|
5728
|
+
TypeDescriptor<T0> | string,
|
|
5729
|
+
TypeDescriptor<T1> | string,
|
|
5730
|
+
TypeDescriptor<T2> | string,
|
|
5016
5731
|
],
|
|
5017
5732
|
): TransactionArgument &
|
|
5018
5733
|
[
|
|
@@ -5023,83 +5738,1088 @@ export namespace deny_list {
|
|
|
5023
5738
|
] {
|
|
5024
5739
|
const _args: any[] = [];
|
|
5025
5740
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5026
|
-
_args.push(
|
|
5027
|
-
_args.push(
|
|
5741
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
5742
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
5028
5743
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
5029
5744
|
|
|
5030
5745
|
// @ts-ignore
|
|
5031
5746
|
return tx.moveCall({
|
|
5032
|
-
target: "0x2::
|
|
5747
|
+
target: "0x2::config::add_for_next_epoch",
|
|
5033
5748
|
arguments: _args,
|
|
5749
|
+
typeArguments: [
|
|
5750
|
+
typeof typeArguments[0] === "string"
|
|
5751
|
+
? typeArguments[0]
|
|
5752
|
+
: typeArguments[0].getSignature(),
|
|
5753
|
+
typeof typeArguments[1] === "string"
|
|
5754
|
+
? typeArguments[1]
|
|
5755
|
+
: typeArguments[1].getSignature(),
|
|
5756
|
+
typeof typeArguments[2] === "string"
|
|
5757
|
+
? typeArguments[2]
|
|
5758
|
+
: typeArguments[2].getSignature(),
|
|
5759
|
+
],
|
|
5034
5760
|
});
|
|
5035
5761
|
}
|
|
5036
|
-
export function
|
|
5762
|
+
export function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(
|
|
5037
5763
|
tx: TransactionBlock,
|
|
5038
5764
|
args: [
|
|
5039
5765
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5766
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5767
|
+
T1 | TransactionArgument,
|
|
5768
|
+
],
|
|
5769
|
+
typeArguments: [
|
|
5770
|
+
TypeDescriptor<T0> | string,
|
|
5771
|
+
TypeDescriptor<T1> | string,
|
|
5772
|
+
TypeDescriptor<T2> | string,
|
|
5043
5773
|
],
|
|
5044
5774
|
): TransactionArgument &
|
|
5045
|
-
[
|
|
5046
|
-
TransactionArgument,
|
|
5047
|
-
TransactionArgument,
|
|
5048
|
-
TransactionArgument,
|
|
5049
|
-
TransactionArgument,
|
|
5050
|
-
] {
|
|
5775
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
5051
5776
|
const _args: any[] = [];
|
|
5052
5777
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5053
|
-
_args.push(
|
|
5054
|
-
_args.push(
|
|
5055
|
-
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
5778
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
5779
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
5056
5780
|
|
|
5057
5781
|
// @ts-ignore
|
|
5058
5782
|
return tx.moveCall({
|
|
5059
|
-
target: "0x2::
|
|
5783
|
+
target: "0x2::config::borrow_for_next_epoch_mut",
|
|
5060
5784
|
arguments: _args,
|
|
5785
|
+
typeArguments: [
|
|
5786
|
+
typeof typeArguments[0] === "string"
|
|
5787
|
+
? typeArguments[0]
|
|
5788
|
+
: typeArguments[0].getSignature(),
|
|
5789
|
+
typeof typeArguments[1] === "string"
|
|
5790
|
+
? typeArguments[1]
|
|
5791
|
+
: typeArguments[1].getSignature(),
|
|
5792
|
+
typeof typeArguments[2] === "string"
|
|
5793
|
+
? typeArguments[2]
|
|
5794
|
+
: typeArguments[2].getSignature(),
|
|
5795
|
+
],
|
|
5061
5796
|
});
|
|
5062
5797
|
}
|
|
5063
|
-
export function
|
|
5798
|
+
export function existsWithType<T0 = any, T1 = any, T2 = any>(
|
|
5064
5799
|
tx: TransactionBlock,
|
|
5800
|
+
args: [
|
|
5801
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5802
|
+
T1 | TransactionArgument,
|
|
5803
|
+
],
|
|
5804
|
+
typeArguments: [
|
|
5805
|
+
TypeDescriptor<T0> | string,
|
|
5806
|
+
TypeDescriptor<T1> | string,
|
|
5807
|
+
TypeDescriptor<T2> | string,
|
|
5808
|
+
],
|
|
5809
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5810
|
+
const _args: any[] = [];
|
|
5811
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5812
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5813
|
+
|
|
5814
|
+
// @ts-ignore
|
|
5815
|
+
return tx.moveCall({
|
|
5816
|
+
target: "0x2::config::exists_with_type",
|
|
5817
|
+
arguments: _args,
|
|
5818
|
+
typeArguments: [
|
|
5819
|
+
typeof typeArguments[0] === "string"
|
|
5820
|
+
? typeArguments[0]
|
|
5821
|
+
: typeArguments[0].getSignature(),
|
|
5822
|
+
typeof typeArguments[1] === "string"
|
|
5823
|
+
? typeArguments[1]
|
|
5824
|
+
: typeArguments[1].getSignature(),
|
|
5825
|
+
typeof typeArguments[2] === "string"
|
|
5826
|
+
? typeArguments[2]
|
|
5827
|
+
: typeArguments[2].getSignature(),
|
|
5828
|
+
],
|
|
5829
|
+
});
|
|
5830
|
+
}
|
|
5831
|
+
export function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
5832
|
+
tx: TransactionBlock,
|
|
5833
|
+
args: [
|
|
5834
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5835
|
+
T1 | TransactionArgument,
|
|
5836
|
+
],
|
|
5837
|
+
typeArguments: [
|
|
5838
|
+
TypeDescriptor<T0> | string,
|
|
5839
|
+
TypeDescriptor<T1> | string,
|
|
5840
|
+
TypeDescriptor<T2> | string,
|
|
5841
|
+
],
|
|
5842
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5843
|
+
const _args: any[] = [];
|
|
5844
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5845
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5846
|
+
|
|
5847
|
+
// @ts-ignore
|
|
5848
|
+
return tx.moveCall({
|
|
5849
|
+
target: "0x2::config::exists_with_type_for_next_epoch",
|
|
5850
|
+
arguments: _args,
|
|
5851
|
+
typeArguments: [
|
|
5852
|
+
typeof typeArguments[0] === "string"
|
|
5853
|
+
? typeArguments[0]
|
|
5854
|
+
: typeArguments[0].getSignature(),
|
|
5855
|
+
typeof typeArguments[1] === "string"
|
|
5856
|
+
? typeArguments[1]
|
|
5857
|
+
: typeArguments[1].getSignature(),
|
|
5858
|
+
typeof typeArguments[2] === "string"
|
|
5859
|
+
? typeArguments[2]
|
|
5860
|
+
: typeArguments[2].getSignature(),
|
|
5861
|
+
],
|
|
5862
|
+
});
|
|
5863
|
+
}
|
|
5864
|
+
export function new_<T0 = any>(
|
|
5865
|
+
tx: TransactionBlock,
|
|
5866
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5867
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5868
|
+
): TransactionArgument & [TransactionArgument] {
|
|
5869
|
+
const _args: any[] = [];
|
|
5870
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5871
|
+
|
|
5872
|
+
// @ts-ignore
|
|
5873
|
+
return tx.moveCall({
|
|
5874
|
+
target: "0x2::config::new",
|
|
5875
|
+
arguments: _args,
|
|
5876
|
+
typeArguments: [
|
|
5877
|
+
typeof typeArguments[0] === "string"
|
|
5878
|
+
? typeArguments[0]
|
|
5879
|
+
: typeArguments[0].getSignature(),
|
|
5880
|
+
],
|
|
5881
|
+
});
|
|
5882
|
+
}
|
|
5883
|
+
export function readSetting<T0 = any, T1 = any>(
|
|
5884
|
+
tx: TransactionBlock,
|
|
5885
|
+
args: [object_.ID | TransactionArgument, T0 | TransactionArgument],
|
|
5886
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
5887
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5888
|
+
const _args: any[] = [];
|
|
5889
|
+
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
5890
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5891
|
+
|
|
5892
|
+
// @ts-ignore
|
|
5893
|
+
return tx.moveCall({
|
|
5894
|
+
target: "0x2::config::read_setting",
|
|
5895
|
+
arguments: _args,
|
|
5896
|
+
typeArguments: [
|
|
5897
|
+
typeof typeArguments[0] === "string"
|
|
5898
|
+
? typeArguments[0]
|
|
5899
|
+
: typeArguments[0].getSignature(),
|
|
5900
|
+
typeof typeArguments[1] === "string"
|
|
5901
|
+
? typeArguments[1]
|
|
5902
|
+
: typeArguments[1].getSignature(),
|
|
5903
|
+
],
|
|
5904
|
+
});
|
|
5905
|
+
}
|
|
5906
|
+
export function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
5907
|
+
tx: TransactionBlock,
|
|
5908
|
+
args: [
|
|
5909
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5910
|
+
T1 | TransactionArgument,
|
|
5911
|
+
],
|
|
5912
|
+
typeArguments: [
|
|
5913
|
+
TypeDescriptor<T0> | string,
|
|
5914
|
+
TypeDescriptor<T1> | string,
|
|
5915
|
+
TypeDescriptor<T2> | string,
|
|
5916
|
+
],
|
|
5917
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5918
|
+
const _args: any[] = [];
|
|
5919
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5920
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5921
|
+
|
|
5922
|
+
// @ts-ignore
|
|
5923
|
+
return tx.moveCall({
|
|
5924
|
+
target: "0x2::config::read_setting_for_next_epoch",
|
|
5925
|
+
arguments: _args,
|
|
5926
|
+
typeArguments: [
|
|
5927
|
+
typeof typeArguments[0] === "string"
|
|
5928
|
+
? typeArguments[0]
|
|
5929
|
+
: typeArguments[0].getSignature(),
|
|
5930
|
+
typeof typeArguments[1] === "string"
|
|
5931
|
+
? typeArguments[1]
|
|
5932
|
+
: typeArguments[1].getSignature(),
|
|
5933
|
+
typeof typeArguments[2] === "string"
|
|
5934
|
+
? typeArguments[2]
|
|
5935
|
+
: typeArguments[2].getSignature(),
|
|
5936
|
+
],
|
|
5937
|
+
});
|
|
5938
|
+
}
|
|
5939
|
+
export function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
5940
|
+
tx: TransactionBlock,
|
|
5941
|
+
args: [
|
|
5942
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5943
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
5944
|
+
T1 | TransactionArgument,
|
|
5945
|
+
],
|
|
5946
|
+
typeArguments: [
|
|
5947
|
+
TypeDescriptor<T0> | string,
|
|
5948
|
+
TypeDescriptor<T1> | string,
|
|
5949
|
+
TypeDescriptor<T2> | string,
|
|
5950
|
+
],
|
|
5951
|
+
): TransactionArgument &
|
|
5952
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
5953
|
+
const _args: any[] = [];
|
|
5954
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5955
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
5956
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
5957
|
+
|
|
5958
|
+
// @ts-ignore
|
|
5959
|
+
return tx.moveCall({
|
|
5960
|
+
target: "0x2::config::remove_for_next_epoch",
|
|
5961
|
+
arguments: _args,
|
|
5962
|
+
typeArguments: [
|
|
5963
|
+
typeof typeArguments[0] === "string"
|
|
5964
|
+
? typeArguments[0]
|
|
5965
|
+
: typeArguments[0].getSignature(),
|
|
5966
|
+
typeof typeArguments[1] === "string"
|
|
5967
|
+
? typeArguments[1]
|
|
5968
|
+
: typeArguments[1].getSignature(),
|
|
5969
|
+
typeof typeArguments[2] === "string"
|
|
5970
|
+
? typeArguments[2]
|
|
5971
|
+
: typeArguments[2].getSignature(),
|
|
5972
|
+
],
|
|
5973
|
+
});
|
|
5974
|
+
}
|
|
5975
|
+
export function share<T0 = any>(
|
|
5976
|
+
tx: TransactionBlock,
|
|
5977
|
+
args: [config.Config<T0> | TransactionArgument],
|
|
5978
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
5979
|
+
): TransactionArgument & [TransactionArgument] {
|
|
5980
|
+
const _args: any[] = [];
|
|
5981
|
+
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
5982
|
+
|
|
5983
|
+
// @ts-ignore
|
|
5984
|
+
return tx.moveCall({
|
|
5985
|
+
target: "0x2::config::share",
|
|
5986
|
+
arguments: _args,
|
|
5987
|
+
typeArguments: [
|
|
5988
|
+
typeof typeArguments[0] === "string"
|
|
5989
|
+
? typeArguments[0]
|
|
5990
|
+
: typeArguments[0].getSignature(),
|
|
5991
|
+
],
|
|
5992
|
+
});
|
|
5993
|
+
}
|
|
5994
|
+
export function transfer<T0 = any>(
|
|
5995
|
+
tx: TransactionBlock,
|
|
5996
|
+
args: [
|
|
5997
|
+
config.Config<T0> | TransactionArgument,
|
|
5998
|
+
string | TransactionArgument,
|
|
5999
|
+
],
|
|
6000
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
6001
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
6002
|
+
const _args: any[] = [];
|
|
6003
|
+
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
6004
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6005
|
+
|
|
6006
|
+
// @ts-ignore
|
|
6007
|
+
return tx.moveCall({
|
|
6008
|
+
target: "0x2::config::transfer",
|
|
6009
|
+
arguments: _args,
|
|
6010
|
+
typeArguments: [
|
|
6011
|
+
typeof typeArguments[0] === "string"
|
|
6012
|
+
? typeArguments[0]
|
|
6013
|
+
: typeArguments[0].getSignature(),
|
|
6014
|
+
],
|
|
6015
|
+
});
|
|
6016
|
+
}
|
|
6017
|
+
}
|
|
6018
|
+
export namespace view {
|
|
6019
|
+
export async function addForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
6020
|
+
client: SuiClient,
|
|
6021
|
+
args: [
|
|
6022
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6023
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6024
|
+
T1 | TransactionArgument,
|
|
6025
|
+
T2 | TransactionArgument,
|
|
6026
|
+
],
|
|
6027
|
+
typeArguments: [
|
|
6028
|
+
TypeDescriptor<T0> | string,
|
|
6029
|
+
TypeDescriptor<T1> | string,
|
|
6030
|
+
TypeDescriptor<T2> | string,
|
|
6031
|
+
],
|
|
6032
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>> {
|
|
6033
|
+
const tx = new TransactionBlock();
|
|
6034
|
+
builder.addForNextEpoch(tx, args, typeArguments);
|
|
6035
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6036
|
+
transactionBlock: tx,
|
|
6037
|
+
sender: ZERO_ADDRESS,
|
|
6038
|
+
});
|
|
6039
|
+
|
|
6040
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6041
|
+
[_0x1.option.Option<T2>]
|
|
6042
|
+
>(inspectRes);
|
|
6043
|
+
}
|
|
6044
|
+
export async function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(
|
|
6045
|
+
client: SuiClient,
|
|
6046
|
+
args: [
|
|
6047
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6048
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6049
|
+
T1 | TransactionArgument,
|
|
6050
|
+
],
|
|
6051
|
+
typeArguments: [
|
|
6052
|
+
TypeDescriptor<T0> | string,
|
|
6053
|
+
TypeDescriptor<T1> | string,
|
|
6054
|
+
TypeDescriptor<T2> | string,
|
|
6055
|
+
],
|
|
6056
|
+
): Promise<TypedDevInspectResults<[string]>> {
|
|
6057
|
+
const tx = new TransactionBlock();
|
|
6058
|
+
builder.borrowForNextEpochMut(tx, args, typeArguments);
|
|
6059
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6060
|
+
transactionBlock: tx,
|
|
6061
|
+
sender: ZERO_ADDRESS,
|
|
6062
|
+
});
|
|
6063
|
+
|
|
6064
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
6065
|
+
inspectRes,
|
|
6066
|
+
);
|
|
6067
|
+
}
|
|
6068
|
+
export async function existsWithType<T0 = any, T1 = any, T2 = any>(
|
|
6069
|
+
client: SuiClient,
|
|
6070
|
+
args: [
|
|
6071
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6072
|
+
T1 | TransactionArgument,
|
|
6073
|
+
],
|
|
6074
|
+
typeArguments: [
|
|
6075
|
+
TypeDescriptor<T0> | string,
|
|
6076
|
+
TypeDescriptor<T1> | string,
|
|
6077
|
+
TypeDescriptor<T2> | string,
|
|
6078
|
+
],
|
|
6079
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6080
|
+
const tx = new TransactionBlock();
|
|
6081
|
+
builder.existsWithType(tx, args, typeArguments);
|
|
6082
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6083
|
+
transactionBlock: tx,
|
|
6084
|
+
sender: ZERO_ADDRESS,
|
|
6085
|
+
});
|
|
6086
|
+
|
|
6087
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6088
|
+
inspectRes,
|
|
6089
|
+
);
|
|
6090
|
+
}
|
|
6091
|
+
export async function existsWithTypeForNextEpoch<
|
|
6092
|
+
T0 = any,
|
|
6093
|
+
T1 = any,
|
|
6094
|
+
T2 = any,
|
|
6095
|
+
>(
|
|
6096
|
+
client: SuiClient,
|
|
6097
|
+
args: [
|
|
6098
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6099
|
+
T1 | TransactionArgument,
|
|
6100
|
+
],
|
|
6101
|
+
typeArguments: [
|
|
6102
|
+
TypeDescriptor<T0> | string,
|
|
6103
|
+
TypeDescriptor<T1> | string,
|
|
6104
|
+
TypeDescriptor<T2> | string,
|
|
6105
|
+
],
|
|
6106
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6107
|
+
const tx = new TransactionBlock();
|
|
6108
|
+
builder.existsWithTypeForNextEpoch(tx, args, typeArguments);
|
|
6109
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6110
|
+
transactionBlock: tx,
|
|
6111
|
+
sender: ZERO_ADDRESS,
|
|
6112
|
+
});
|
|
6113
|
+
|
|
6114
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6115
|
+
inspectRes,
|
|
6116
|
+
);
|
|
6117
|
+
}
|
|
6118
|
+
export async function new_<T0 = any>(
|
|
6119
|
+
client: SuiClient,
|
|
6120
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
6121
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
6122
|
+
): Promise<TypedDevInspectResults<[config.Config<T0>]>> {
|
|
6123
|
+
const tx = new TransactionBlock();
|
|
6124
|
+
builder.new_(tx, args, typeArguments);
|
|
6125
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6126
|
+
transactionBlock: tx,
|
|
6127
|
+
sender: ZERO_ADDRESS,
|
|
6128
|
+
});
|
|
6129
|
+
|
|
6130
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6131
|
+
[config.Config<T0>]
|
|
6132
|
+
>(inspectRes);
|
|
6133
|
+
}
|
|
6134
|
+
export async function readSetting<T0 = any, T1 = any>(
|
|
6135
|
+
client: SuiClient,
|
|
6136
|
+
args: [object_.ID | TransactionArgument, T0 | TransactionArgument],
|
|
6137
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
6138
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>> {
|
|
6139
|
+
const tx = new TransactionBlock();
|
|
6140
|
+
builder.readSetting(tx, args, typeArguments);
|
|
6141
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6142
|
+
transactionBlock: tx,
|
|
6143
|
+
sender: ZERO_ADDRESS,
|
|
6144
|
+
});
|
|
6145
|
+
|
|
6146
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6147
|
+
[_0x1.option.Option<T1>]
|
|
6148
|
+
>(inspectRes);
|
|
6149
|
+
}
|
|
6150
|
+
export async function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
6151
|
+
client: SuiClient,
|
|
6152
|
+
args: [
|
|
6153
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6154
|
+
T1 | TransactionArgument,
|
|
6155
|
+
],
|
|
6156
|
+
typeArguments: [
|
|
6157
|
+
TypeDescriptor<T0> | string,
|
|
6158
|
+
TypeDescriptor<T1> | string,
|
|
6159
|
+
TypeDescriptor<T2> | string,
|
|
6160
|
+
],
|
|
6161
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>> {
|
|
6162
|
+
const tx = new TransactionBlock();
|
|
6163
|
+
builder.readSettingForNextEpoch(tx, args, typeArguments);
|
|
6164
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6165
|
+
transactionBlock: tx,
|
|
6166
|
+
sender: ZERO_ADDRESS,
|
|
6167
|
+
});
|
|
6168
|
+
|
|
6169
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6170
|
+
[_0x1.option.Option<T2>]
|
|
6171
|
+
>(inspectRes);
|
|
6172
|
+
}
|
|
6173
|
+
export async function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(
|
|
6174
|
+
client: SuiClient,
|
|
6175
|
+
args: [
|
|
6176
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6177
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6178
|
+
T1 | TransactionArgument,
|
|
6179
|
+
],
|
|
6180
|
+
typeArguments: [
|
|
6181
|
+
TypeDescriptor<T0> | string,
|
|
6182
|
+
TypeDescriptor<T1> | string,
|
|
6183
|
+
TypeDescriptor<T2> | string,
|
|
6184
|
+
],
|
|
6185
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>> {
|
|
6186
|
+
const tx = new TransactionBlock();
|
|
6187
|
+
builder.removeForNextEpoch(tx, args, typeArguments);
|
|
6188
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6189
|
+
transactionBlock: tx,
|
|
6190
|
+
sender: ZERO_ADDRESS,
|
|
6191
|
+
});
|
|
6192
|
+
|
|
6193
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6194
|
+
[_0x1.option.Option<T2>]
|
|
6195
|
+
>(inspectRes);
|
|
6196
|
+
}
|
|
6197
|
+
export async function share<T0 = any>(
|
|
6198
|
+
client: SuiClient,
|
|
6199
|
+
args: [config.Config<T0> | TransactionArgument],
|
|
6200
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
6201
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6202
|
+
const tx = new TransactionBlock();
|
|
6203
|
+
builder.share(tx, args, typeArguments);
|
|
6204
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6205
|
+
transactionBlock: tx,
|
|
6206
|
+
sender: ZERO_ADDRESS,
|
|
6207
|
+
});
|
|
6208
|
+
|
|
6209
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6210
|
+
inspectRes,
|
|
6211
|
+
);
|
|
6212
|
+
}
|
|
6213
|
+
export async function transfer<T0 = any>(
|
|
6214
|
+
client: SuiClient,
|
|
6215
|
+
args: [
|
|
6216
|
+
config.Config<T0> | TransactionArgument,
|
|
6217
|
+
string | TransactionArgument,
|
|
6218
|
+
],
|
|
6219
|
+
typeArguments: [TypeDescriptor<T0> | string],
|
|
6220
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6221
|
+
const tx = new TransactionBlock();
|
|
6222
|
+
builder.transfer(tx, args, typeArguments);
|
|
6223
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6224
|
+
transactionBlock: tx,
|
|
6225
|
+
sender: ZERO_ADDRESS,
|
|
6226
|
+
});
|
|
6227
|
+
|
|
6228
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6229
|
+
inspectRes,
|
|
6230
|
+
);
|
|
6231
|
+
}
|
|
6232
|
+
}
|
|
6233
|
+
}
|
|
6234
|
+
|
|
6235
|
+
export namespace deny_list {
|
|
6236
|
+
export interface AddressKey {
|
|
6237
|
+
pos0: string;
|
|
6238
|
+
}
|
|
6239
|
+
|
|
6240
|
+
export namespace AddressKey {
|
|
6241
|
+
export const TYPE_QNAME = "0x2::deny_list::AddressKey";
|
|
6242
|
+
|
|
6243
|
+
const TYPE = new TypeDescriptor<AddressKey>(AddressKey.TYPE_QNAME);
|
|
6244
|
+
|
|
6245
|
+
export function type(): TypeDescriptor<AddressKey> {
|
|
6246
|
+
return TYPE.apply();
|
|
6247
|
+
}
|
|
6248
|
+
}
|
|
6249
|
+
|
|
6250
|
+
export interface AddressKeyInstance extends TypedEventInstance<AddressKey> {
|
|
6251
|
+
data_decoded: AddressKey;
|
|
6252
|
+
type_arguments: [];
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
export interface ConfigKey {
|
|
6256
|
+
per_type_index: bigint;
|
|
6257
|
+
per_type_key: number[];
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
export namespace ConfigKey {
|
|
6261
|
+
export const TYPE_QNAME = "0x2::deny_list::ConfigKey";
|
|
6262
|
+
|
|
6263
|
+
const TYPE = new TypeDescriptor<ConfigKey>(ConfigKey.TYPE_QNAME);
|
|
6264
|
+
|
|
6265
|
+
export function type(): TypeDescriptor<ConfigKey> {
|
|
6266
|
+
return TYPE.apply();
|
|
6267
|
+
}
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
export interface ConfigKeyInstance extends TypedEventInstance<ConfigKey> {
|
|
6271
|
+
data_decoded: ConfigKey;
|
|
6272
|
+
type_arguments: [];
|
|
6273
|
+
}
|
|
6274
|
+
|
|
6275
|
+
export interface ConfigWriteCap {
|
|
6276
|
+
dummy_field: Boolean;
|
|
6277
|
+
}
|
|
6278
|
+
|
|
6279
|
+
export namespace ConfigWriteCap {
|
|
6280
|
+
export const TYPE_QNAME = "0x2::deny_list::ConfigWriteCap";
|
|
6281
|
+
|
|
6282
|
+
const TYPE = new TypeDescriptor<ConfigWriteCap>(ConfigWriteCap.TYPE_QNAME);
|
|
6283
|
+
|
|
6284
|
+
export function type(): TypeDescriptor<ConfigWriteCap> {
|
|
6285
|
+
return TYPE.apply();
|
|
6286
|
+
}
|
|
6287
|
+
}
|
|
6288
|
+
|
|
6289
|
+
export interface DenyList {
|
|
6290
|
+
id: object_.UID;
|
|
6291
|
+
lists: bag.Bag;
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6294
|
+
export namespace DenyList {
|
|
6295
|
+
export const TYPE_QNAME = "0x2::deny_list::DenyList";
|
|
6296
|
+
|
|
6297
|
+
const TYPE = new TypeDescriptor<DenyList>(DenyList.TYPE_QNAME);
|
|
6298
|
+
|
|
6299
|
+
export function type(): TypeDescriptor<DenyList> {
|
|
6300
|
+
return TYPE.apply();
|
|
6301
|
+
}
|
|
6302
|
+
}
|
|
6303
|
+
|
|
6304
|
+
export interface GlobalPauseKey {
|
|
6305
|
+
dummy_field: Boolean;
|
|
6306
|
+
}
|
|
6307
|
+
|
|
6308
|
+
export namespace GlobalPauseKey {
|
|
6309
|
+
export const TYPE_QNAME = "0x2::deny_list::GlobalPauseKey";
|
|
6310
|
+
|
|
6311
|
+
const TYPE = new TypeDescriptor<GlobalPauseKey>(GlobalPauseKey.TYPE_QNAME);
|
|
6312
|
+
|
|
6313
|
+
export function type(): TypeDescriptor<GlobalPauseKey> {
|
|
6314
|
+
return TYPE.apply();
|
|
6315
|
+
}
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
export interface GlobalPauseKeyInstance
|
|
6319
|
+
extends TypedEventInstance<GlobalPauseKey> {
|
|
6320
|
+
data_decoded: GlobalPauseKey;
|
|
6321
|
+
type_arguments: [];
|
|
6322
|
+
}
|
|
6323
|
+
|
|
6324
|
+
export interface PerTypeConfigCreated {
|
|
6325
|
+
key: deny_list.ConfigKey;
|
|
6326
|
+
config_id: object_.ID;
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6329
|
+
export namespace PerTypeConfigCreated {
|
|
6330
|
+
export const TYPE_QNAME = "0x2::deny_list::PerTypeConfigCreated";
|
|
6331
|
+
|
|
6332
|
+
const TYPE = new TypeDescriptor<PerTypeConfigCreated>(
|
|
6333
|
+
PerTypeConfigCreated.TYPE_QNAME,
|
|
6334
|
+
);
|
|
6335
|
+
|
|
6336
|
+
export function type(): TypeDescriptor<PerTypeConfigCreated> {
|
|
6337
|
+
return TYPE.apply();
|
|
6338
|
+
}
|
|
6339
|
+
}
|
|
6340
|
+
|
|
6341
|
+
export interface PerTypeConfigCreatedInstance
|
|
6342
|
+
extends TypedEventInstance<PerTypeConfigCreated> {
|
|
6343
|
+
data_decoded: PerTypeConfigCreated;
|
|
6344
|
+
type_arguments: [];
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
export interface PerTypeList {
|
|
6348
|
+
id: object_.UID;
|
|
6349
|
+
denied_count: table.Table<string, bigint>;
|
|
6350
|
+
denied_addresses: table.Table<number[], vec_set.VecSet<string>>;
|
|
6351
|
+
}
|
|
6352
|
+
|
|
6353
|
+
export namespace PerTypeList {
|
|
6354
|
+
export const TYPE_QNAME = "0x2::deny_list::PerTypeList";
|
|
6355
|
+
|
|
6356
|
+
const TYPE = new TypeDescriptor<PerTypeList>(PerTypeList.TYPE_QNAME);
|
|
6357
|
+
|
|
6358
|
+
export function type(): TypeDescriptor<PerTypeList> {
|
|
6359
|
+
return TYPE.apply();
|
|
6360
|
+
}
|
|
6361
|
+
}
|
|
6362
|
+
|
|
6363
|
+
export namespace builder {
|
|
6364
|
+
export function migrateV1ToV2(
|
|
6365
|
+
tx: TransactionBlock,
|
|
6366
|
+
args: [
|
|
6367
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6368
|
+
bigint | TransactionArgument,
|
|
6369
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6370
|
+
],
|
|
6371
|
+
): TransactionArgument &
|
|
6372
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6373
|
+
const _args: any[] = [];
|
|
6374
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6375
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6376
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6377
|
+
|
|
6378
|
+
// @ts-ignore
|
|
6379
|
+
return tx.moveCall({
|
|
6380
|
+
target: "0x2::deny_list::migrate_v1_to_v2",
|
|
6381
|
+
arguments: _args,
|
|
6382
|
+
});
|
|
6383
|
+
}
|
|
6384
|
+
export function v1Add(
|
|
6385
|
+
tx: TransactionBlock,
|
|
6386
|
+
args: [
|
|
6387
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6388
|
+
bigint | TransactionArgument,
|
|
6389
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6390
|
+
string | TransactionArgument,
|
|
6391
|
+
],
|
|
6392
|
+
): TransactionArgument &
|
|
6393
|
+
[
|
|
6394
|
+
TransactionArgument,
|
|
6395
|
+
TransactionArgument,
|
|
6396
|
+
TransactionArgument,
|
|
6397
|
+
TransactionArgument,
|
|
6398
|
+
] {
|
|
6399
|
+
const _args: any[] = [];
|
|
6400
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6401
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6402
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6403
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6404
|
+
|
|
6405
|
+
// @ts-ignore
|
|
6406
|
+
return tx.moveCall({
|
|
6407
|
+
target: "0x2::deny_list::v1_add",
|
|
6408
|
+
arguments: _args,
|
|
6409
|
+
});
|
|
6410
|
+
}
|
|
6411
|
+
export function v1Contains(
|
|
6412
|
+
tx: TransactionBlock,
|
|
6413
|
+
args: [
|
|
6414
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6415
|
+
bigint | TransactionArgument,
|
|
6416
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6417
|
+
string | TransactionArgument,
|
|
6418
|
+
],
|
|
6419
|
+
): TransactionArgument &
|
|
6420
|
+
[
|
|
6421
|
+
TransactionArgument,
|
|
6422
|
+
TransactionArgument,
|
|
6423
|
+
TransactionArgument,
|
|
6424
|
+
TransactionArgument,
|
|
6425
|
+
] {
|
|
6426
|
+
const _args: any[] = [];
|
|
6427
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6428
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6429
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6430
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6431
|
+
|
|
6432
|
+
// @ts-ignore
|
|
6433
|
+
return tx.moveCall({
|
|
6434
|
+
target: "0x2::deny_list::v1_contains",
|
|
6435
|
+
arguments: _args,
|
|
6436
|
+
});
|
|
6437
|
+
}
|
|
6438
|
+
export function v1Remove(
|
|
6439
|
+
tx: TransactionBlock,
|
|
6440
|
+
args: [
|
|
6441
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6442
|
+
bigint | TransactionArgument,
|
|
6443
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6444
|
+
string | TransactionArgument,
|
|
6445
|
+
],
|
|
6446
|
+
): TransactionArgument &
|
|
6447
|
+
[
|
|
6448
|
+
TransactionArgument,
|
|
6449
|
+
TransactionArgument,
|
|
6450
|
+
TransactionArgument,
|
|
6451
|
+
TransactionArgument,
|
|
6452
|
+
] {
|
|
6453
|
+
const _args: any[] = [];
|
|
6454
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6455
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6456
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6457
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6458
|
+
|
|
6459
|
+
// @ts-ignore
|
|
6460
|
+
return tx.moveCall({
|
|
6461
|
+
target: "0x2::deny_list::v1_remove",
|
|
6462
|
+
arguments: _args,
|
|
6463
|
+
});
|
|
6464
|
+
}
|
|
6465
|
+
export function v2Add(
|
|
6466
|
+
tx: TransactionBlock,
|
|
6467
|
+
args: [
|
|
6468
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6469
|
+
bigint | TransactionArgument,
|
|
6470
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6471
|
+
string | TransactionArgument,
|
|
6472
|
+
],
|
|
6473
|
+
): TransactionArgument &
|
|
6474
|
+
[
|
|
6475
|
+
TransactionArgument,
|
|
6476
|
+
TransactionArgument,
|
|
6477
|
+
TransactionArgument,
|
|
6478
|
+
TransactionArgument,
|
|
6479
|
+
] {
|
|
6480
|
+
const _args: any[] = [];
|
|
6481
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6482
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6483
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6484
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6485
|
+
|
|
6486
|
+
// @ts-ignore
|
|
6487
|
+
return tx.moveCall({
|
|
6488
|
+
target: "0x2::deny_list::v2_add",
|
|
6489
|
+
arguments: _args,
|
|
6490
|
+
});
|
|
6491
|
+
}
|
|
6492
|
+
export function v2ContainsCurrentEpoch(
|
|
6493
|
+
tx: TransactionBlock,
|
|
6494
|
+
args: [
|
|
6495
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6496
|
+
bigint | TransactionArgument,
|
|
6497
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6498
|
+
string | TransactionArgument,
|
|
6499
|
+
],
|
|
6500
|
+
): TransactionArgument &
|
|
6501
|
+
[
|
|
6502
|
+
TransactionArgument,
|
|
6503
|
+
TransactionArgument,
|
|
6504
|
+
TransactionArgument,
|
|
6505
|
+
TransactionArgument,
|
|
6506
|
+
] {
|
|
6507
|
+
const _args: any[] = [];
|
|
6508
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6509
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6510
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6511
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6512
|
+
|
|
6513
|
+
// @ts-ignore
|
|
6514
|
+
return tx.moveCall({
|
|
6515
|
+
target: "0x2::deny_list::v2_contains_current_epoch",
|
|
6516
|
+
arguments: _args,
|
|
6517
|
+
});
|
|
6518
|
+
}
|
|
6519
|
+
export function v2ContainsNextEpoch(
|
|
6520
|
+
tx: TransactionBlock,
|
|
6521
|
+
args: [
|
|
6522
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6523
|
+
bigint | TransactionArgument,
|
|
6524
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6525
|
+
string | TransactionArgument,
|
|
6526
|
+
],
|
|
6527
|
+
): TransactionArgument &
|
|
6528
|
+
[
|
|
6529
|
+
TransactionArgument,
|
|
6530
|
+
TransactionArgument,
|
|
6531
|
+
TransactionArgument,
|
|
6532
|
+
TransactionArgument,
|
|
6533
|
+
] {
|
|
6534
|
+
const _args: any[] = [];
|
|
6535
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6536
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6537
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6538
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6539
|
+
|
|
6540
|
+
// @ts-ignore
|
|
6541
|
+
return tx.moveCall({
|
|
6542
|
+
target: "0x2::deny_list::v2_contains_next_epoch",
|
|
6543
|
+
arguments: _args,
|
|
6544
|
+
});
|
|
6545
|
+
}
|
|
6546
|
+
export function v2DisableGlobalPause(
|
|
6547
|
+
tx: TransactionBlock,
|
|
6548
|
+
args: [
|
|
6549
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6550
|
+
bigint | TransactionArgument,
|
|
6551
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6552
|
+
],
|
|
6553
|
+
): TransactionArgument &
|
|
6554
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6555
|
+
const _args: any[] = [];
|
|
6556
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6557
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6558
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6559
|
+
|
|
6560
|
+
// @ts-ignore
|
|
6561
|
+
return tx.moveCall({
|
|
6562
|
+
target: "0x2::deny_list::v2_disable_global_pause",
|
|
6563
|
+
arguments: _args,
|
|
6564
|
+
});
|
|
6565
|
+
}
|
|
6566
|
+
export function v2EnableGlobalPause(
|
|
6567
|
+
tx: TransactionBlock,
|
|
6568
|
+
args: [
|
|
6569
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6570
|
+
bigint | TransactionArgument,
|
|
6571
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6572
|
+
],
|
|
6573
|
+
): TransactionArgument &
|
|
6574
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6575
|
+
const _args: any[] = [];
|
|
6576
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6577
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6578
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6579
|
+
|
|
6580
|
+
// @ts-ignore
|
|
6581
|
+
return tx.moveCall({
|
|
6582
|
+
target: "0x2::deny_list::v2_enable_global_pause",
|
|
6583
|
+
arguments: _args,
|
|
6584
|
+
});
|
|
6585
|
+
}
|
|
6586
|
+
export function v2IsGlobalPauseEnabledCurrentEpoch(
|
|
6587
|
+
tx: TransactionBlock,
|
|
6588
|
+
args: [
|
|
6589
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6590
|
+
bigint | TransactionArgument,
|
|
6591
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6592
|
+
],
|
|
6593
|
+
): TransactionArgument &
|
|
6594
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6595
|
+
const _args: any[] = [];
|
|
6596
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6597
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6598
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6599
|
+
|
|
6600
|
+
// @ts-ignore
|
|
6601
|
+
return tx.moveCall({
|
|
6602
|
+
target: "0x2::deny_list::v2_is_global_pause_enabled_current_epoch",
|
|
6603
|
+
arguments: _args,
|
|
6604
|
+
});
|
|
6605
|
+
}
|
|
6606
|
+
export function v2IsGlobalPauseEnabledNextEpoch(
|
|
6607
|
+
tx: TransactionBlock,
|
|
6608
|
+
args: [
|
|
6609
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6610
|
+
bigint | TransactionArgument,
|
|
6611
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6612
|
+
],
|
|
6613
|
+
): TransactionArgument &
|
|
6614
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6615
|
+
const _args: any[] = [];
|
|
6616
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6617
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6618
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6619
|
+
|
|
6620
|
+
// @ts-ignore
|
|
6621
|
+
return tx.moveCall({
|
|
6622
|
+
target: "0x2::deny_list::v2_is_global_pause_enabled_next_epoch",
|
|
6623
|
+
arguments: _args,
|
|
6624
|
+
});
|
|
6625
|
+
}
|
|
6626
|
+
export function v2Remove(
|
|
6627
|
+
tx: TransactionBlock,
|
|
6628
|
+
args: [
|
|
6629
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6630
|
+
bigint | TransactionArgument,
|
|
6631
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6632
|
+
string | TransactionArgument,
|
|
6633
|
+
],
|
|
6634
|
+
): TransactionArgument &
|
|
6635
|
+
[
|
|
6636
|
+
TransactionArgument,
|
|
6637
|
+
TransactionArgument,
|
|
6638
|
+
TransactionArgument,
|
|
6639
|
+
TransactionArgument,
|
|
6640
|
+
] {
|
|
6641
|
+
const _args: any[] = [];
|
|
6642
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6643
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
6644
|
+
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6645
|
+
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
6646
|
+
|
|
6647
|
+
// @ts-ignore
|
|
6648
|
+
return tx.moveCall({
|
|
6649
|
+
target: "0x2::deny_list::v2_remove",
|
|
6650
|
+
arguments: _args,
|
|
6651
|
+
});
|
|
6652
|
+
}
|
|
6653
|
+
}
|
|
6654
|
+
export namespace view {
|
|
6655
|
+
export async function migrateV1ToV2(
|
|
6656
|
+
client: SuiClient,
|
|
6657
|
+
args: [
|
|
6658
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6659
|
+
bigint | TransactionArgument,
|
|
6660
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6661
|
+
],
|
|
6662
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6663
|
+
const tx = new TransactionBlock();
|
|
6664
|
+
builder.migrateV1ToV2(tx, args);
|
|
6665
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6666
|
+
transactionBlock: tx,
|
|
6667
|
+
sender: ZERO_ADDRESS,
|
|
6668
|
+
});
|
|
6669
|
+
|
|
6670
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6671
|
+
inspectRes,
|
|
6672
|
+
);
|
|
6673
|
+
}
|
|
6674
|
+
export async function v1Add(
|
|
6675
|
+
client: SuiClient,
|
|
6676
|
+
args: [
|
|
6677
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6678
|
+
bigint | TransactionArgument,
|
|
6679
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6680
|
+
string | TransactionArgument,
|
|
6681
|
+
],
|
|
6682
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6683
|
+
const tx = new TransactionBlock();
|
|
6684
|
+
builder.v1Add(tx, args);
|
|
6685
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6686
|
+
transactionBlock: tx,
|
|
6687
|
+
sender: ZERO_ADDRESS,
|
|
6688
|
+
});
|
|
6689
|
+
|
|
6690
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6691
|
+
inspectRes,
|
|
6692
|
+
);
|
|
6693
|
+
}
|
|
6694
|
+
export async function v1Contains(
|
|
6695
|
+
client: SuiClient,
|
|
6696
|
+
args: [
|
|
6697
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6698
|
+
bigint | TransactionArgument,
|
|
6699
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6700
|
+
string | TransactionArgument,
|
|
6701
|
+
],
|
|
6702
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6703
|
+
const tx = new TransactionBlock();
|
|
6704
|
+
builder.v1Contains(tx, args);
|
|
6705
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6706
|
+
transactionBlock: tx,
|
|
6707
|
+
sender: ZERO_ADDRESS,
|
|
6708
|
+
});
|
|
6709
|
+
|
|
6710
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6711
|
+
inspectRes,
|
|
6712
|
+
);
|
|
6713
|
+
}
|
|
6714
|
+
export async function v1Remove(
|
|
6715
|
+
client: SuiClient,
|
|
6716
|
+
args: [
|
|
6717
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6718
|
+
bigint | TransactionArgument,
|
|
6719
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6720
|
+
string | TransactionArgument,
|
|
6721
|
+
],
|
|
6722
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6723
|
+
const tx = new TransactionBlock();
|
|
6724
|
+
builder.v1Remove(tx, args);
|
|
6725
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6726
|
+
transactionBlock: tx,
|
|
6727
|
+
sender: ZERO_ADDRESS,
|
|
6728
|
+
});
|
|
6729
|
+
|
|
6730
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6731
|
+
inspectRes,
|
|
6732
|
+
);
|
|
6733
|
+
}
|
|
6734
|
+
export async function v2Add(
|
|
6735
|
+
client: SuiClient,
|
|
6736
|
+
args: [
|
|
6737
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6738
|
+
bigint | TransactionArgument,
|
|
6739
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6740
|
+
string | TransactionArgument,
|
|
6741
|
+
],
|
|
6742
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6743
|
+
const tx = new TransactionBlock();
|
|
6744
|
+
builder.v2Add(tx, args);
|
|
6745
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6746
|
+
transactionBlock: tx,
|
|
6747
|
+
sender: ZERO_ADDRESS,
|
|
6748
|
+
});
|
|
6749
|
+
|
|
6750
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6751
|
+
inspectRes,
|
|
6752
|
+
);
|
|
6753
|
+
}
|
|
6754
|
+
export async function v2ContainsCurrentEpoch(
|
|
6755
|
+
client: SuiClient,
|
|
6756
|
+
args: [
|
|
6757
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6758
|
+
bigint | TransactionArgument,
|
|
6759
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6760
|
+
string | TransactionArgument,
|
|
6761
|
+
],
|
|
6762
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6763
|
+
const tx = new TransactionBlock();
|
|
6764
|
+
builder.v2ContainsCurrentEpoch(tx, args);
|
|
6765
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6766
|
+
transactionBlock: tx,
|
|
6767
|
+
sender: ZERO_ADDRESS,
|
|
6768
|
+
});
|
|
6769
|
+
|
|
6770
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6771
|
+
inspectRes,
|
|
6772
|
+
);
|
|
6773
|
+
}
|
|
6774
|
+
export async function v2ContainsNextEpoch(
|
|
6775
|
+
client: SuiClient,
|
|
6776
|
+
args: [
|
|
6777
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6778
|
+
bigint | TransactionArgument,
|
|
6779
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6780
|
+
string | TransactionArgument,
|
|
6781
|
+
],
|
|
6782
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6783
|
+
const tx = new TransactionBlock();
|
|
6784
|
+
builder.v2ContainsNextEpoch(tx, args);
|
|
6785
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6786
|
+
transactionBlock: tx,
|
|
6787
|
+
sender: ZERO_ADDRESS,
|
|
6788
|
+
});
|
|
6789
|
+
|
|
6790
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6791
|
+
inspectRes,
|
|
6792
|
+
);
|
|
6793
|
+
}
|
|
6794
|
+
export async function v2DisableGlobalPause(
|
|
6795
|
+
client: SuiClient,
|
|
5065
6796
|
args: [
|
|
5066
6797
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5067
6798
|
bigint | TransactionArgument,
|
|
5068
6799
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5069
|
-
string | TransactionArgument,
|
|
5070
6800
|
],
|
|
5071
|
-
):
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
] {
|
|
5078
|
-
const _args: any[] = [];
|
|
5079
|
-
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5080
|
-
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5081
|
-
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
5082
|
-
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
5083
|
-
|
|
5084
|
-
// @ts-ignore
|
|
5085
|
-
return tx.moveCall({
|
|
5086
|
-
target: "0x2::deny_list::remove",
|
|
5087
|
-
arguments: _args,
|
|
6801
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6802
|
+
const tx = new TransactionBlock();
|
|
6803
|
+
builder.v2DisableGlobalPause(tx, args);
|
|
6804
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6805
|
+
transactionBlock: tx,
|
|
6806
|
+
sender: ZERO_ADDRESS,
|
|
5088
6807
|
});
|
|
6808
|
+
|
|
6809
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6810
|
+
inspectRes,
|
|
6811
|
+
);
|
|
5089
6812
|
}
|
|
5090
|
-
|
|
5091
|
-
export namespace view {
|
|
5092
|
-
export async function add(
|
|
6813
|
+
export async function v2EnableGlobalPause(
|
|
5093
6814
|
client: SuiClient,
|
|
5094
6815
|
args: [
|
|
5095
6816
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5096
6817
|
bigint | TransactionArgument,
|
|
5097
6818
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5098
|
-
string | TransactionArgument,
|
|
5099
6819
|
],
|
|
5100
6820
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5101
6821
|
const tx = new TransactionBlock();
|
|
5102
|
-
builder.
|
|
6822
|
+
builder.v2EnableGlobalPause(tx, args);
|
|
5103
6823
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5104
6824
|
transactionBlock: tx,
|
|
5105
6825
|
sender: ZERO_ADDRESS,
|
|
@@ -5109,17 +6829,35 @@ export namespace deny_list {
|
|
|
5109
6829
|
inspectRes,
|
|
5110
6830
|
);
|
|
5111
6831
|
}
|
|
5112
|
-
export async function
|
|
6832
|
+
export async function v2IsGlobalPauseEnabledCurrentEpoch(
|
|
6833
|
+
client: SuiClient,
|
|
6834
|
+
args: [
|
|
6835
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
6836
|
+
bigint | TransactionArgument,
|
|
6837
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6838
|
+
],
|
|
6839
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6840
|
+
const tx = new TransactionBlock();
|
|
6841
|
+
builder.v2IsGlobalPauseEnabledCurrentEpoch(tx, args);
|
|
6842
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6843
|
+
transactionBlock: tx,
|
|
6844
|
+
sender: ZERO_ADDRESS,
|
|
6845
|
+
});
|
|
6846
|
+
|
|
6847
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6848
|
+
inspectRes,
|
|
6849
|
+
);
|
|
6850
|
+
}
|
|
6851
|
+
export async function v2IsGlobalPauseEnabledNextEpoch(
|
|
5113
6852
|
client: SuiClient,
|
|
5114
6853
|
args: [
|
|
5115
6854
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5116
6855
|
bigint | TransactionArgument,
|
|
5117
6856
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5118
|
-
string | TransactionArgument,
|
|
5119
6857
|
],
|
|
5120
6858
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
5121
6859
|
const tx = new TransactionBlock();
|
|
5122
|
-
builder.
|
|
6860
|
+
builder.v2IsGlobalPauseEnabledNextEpoch(tx, args);
|
|
5123
6861
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5124
6862
|
transactionBlock: tx,
|
|
5125
6863
|
sender: ZERO_ADDRESS,
|
|
@@ -5129,7 +6867,7 @@ export namespace deny_list {
|
|
|
5129
6867
|
inspectRes,
|
|
5130
6868
|
);
|
|
5131
6869
|
}
|
|
5132
|
-
export async function
|
|
6870
|
+
export async function v2Remove(
|
|
5133
6871
|
client: SuiClient,
|
|
5134
6872
|
args: [
|
|
5135
6873
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -5139,7 +6877,7 @@ export namespace deny_list {
|
|
|
5139
6877
|
],
|
|
5140
6878
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5141
6879
|
const tx = new TransactionBlock();
|
|
5142
|
-
builder.
|
|
6880
|
+
builder.v2Remove(tx, args);
|
|
5143
6881
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5144
6882
|
transactionBlock: tx,
|
|
5145
6883
|
sender: ZERO_ADDRESS,
|
|
@@ -6522,6 +8260,139 @@ export namespace dynamic_object_field {
|
|
|
6522
8260
|
],
|
|
6523
8261
|
});
|
|
6524
8262
|
}
|
|
8263
|
+
export function internalAdd<T0 = any, T1 = any>(
|
|
8264
|
+
tx: TransactionBlock,
|
|
8265
|
+
args: [
|
|
8266
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8267
|
+
T0 | TransactionArgument,
|
|
8268
|
+
T1 | TransactionArgument,
|
|
8269
|
+
],
|
|
8270
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8271
|
+
): TransactionArgument &
|
|
8272
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
8273
|
+
const _args: any[] = [];
|
|
8274
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8275
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
8276
|
+
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
8277
|
+
|
|
8278
|
+
// @ts-ignore
|
|
8279
|
+
return tx.moveCall({
|
|
8280
|
+
target: "0x2::dynamic_object_field::internal_add",
|
|
8281
|
+
arguments: _args,
|
|
8282
|
+
typeArguments: [
|
|
8283
|
+
typeof typeArguments[0] === "string"
|
|
8284
|
+
? typeArguments[0]
|
|
8285
|
+
: typeArguments[0].getSignature(),
|
|
8286
|
+
typeof typeArguments[1] === "string"
|
|
8287
|
+
? typeArguments[1]
|
|
8288
|
+
: typeArguments[1].getSignature(),
|
|
8289
|
+
],
|
|
8290
|
+
});
|
|
8291
|
+
}
|
|
8292
|
+
export function internalBorrow<T0 = any, T1 = any>(
|
|
8293
|
+
tx: TransactionBlock,
|
|
8294
|
+
args: [
|
|
8295
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8296
|
+
T0 | TransactionArgument,
|
|
8297
|
+
],
|
|
8298
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8299
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
8300
|
+
const _args: any[] = [];
|
|
8301
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8302
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
8303
|
+
|
|
8304
|
+
// @ts-ignore
|
|
8305
|
+
return tx.moveCall({
|
|
8306
|
+
target: "0x2::dynamic_object_field::internal_borrow",
|
|
8307
|
+
arguments: _args,
|
|
8308
|
+
typeArguments: [
|
|
8309
|
+
typeof typeArguments[0] === "string"
|
|
8310
|
+
? typeArguments[0]
|
|
8311
|
+
: typeArguments[0].getSignature(),
|
|
8312
|
+
typeof typeArguments[1] === "string"
|
|
8313
|
+
? typeArguments[1]
|
|
8314
|
+
: typeArguments[1].getSignature(),
|
|
8315
|
+
],
|
|
8316
|
+
});
|
|
8317
|
+
}
|
|
8318
|
+
export function internalBorrowMut<T0 = any, T1 = any>(
|
|
8319
|
+
tx: TransactionBlock,
|
|
8320
|
+
args: [
|
|
8321
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8322
|
+
T0 | TransactionArgument,
|
|
8323
|
+
],
|
|
8324
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8325
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
8326
|
+
const _args: any[] = [];
|
|
8327
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8328
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
8329
|
+
|
|
8330
|
+
// @ts-ignore
|
|
8331
|
+
return tx.moveCall({
|
|
8332
|
+
target: "0x2::dynamic_object_field::internal_borrow_mut",
|
|
8333
|
+
arguments: _args,
|
|
8334
|
+
typeArguments: [
|
|
8335
|
+
typeof typeArguments[0] === "string"
|
|
8336
|
+
? typeArguments[0]
|
|
8337
|
+
: typeArguments[0].getSignature(),
|
|
8338
|
+
typeof typeArguments[1] === "string"
|
|
8339
|
+
? typeArguments[1]
|
|
8340
|
+
: typeArguments[1].getSignature(),
|
|
8341
|
+
],
|
|
8342
|
+
});
|
|
8343
|
+
}
|
|
8344
|
+
export function internalExistsWithType<T0 = any, T1 = any>(
|
|
8345
|
+
tx: TransactionBlock,
|
|
8346
|
+
args: [
|
|
8347
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8348
|
+
T0 | TransactionArgument,
|
|
8349
|
+
],
|
|
8350
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8351
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
8352
|
+
const _args: any[] = [];
|
|
8353
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8354
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
8355
|
+
|
|
8356
|
+
// @ts-ignore
|
|
8357
|
+
return tx.moveCall({
|
|
8358
|
+
target: "0x2::dynamic_object_field::internal_exists_with_type",
|
|
8359
|
+
arguments: _args,
|
|
8360
|
+
typeArguments: [
|
|
8361
|
+
typeof typeArguments[0] === "string"
|
|
8362
|
+
? typeArguments[0]
|
|
8363
|
+
: typeArguments[0].getSignature(),
|
|
8364
|
+
typeof typeArguments[1] === "string"
|
|
8365
|
+
? typeArguments[1]
|
|
8366
|
+
: typeArguments[1].getSignature(),
|
|
8367
|
+
],
|
|
8368
|
+
});
|
|
8369
|
+
}
|
|
8370
|
+
export function internalRemove<T0 = any, T1 = any>(
|
|
8371
|
+
tx: TransactionBlock,
|
|
8372
|
+
args: [
|
|
8373
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8374
|
+
T0 | TransactionArgument,
|
|
8375
|
+
],
|
|
8376
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8377
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
8378
|
+
const _args: any[] = [];
|
|
8379
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8380
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
8381
|
+
|
|
8382
|
+
// @ts-ignore
|
|
8383
|
+
return tx.moveCall({
|
|
8384
|
+
target: "0x2::dynamic_object_field::internal_remove",
|
|
8385
|
+
arguments: _args,
|
|
8386
|
+
typeArguments: [
|
|
8387
|
+
typeof typeArguments[0] === "string"
|
|
8388
|
+
? typeArguments[0]
|
|
8389
|
+
: typeArguments[0].getSignature(),
|
|
8390
|
+
typeof typeArguments[1] === "string"
|
|
8391
|
+
? typeArguments[1]
|
|
8392
|
+
: typeArguments[1].getSignature(),
|
|
8393
|
+
],
|
|
8394
|
+
});
|
|
8395
|
+
}
|
|
6525
8396
|
export function remove<T0 = any, T1 = any>(
|
|
6526
8397
|
tx: TransactionBlock,
|
|
6527
8398
|
args: [
|
|
@@ -6665,6 +8536,102 @@ export namespace dynamic_object_field {
|
|
|
6665
8536
|
[_0x1.option.Option<object_.ID>]
|
|
6666
8537
|
>(inspectRes);
|
|
6667
8538
|
}
|
|
8539
|
+
export async function internalAdd<T0 = any, T1 = any>(
|
|
8540
|
+
client: SuiClient,
|
|
8541
|
+
args: [
|
|
8542
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8543
|
+
T0 | TransactionArgument,
|
|
8544
|
+
T1 | TransactionArgument,
|
|
8545
|
+
],
|
|
8546
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8547
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
8548
|
+
const tx = new TransactionBlock();
|
|
8549
|
+
builder.internalAdd(tx, args, typeArguments);
|
|
8550
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
8551
|
+
transactionBlock: tx,
|
|
8552
|
+
sender: ZERO_ADDRESS,
|
|
8553
|
+
});
|
|
8554
|
+
|
|
8555
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
8556
|
+
inspectRes,
|
|
8557
|
+
);
|
|
8558
|
+
}
|
|
8559
|
+
export async function internalBorrow<T0 = any, T1 = any>(
|
|
8560
|
+
client: SuiClient,
|
|
8561
|
+
args: [
|
|
8562
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8563
|
+
T0 | TransactionArgument,
|
|
8564
|
+
],
|
|
8565
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8566
|
+
): Promise<TypedDevInspectResults<[string]>> {
|
|
8567
|
+
const tx = new TransactionBlock();
|
|
8568
|
+
builder.internalBorrow(tx, args, typeArguments);
|
|
8569
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
8570
|
+
transactionBlock: tx,
|
|
8571
|
+
sender: ZERO_ADDRESS,
|
|
8572
|
+
});
|
|
8573
|
+
|
|
8574
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
8575
|
+
inspectRes,
|
|
8576
|
+
);
|
|
8577
|
+
}
|
|
8578
|
+
export async function internalBorrowMut<T0 = any, T1 = any>(
|
|
8579
|
+
client: SuiClient,
|
|
8580
|
+
args: [
|
|
8581
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8582
|
+
T0 | TransactionArgument,
|
|
8583
|
+
],
|
|
8584
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8585
|
+
): Promise<TypedDevInspectResults<[string]>> {
|
|
8586
|
+
const tx = new TransactionBlock();
|
|
8587
|
+
builder.internalBorrowMut(tx, args, typeArguments);
|
|
8588
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
8589
|
+
transactionBlock: tx,
|
|
8590
|
+
sender: ZERO_ADDRESS,
|
|
8591
|
+
});
|
|
8592
|
+
|
|
8593
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
8594
|
+
inspectRes,
|
|
8595
|
+
);
|
|
8596
|
+
}
|
|
8597
|
+
export async function internalExistsWithType<T0 = any, T1 = any>(
|
|
8598
|
+
client: SuiClient,
|
|
8599
|
+
args: [
|
|
8600
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8601
|
+
T0 | TransactionArgument,
|
|
8602
|
+
],
|
|
8603
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8604
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
8605
|
+
const tx = new TransactionBlock();
|
|
8606
|
+
builder.internalExistsWithType(tx, args, typeArguments);
|
|
8607
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
8608
|
+
transactionBlock: tx,
|
|
8609
|
+
sender: ZERO_ADDRESS,
|
|
8610
|
+
});
|
|
8611
|
+
|
|
8612
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
8613
|
+
inspectRes,
|
|
8614
|
+
);
|
|
8615
|
+
}
|
|
8616
|
+
export async function internalRemove<T0 = any, T1 = any>(
|
|
8617
|
+
client: SuiClient,
|
|
8618
|
+
args: [
|
|
8619
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
8620
|
+
T0 | TransactionArgument,
|
|
8621
|
+
],
|
|
8622
|
+
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8623
|
+
): Promise<TypedDevInspectResults<[T1]>> {
|
|
8624
|
+
const tx = new TransactionBlock();
|
|
8625
|
+
builder.internalRemove(tx, args, typeArguments);
|
|
8626
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
8627
|
+
transactionBlock: tx,
|
|
8628
|
+
sender: ZERO_ADDRESS,
|
|
8629
|
+
});
|
|
8630
|
+
|
|
8631
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[T1]>(
|
|
8632
|
+
inspectRes,
|
|
8633
|
+
);
|
|
8634
|
+
}
|
|
6668
8635
|
export async function remove<T0 = any, T1 = any>(
|
|
6669
8636
|
client: SuiClient,
|
|
6670
8637
|
args: [
|
|
@@ -21608,7 +23575,7 @@ export namespace zklogin_verified_issuer {
|
|
|
21608
23575
|
}
|
|
21609
23576
|
|
|
21610
23577
|
const MODULES = JSON.parse(
|
|
21611
|
-
'{"address":{"fileFormatVersion":6,"address":"0x2","name":"address","friends":[],"structs":{},"exposedFunctions":{"from_ascii_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":["Address"]},"from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":["Address"]},"from_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256"],"return":["Address"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U256"]},"to_ascii_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Vector":"U8"}]},"to_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"to_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":["U256"]}}},"authenticator_state":{"fileFormatVersion":6,"address":"0x2","name":"authenticator_state","friends":[],"structs":{"ActiveJwk":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"jwk_id","type":{"Struct":{"address":"0x2","module":"authenticator_state","name":"JwkId","typeArguments":[]}}},{"name":"jwk","type":{"Struct":{"address":"0x2","module":"authenticator_state","name":"JWK","typeArguments":[]}}},{"name":"epoch","type":"U64"}]},"AuthenticatorState":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]},"AuthenticatorStateInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"version","type":"U64"},{"name":"active_jwks","type":{"Vector":{"Struct":{"address":"0x2","module":"authenticator_state","name":"ActiveJwk","typeArguments":[]}}}}]},"JWK":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"kty","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"e","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"n","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"alg","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"JwkId":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"iss","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"kid","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{}},"bag":{"fileFormatVersion":6,"address":"0x2","name":"bag","friends":[],"structs":{"Bag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"balance":{"fileFormatVersion":6,"address":"0x2","name":"balance","friends":[{"address":"0x2","name":"sui"}],"structs":{"Balance":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]},"Supply":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]}},"exposedFunctions":{"create_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"decrease_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_supply":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"increase_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"supply_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"withdraw_all":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}}},"bcs":{"fileFormatVersion":6,"address":"0x2","name":"bcs","friends":[],"structs":{"BCS":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"into_remainder_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}]},"peel_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Address"]},"peel_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Bool"]},"peel_option_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"peel_option_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Bool"]}}]},"peel_option_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U128"]}}]},"peel_option_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"peel_option_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U8"]}}]},"peel_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U128"]},"peel_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U256"]},"peel_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U8"]},"peel_vec_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"peel_vec_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Bool"}]},"peel_vec_length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_vec_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U128"}]},"peel_vec_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U64"}]},"peel_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"peel_vec_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":{"Vector":"U8"}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]}}},"bls12381":{"fileFormatVersion":6,"address":"0x2","name":"bls12381","friends":[],"structs":{"G1":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"G2":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"GT":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"Scalar":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"bls12381_min_pk_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]},"bls12381_min_sig_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]},"g1_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_multi_scalar_multiplication":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g2_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_multi_scalar_multiplication":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"gt_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"hash_to_g1":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"hash_to_g2":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"pairing":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"scalar_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_from_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_inv":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_one":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_zero":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]}}},"borrow":{"fileFormatVersion":6,"address":"0x2","name":"borrow","friends":[],"structs":{"Borrow":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"ref","type":"Address"},{"name":"obj","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Referent":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":false}],"fields":[{"name":"id","type":"Address"},{"name":"value","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}]},"put_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}],"return":[]}}},"clock":{"fileFormatVersion":6,"address":"0x2","name":"clock","friends":[],"structs":{"Clock":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"timestamp_ms","type":"U64"}]}},"exposedFunctions":{"timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"clock","name":"Clock","typeArguments":[]}}}],"return":["U64"]}}},"coin":{"fileFormatVersion":6,"address":"0x2","name":"coin","friends":[],"structs":{"Coin":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"CoinMetadata":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"decimals","type":"U8"},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"symbol","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"icon_url","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}}]},"CurrencyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"decimals","type":"U8"}]},"DenyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"RegulatedCoinMetadata":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"coin_metadata_object","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"deny_cap_object","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TreasuryCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"balance_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"burn":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"create_currency":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"create_regulated_currency":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"deny_list_add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"Address"],"return":["Bool"]},"deny_list_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"divide_into_n":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}]},"from_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"get_decimals":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":["U8"]},"get_description":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_icon_url":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}]},"get_name":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_symbol":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"into_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"mint":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"mint_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"mint_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"put":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"supply_immut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"supply_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"total_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"treasury_into_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"update_description":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_icon_url":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"update_name":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_symbol":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]}}},"deny_list":{"fileFormatVersion":6,"address":"0x2","name":"deny_list","friends":[{"address":"0x2","name":"coin"}],"structs":{"DenyList":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"lists","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"PerTypeList":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"denied_count","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["Address","U64"]}}},{"name":"denied_addresses","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Vector":"U8"},{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}}]}},"exposedFunctions":{"add":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":[]},"contains":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":["Bool"]},"remove":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":[]}}},"display":{"fileFormatVersion":6,"address":"0x2","name":"display","friends":[],"structs":{"Display":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"version","type":"U16"}]},"DisplayCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"VersionUpdated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U16"},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"add_multiple":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[]},"create_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"edit":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"is_authorized":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"new_with_fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"remove":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_version":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":["U16"]}}},"dynamic_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_field","friends":[{"address":"0x2","name":"dynamic_object_field"}],"structs":{"Field":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"name","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"add_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address",{"TypeParameter":0}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_child_object_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"field_info":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"field_info_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"has_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address","Address"],"return":["Bool"]},"has_child_object_with_ty":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":["Bool"]},"hash_type_and_key":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":["Address",{"TypeParameter":0}],"return":["Address"]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"remove_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":[{"TypeParameter":0}]},"remove_if_exists":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"dynamic_object_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_object_field","friends":[],"structs":{"Wrapper":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"name","type":{"TypeParameter":0}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"ecdsa_k1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_k1","friends":[],"structs":{},"exposedFunctions":{"decompress_pubkey":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"secp256k1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256k1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecdsa_r1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_r1","friends":[],"structs":{},"exposedFunctions":{"secp256r1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256r1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecvrf":{"fileFormatVersion":6,"address":"0x2","name":"ecvrf","friends":[],"structs":{},"exposedFunctions":{"ecvrf_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"ed25519":{"fileFormatVersion":6,"address":"0x2","name":"ed25519","friends":[],"structs":{},"exposedFunctions":{"ed25519_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"event":{"fileFormatVersion":6,"address":"0x2","name":"event","friends":[],"structs":{},"exposedFunctions":{"emit":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[]}}},"groth16":{"fileFormatVersion":6,"address":"0x2","name":"groth16","friends":[],"structs":{"Curve":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":"U8"}]},"PreparedVerifyingKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"vk_gamma_abc_g1_bytes","type":{"Vector":"U8"}},{"name":"alpha_g1_beta_g2_bytes","type":{"Vector":"U8"}},{"name":"gamma_g2_neg_pc_bytes","type":{"Vector":"U8"}},{"name":"delta_g2_neg_pc_bytes","type":{"Vector":"U8"}}]},"ProofPoints":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]},"PublicProofInputs":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"bls12381":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"bn254":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"prepare_verifying_key":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"proof_points_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}]},"public_proof_inputs_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}]},"pvk_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"pvk_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}],"return":[{"Vector":{"Vector":"U8"}}]},"verify_groth16_proof":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}}],"return":["Bool"]}}},"group_ops":{"fileFormatVersion":6,"address":"0x2","name":"group_ops","friends":[{"address":"0x2","name":"bls12381"}],"structs":{"Element":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"add":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"div":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"equal":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"from_bytes":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":"U8"}},"Bool"],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"hash_to":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"mul":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"multi_scalar_multiplication":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"pairing":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":2}]}}]},"set_as_prefix":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","Bool",{"MutableReference":{"Vector":"U8"}}],"return":[]},"sub":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]}}},"hash":{"fileFormatVersion":6,"address":"0x2","name":"hash","friends":[],"structs":{},"exposedFunctions":{"blake2b256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"keccak256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"hex":{"fileFormatVersion":6,"address":"0x2","name":"hex","friends":[],"structs":{},"exposedFunctions":{"decode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]},"encode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]}}},"hmac":{"fileFormatVersion":6,"address":"0x2","name":"hmac","friends":[],"structs":{},"exposedFunctions":{"hmac_sha3_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"kiosk":{"fileFormatVersion":6,"address":"0x2","name":"kiosk","friends":[{"address":"0x2","name":"kiosk_extension"}],"structs":{"Borrow":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"kiosk_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"item_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Item":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ItemDelisted":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ItemListed":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"price","type":"U64"}]},"ItemPurchased":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"price","type":"U64"}]},"Kiosk":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"profits","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"owner","type":"Address"},{"name":"item_count","type":"U32"},{"name":"allow_extensions","type":"Bool"}]},"KioskOwnerCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"for","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Listing":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_exclusive","type":"Bool"}]},"Lock":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"PurchaseCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"kiosk_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"item_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"min_price","type":"U64"}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_val":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"kiosk","name":"Borrow","typeArguments":[]}}]},"close_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"default":{"visibility":"Private","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"delist":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[]},"has_access":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":["Bool"]},"has_item":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"has_item_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed_exclusively":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_locked":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"item_count":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U32"]},"kiosk_owner_cap_for":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64"],"return":[]},"list_with_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}]},"lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"lock_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Address"]},"place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"place_and_list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0},"U64"],"return":[]},"place_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"profits_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U64"]},"profits_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"purchase":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"purchase_cap_item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_kiosk":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_min_price":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"purchase_with_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"return_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"return_val":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0},{"Struct":{"address":"0x2","module":"kiosk","name":"Borrow","typeArguments":[]}}],"return":[]},"set_allow_extensions":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"Bool"],"return":[]},"set_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_owner_custom":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"Address"],"return":[]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"uid":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"kiosk_extension":{"fileFormatVersion":6,"address":"0x2","name":"kiosk_extension","friends":[],"structs":{"Extension":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"storage","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"name":"permissions","type":"U128"},{"name":"is_enabled","type":"Bool"}]},"ExtensionKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"U128",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"can_lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"can_place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"disable":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"enable":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"is_enabled":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"is_installed":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]},{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":1}]}}}],"return":[]},"place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]},{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":1}]}}}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"storage":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"storage_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}}},"linked_table":{"fileFormatVersion":6,"address":"0x2","name":"linked_table","friends":[],"structs":{"LinkedTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"},{"name":"head","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"tail","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"Node":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"prev","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"next","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"next":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"pop_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"prev":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"push_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"math":{"fileFormatVersion":6,"address":"0x2","name":"math","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U8"],"return":["U64"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":["U64"]},"sqrt_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128"],"return":["U128"]}}},"object":{"fileFormatVersion":6,"address":"0x2","name":"object","friends":[{"address":"0x2","name":"authenticator_state"},{"address":"0x2","name":"clock"},{"address":"0x2","name":"deny_list"},{"address":"0x2","name":"dynamic_field"},{"address":"0x2","name":"random"}],"structs":{"ID":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":"Address"}]},"UID":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]}},"exposedFunctions":{"authenticator_state":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"borrow_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"clock":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}],"return":[]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_address":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Address"]},"id_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]},"id_from_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"id_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"new_uid_from_hash":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"randomness_state":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"sui_deny_list_object_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"uid_as_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"uid_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":["Address"]},"uid_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"uid_to_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}},"object_bag":{"fileFormatVersion":6,"address":"0x2","name":"object_bag","friends":[],"structs":{"ObjectBag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"object_table":{"fileFormatVersion":6,"address":"0x2","name":"object_table","friends":[],"structs":{"ObjectTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"package":{"fileFormatVersion":6,"address":"0x2","name":"package","friends":[],"structs":{"Publisher":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"module_name","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"UpgradeCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U64"},{"name":"policy","type":"U8"}]},"UpgradeReceipt":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"UpgradeTicket":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"policy","type":"U8"},{"name":"digest","type":{"Vector":"U8"}}]}},"exposedFunctions":{"additive_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"authorize_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},"U8",{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}]},"burn_publisher":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}],"return":[]},"claim":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}]},"claim_and_keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"commit_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}],"return":[]},"compatible_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"dep_only_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"from_module":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"from_package":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"make_immutable":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}],"return":[]},"only_additive_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"only_dep_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"published_module":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"published_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"receipt_cap":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"receipt_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_digest":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"ticket_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":["U8"]},"upgrade_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"upgrade_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U8"]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U64"]}}},"pay":{"fileFormatVersion":6,"address":"0x2","name":"pay","friends":[],"structs":{},"exposedFunctions":{"divide_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"join_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"join_vec_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"Address"],"return":[]},"keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":"U64"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"poseidon":{"fileFormatVersion":6,"address":"0x2","name":"poseidon","friends":[],"structs":{},"exposedFunctions":{"poseidon_bn254":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U256"}}],"return":["U256"]}}},"priority_queue":{"fileFormatVersion":6,"address":"0x2","name":"priority_queue","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"priority","type":"U64"},{"name":"value","type":{"TypeParameter":0}}]},"PriorityQueue":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"entries","type":{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}}]}},"exposedFunctions":{"create_entries":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":"U64"},{"Vector":{"TypeParameter":0}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}},"U64",{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}]},"new_entry":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":["U64",{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}]},"pop_max":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64",{"TypeParameter":0}]},"priorities":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Vector":"U64"}]}}},"prover":{"fileFormatVersion":6,"address":"0x2","name":"prover","friends":[],"structs":{},"exposedFunctions":{}},"random":{"fileFormatVersion":6,"address":"0x2","name":"random","friends":[],"structs":{"Random":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"inner","type":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}]},"RandomGenerator":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"seed","type":{"Vector":"U8"}},{"name":"counter","type":"U16"},{"name":"buffer","type":{"Vector":"U8"}}]},"RandomInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"version","type":"U64"},{"name":"epoch","type":"U64"},{"name":"randomness_round","type":"U64"},{"name":"random_bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"generate_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["Bool"]},"generate_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U16"],"return":[{"Vector":"U8"}]},"generate_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U128"]},"generate_u128_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U128","U128"],"return":["U128"]},"generate_u16":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U16"]},"generate_u16_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U16","U16"],"return":["U16"]},"generate_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U256"]},"generate_u32":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U32"]},"generate_u32_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U32","U32"],"return":["U32"]},"generate_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U64"]},"generate_u64_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U64","U64"],"return":["U64"]},"generate_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U8"]},"generate_u8_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U8","U8"],"return":["U8"]},"new_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"random","name":"Random","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}]},"shuffle":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[]}}},"sui":{"fileFormatVersion":6,"address":"0x2","name":"sui","friends":[],"structs":{"SUI":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"transfer":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address"],"return":[]}}},"table":{"fileFormatVersion":6,"address":"0x2","name":"table","friends":[],"structs":{"Table":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"table_vec":{"fileFormatVersion":6,"address":"0x2","name":"table_vec","friends":[],"structs":{"TableVec":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"contents","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"MutableReference":{"TypeParameter":0}}]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64","U64"],"return":[]},"swap_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"TypeParameter":0}]}}},"token":{"fileFormatVersion":6,"address":"0x2","name":"token","friends":[],"structs":{"ActionRequest":{"abilities":{"abilities":[]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"amount","type":"U64"},{"name":"sender","type":"Address"},{"name":"recipient","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}},{"name":"spent_balance","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}}},{"name":"approvals","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"RuleKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"is_protected","type":"Bool"}]},"Token":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"TokenPolicy":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"spent_balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"name":"rules","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]}}}]},"TokenPolicyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"for","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TokenPolicyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_mutable","type":"Bool"}]}},"exposedFunctions":{"action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"add_approval":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"add_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":2},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"add_rule_for_action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"allow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"amount":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"approvals":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]},"burn":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"confirm_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_request_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_with_policy_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_with_treasury_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"disallow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"flush":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"from_coin":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"from_coin_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"has_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"has_rule_config_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"is_allowed":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"join":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"mint":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]},"new_policy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}]},"new_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"recipient":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"remove_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"TypeParameter":2}]},"remove_rule_for_action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":2}}]},"rule_config_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"TypeParameter":2}}]},"rules":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]},"sender":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["Address"]},"share_policy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"spend":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"spend_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"spent":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"spent_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]},"to_coin":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"to_coin_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"transfer_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]}}},"transfer":{"fileFormatVersion":6,"address":"0x2","name":"transfer","friends":[],"structs":{"Receiving":{"abilities":{"abilities":["Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"freeze_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_receive":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"public_share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"receive":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"receiving_object_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"share_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"transfer_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]}}},"transfer_policy":{"fileFormatVersion":6,"address":"0x2","name":"transfer_policy","friends":[],"structs":{"RuleKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":true}],"fields":[{"name":"dummy_field","type":"Bool"}]},"TransferPolicy":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"rules","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"TransferPolicyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"policy_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferPolicyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferPolicyDestroyed":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferRequest":{"abilities":{"abilities":[]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"item","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"paid","type":"U64"},{"name":"from","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"receipts","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add_receipt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"add_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":2}],"return":[]},"add_to_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"confirm_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"default":{"visibility":"Private","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"destroy_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"from":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"get_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":2}}]},"has_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}]},"new_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"paid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"remove_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"rules":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"uid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"tx_context":{"fileFormatVersion":6,"address":"0x2","name":"tx_context","friends":[],"structs":{"TxContext":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"sender","type":"Address"},{"name":"tx_hash","type":{"Vector":"U8"}},{"name":"epoch","type":"U64"},{"name":"epoch_timestamp_ms","type":"U64"},{"name":"ids_created","type":"U64"}]}},"exposedFunctions":{"digest":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"epoch_timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"fresh_object_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]},"sender":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]}}},"types":{"fileFormatVersion":6,"address":"0x2","name":"types","friends":[],"structs":{},"exposedFunctions":{"is_one_time_witness":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Bool"]}}},"url":{"fileFormatVersion":6,"address":"0x2","name":"url","friends":[],"structs":{"Url":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"url","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"inner_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"new_unsafe":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"new_unsafe_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"update":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]}}},"vdf":{"fileFormatVersion":6,"address":"0x2","name":"vdf","friends":[],"structs":{},"exposedFunctions":{"hash_to_input":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"vdf_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U64"],"return":["Bool"]}}},"vec_map":{"fileFormatVersion":6,"address":"0x2","name":"vec_map","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"key","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]},"VecMap":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"Struct":{"address":"0x2","module":"vec_map","name":"Entry","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"from_keys_values":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"MutableReference":{"TypeParameter":1}}]},"get_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["U64"]},"get_idx_opt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"get_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"MutableReference":{"TypeParameter":1}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"into_keys_values":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Vector":{"TypeParameter":0}}]},"pop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"try_get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":["Copy"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"vec_set":{"fileFormatVersion":6,"address":"0x2","name":"vec_set","friends":[],"structs":{"VecSet":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop"]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"TypeParameter":0}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"from_keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Vector":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"into_keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Vector":{"TypeParameter":0}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Vector":{"TypeParameter":0}}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]}}},"versioned":{"fileFormatVersion":6,"address":"0x2","name":"versioned","friends":[],"structs":{"VersionChangeCap":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"versioned_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"old_version","type":"U64"}]},"Versioned":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"create":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":["U64",{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"load_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"Reference":{"TypeParameter":0}}]},"load_value_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"remove_value_for_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}]},"upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}},"U64",{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":["U64"]}}},"zklogin_verified_id":{"fileFormatVersion":6,"address":"0x2","name":"zklogin_verified_id","friends":[],"structs":{"VerifiedID":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"owner","type":"Address"},{"name":"key_claim_name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"key_claim_value","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"issuer","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"audience","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"audience":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"check_zklogin_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address",{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U256"],"return":["Bool"]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}],"return":[]},"issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"key_claim_name":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"key_claim_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":["Address"]},"verify_zklogin_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U256",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"zklogin_verified_issuer":{"fileFormatVersion":6,"address":"0x2","name":"zklogin_verified_issuer","friends":[],"structs":{"VerifiedIssuer":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"owner","type":"Address"},{"name":"issuer","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"check_zklogin_issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address","U256",{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}],"return":[]},"issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}}],"return":["Address"]},"verify_zklogin_issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256",{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}}}',
|
|
23578
|
+
'{"address":{"fileFormatVersion":6,"address":"0x2","name":"address","friends":[],"structs":{},"exposedFunctions":{"from_ascii_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":["Address"]},"from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":["Address"]},"from_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256"],"return":["Address"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U256"]},"to_ascii_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Vector":"U8"}]},"to_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"to_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":["U256"]}}},"authenticator_state":{"fileFormatVersion":6,"address":"0x2","name":"authenticator_state","friends":[],"structs":{"ActiveJwk":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"jwk_id","type":{"Struct":{"address":"0x2","module":"authenticator_state","name":"JwkId","typeArguments":[]}}},{"name":"jwk","type":{"Struct":{"address":"0x2","module":"authenticator_state","name":"JWK","typeArguments":[]}}},{"name":"epoch","type":"U64"}]},"AuthenticatorState":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]},"AuthenticatorStateInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"version","type":"U64"},{"name":"active_jwks","type":{"Vector":{"Struct":{"address":"0x2","module":"authenticator_state","name":"ActiveJwk","typeArguments":[]}}}}]},"JWK":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"kty","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"e","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"n","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"alg","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"JwkId":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"iss","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"kid","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{}},"bag":{"fileFormatVersion":6,"address":"0x2","name":"bag","friends":[],"structs":{"Bag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"balance":{"fileFormatVersion":6,"address":"0x2","name":"balance","friends":[{"address":"0x2","name":"sui"}],"structs":{"Balance":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]},"Supply":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]}},"exposedFunctions":{"create_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"decrease_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_supply":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"increase_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"supply_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"withdraw_all":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}}},"bcs":{"fileFormatVersion":6,"address":"0x2","name":"bcs","friends":[],"structs":{"BCS":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"into_remainder_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}]},"peel_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Address"]},"peel_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Bool"]},"peel_option_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"peel_option_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Bool"]}}]},"peel_option_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U128"]}}]},"peel_option_u16":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U16"]}}]},"peel_option_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U256"]}}]},"peel_option_u32":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U32"]}}]},"peel_option_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"peel_option_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U8"]}}]},"peel_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U128"]},"peel_u16":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U16"]},"peel_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U256"]},"peel_u32":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U32"]},"peel_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U8"]},"peel_vec_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"peel_vec_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Bool"}]},"peel_vec_length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_vec_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U128"}]},"peel_vec_u16":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U16"}]},"peel_vec_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U256"}]},"peel_vec_u32":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U32"}]},"peel_vec_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U64"}]},"peel_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"peel_vec_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":{"Vector":"U8"}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]}}},"bls12381":{"fileFormatVersion":6,"address":"0x2","name":"bls12381","friends":[],"structs":{"G1":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"G2":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"GT":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"Scalar":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"bls12381_min_pk_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]},"bls12381_min_sig_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]},"g1_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_multi_scalar_multiplication":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g1_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"g2_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_multi_scalar_multiplication":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"g2_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"gt_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_identity":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"gt_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"hash_to_g1":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}]},"hash_to_g2":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}]},"pairing":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G1","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"G2","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"GT","typeArguments":[]}}]}}]},"scalar_add":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_div":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_from_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_inv":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_mul":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_neg":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_one":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_sub":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]},"scalar_zero":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"Struct":{"address":"0x2","module":"bls12381","name":"Scalar","typeArguments":[]}}]}}]}}},"borrow":{"fileFormatVersion":6,"address":"0x2","name":"borrow","friends":[],"structs":{"Borrow":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"ref","type":"Address"},{"name":"obj","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Referent":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":false}],"fields":[{"name":"id","type":"Address"},{"name":"value","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}]},"put_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}],"return":[]}}},"clock":{"fileFormatVersion":6,"address":"0x2","name":"clock","friends":[],"structs":{"Clock":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"timestamp_ms","type":"U64"}]}},"exposedFunctions":{"timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"clock","name":"Clock","typeArguments":[]}}}],"return":["U64"]}}},"coin":{"fileFormatVersion":6,"address":"0x2","name":"coin","friends":[],"structs":{"Coin":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"CoinMetadata":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"decimals","type":"U8"},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"symbol","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"icon_url","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}}]},"CurrencyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"decimals","type":"U8"}]},"DenyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"DenyCapV2":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"allow_global_pause","type":"Bool"}]},"RegulatedCoinMetadata":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"coin_metadata_object","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"deny_cap_object","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TreasuryCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"balance_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"burn":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"create_currency":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"create_regulated_currency":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"create_regulated_currency_v2":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},"Bool",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"deny_list_add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"Address"],"return":["Bool"]},"deny_list_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_v2_add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_v2_contains_current_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Bool"]},"deny_list_v2_contains_next_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"Address"],"return":["Bool"]},"deny_list_v2_disable_global_pause":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_v2_enable_global_pause":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"deny_list_v2_is_global_pause_enabled_current_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Bool"]},"deny_list_v2_is_global_pause_enabled_next_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}}],"return":["Bool"]},"deny_list_v2_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"divide_into_n":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}]},"from_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"get_decimals":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":["U8"]},"get_description":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_icon_url":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}]},"get_name":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_symbol":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"into_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"migrate_regulated_currency_to_v2":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"DenyCap","typeArguments":[{"TypeParameter":0}]}},"Bool",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"DenyCapV2","typeArguments":[{"TypeParameter":0}]}}]},"mint":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"mint_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"mint_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"put":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"supply_immut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"supply_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"total_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"treasury_into_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"update_description":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_icon_url":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"update_name":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_symbol":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]}}},"config":{"fileFormatVersion":6,"address":"0x2","name":"config","friends":[{"address":"0x2","name":"deny_list"}],"structs":{"Config":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"Setting":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false}],"fields":[{"name":"data","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"config","name":"SettingData","typeArguments":[{"TypeParameter":0}]}}]}}}]},"SettingData":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false}],"fields":[{"name":"newer_value_epoch","type":"U64"},{"name":"newer_value","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"older_value_opt","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"add_for_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"TypeParameter":0}},{"TypeParameter":1},{"TypeParameter":2},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":2}]}}]},"borrow_for_next_epoch_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"TypeParameter":0}},{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"TypeParameter":2}}]},"exists_with_type":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":1}],"return":["Bool"]},"exists_with_type_for_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Bool"]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"TypeParameter":0}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}]},"read_setting":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"TypeParameter":0},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]},"read_setting_for_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":1}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":2}]}}]},"remove_for_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Copy","Drop","Store"]},{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"TypeParameter":0}},{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":2}]}}]},"share":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"config","name":"Config","typeArguments":[{"TypeParameter":0}]}},"Address"],"return":[]}}},"deny_list":{"fileFormatVersion":6,"address":"0x2","name":"deny_list","friends":[{"address":"0x2","name":"coin"}],"structs":{"AddressKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"pos0","type":"Address"}]},"ConfigKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"per_type_index","type":"U64"},{"name":"per_type_key","type":{"Vector":"U8"}}]},"ConfigWriteCap":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"DenyList":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"lists","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"GlobalPauseKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"PerTypeConfigCreated":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"key","type":{"Struct":{"address":"0x2","module":"deny_list","name":"ConfigKey","typeArguments":[]}}},{"name":"config_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"PerTypeList":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"denied_count","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["Address","U64"]}}},{"name":"denied_addresses","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Vector":"U8"},{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}}]}},"exposedFunctions":{"migrate_v1_to_v2":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v1_add":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":[]},"v1_contains":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":["Bool"]},"v1_remove":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":[]},"v2_add":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v2_contains_current_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Bool"]},"v2_contains_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address"],"return":["Bool"]},"v2_disable_global_pause":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v2_enable_global_pause":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v2_is_global_pause_enabled_current_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Bool"]},"v2_is_global_pause_enabled_next_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"}],"return":["Bool"]},"v2_remove":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"deny_list","name":"DenyList","typeArguments":[]}}},"U64",{"Vector":"U8"},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"display":{"fileFormatVersion":6,"address":"0x2","name":"display","friends":[],"structs":{"Display":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"version","type":"U16"}]},"DisplayCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"VersionUpdated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U16"},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"add_multiple":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[]},"create_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"edit":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"is_authorized":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"new_with_fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"remove":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_version":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":["U16"]}}},"dynamic_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_field","friends":[{"address":"0x2","name":"config"},{"address":"0x2","name":"dynamic_object_field"}],"structs":{"Field":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"name","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"add_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address",{"TypeParameter":0}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_child_object_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"field_info":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"field_info_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"has_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address","Address"],"return":["Bool"]},"has_child_object_with_ty":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":["Bool"]},"hash_type_and_key":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":["Address",{"TypeParameter":0}],"return":["Address"]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"remove_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":[{"TypeParameter":0}]},"remove_if_exists":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"dynamic_object_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_object_field","friends":[{"address":"0x2","name":"deny_list"}],"structs":{"Wrapper":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"name","type":{"TypeParameter":0}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]},"internal_add":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"internal_borrow":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"internal_borrow_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"internal_exists_with_type":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"internal_remove":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"ecdsa_k1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_k1","friends":[],"structs":{},"exposedFunctions":{"decompress_pubkey":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"secp256k1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256k1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecdsa_r1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_r1","friends":[],"structs":{},"exposedFunctions":{"secp256r1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256r1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecvrf":{"fileFormatVersion":6,"address":"0x2","name":"ecvrf","friends":[],"structs":{},"exposedFunctions":{"ecvrf_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"ed25519":{"fileFormatVersion":6,"address":"0x2","name":"ed25519","friends":[],"structs":{},"exposedFunctions":{"ed25519_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"event":{"fileFormatVersion":6,"address":"0x2","name":"event","friends":[],"structs":{},"exposedFunctions":{"emit":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[]}}},"groth16":{"fileFormatVersion":6,"address":"0x2","name":"groth16","friends":[],"structs":{"Curve":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":"U8"}]},"PreparedVerifyingKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"vk_gamma_abc_g1_bytes","type":{"Vector":"U8"}},{"name":"alpha_g1_beta_g2_bytes","type":{"Vector":"U8"}},{"name":"gamma_g2_neg_pc_bytes","type":{"Vector":"U8"}},{"name":"delta_g2_neg_pc_bytes","type":{"Vector":"U8"}}]},"ProofPoints":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]},"PublicProofInputs":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"bls12381":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"bn254":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"prepare_verifying_key":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"proof_points_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}]},"public_proof_inputs_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}]},"pvk_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"pvk_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}],"return":[{"Vector":{"Vector":"U8"}}]},"verify_groth16_proof":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}}],"return":["Bool"]}}},"group_ops":{"fileFormatVersion":6,"address":"0x2","name":"group_ops","friends":[{"address":"0x2","name":"bls12381"}],"structs":{"Element":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"add":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"div":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"equal":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"from_bytes":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":"U8"}},"Bool"],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"hash_to":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]},"mul":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"multi_scalar_multiplication":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}},{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}]},"pairing":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":1}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":2}]}}]},"set_as_prefix":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","Bool",{"MutableReference":{"Vector":"U8"}}],"return":[]},"sub":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":["U8",{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"group_ops","name":"Element","typeArguments":[{"TypeParameter":0}]}}]}}},"hash":{"fileFormatVersion":6,"address":"0x2","name":"hash","friends":[],"structs":{},"exposedFunctions":{"blake2b256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"keccak256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"hex":{"fileFormatVersion":6,"address":"0x2","name":"hex","friends":[],"structs":{},"exposedFunctions":{"decode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]},"encode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]}}},"hmac":{"fileFormatVersion":6,"address":"0x2","name":"hmac","friends":[],"structs":{},"exposedFunctions":{"hmac_sha3_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"kiosk":{"fileFormatVersion":6,"address":"0x2","name":"kiosk","friends":[{"address":"0x2","name":"kiosk_extension"}],"structs":{"Borrow":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"kiosk_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"item_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Item":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ItemDelisted":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ItemListed":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"price","type":"U64"}]},"ItemPurchased":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"price","type":"U64"}]},"Kiosk":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"profits","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"owner","type":"Address"},{"name":"item_count","type":"U32"},{"name":"allow_extensions","type":"Bool"}]},"KioskOwnerCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"for","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Listing":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_exclusive","type":"Bool"}]},"Lock":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"PurchaseCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"kiosk_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"item_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"min_price","type":"U64"}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_val":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"kiosk","name":"Borrow","typeArguments":[]}}]},"close_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"default":{"visibility":"Private","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"delist":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[]},"has_access":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":["Bool"]},"has_item":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"has_item_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed_exclusively":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_locked":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"item_count":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U32"]},"kiosk_owner_cap_for":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64"],"return":[]},"list_with_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}]},"lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"lock_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Address"]},"place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"place_and_list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0},"U64"],"return":[]},"place_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"profits_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U64"]},"profits_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"purchase":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"purchase_cap_item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_kiosk":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_min_price":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"purchase_with_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"return_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"return_val":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":0},{"Struct":{"address":"0x2","module":"kiosk","name":"Borrow","typeArguments":[]}}],"return":[]},"set_allow_extensions":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"Bool"],"return":[]},"set_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_owner_custom":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"Address"],"return":[]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"uid":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_internal":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"kiosk_extension":{"fileFormatVersion":6,"address":"0x2","name":"kiosk_extension","friends":[],"structs":{"Extension":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"storage","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"name":"permissions","type":"U128"},{"name":"is_enabled","type":"Bool"}]},"ExtensionKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"U128",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"can_lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"can_place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"disable":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"enable":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"is_enabled":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"is_installed":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Bool"]},"lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]},{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":1}]}}}],"return":[]},"place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]},{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":1}]}}}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[]},"storage":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"storage_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}}},"linked_table":{"fileFormatVersion":6,"address":"0x2","name":"linked_table","friends":[],"structs":{"LinkedTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"},{"name":"head","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"tail","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"Node":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"prev","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"next","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"next":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"pop_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"prev":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"push_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"math":{"fileFormatVersion":6,"address":"0x2","name":"math","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U8"],"return":["U64"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":["U64"]},"sqrt_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128"],"return":["U128"]}}},"object":{"fileFormatVersion":6,"address":"0x2","name":"object","friends":[{"address":"0x2","name":"authenticator_state"},{"address":"0x2","name":"clock"},{"address":"0x2","name":"deny_list"},{"address":"0x2","name":"dynamic_field"},{"address":"0x2","name":"random"}],"structs":{"ID":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":"Address"}]},"UID":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]}},"exposedFunctions":{"authenticator_state":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"borrow_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"clock":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}],"return":[]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_address":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Address"]},"id_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]},"id_from_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"id_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"new_uid_from_hash":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"randomness_state":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"sui_deny_list_object_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"uid_as_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"uid_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":["Address"]},"uid_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"uid_to_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}},"object_bag":{"fileFormatVersion":6,"address":"0x2","name":"object_bag","friends":[],"structs":{"ObjectBag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"object_table":{"fileFormatVersion":6,"address":"0x2","name":"object_table","friends":[],"structs":{"ObjectTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"package":{"fileFormatVersion":6,"address":"0x2","name":"package","friends":[],"structs":{"Publisher":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"module_name","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"UpgradeCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U64"},{"name":"policy","type":"U8"}]},"UpgradeReceipt":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"UpgradeTicket":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"policy","type":"U8"},{"name":"digest","type":{"Vector":"U8"}}]}},"exposedFunctions":{"additive_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"authorize_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},"U8",{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}]},"burn_publisher":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}],"return":[]},"claim":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}]},"claim_and_keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"commit_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}],"return":[]},"compatible_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"dep_only_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"from_module":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"from_package":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"make_immutable":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}],"return":[]},"only_additive_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"only_dep_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"published_module":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"published_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"receipt_cap":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"receipt_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_digest":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"ticket_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":["U8"]},"upgrade_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"upgrade_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U8"]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U64"]}}},"pay":{"fileFormatVersion":6,"address":"0x2","name":"pay","friends":[],"structs":{},"exposedFunctions":{"divide_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"join_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"join_vec_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"Address"],"return":[]},"keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":"U64"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"poseidon":{"fileFormatVersion":6,"address":"0x2","name":"poseidon","friends":[],"structs":{},"exposedFunctions":{"poseidon_bn254":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U256"}}],"return":["U256"]}}},"priority_queue":{"fileFormatVersion":6,"address":"0x2","name":"priority_queue","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"priority","type":"U64"},{"name":"value","type":{"TypeParameter":0}}]},"PriorityQueue":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"entries","type":{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}}]}},"exposedFunctions":{"create_entries":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":"U64"},{"Vector":{"TypeParameter":0}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}},"U64",{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}]},"new_entry":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":["U64",{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}]},"pop_max":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64",{"TypeParameter":0}]},"priorities":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Vector":"U64"}]}}},"prover":{"fileFormatVersion":6,"address":"0x2","name":"prover","friends":[],"structs":{},"exposedFunctions":{}},"random":{"fileFormatVersion":6,"address":"0x2","name":"random","friends":[],"structs":{"Random":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"inner","type":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}]},"RandomGenerator":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"seed","type":{"Vector":"U8"}},{"name":"counter","type":"U16"},{"name":"buffer","type":{"Vector":"U8"}}]},"RandomInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"version","type":"U64"},{"name":"epoch","type":"U64"},{"name":"randomness_round","type":"U64"},{"name":"random_bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"generate_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["Bool"]},"generate_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U16"],"return":[{"Vector":"U8"}]},"generate_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U128"]},"generate_u128_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U128","U128"],"return":["U128"]},"generate_u16":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U16"]},"generate_u16_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U16","U16"],"return":["U16"]},"generate_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U256"]},"generate_u32":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U32"]},"generate_u32_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U32","U32"],"return":["U32"]},"generate_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U64"]},"generate_u64_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U64","U64"],"return":["U64"]},"generate_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}}],"return":["U8"]},"generate_u8_in_range":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},"U8","U8"],"return":["U8"]},"new_generator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"random","name":"Random","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}]},"shuffle":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"random","name":"RandomGenerator","typeArguments":[]}}},{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[]}}},"sui":{"fileFormatVersion":6,"address":"0x2","name":"sui","friends":[],"structs":{"SUI":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"transfer":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address"],"return":[]}}},"table":{"fileFormatVersion":6,"address":"0x2","name":"table","friends":[],"structs":{"Table":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"table_vec":{"fileFormatVersion":6,"address":"0x2","name":"table_vec","friends":[],"structs":{"TableVec":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"contents","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"MutableReference":{"TypeParameter":0}}]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64","U64"],"return":[]},"swap_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"TypeParameter":0}]}}},"token":{"fileFormatVersion":6,"address":"0x2","name":"token","friends":[],"structs":{"ActionRequest":{"abilities":{"abilities":[]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"amount","type":"U64"},{"name":"sender","type":"Address"},{"name":"recipient","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}},{"name":"spent_balance","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}}},{"name":"approvals","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"RuleKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"is_protected","type":"Bool"}]},"Token":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"TokenPolicy":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"spent_balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"name":"rules","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]}}}]},"TokenPolicyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"for","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TokenPolicyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_mutable","type":"Bool"}]}},"exposedFunctions":{"action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"add_approval":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"add_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":2},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"add_rule_for_action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"allow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"amount":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"approvals":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]},"burn":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"confirm_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_request_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_with_policy_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"confirm_with_treasury_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64","Address",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"disallow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"flush":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"from_coin":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"from_coin_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"has_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"has_rule_config_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"is_allowed":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"join":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"mint":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]},"new_policy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}]},"new_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U64",{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"recipient":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"remove_rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":[]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"TypeParameter":2}]},"remove_rule_for_action":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"rule_config":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":2}}]},"rule_config_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"TypeParameter":2}}]},"rules":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}]},"sender":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["Address"]},"share_policy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"spend":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"spend_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"spent":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"spent_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"TokenPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]},"to_coin":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"to_coin_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"ActionRequest","typeArguments":[{"TypeParameter":0}]}}]},"transfer_action":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"token","name":"Token","typeArguments":[{"TypeParameter":0}]}}]}}},"transfer":{"fileFormatVersion":6,"address":"0x2","name":"transfer","friends":[],"structs":{"Receiving":{"abilities":{"abilities":["Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"freeze_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_receive":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"public_share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"receive":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"receiving_object_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer","name":"Receiving","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"share_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"transfer_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]}}},"transfer_policy":{"fileFormatVersion":6,"address":"0x2","name":"transfer_policy","friends":[],"structs":{"RuleKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":true}],"fields":[{"name":"dummy_field","type":"Bool"}]},"TransferPolicy":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"rules","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"TransferPolicyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"policy_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferPolicyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferPolicyDestroyed":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferRequest":{"abilities":{"abilities":[]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"item","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"paid","type":"U64"},{"name":"from","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"receipts","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add_receipt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"add_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":2}],"return":[]},"add_to_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"confirm_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"default":{"visibility":"Private","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"destroy_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"from":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"get_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":2}}]},"has_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}]},"new_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"paid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"remove_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"rules":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"uid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"tx_context":{"fileFormatVersion":6,"address":"0x2","name":"tx_context","friends":[],"structs":{"TxContext":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"sender","type":"Address"},{"name":"tx_hash","type":{"Vector":"U8"}},{"name":"epoch","type":"U64"},{"name":"epoch_timestamp_ms","type":"U64"},{"name":"ids_created","type":"U64"}]}},"exposedFunctions":{"digest":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"epoch_timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"fresh_object_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]},"sender":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]}}},"types":{"fileFormatVersion":6,"address":"0x2","name":"types","friends":[],"structs":{},"exposedFunctions":{"is_one_time_witness":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Bool"]}}},"url":{"fileFormatVersion":6,"address":"0x2","name":"url","friends":[],"structs":{"Url":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"url","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"inner_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"new_unsafe":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"new_unsafe_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"update":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]}}},"vdf":{"fileFormatVersion":6,"address":"0x2","name":"vdf","friends":[],"structs":{},"exposedFunctions":{"hash_to_input":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"vdf_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U64"],"return":["Bool"]}}},"vec_map":{"fileFormatVersion":6,"address":"0x2","name":"vec_map","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"key","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]},"VecMap":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"Struct":{"address":"0x2","module":"vec_map","name":"Entry","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"from_keys_values":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"MutableReference":{"TypeParameter":1}}]},"get_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["U64"]},"get_idx_opt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"get_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"MutableReference":{"TypeParameter":1}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"into_keys_values":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Vector":{"TypeParameter":0}}]},"pop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"try_get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":["Copy"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"vec_set":{"fileFormatVersion":6,"address":"0x2","name":"vec_set","friends":[],"structs":{"VecSet":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop"]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"TypeParameter":0}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"from_keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Vector":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"into_keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Vector":{"TypeParameter":0}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Vector":{"TypeParameter":0}}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]}}},"versioned":{"fileFormatVersion":6,"address":"0x2","name":"versioned","friends":[],"structs":{"VersionChangeCap":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"versioned_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"old_version","type":"U64"}]},"Versioned":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"create":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":["U64",{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"load_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"Reference":{"TypeParameter":0}}]},"load_value_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"remove_value_for_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}]},"upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}},"U64",{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":["U64"]}}},"zklogin_verified_id":{"fileFormatVersion":6,"address":"0x2","name":"zklogin_verified_id","friends":[],"structs":{"VerifiedID":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"owner","type":"Address"},{"name":"key_claim_name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"key_claim_value","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"issuer","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"audience","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"audience":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"check_zklogin_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address",{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U256"],"return":["Bool"]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}],"return":[]},"issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"key_claim_name":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"key_claim_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_id","name":"VerifiedID","typeArguments":[]}}}],"return":["Address"]},"verify_zklogin_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},"U256",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"zklogin_verified_issuer":{"fileFormatVersion":6,"address":"0x2","name":"zklogin_verified_issuer","friends":[],"structs":{"VerifiedIssuer":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"owner","type":"Address"},{"name":"issuer","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"check_zklogin_issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address","U256",{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}],"return":[]},"issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"zklogin_verified_issuer","name":"VerifiedIssuer","typeArguments":[]}}}],"return":["Address"]},"verify_zklogin_issuer":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256",{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}}}',
|
|
21612
23579
|
);
|
|
21613
23580
|
|
|
21614
23581
|
export function loadAllTypes(coder: MoveCoder) {
|