@akta/sdk 1.3.27 → 1.3.28
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/{chunk-Q6CNNTNZ.js → chunk-7RJQCI22.js} +4 -4
- package/dist/{chunk-Q6CNNTNZ.js.map → chunk-7RJQCI22.js.map} +1 -1
- package/dist/{chunk-VLRNGCPP.js → chunk-GU64KMQ4.js} +38 -38
- package/dist/{chunk-VLRNGCPP.js.map → chunk-GU64KMQ4.js.map} +1 -1
- package/dist/{chunk-5F555WJV.mjs → chunk-JIDDRUHU.mjs} +20 -6
- package/dist/chunk-JIDDRUHU.mjs.map +1 -0
- package/dist/{chunk-Z36RHR5G.js → chunk-K76URIPO.js} +24 -24
- package/dist/{chunk-Z36RHR5G.js.map → chunk-K76URIPO.js.map} +1 -1
- package/dist/{chunk-FLE36MLY.mjs → chunk-KWFYX34V.mjs} +65 -51
- package/dist/{chunk-FLE36MLY.mjs.map → chunk-KWFYX34V.mjs.map} +1 -1
- package/dist/{chunk-YCJNR4ZP.js → chunk-LVGQRYZG.js} +73 -59
- package/dist/chunk-LVGQRYZG.js.map +1 -0
- package/dist/{chunk-FDB6YYXS.mjs → chunk-NGNKMISH.mjs} +2 -2
- package/dist/{chunk-XP3V3ZRE.mjs → chunk-P5LQGRER.mjs} +3 -3
- package/dist/{chunk-AW5G7J3L.js → chunk-TIURHLVA.js} +19 -5
- package/dist/chunk-TIURHLVA.js.map +1 -0
- package/dist/{chunk-PFWDQXSX.mjs → chunk-WTDHZGUM.mjs} +2 -2
- package/dist/dao/index.js +4 -4
- package/dist/dao/index.mjs +3 -3
- package/dist/gates/index.js +3 -3
- package/dist/gates/index.mjs +2 -2
- package/dist/generated/AbstractedAccountFactoryClient.d.ts +83 -83
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- package/dist/subscriptions/index.js +3 -3
- package/dist/subscriptions/index.mjs +2 -2
- package/dist/wallet/index.js +3 -3
- package/dist/wallet/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-5F555WJV.mjs.map +0 -1
- package/dist/chunk-AW5G7J3L.js.map +0 -1
- package/dist/chunk-YCJNR4ZP.js.map +0 -1
- /package/dist/{chunk-FDB6YYXS.mjs.map → chunk-NGNKMISH.mjs.map} +0 -0
- /package/dist/{chunk-XP3V3ZRE.mjs.map → chunk-P5LQGRER.mjs.map} +0 -0
- /package/dist/{chunk-PFWDQXSX.mjs.map → chunk-WTDHZGUM.mjs.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2ZPJXFUS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
convertToUnixTimestamp
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JIDDRUHU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
makeErrorTranslator
|
|
9
9
|
} from "./chunk-2AEP6DTX.mjs";
|
|
@@ -3684,4 +3684,4 @@ export {
|
|
|
3684
3684
|
translateSubscriptionsError,
|
|
3685
3685
|
SubscriptionsSDK
|
|
3686
3686
|
};
|
|
3687
|
-
//# sourceMappingURL=chunk-
|
|
3687
|
+
//# sourceMappingURL=chunk-NGNKMISH.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
WalletSDK,
|
|
4
4
|
prepareGroup,
|
|
5
5
|
sendPrepared
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KWFYX34V.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AllowancesToTuple
|
|
9
9
|
} from "./chunk-2ZPJXFUS.mjs";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
decodeABIValue,
|
|
16
16
|
encodeABIValue,
|
|
17
17
|
randomByteArray
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JIDDRUHU.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BaseSDK
|
|
21
21
|
} from "./chunk-2EQ6E26U.mjs";
|
|
@@ -1957,4 +1957,4 @@ export {
|
|
|
1957
1957
|
translateDaoError,
|
|
1958
1958
|
AkitaDaoSDK
|
|
1959
1959
|
};
|
|
1960
|
-
//# sourceMappingURL=chunk-
|
|
1960
|
+
//# sourceMappingURL=chunk-P5LQGRER.mjs.map
|
|
@@ -74,10 +74,24 @@ function wrapUtils10Signer(utils10Signer) {
|
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
76
|
});
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
try {
|
|
78
|
+
return await utils10Signer(
|
|
79
|
+
utils10Group,
|
|
80
|
+
indexesToSign
|
|
81
|
+
);
|
|
82
|
+
} catch (error) {
|
|
83
|
+
if (error instanceof TypeError && /signTxn is not a function/.test(error.message)) {
|
|
84
|
+
const algosdkGroup = txnGroup.map((t) => {
|
|
85
|
+
if (typeof t.signTxn === "function") {
|
|
86
|
+
return t;
|
|
87
|
+
}
|
|
88
|
+
const bytes = typeof t.getEncodingSchema === "function" ? _algosdk2.default.encodeUnsignedTransaction(t) : _transact.encodeTransactionRaw.call(void 0, t);
|
|
89
|
+
return _algosdk2.default.decodeUnsignedTransaction(bytes);
|
|
90
|
+
});
|
|
91
|
+
return utils10Signer(algosdkGroup, indexesToSign);
|
|
92
|
+
}
|
|
93
|
+
throw error;
|
|
94
|
+
}
|
|
81
95
|
};
|
|
82
96
|
}
|
|
83
97
|
|
|
@@ -89,4 +103,4 @@ function wrapUtils10Signer(utils10Signer) {
|
|
|
89
103
|
|
|
90
104
|
|
|
91
105
|
exports.convertToUnixTimestamp = convertToUnixTimestamp; exports.assertByteArrayLength = assertByteArrayLength; exports.randomByteArray = randomByteArray; exports.encodeABIValue = encodeABIValue; exports.decodeABIValue = decodeABIValue; exports.wrapUtils10Signer = wrapUtils10Signer;
|
|
92
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-TIURHLVA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/kylebreeding/akita/akita-sc/projects/akita-sdk/dist/chunk-TIURHLVA.js","../src/utils.ts"],"names":[],"mappings":"AAAA;ACAA,oFAAoB;AACpB,4CAAgD;AAChD;AACE;AACA;AAGA;AACA;AACA;AAAA,4DACK;AACP,sEAAwD;AAYjD,SAAS,sBAAA,CAAuB,SAAA,EAA2B;AAChE,EAAA,OAAO,UAAA,EAAY,KAAA;AACrB;AAMO,SAAS,qBAAA,CAAsB,KAAA,EAAmB,IAAA,EAAc,MAAA,EAAsB;AAC3F,EAAA,GAAA,CAAI,CAAA,CAAE,MAAA,WAAiB,UAAA,EAAA,GAAe,KAAA,CAAM,OAAA,IAAW,MAAA,EAAQ;AAC7D,IAAA,MAAM,IAAI,KAAA,CAAM,CAAA,EAAA;AAClB,EAAA;AACF;AAEgB;AACP,EAAA;AACT;AAcS;AAK0B,EAAA;AACtB,EAAA;AACH,IAAA;AAGS,IAAA;AAQC,MAAA;AACZ,QAAA;AACQ,QAAA;AACR,QAAA;AACF,MAAA;AACK,IAAA;AACS,MAAA;AAChB,IAAA;AACF,EAAA;AACO,EAAA;AACT;AAYuB;AAOP;AAME,EAAA;AACR,IAAA;AAGA,IAAA;AACJ,MAAA;AACQ,MAAA;AACR,MAAA;AACF,IAAA;AACM,IAAA;AACC,IAAA;AACT,EAAA;AAEmB,EAAA;AACV,IAAA;AACT,EAAA;AAEgB,EAAA;AACT,EAAA;AACT;AAMgB;AAKE,EAAA;AAIR,IAAA;AACC,IAAA;AACT,EAAA;AACmB,EAAA;AACV,IAAA;AACT,EAAA;AACgB,EAAA;AACT,EAAA;AACT;AAwBgB;AACA,EAAA;AACN,IAAA;AAK8C,MAAA;AAC1C,QAAA;AACC,QAAA;AACT,MAAA;AACO,MAAA;AACR,IAAA;AACG,IAAA;AACY,MAAA;AACZ,QAAA;AACA,QAAA;AACF,MAAA;AACc,IAAA;AAIV,MAAA;AACI,QAAA;AACQ,UAAA;AACH,YAAA;AACT,UAAA;AACM,UAAA;AAGC,UAAA;AACR,QAAA;AACO,QAAA;AACV,MAAA;AACM,MAAA;AACR,IAAA;AACF,EAAA;AACF;ADjHqB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/Users/kylebreeding/akita/akita-sc/projects/akita-sdk/dist/chunk-TIURHLVA.js","sourcesContent":[null,"import algosdk from \"algosdk\";\nimport { randomBytes as nobleRandomBytes } from \"@noble/hashes/utils\";\nimport {\n ABIStructType,\n ABIType,\n ABIValue,\n StructField,\n getABIDecodedValue as getABIDecodedValueRaw,\n getABIEncodedValue as getABIEncodedValueRaw,\n getTupleValueFromStructValue,\n} from \"@algorandfoundation/algokit-utils/abi\";\nimport { decodeTransaction, encodeTransactionRaw } from \"@algorandfoundation/algokit-utils/transact\";\n\n/**\n * Local alias for the struct-shaped ABIValue. The upstream\n * @algorandfoundation/algokit-utils/abi module defines this type in\n * abi-value.d.ts but doesn't re-export it from the public /abi index,\n * so we mirror it here to preserve the ergonomic name.\n */\nexport type ABIStructValue = {\n [key: string]: ABIValue;\n};\n\nexport function convertToUnixTimestamp(timestamp: bigint): bigint {\n return timestamp * 1_000n;\n}\n\nexport function convertFromUnixTimestamp(timestamp: bigint): bigint {\n return timestamp / 1_000n;\n}\n\nexport function assertByteArrayLength(value: Uint8Array, name: string, length: number): void {\n if (!(value instanceof Uint8Array) || value.length !== length) {\n throw new Error(`${name} must be ${length} bytes`);\n }\n}\n\nexport function randomByteArray(length: number): Uint8Array {\n return nobleRandomBytes(length);\n}\n\n/**\n * Reorders a struct-shaped value so its keys are in the exact order declared by the\n * struct definition, and drops any keys that aren't part of the struct. Also recurses\n * into nested struct-typed fields.\n *\n * This is required because algokit-utils' `getTupleValueFromStructValue` internally\n * calls `Object.values(structValue)` and maps positionally against the struct's\n * `structFields` — it does NOT look up by name. Any extra field or misordered field\n * in the source object shifts the tuple and produces wildly wrong encodings (e.g.\n * \"Cannot encode value as byte[32]:\" when an empty `escrow` string lands where\n * `executionKey` was expected because an extra `caller` field shifted everything).\n */\nfunction reorderStructValue(\n value: ABIStructValue,\n fields: StructField[],\n structs: Record<string, StructField[]>,\n): ABIStructValue {\n const ordered: ABIStructValue = {};\n for (const field of fields) {\n const fieldValue = value[field.name];\n // Recurse into nested struct-typed fields referenced by struct name\n if (\n typeof field.type === 'string' &&\n field.type in structs &&\n fieldValue !== undefined &&\n fieldValue !== null &&\n typeof fieldValue === 'object' &&\n !Array.isArray(fieldValue) &&\n !(fieldValue instanceof Uint8Array)\n ) {\n ordered[field.name] = reorderStructValue(\n fieldValue as ABIStructValue,\n structs[field.type],\n structs,\n );\n } else {\n ordered[field.name] = fieldValue;\n }\n }\n return ordered;\n}\n\n/**\n * The utils10 `getABIEncodedValue`/`getABIDecodedValue` accept either:\n * - one of the special \"AVM type\" string literals (\"AVMString\", \"AVMBytes\", \"AVMUint64\")\n * - or an `ABIType` instance (NOT an ARC-4 type string)\n *\n * The legacy v9 API let you pass ARC-4 type strings like \"uint64\" or\n * \"((uint64,string),uint8,uint64)[]\" directly. Our compat wrappers preserve that\n * convenience by parsing the string into an `ABIType` via `ABIType.from(typeName)`\n * when it isn't a struct name and isn't an AVM type.\n */\nconst AVM_TYPE_NAMES = new Set([\"AVMString\", \"AVMBytes\", \"AVMUint64\"]);\n\n/**\n * Compatibility wrapper for the old `getABIEncodedValue(value, typeName, structs)` signature\n * from algokit-utils v9. Internally constructs an ABIStructType or ABIType and delegates\n * to the v10 `getABIEncodedValue(type, value)` API.\n */\nexport function encodeABIValue(\n value: ABIValue | ABIStructValue,\n typeName: string,\n structs: Record<string, StructField[]>,\n): Uint8Array {\n // If the caller passed a struct name, build the struct type and convert the value\n if (typeName in structs) {\n const structType = ABIStructType.fromStruct(typeName, structs);\n // Reorder to match struct field order and drop extra properties — utils10 maps\n // by position, not name, so source-object key order matters here.\n const orderedValue = reorderStructValue(\n value as ABIStructValue,\n structs[typeName],\n structs,\n );\n const tupleValue = getTupleValueFromStructValue(structType, orderedValue);\n return getABIEncodedValueRaw(structType, tupleValue);\n }\n // AVM type literals pass through unchanged\n if (AVM_TYPE_NAMES.has(typeName)) {\n return getABIEncodedValueRaw(typeName as never, value as ABIValue);\n }\n // Otherwise treat the typeName as an ARC-4 type descriptor and build an ABIType from it\n const abiType = ABIType.from(typeName);\n return getABIEncodedValueRaw(abiType, value as ABIValue);\n}\n\n/**\n * Compatibility wrapper for the old `getABIDecodedValue(bytes, typeName, structs)` signature.\n * Returns the struct value form when decoding into a named struct.\n */\nexport function decodeABIValue(\n bytes: Uint8Array,\n typeName: string,\n structs: Record<string, StructField[]>,\n): ABIValue | ABIStructValue {\n if (typeName in structs) {\n // v10 ABIStructType.decode() already returns a struct value (object with named\n // fields), not a tuple — so pass the result through directly. (v9 returned a\n // tuple here, which is why this used to call getStructValueFromTupleValue.)\n const structType = ABIStructType.fromStruct(typeName, structs);\n return getABIDecodedValueRaw(structType, bytes) as ABIStructValue;\n }\n if (AVM_TYPE_NAMES.has(typeName)) {\n return getABIDecodedValueRaw(typeName as never, bytes);\n }\n const abiType = ABIType.from(typeName);\n return getABIDecodedValueRaw(abiType, bytes);\n}\n\n/**\n * Bridge between utils10 and algosdk signer conventions.\n *\n * `sendPrepared` invokes signers with `algosdk.Transaction` objects (we\n * deliberately hold transactions in algosdk shape after `prepareGroup` so\n * their fields — sender, lease, fee, validity — remain mutable for the arc58\n * execution-handoff path). A utils10 signer, however, expects the\n * `utils10.Transaction` shape (which uses `appCall`/`payment`/etc. fields\n * instead of algosdk's flat layout); passing algosdk objects through a\n * utils10 signer produces signed bytes with empty app-call fields.\n *\n * This wrapper re-encodes each algosdk transaction to canonical msgpack bytes\n * and decodes them back into utils10 `Transaction` objects before handing\n * them to the utils10 signer.\n *\n * Tolerant of inputs that are ALREADY utils10 Transactions: passes them\n * through unchanged. That case arises when the same signer is attached to\n * both a `sendPrepared` call (algosdk inputs) and a direct utils10 composer\n * send (utils10 inputs). Without this detection,\n * `algosdk.encodeUnsignedTransaction` would throw\n * `e.getEncodingSchema is not a function`.\n */\nexport function wrapUtils10Signer(utils10Signer: unknown): algosdk.TransactionSigner {\n return async (txnGroup: algosdk.Transaction[], indexesToSign: number[]) => {\n const utils10Group = txnGroup.map((t) => {\n // algosdk.Transaction implements `getEncodingSchema()` as part of its Encodable\n // interface. utils10.Transaction has no such method — it encodes/decodes via\n // the standalone `encodeTransactionRaw` / `decodeTransaction` helpers. Use this\n // as a duck-typed discriminator; only re-encode when the input is algosdk.\n if (typeof (t as { getEncodingSchema?: unknown }).getEncodingSchema === 'function') {\n const bytes = algosdk.encodeUnsignedTransaction(t);\n return decodeTransaction(bytes);\n }\n return t;\n });\n try {\n return await (utils10Signer as (g: unknown[], i: number[]) => Promise<Uint8Array[]>)(\n utils10Group,\n indexesToSign,\n );\n } catch (error) {\n // Some composer paths already carry an algosdk signer, e.g.\n // makeBasicAccountTransactionSigner. Those signers require algosdk\n // Transaction objects with signTxn(), so retry with the original group.\n if (error instanceof TypeError && /signTxn is not a function/.test(error.message)) {\n const algosdkGroup = txnGroup.map((t) => {\n if (typeof (t as { signTxn?: unknown }).signTxn === 'function') {\n return t;\n }\n const bytes = typeof (t as { getEncodingSchema?: unknown }).getEncodingSchema === 'function'\n ? algosdk.encodeUnsignedTransaction(t)\n : encodeTransactionRaw(t as never);\n return algosdk.decodeUnsignedTransaction(bytes);\n });\n return (utils10Signer as algosdk.TransactionSigner)(algosdkGroup, indexesToSign);\n }\n throw error;\n }\n };\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decodeABIValue,
|
|
3
3
|
encodeABIValue
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JIDDRUHU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
makeErrorTranslator
|
|
7
7
|
} from "./chunk-2AEP6DTX.mjs";
|
|
@@ -1475,4 +1475,4 @@ export {
|
|
|
1475
1475
|
LogicalOperator,
|
|
1476
1476
|
GateSDK
|
|
1477
1477
|
};
|
|
1478
|
-
//# sourceMappingURL=chunk-
|
|
1478
|
+
//# sourceMappingURL=chunk-WTDHZGUM.mjs.map
|
package/dist/dao/index.js
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('../chunk-
|
|
11
|
+
var _chunkGU64KMQ4js = require('../chunk-GU64KMQ4.js');
|
|
12
|
+
require('../chunk-LVGQRYZG.js');
|
|
13
13
|
require('../chunk-VE4MYPMK.js');
|
|
14
14
|
require('../chunk-PFX6BSCE.js');
|
|
15
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-TIURHLVA.js');
|
|
16
16
|
require('../chunk-H7PRBD4T.js');
|
|
17
17
|
require('../chunk-OHIWM57P.js');
|
|
18
18
|
require('../chunk-FZLF55XC.js');
|
|
@@ -26,5 +26,5 @@ require('../chunk-FZLF55XC.js');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.AkitaDaoSDK =
|
|
29
|
+
exports.AkitaDaoSDK = _chunkGU64KMQ4js.AkitaDaoSDK; exports.DAOProposalVotesMBR = _chunkGU64KMQ4js.DAOProposalVotesMBR; exports.DAO_ERROR_MESSAGES = _chunkGU64KMQ4js.DAO_ERROR_MESSAGES; exports.EMPTY_CID = _chunkGU64KMQ4js.EMPTY_CID; exports.ProposalActionEnum = _chunkGU64KMQ4js.ProposalActionEnum; exports.SplitDistributionType = _chunkGU64KMQ4js.SplitDistributionType; exports.SplitsToTuples = _chunkGU64KMQ4js.SplitsToTuples; exports.parseDaoErrorCode = _chunkGU64KMQ4js.parseDaoErrorCode; exports.translateDaoError = _chunkGU64KMQ4js.translateDaoError;
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
package/dist/dao/index.mjs
CHANGED
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
SplitsToTuples,
|
|
9
9
|
parseDaoErrorCode,
|
|
10
10
|
translateDaoError
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-P5LQGRER.mjs";
|
|
12
|
+
import "../chunk-KWFYX34V.mjs";
|
|
13
13
|
import "../chunk-2ZPJXFUS.mjs";
|
|
14
14
|
import "../chunk-ST2WN72C.mjs";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-JIDDRUHU.mjs";
|
|
16
16
|
import "../chunk-2EQ6E26U.mjs";
|
|
17
17
|
import "../chunk-XLWSHPHP.mjs";
|
|
18
18
|
import "../chunk-RFJII2P3.mjs";
|
package/dist/gates/index.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
7
|
+
var _chunkK76URIPOjs = require('../chunk-K76URIPO.js');
|
|
8
|
+
require('../chunk-TIURHLVA.js');
|
|
9
9
|
require('../chunk-GIGYZ6YC.js');
|
|
10
10
|
require('../chunk-H7PRBD4T.js');
|
|
11
11
|
require('../chunk-OHIWM57P.js');
|
|
@@ -16,5 +16,5 @@ require('../chunk-FZLF55XC.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.GATES_ERROR_MESSAGES =
|
|
19
|
+
exports.GATES_ERROR_MESSAGES = _chunkK76URIPOjs.GATES_ERROR_MESSAGES; exports.GateSDK = _chunkK76URIPOjs.GateSDK; exports.LogicalOperator = _chunkK76URIPOjs.LogicalOperator; exports.Operator = _chunkK76URIPOjs.Operator; exports.translateGateError = _chunkK76URIPOjs.translateGateError;
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
package/dist/gates/index.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
LogicalOperator,
|
|
5
5
|
Operator,
|
|
6
6
|
translateGateError
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-WTDHZGUM.mjs";
|
|
8
|
+
import "../chunk-JIDDRUHU.mjs";
|
|
9
9
|
import "../chunk-2AEP6DTX.mjs";
|
|
10
10
|
import "../chunk-2EQ6E26U.mjs";
|
|
11
11
|
import "../chunk-XLWSHPHP.mjs";
|
|
@@ -79,6 +79,7 @@ export type AbstractedAccountFactoryArgs = {
|
|
|
79
79
|
*/
|
|
80
80
|
wallet: bigint | number;
|
|
81
81
|
};
|
|
82
|
+
'opUp()void': Record<string, never>;
|
|
82
83
|
'initBoxedContract(string,uint64)void': {
|
|
83
84
|
version: string;
|
|
84
85
|
size: bigint | number;
|
|
@@ -110,7 +111,6 @@ export type AbstractedAccountFactoryArgs = {
|
|
|
110
111
|
'updateAkitaDAO(uint64)void': {
|
|
111
112
|
akitaDao: bigint | number;
|
|
112
113
|
};
|
|
113
|
-
'opUp()void': Record<string, never>;
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* The tuple representation of the arguments for each method
|
|
@@ -121,6 +121,7 @@ export type AbstractedAccountFactoryArgs = {
|
|
|
121
121
|
'newAccount(pay,address,address,string,address,byte[32],string,uint64,uint64[],(uint64,address,string,bool,uint8,uint64,uint64,(byte[4],uint64)[],bool,bool,bool,bool,bool)[])uint64': [payment: AppMethodCallTransactionArgument, controlledAddress: string, admin: string, nickname: string, referrer: string, salt: Uint8Array, bio: string, extraFunding: bigint | number, assets: bigint[] | number[], plugins: [bigint | number, string, string, boolean, bigint | number, bigint | number, bigint | number, [Uint8Array, bigint | number][], boolean, boolean, boolean, boolean, boolean][]];
|
|
122
122
|
'cost()uint64': [];
|
|
123
123
|
'updateWallet(uint64)void': [wallet: bigint | number];
|
|
124
|
+
'opUp()void': [];
|
|
124
125
|
'initBoxedContract(string,uint64)void': [version: string, size: bigint | number];
|
|
125
126
|
'loadBoxedContract(uint64,byte[])void': [offset: bigint | number, data: Uint8Array];
|
|
126
127
|
'deleteBoxedContract()void': [];
|
|
@@ -129,7 +130,6 @@ export type AbstractedAccountFactoryArgs = {
|
|
|
129
130
|
'updateAkitaDAOEscrow((string,uint64))void': [config: EscrowConfig];
|
|
130
131
|
'update(string)void': [newVersion: string];
|
|
131
132
|
'updateAkitaDAO(uint64)void': [akitaDao: bigint | number];
|
|
132
|
-
'opUp()void': [];
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
@@ -141,6 +141,7 @@ export type AbstractedAccountFactoryReturns = {
|
|
|
141
141
|
'newAccount(pay,address,address,string,address,byte[32],string,uint64,uint64[],(uint64,address,string,bool,uint8,uint64,uint64,(byte[4],uint64)[],bool,bool,bool,bool,bool)[])uint64': bigint;
|
|
142
142
|
'cost()uint64': bigint;
|
|
143
143
|
'updateWallet(uint64)void': void;
|
|
144
|
+
'opUp()void': void;
|
|
144
145
|
'initBoxedContract(string,uint64)void': void;
|
|
145
146
|
'loadBoxedContract(uint64,byte[])void': void;
|
|
146
147
|
'deleteBoxedContract()void': void;
|
|
@@ -149,7 +150,6 @@ export type AbstractedAccountFactoryReturns = {
|
|
|
149
150
|
'updateAkitaDAOEscrow((string,uint64))void': void;
|
|
150
151
|
'update(string)void': void;
|
|
151
152
|
'updateAkitaDAO(uint64)void': void;
|
|
152
|
-
'opUp()void': void;
|
|
153
153
|
};
|
|
154
154
|
/**
|
|
155
155
|
* Defines the types of available calls and state of the AbstractedAccountFactory smart contract.
|
|
@@ -178,6 +178,10 @@ export type AbstractedAccountFactoryTypes = {
|
|
|
178
178
|
argsObj: AbstractedAccountFactoryArgs['obj']['updateWallet(uint64)void'];
|
|
179
179
|
argsTuple: AbstractedAccountFactoryArgs['tuple']['updateWallet(uint64)void'];
|
|
180
180
|
returns: AbstractedAccountFactoryReturns['updateWallet(uint64)void'];
|
|
181
|
+
}> & Record<'opUp()void' | 'opUp', {
|
|
182
|
+
argsObj: AbstractedAccountFactoryArgs['obj']['opUp()void'];
|
|
183
|
+
argsTuple: AbstractedAccountFactoryArgs['tuple']['opUp()void'];
|
|
184
|
+
returns: AbstractedAccountFactoryReturns['opUp()void'];
|
|
181
185
|
}> & Record<'initBoxedContract(string,uint64)void' | 'initBoxedContract', {
|
|
182
186
|
argsObj: AbstractedAccountFactoryArgs['obj']['initBoxedContract(string,uint64)void'];
|
|
183
187
|
argsTuple: AbstractedAccountFactoryArgs['tuple']['initBoxedContract(string,uint64)void'];
|
|
@@ -210,10 +214,6 @@ export type AbstractedAccountFactoryTypes = {
|
|
|
210
214
|
argsObj: AbstractedAccountFactoryArgs['obj']['updateAkitaDAO(uint64)void'];
|
|
211
215
|
argsTuple: AbstractedAccountFactoryArgs['tuple']['updateAkitaDAO(uint64)void'];
|
|
212
216
|
returns: AbstractedAccountFactoryReturns['updateAkitaDAO(uint64)void'];
|
|
213
|
-
}> & Record<'opUp()void' | 'opUp', {
|
|
214
|
-
argsObj: AbstractedAccountFactoryArgs['obj']['opUp()void'];
|
|
215
|
-
argsTuple: AbstractedAccountFactoryArgs['tuple']['opUp()void'];
|
|
216
|
-
returns: AbstractedAccountFactoryReturns['opUp()void'];
|
|
217
217
|
}>;
|
|
218
218
|
/**
|
|
219
219
|
* Defines the shape of the state of the application.
|
|
@@ -439,6 +439,13 @@ export declare abstract class AbstractedAccountFactoryParamsFactory {
|
|
|
439
439
|
* @returns An `AppClientMethodCallParams` object for the call
|
|
440
440
|
*/
|
|
441
441
|
static updateWallet(params: CallParams<AbstractedAccountFactoryArgs['obj']['updateWallet(uint64)void'] | AbstractedAccountFactoryArgs['tuple']['updateWallet(uint64)void']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
442
|
+
/**
|
|
443
|
+
* Constructs a no op call for the opUp()void ABI method
|
|
444
|
+
*
|
|
445
|
+
* @param params Parameters for the call
|
|
446
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
447
|
+
*/
|
|
448
|
+
static opUp(params: CallParams<AbstractedAccountFactoryArgs['obj']['opUp()void'] | AbstractedAccountFactoryArgs['tuple']['opUp()void']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
442
449
|
/**
|
|
443
450
|
* Constructs a no op call for the initBoxedContract(string,uint64)void ABI method
|
|
444
451
|
*
|
|
@@ -503,13 +510,6 @@ export declare abstract class AbstractedAccountFactoryParamsFactory {
|
|
|
503
510
|
* @returns An `AppClientMethodCallParams` object for the call
|
|
504
511
|
*/
|
|
505
512
|
static updateAkitaDao(params: CallParams<AbstractedAccountFactoryArgs['obj']['updateAkitaDAO(uint64)void'] | AbstractedAccountFactoryArgs['tuple']['updateAkitaDAO(uint64)void']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
506
|
-
/**
|
|
507
|
-
* Constructs a no op call for the opUp()void ABI method
|
|
508
|
-
*
|
|
509
|
-
* @param params Parameters for the call
|
|
510
|
-
* @returns An `AppClientMethodCallParams` object for the call
|
|
511
|
-
*/
|
|
512
|
-
static opUp(params: CallParams<AbstractedAccountFactoryArgs['obj']['opUp()void'] | AbstractedAccountFactoryArgs['tuple']['opUp()void']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
515
|
* A factory to create and deploy one or more instance of the AbstractedAccountFactory smart contract and to create one or more app clients to interact with those (or other) app instances
|
|
@@ -1196,6 +1196,37 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1196
1196
|
method: import("@algorandfoundation/algokit-utils/abi").ABIMethod;
|
|
1197
1197
|
args?: (import("@algorandfoundation/algokit-utils/abi").ABIValue | import("@algorandfoundation/algokit-utils").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppCreateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppUpdateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
1198
1198
|
}>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1201
|
+
*
|
|
1202
|
+
* @param params The params for the smart contract call
|
|
1203
|
+
* @returns The call params
|
|
1204
|
+
*/
|
|
1205
|
+
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & {
|
|
1206
|
+
onComplete?: OnApplicationComplete.NoOp;
|
|
1207
|
+
}) => Promise<{
|
|
1208
|
+
signer?: (TransactionSigner | import("@algorandfoundation/algokit-utils/transact").AddressWithTransactionSigner) | undefined;
|
|
1209
|
+
appId: bigint;
|
|
1210
|
+
sender: import("@algorandfoundation/algokit-utils/transact").SendingAddress;
|
|
1211
|
+
rekeyTo?: import("@algorandfoundation/algokit-utils").ReadableAddress | undefined;
|
|
1212
|
+
note?: (Uint8Array | string) | undefined;
|
|
1213
|
+
lease?: (Uint8Array | string) | undefined;
|
|
1214
|
+
staticFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1215
|
+
extraFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1216
|
+
maxFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1217
|
+
validityWindow?: number | bigint | undefined;
|
|
1218
|
+
firstValidRound?: bigint | undefined;
|
|
1219
|
+
lastValidRound?: bigint | undefined;
|
|
1220
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1221
|
+
accountReferences?: import("@algorandfoundation/algokit-utils").ReadableAddress[] | undefined;
|
|
1222
|
+
appReferences?: bigint[] | undefined;
|
|
1223
|
+
assetReferences?: bigint[] | undefined;
|
|
1224
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils").BoxReference | import("@algorandfoundation/algokit-utils").BoxIdentifier)[] | undefined;
|
|
1225
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/transact").ResourceReference[] | undefined;
|
|
1226
|
+
rejectVersion?: number | undefined;
|
|
1227
|
+
method: import("@algorandfoundation/algokit-utils/abi").ABIMethod;
|
|
1228
|
+
args?: (import("@algorandfoundation/algokit-utils/abi").ABIValue | import("@algorandfoundation/algokit-utils").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppCreateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppUpdateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
1229
|
+
}>;
|
|
1199
1230
|
/**
|
|
1200
1231
|
* Makes a call to the AbstractedAccountFactory smart contract using the `initBoxedContract(string,uint64)void` ABI method.
|
|
1201
1232
|
*
|
|
@@ -1430,37 +1461,6 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1430
1461
|
method: import("@algorandfoundation/algokit-utils/abi").ABIMethod;
|
|
1431
1462
|
args?: (import("@algorandfoundation/algokit-utils/abi").ABIValue | import("@algorandfoundation/algokit-utils").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppCreateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppUpdateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
1432
1463
|
}>;
|
|
1433
|
-
/**
|
|
1434
|
-
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1435
|
-
*
|
|
1436
|
-
* @param params The params for the smart contract call
|
|
1437
|
-
* @returns The call params
|
|
1438
|
-
*/
|
|
1439
|
-
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & {
|
|
1440
|
-
onComplete?: OnApplicationComplete.NoOp;
|
|
1441
|
-
}) => Promise<{
|
|
1442
|
-
signer?: (TransactionSigner | import("@algorandfoundation/algokit-utils/transact").AddressWithTransactionSigner) | undefined;
|
|
1443
|
-
appId: bigint;
|
|
1444
|
-
sender: import("@algorandfoundation/algokit-utils/transact").SendingAddress;
|
|
1445
|
-
rekeyTo?: import("@algorandfoundation/algokit-utils").ReadableAddress | undefined;
|
|
1446
|
-
note?: (Uint8Array | string) | undefined;
|
|
1447
|
-
lease?: (Uint8Array | string) | undefined;
|
|
1448
|
-
staticFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1449
|
-
extraFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1450
|
-
maxFee?: import("@algorandfoundation/algokit-utils").AlgoAmount | undefined;
|
|
1451
|
-
validityWindow?: number | bigint | undefined;
|
|
1452
|
-
firstValidRound?: bigint | undefined;
|
|
1453
|
-
lastValidRound?: bigint | undefined;
|
|
1454
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1455
|
-
accountReferences?: import("@algorandfoundation/algokit-utils").ReadableAddress[] | undefined;
|
|
1456
|
-
appReferences?: bigint[] | undefined;
|
|
1457
|
-
assetReferences?: bigint[] | undefined;
|
|
1458
|
-
boxReferences?: (import("@algorandfoundation/algokit-utils").BoxReference | import("@algorandfoundation/algokit-utils").BoxIdentifier)[] | undefined;
|
|
1459
|
-
accessReferences?: import("@algorandfoundation/algokit-utils/transact").ResourceReference[] | undefined;
|
|
1460
|
-
rejectVersion?: number | undefined;
|
|
1461
|
-
method: import("@algorandfoundation/algokit-utils/abi").ABIMethod;
|
|
1462
|
-
args?: (import("@algorandfoundation/algokit-utils/abi").ABIValue | import("@algorandfoundation/algokit-utils").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppCreateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils").AppUpdateParams> | import("@algorandfoundation/algokit-utils/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
1463
|
-
}>;
|
|
1464
1464
|
};
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Create transactions for the current app
|
|
@@ -1550,6 +1550,19 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1550
1550
|
methodCalls: Map<number, import("@algorandfoundation/algokit-utils/abi").ABIMethod>;
|
|
1551
1551
|
signers: Map<number, TransactionSigner>;
|
|
1552
1552
|
}>;
|
|
1553
|
+
/**
|
|
1554
|
+
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1555
|
+
*
|
|
1556
|
+
* @param params The params for the smart contract call
|
|
1557
|
+
* @returns The call transaction
|
|
1558
|
+
*/
|
|
1559
|
+
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & {
|
|
1560
|
+
onComplete?: OnApplicationComplete.NoOp;
|
|
1561
|
+
}) => Promise<{
|
|
1562
|
+
transactions: Transaction[];
|
|
1563
|
+
methodCalls: Map<number, import("@algorandfoundation/algokit-utils/abi").ABIMethod>;
|
|
1564
|
+
signers: Map<number, TransactionSigner>;
|
|
1565
|
+
}>;
|
|
1553
1566
|
/**
|
|
1554
1567
|
* Makes a call to the AbstractedAccountFactory smart contract using the `initBoxedContract(string,uint64)void` ABI method.
|
|
1555
1568
|
*
|
|
@@ -1658,19 +1671,6 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1658
1671
|
methodCalls: Map<number, import("@algorandfoundation/algokit-utils/abi").ABIMethod>;
|
|
1659
1672
|
signers: Map<number, TransactionSigner>;
|
|
1660
1673
|
}>;
|
|
1661
|
-
/**
|
|
1662
|
-
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1663
|
-
*
|
|
1664
|
-
* @param params The params for the smart contract call
|
|
1665
|
-
* @returns The call transaction
|
|
1666
|
-
*/
|
|
1667
|
-
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & {
|
|
1668
|
-
onComplete?: OnApplicationComplete.NoOp;
|
|
1669
|
-
}) => Promise<{
|
|
1670
|
-
transactions: Transaction[];
|
|
1671
|
-
methodCalls: Map<number, import("@algorandfoundation/algokit-utils/abi").ABIMethod>;
|
|
1672
|
-
signers: Map<number, TransactionSigner>;
|
|
1673
|
-
}>;
|
|
1674
1674
|
};
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Send calls to the current app
|
|
@@ -1787,6 +1787,24 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1787
1787
|
confirmation: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse;
|
|
1788
1788
|
transaction: Transaction;
|
|
1789
1789
|
}>;
|
|
1790
|
+
/**
|
|
1791
|
+
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1792
|
+
*
|
|
1793
|
+
* @param params The params for the smart contract call
|
|
1794
|
+
* @returns The call result
|
|
1795
|
+
*/
|
|
1796
|
+
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & SendParams & {
|
|
1797
|
+
onComplete?: OnApplicationComplete.NoOp;
|
|
1798
|
+
}) => Promise<{
|
|
1799
|
+
return: (undefined | AbstractedAccountFactoryReturns["opUp()void"]);
|
|
1800
|
+
groupId: string | undefined;
|
|
1801
|
+
txIds: string[];
|
|
1802
|
+
returns?: ABIReturn[] | undefined | undefined;
|
|
1803
|
+
confirmations: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse[];
|
|
1804
|
+
transactions: Transaction[];
|
|
1805
|
+
confirmation: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse;
|
|
1806
|
+
transaction: Transaction;
|
|
1807
|
+
}>;
|
|
1790
1808
|
/**
|
|
1791
1809
|
* Makes a call to the AbstractedAccountFactory smart contract using the `initBoxedContract(string,uint64)void` ABI method.
|
|
1792
1810
|
*
|
|
@@ -1930,24 +1948,6 @@ export declare class AbstractedAccountFactoryClient {
|
|
|
1930
1948
|
confirmation: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse;
|
|
1931
1949
|
transaction: Transaction;
|
|
1932
1950
|
}>;
|
|
1933
|
-
/**
|
|
1934
|
-
* Makes a call to the AbstractedAccountFactory smart contract using the `opUp()void` ABI method.
|
|
1935
|
-
*
|
|
1936
|
-
* @param params The params for the smart contract call
|
|
1937
|
-
* @returns The call result
|
|
1938
|
-
*/
|
|
1939
|
-
opUp: (params?: CallParams<AbstractedAccountFactoryArgs["obj"]["opUp()void"] | AbstractedAccountFactoryArgs["tuple"]["opUp()void"]> & SendParams & {
|
|
1940
|
-
onComplete?: OnApplicationComplete.NoOp;
|
|
1941
|
-
}) => Promise<{
|
|
1942
|
-
return: (undefined | AbstractedAccountFactoryReturns["opUp()void"]);
|
|
1943
|
-
groupId: string | undefined;
|
|
1944
|
-
txIds: string[];
|
|
1945
|
-
returns?: ABIReturn[] | undefined | undefined;
|
|
1946
|
-
confirmations: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse[];
|
|
1947
|
-
transactions: Transaction[];
|
|
1948
|
-
confirmation: import("@algorandfoundation/algokit-utils/algod-client").PendingTransactionResponse;
|
|
1949
|
-
transaction: Transaction;
|
|
1950
|
-
}>;
|
|
1951
1951
|
};
|
|
1952
1952
|
/**
|
|
1953
1953
|
* Clone this app client with different params
|
|
@@ -2065,6 +2065,13 @@ export type AbstractedAccountFactoryComposer<TReturns extends [...any[]] = []> =
|
|
|
2065
2065
|
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
2066
2066
|
*/
|
|
2067
2067
|
updateWallet(params?: CallParams<AbstractedAccountFactoryArgs['obj']['updateWallet(uint64)void'] | AbstractedAccountFactoryArgs['tuple']['updateWallet(uint64)void']>): AbstractedAccountFactoryComposer<[...TReturns, AbstractedAccountFactoryReturns['updateWallet(uint64)void'] | undefined]>;
|
|
2068
|
+
/**
|
|
2069
|
+
* Calls the opUp()void ABI method.
|
|
2070
|
+
*
|
|
2071
|
+
* @param params Any additional parameters for the call
|
|
2072
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
2073
|
+
*/
|
|
2074
|
+
opUp(params?: CallParams<AbstractedAccountFactoryArgs['obj']['opUp()void'] | AbstractedAccountFactoryArgs['tuple']['opUp()void']>): AbstractedAccountFactoryComposer<[...TReturns, AbstractedAccountFactoryReturns['opUp()void'] | undefined]>;
|
|
2068
2075
|
/**
|
|
2069
2076
|
* Calls the initBoxedContract(string,uint64)void ABI method.
|
|
2070
2077
|
*
|
|
@@ -2129,13 +2136,6 @@ export type AbstractedAccountFactoryComposer<TReturns extends [...any[]] = []> =
|
|
|
2129
2136
|
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
2130
2137
|
*/
|
|
2131
2138
|
updateAkitaDao(params?: CallParams<AbstractedAccountFactoryArgs['obj']['updateAkitaDAO(uint64)void'] | AbstractedAccountFactoryArgs['tuple']['updateAkitaDAO(uint64)void']>): AbstractedAccountFactoryComposer<[...TReturns, AbstractedAccountFactoryReturns['updateAkitaDAO(uint64)void'] | undefined]>;
|
|
2132
|
-
/**
|
|
2133
|
-
* Calls the opUp()void ABI method.
|
|
2134
|
-
*
|
|
2135
|
-
* @param params Any additional parameters for the call
|
|
2136
|
-
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
2137
|
-
*/
|
|
2138
|
-
opUp(params?: CallParams<AbstractedAccountFactoryArgs['obj']['opUp()void'] | AbstractedAccountFactoryArgs['tuple']['opUp()void']>): AbstractedAccountFactoryComposer<[...TReturns, AbstractedAccountFactoryReturns['opUp()void'] | undefined]>;
|
|
2139
2139
|
/**
|
|
2140
2140
|
* Gets available update methods
|
|
2141
2141
|
*/
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7RJQCI22js = require('./chunk-7RJQCI22.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkHJNW7ZMFjs = require('./chunk-HJNW7ZMF.js');
|
|
@@ -39,13 +39,13 @@ var _chunkSORM3KIMjs = require('./chunk-SORM3KIM.js');
|
|
|
39
39
|
var _chunkQ5ZVFKLXjs = require('./chunk-Q5ZVFKLX.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkGU64KMQ4js = require('./chunk-GU64KMQ4.js');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkLVGQRYZGjs = require('./chunk-LVGQRYZG.js');
|
|
49
49
|
require('./chunk-VE4MYPMK.js');
|
|
50
50
|
require('./chunk-PFX6BSCE.js');
|
|
51
51
|
|
|
@@ -54,8 +54,8 @@ require('./chunk-PFX6BSCE.js');
|
|
|
54
54
|
var _chunkNGWL4WVJjs = require('./chunk-NGWL4WVJ.js');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
58
|
-
require('./chunk-
|
|
57
|
+
var _chunkK76URIPOjs = require('./chunk-K76URIPO.js');
|
|
58
|
+
require('./chunk-TIURHLVA.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var _chunkJK6EPTAEjs = require('./chunk-JK6EPTAE.js');
|
|
@@ -161,5 +161,5 @@ var _chunkFZLF55XCjs = require('./chunk-FZLF55XC.js');
|
|
|
161
161
|
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
exports.ARC65_ALT_PREFIX = _chunkGIGYZ6YCjs.ARC65_ALT_PREFIX; exports.ARC65_PREFIX = _chunkGIGYZ6YCjs.ARC65_PREFIX; exports.AkitaDaoSDK =
|
|
164
|
+
exports.ARC65_ALT_PREFIX = _chunkGIGYZ6YCjs.ARC65_ALT_PREFIX; exports.ARC65_PREFIX = _chunkGIGYZ6YCjs.ARC65_PREFIX; exports.AkitaDaoSDK = _chunkGU64KMQ4js.AkitaDaoSDK; exports.AuctionFactorySDK = _chunkSORM3KIMjs.AuctionFactorySDK; exports.AuctionSDK = _chunkSORM3KIMjs.AuctionSDK; exports.COMMON_ERROR_MESSAGES = _chunkGIGYZ6YCjs.COMMON_ERROR_MESSAGES; exports.ENV_TO_NETWORK_KEY = _chunkOHIWM57Pjs.ENV_TO_NETWORK_KEY; exports.ENV_VAR_NAMES = _chunkOHIWM57Pjs.ENV_VAR_NAMES; exports.EscrowFactorySDK = _chunkNGWL4WVJjs.EscrowFactorySDK; exports.EscrowSDK = _chunkNGWL4WVJjs.EscrowSDK; exports.GateSDK = _chunkK76URIPOjs.GateSDK; exports.HighlightMessage = _chunk7RJQCI22js.HighlightMessage; exports.HyperSwapSDK = _chunkJK6EPTAEjs.HyperSwapSDK; exports.ListingSDK = _chunkPMZSGGZEjs.ListingSDK; exports.MAINNET_APP_IDS = _chunkOHIWM57Pjs.MAINNET_APP_IDS; exports.MarketplaceSDK = _chunkPMZSGGZEjs.MarketplaceSDK; exports.MetaMerklesSDK = _chunkHJNW7ZMFjs.MetaMerklesSDK; exports.NETWORK_APP_IDS = _chunkOHIWM57Pjs.NETWORK_APP_IDS; exports.PollFactorySDK = _chunkNIQFSVYDjs.PollFactorySDK; exports.PollSDK = _chunkNIQFSVYDjs.PollSDK; exports.PrizeBoxFactorySDK = _chunkNVSKAUVLjs.PrizeBoxFactorySDK; exports.PrizeBoxSDK = _chunkNVSKAUVLjs.PrizeBoxSDK; exports.RaffleFactorySDK = _chunkFOEWI4FXjs.RaffleFactorySDK; exports.RaffleSDK = _chunkFOEWI4FXjs.RaffleSDK; exports.RewardsSDK = _chunkX4IBYF5Kjs.RewardsSDK; exports.ServiceStatus = _chunk7RJQCI22js.ServiceStatus; exports.SocialSDK = _chunkUM4MTXLAjs.SocialSDK; exports.StakingPoolFactorySDK = _chunk66KUGVM2js.StakingPoolFactorySDK; exports.StakingPoolSDK = _chunk66KUGVM2js.StakingPoolSDK; exports.StakingSDK = _chunk6PX6VBWCjs.StakingSDK; exports.SubscriptionsSDK = _chunk7RJQCI22js.SubscriptionsSDK; exports.TESTNET_APP_IDS = _chunkOHIWM57Pjs.TESTNET_APP_IDS; exports.WalletFactorySDK = _chunkLVGQRYZGjs.WalletFactorySDK; exports.WalletSDK = _chunkLVGQRYZGjs.WalletSDK; exports.buildAppIdsFromEnv = _chunkOHIWM57Pjs.buildAppIdsFromEnv; exports.bytesToHexColor = _chunk7RJQCI22js.bytesToHexColor; exports.createEmptyAppIds = _chunkOHIWM57Pjs.createEmptyAppIds; exports.decodeConnectUri = _chunkQ5ZVFKLXjs.decodeConnectUri; exports.detectNetworkFromClient = _chunkOHIWM57Pjs.detectNetworkFromClient; exports.encodeConnectUri = _chunkQ5ZVFKLXjs.encodeConnectUri; exports.getAppIdForSDK = _chunkOHIWM57Pjs.getAppIdForSDK; exports.getAppIdFromEnv = _chunkOHIWM57Pjs.getAppIdFromEnv; exports.getConfigFromEnv = _chunkOHIWM57Pjs.getConfigFromEnv; exports.getCurrentNetwork = _chunkOHIWM57Pjs.getCurrentNetwork; exports.getEnvVar = _chunkOHIWM57Pjs.getEnvVar; exports.getNetworkAppIds = _chunkOHIWM57Pjs.getNetworkAppIds; exports.getNetworkFromEnv = _chunkOHIWM57Pjs.getNetworkFromEnv; exports.hasSenderSigner = _chunkFZLF55XCjs.hasSenderSigner; exports.hexColorToBytes = _chunk7RJQCI22js.hexColorToBytes; exports.isPluginSDKReturn = _chunkFZLF55XCjs.isPluginSDKReturn; exports.makeErrorTranslator = _chunkGIGYZ6YCjs.makeErrorTranslator; exports.normalizeSigner = _chunkFZLF55XCjs.normalizeSigner; exports.parseArc65Code = _chunkGIGYZ6YCjs.parseArc65Code; exports.prepareGroup = _chunkLVGQRYZGjs.prepareGroup; exports.resolveAppId = _chunkOHIWM57Pjs.resolveAppId; exports.resolveAppIdWithClient = _chunkOHIWM57Pjs.resolveAppIdWithClient; exports.sendPrepared = _chunkLVGQRYZGjs.sendPrepared; exports.setCurrentNetwork = _chunkOHIWM57Pjs.setCurrentNetwork; exports.translateCommonError = _chunkGIGYZ6YCjs.translateCommonError;
|
|
165
165
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
SubscriptionsSDK,
|
|
5
5
|
bytesToHexColor,
|
|
6
6
|
hexColorToBytes
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NGNKMISH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
MetaMerklesSDK
|
|
10
10
|
} from "./chunk-MPUDRNXT.mjs";
|
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
} from "./chunk-X37WDNTN.mjs";
|
|
40
40
|
import {
|
|
41
41
|
AkitaDaoSDK
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-P5LQGRER.mjs";
|
|
43
43
|
import {
|
|
44
44
|
WalletFactorySDK,
|
|
45
45
|
WalletSDK,
|
|
46
46
|
prepareGroup,
|
|
47
47
|
sendPrepared
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KWFYX34V.mjs";
|
|
49
49
|
import "./chunk-2ZPJXFUS.mjs";
|
|
50
50
|
import "./chunk-ST2WN72C.mjs";
|
|
51
51
|
import {
|
|
@@ -54,8 +54,8 @@ import {
|
|
|
54
54
|
} from "./chunk-VZRJXSFD.mjs";
|
|
55
55
|
import {
|
|
56
56
|
GateSDK
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-WTDHZGUM.mjs";
|
|
58
|
+
import "./chunk-JIDDRUHU.mjs";
|
|
59
59
|
import {
|
|
60
60
|
HyperSwapSDK
|
|
61
61
|
} from "./chunk-VETJSH6X.mjs";
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk7RJQCI22js = require('../chunk-7RJQCI22.js');
|
|
14
14
|
require('../chunk-VE4MYPMK.js');
|
|
15
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-TIURHLVA.js');
|
|
16
16
|
require('../chunk-GIGYZ6YC.js');
|
|
17
17
|
require('../chunk-H7PRBD4T.js');
|
|
18
18
|
require('../chunk-OHIWM57P.js');
|
|
@@ -29,5 +29,5 @@ require('../chunk-FZLF55XC.js');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.HighlightMessage =
|
|
32
|
+
exports.HighlightMessage = _chunk7RJQCI22js.HighlightMessage; exports.MAX_DESCRIPTION_CHUNK_SIZE = _chunk7RJQCI22js.MAX_DESCRIPTION_CHUNK_SIZE; exports.MAX_DESCRIPTION_LENGTH = _chunk7RJQCI22js.MAX_DESCRIPTION_LENGTH; exports.MAX_LOAD_DESCRIPTION_CHUNK_SIZE = _chunk7RJQCI22js.MAX_LOAD_DESCRIPTION_CHUNK_SIZE; exports.SUBSCRIPTIONS_ERROR_MESSAGES = _chunk7RJQCI22js.SUBSCRIPTIONS_ERROR_MESSAGES; exports.ServiceStatus = _chunk7RJQCI22js.ServiceStatus; exports.SubscriptionsSDK = _chunk7RJQCI22js.SubscriptionsSDK; exports.bytesToHexColor = _chunk7RJQCI22js.bytesToHexColor; exports.hexColorToBytes = _chunk7RJQCI22js.hexColorToBytes; exports.translateSubscriptionsError = _chunk7RJQCI22js.translateSubscriptionsError; exports.validateHexColor = _chunk7RJQCI22js.validateHexColor;
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
hexColorToBytes,
|
|
11
11
|
translateSubscriptionsError,
|
|
12
12
|
validateHexColor
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-NGNKMISH.mjs";
|
|
14
14
|
import "../chunk-2ZPJXFUS.mjs";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-JIDDRUHU.mjs";
|
|
16
16
|
import "../chunk-2AEP6DTX.mjs";
|
|
17
17
|
import "../chunk-2EQ6E26U.mjs";
|
|
18
18
|
import "../chunk-XLWSHPHP.mjs";
|
package/dist/wallet/index.js
CHANGED
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkLVGQRYZGjs = require('../chunk-LVGQRYZG.js');
|
|
42
42
|
require('../chunk-VE4MYPMK.js');
|
|
43
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-TIURHLVA.js');
|
|
44
44
|
require('../chunk-H7PRBD4T.js');
|
|
45
45
|
require('../chunk-OHIWM57P.js');
|
|
46
46
|
require('../chunk-FZLF55XC.js');
|
|
@@ -84,5 +84,5 @@ require('../chunk-FZLF55XC.js');
|
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
exports.AddPluginDefaults =
|
|
87
|
+
exports.AddPluginDefaults = _chunkLVGQRYZGjs.AddPluginDefaults; exports.AsaMintPluginSDK = _chunkLVGQRYZGjs.AsaMintPluginSDK; exports.AuctionPluginSDK = _chunkLVGQRYZGjs.AuctionPluginSDK; exports.CallerType = _chunkLVGQRYZGjs.CallerType; exports.DAOPluginSDK = _chunkLVGQRYZGjs.DAOPluginSDK; exports.DualStakePluginSDK = _chunkLVGQRYZGjs.DualStakePluginSDK; exports.GatePluginSDK = _chunkLVGQRYZGjs.GatePluginSDK; exports.HaystackRouterPluginSDK = _chunkLVGQRYZGjs.HaystackRouterPluginSDK; exports.HyperSwapPluginSDK = _chunkLVGQRYZGjs.HyperSwapPluginSDK; exports.MarketplacePluginSDK = _chunkLVGQRYZGjs.MarketplacePluginSDK; exports.NFDPluginSDK = _chunkLVGQRYZGjs.NFDPluginSDK; exports.NewEscrowFeeAmount = _chunkLVGQRYZGjs.NewEscrowFeeAmount; exports.OptInPluginSDK = _chunkLVGQRYZGjs.OptInPluginSDK; exports.PayPluginSDK = _chunkLVGQRYZGjs.PayPluginSDK; exports.PaySiloFactoryPluginSDK = _chunkLVGQRYZGjs.PaySiloFactoryPluginSDK; exports.PaySiloPluginSDK = _chunkLVGQRYZGjs.PaySiloPluginSDK; exports.PollPluginSDK = _chunkLVGQRYZGjs.PollPluginSDK; exports.RafflePluginSDK = _chunkLVGQRYZGjs.RafflePluginSDK; exports.RevenueManagerPluginSDK = _chunkLVGQRYZGjs.RevenueManagerPluginSDK; exports.RewardsPluginSDK = _chunkLVGQRYZGjs.RewardsPluginSDK; exports.SelfOptInPluginSDK = _chunkLVGQRYZGjs.SelfOptInPluginSDK; exports.SocialPluginSDK = _chunkLVGQRYZGjs.SocialPluginSDK; exports.StakingPluginSDK = _chunkLVGQRYZGjs.StakingPluginSDK; exports.StakingPoolPluginSDK = _chunkLVGQRYZGjs.StakingPoolPluginSDK; exports.SubscriptionsPluginSDK = _chunkLVGQRYZGjs.SubscriptionsPluginSDK; exports.SunsetPluginSDK = _chunkLVGQRYZGjs.SunsetPluginSDK; exports.UpdateAkitaDAOPluginSDK = _chunkLVGQRYZGjs.UpdateAkitaDAOPluginSDK; exports.WALLET_ERROR_MESSAGES = _chunkLVGQRYZGjs.WALLET_ERROR_MESSAGES; exports.WalletFactorySDK = _chunkLVGQRYZGjs.WalletFactorySDK; exports.WalletGroupComposer = _chunkLVGQRYZGjs.WalletGroupComposer; exports.WalletSDK = _chunkLVGQRYZGjs.WalletSDK; exports.getPluginAppId = _chunkLVGQRYZGjs.getPluginAppId; exports.isDripAllowance = _chunkLVGQRYZGjs.isDripAllowance; exports.isFlatAllowance = _chunkLVGQRYZGjs.isFlatAllowance; exports.isValidPluginSDK = _chunkLVGQRYZGjs.isValidPluginSDK; exports.isWindowAllowance = _chunkLVGQRYZGjs.isWindowAllowance; exports.newWallet = _chunkLVGQRYZGjs.newWallet; exports.parseWalletErrorCode = _chunkLVGQRYZGjs.parseWalletErrorCode; exports.translateWalletError = _chunkLVGQRYZGjs.translateWalletError;
|
|
88
88
|
//# sourceMappingURL=index.js.map
|