@algorandfoundation/puya-ts 1.0.0-alpha.10
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/README.md +11 -0
- package/awst/index.d.ts +4 -0
- package/awst/intrinsic-factory.d.ts +35 -0
- package/awst/json-serialize-awst.d.ts +17 -0
- package/awst/models.d.ts +85 -0
- package/awst/node-factory.d.ts +90 -0
- package/awst/nodes.d.ts +841 -0
- package/awst/source-location.d.ts +21 -0
- package/awst/to-code-visitor.d.ts +87 -0
- package/awst/txn-fields.d.ts +84 -0
- package/awst/util.d.ts +2 -0
- package/awst/wtypes.d.ts +136 -0
- package/awst_build/base-visitor.d.ts +87 -0
- package/awst_build/constructor-visitor.d.ts +18 -0
- package/awst_build/context/awst-build-context.d.ts +72 -0
- package/awst_build/context/evaluation-context.d.ts +11 -0
- package/awst_build/context/switch-loop-context.d.ts +31 -0
- package/awst_build/context/unique-name-resolver.d.ts +14 -0
- package/awst_build/contract-data.d.ts +24 -0
- package/awst_build/contract-method-visitor.d.ts +20 -0
- package/awst_build/contract-visitor.d.ts +33 -0
- package/awst_build/decorator-visitor.d.ts +34 -0
- package/awst_build/eb/arc4/arrays.d.ts +31 -0
- package/awst_build/eb/arc4/uint-n-constructor-builder.d.ts +14 -0
- package/awst_build/eb/arc4-bare-method-decorator-builder.d.ts +19 -0
- package/awst_build/eb/assert-function-builder.d.ts +10 -0
- package/awst_build/eb/assert-match-function-builder.d.ts +8 -0
- package/awst_build/eb/biguint-expression-builder.d.ts +21 -0
- package/awst_build/eb/boolean-expression-builder.d.ts +15 -0
- package/awst_build/eb/bytes-expression-builder.d.ts +44 -0
- package/awst_build/eb/contract-builder.d.ts +19 -0
- package/awst_build/eb/ensure-budget.d.ts +8 -0
- package/awst_build/eb/folding.d.ts +5 -0
- package/awst_build/eb/free-subroutine-expression-builder.d.ts +22 -0
- package/awst_build/eb/index.d.ts +90 -0
- package/awst_build/eb/intrinsic-enum-builder.d.ts +9 -0
- package/awst_build/eb/iterable-iterator-expression-builder.d.ts +10 -0
- package/awst_build/eb/literal/array-literal-expression-builder.d.ts +18 -0
- package/awst_build/eb/literal/big-int-literal-expression-builder.d.ts +17 -0
- package/awst_build/eb/literal/conditional-expression-builder.d.ts +22 -0
- package/awst_build/eb/literal/object-expression-builder.d.ts +13 -0
- package/awst_build/eb/literal/object-literal-expression-builder.d.ts +28 -0
- package/awst_build/eb/literal-expression-builder.d.ts +27 -0
- package/awst_build/eb/log-function-builder.d.ts +7 -0
- package/awst_build/eb/namespace-builder.d.ts +9 -0
- package/awst_build/eb/native-array-expression-builder.d.ts +8 -0
- package/awst_build/eb/omitted-expression-builder.d.ts +9 -0
- package/awst_build/eb/op-module-builder.d.ts +25 -0
- package/awst_build/eb/reference/account.d.ts +15 -0
- package/awst_build/eb/reference/application.d.ts +12 -0
- package/awst_build/eb/reference/asset.d.ts +13 -0
- package/awst_build/eb/reference/base.d.ts +37 -0
- package/awst_build/eb/storage/box.d.ts +50 -0
- package/awst_build/eb/storage/global-state.d.ts +29 -0
- package/awst_build/eb/storage/local-state.d.ts +32 -0
- package/awst_build/eb/storage/util.d.ts +5 -0
- package/awst_build/eb/storage/value-proxy.d.ts +22 -0
- package/awst_build/eb/string-expression-builder.d.ts +27 -0
- package/awst_build/eb/transactions/group-transactions.d.ts +15 -0
- package/awst_build/eb/transactions/inner-transaction-params.d.ts +19 -0
- package/awst_build/eb/transactions/inner-transactions.d.ts +10 -0
- package/awst_build/eb/transactions/txn-fields.d.ts +1317 -0
- package/awst_build/eb/transactions/util.d.ts +5 -0
- package/awst_build/eb/tuple-expression-builder.d.ts +12 -0
- package/awst_build/eb/uint64-enum-type-builder.d.ts +13 -0
- package/awst_build/eb/uint64-expression-builder.d.ts +21 -0
- package/awst_build/eb/urange-function.d.ts +7 -0
- package/awst_build/eb/util/arg-parsing.d.ts +106 -0
- package/awst_build/eb/util/compare-bytes.d.ts +5 -0
- package/awst_build/eb/util/compare-uint64.d.ts +5 -0
- package/awst_build/eb/util/index.d.ts +19 -0
- package/awst_build/eb/util/require-constant-value.d.ts +4 -0
- package/awst_build/eb/void-expression-builder.d.ts +7 -0
- package/awst_build/function-visitor.d.ts +45 -0
- package/awst_build/index.d.ts +5 -0
- package/awst_build/lib/index.d.ts +2 -0
- package/awst_build/op-metadata.d.ts +27 -0
- package/awst_build/ptypes/arc4-types.d.ts +56 -0
- package/awst_build/ptypes/base.d.ts +31 -0
- package/awst_build/ptypes/index.d.ts +464 -0
- package/awst_build/ptypes/intrinsic-enum-type.d.ts +14 -0
- package/awst_build/ptypes/op-ptypes.d.ts +6 -0
- package/awst_build/ptypes/register.d.ts +2 -0
- package/awst_build/ptypes/transient-type-errors.d.ts +14 -0
- package/awst_build/source-file-visitor.d.ts +21 -0
- package/awst_build/subroutine-visitor.d.ts +10 -0
- package/awst_build/symbol-name.d.ts +10 -0
- package/awst_build/text-visitor.d.ts +20 -0
- package/awst_build/type-registry.d.ts +61 -0
- package/awst_build/type-resolver.d.ts +18 -0
- package/bin/run-cli.d.ts +2 -0
- package/bin/run-cli.mjs +21 -0
- package/bin/run-cli.mjs.map +1 -0
- package/cli.d.ts +1 -0
- package/cli.mjs +161 -0
- package/cli.mjs.map +1 -0
- package/compile-options.d.ts +23 -0
- package/constants.d.ts +20 -0
- package/errors.d.ts +46 -0
- package/index-GbFBpbmB.js +16444 -0
- package/index-GbFBpbmB.js.map +1 -0
- package/index.d.ts +31 -0
- package/index.mjs +16 -0
- package/index.mjs.map +1 -0
- package/logger.d.ts +39 -0
- package/node_modules/typescript/LICENSE.txt +55 -0
- package/node_modules/typescript/README.md +50 -0
- package/node_modules/typescript/SECURITY.md +41 -0
- package/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/node_modules/typescript/bin/tsc +2 -0
- package/node_modules/typescript/bin/tsserver +2 -0
- package/node_modules/typescript/lib/cancellationToken.js +90 -0
- package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/lib.d.ts +22 -0
- package/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
- package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/node_modules/typescript/lib/lib.dom.d.ts +28087 -0
- package/node_modules/typescript/lib/lib.dom.iterable.d.ts +491 -0
- package/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +527 -0
- package/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
- package/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
- package/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
- package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
- package/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
- package/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
- package/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2022.intl.d.ts +121 -0
- package/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
- package/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
- package/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
- package/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
- package/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
- package/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
- package/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
- package/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/node_modules/typescript/lib/lib.webworker.d.ts +9410 -0
- package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +288 -0
- package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/tsc.js +130769 -0
- package/node_modules/typescript/lib/tsserver.js +623 -0
- package/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/node_modules/typescript/lib/typesMap.json +497 -0
- package/node_modules/typescript/lib/typescript.d.ts +11329 -0
- package/node_modules/typescript/lib/typescript.js +196072 -0
- package/node_modules/typescript/lib/typingsInstaller.js +236 -0
- package/node_modules/typescript/lib/watchGuard.js +53 -0
- package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2087 -0
- package/node_modules/typescript/package.json +121 -0
- package/package.json +43 -0
- package/parser/index.d.ts +13 -0
- package/parser/json-serialize-source-files.d.ts +2 -0
- package/parser/resolve-module-name-literals.d.ts +2 -0
- package/puya/build-compilation-set-mapping.d.ts +9 -0
- package/puya/index.d.ts +13 -0
- package/puya/options.d.ts +29 -0
- package/puya/run-child-proc.d.ts +5 -0
- package/util/base-32.d.ts +2 -0
- package/util/base-85.d.ts +10 -0
- package/util/default-map.d.ts +1 -0
- package/util/generate-temp-file.d.ts +9 -0
- package/util/index.d.ts +47 -0
- package/visitor/syntax-names.d.ts +441 -0
- package/visitor/visitor.d.ts +26 -0
- package/write-artifact.d.ts +12 -0
|
@@ -0,0 +1,1317 @@
|
|
|
1
|
+
import { TxnField } from '../../../awst/txn-fields';
|
|
2
|
+
export declare const paymentTxnFields: {
|
|
3
|
+
/**
|
|
4
|
+
* 32 byte address
|
|
5
|
+
*/
|
|
6
|
+
receiver: readonly [TxnField.Receiver, import("../../ptypes").InstanceType];
|
|
7
|
+
/**
|
|
8
|
+
* microalgos
|
|
9
|
+
*/
|
|
10
|
+
amount: readonly [TxnField.Amount, import("../../ptypes").InstanceType];
|
|
11
|
+
/**
|
|
12
|
+
* 32 byte address
|
|
13
|
+
*/
|
|
14
|
+
closeRemainderTo: readonly [TxnField.CloseRemainderTo, import("../../ptypes").InstanceType];
|
|
15
|
+
/**
|
|
16
|
+
* 32 byte address
|
|
17
|
+
*/
|
|
18
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
19
|
+
/**
|
|
20
|
+
* microalgos
|
|
21
|
+
*/
|
|
22
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
23
|
+
/**
|
|
24
|
+
* round number
|
|
25
|
+
*/
|
|
26
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
27
|
+
/**
|
|
28
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
29
|
+
*/
|
|
30
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
31
|
+
/**
|
|
32
|
+
* round number
|
|
33
|
+
*/
|
|
34
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
35
|
+
/**
|
|
36
|
+
* Any data up to 1024 bytes
|
|
37
|
+
*/
|
|
38
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
39
|
+
/**
|
|
40
|
+
* 32 byte lease value
|
|
41
|
+
*/
|
|
42
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
43
|
+
/**
|
|
44
|
+
* Transaction type as bytes
|
|
45
|
+
*/
|
|
46
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
47
|
+
/**
|
|
48
|
+
* Transaction type as integer
|
|
49
|
+
*/
|
|
50
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
51
|
+
/**
|
|
52
|
+
* Position of this transaction within an atomic group
|
|
53
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
54
|
+
*/
|
|
55
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
56
|
+
/**
|
|
57
|
+
* The computed ID for this transaction. 32 bytes.
|
|
58
|
+
*/
|
|
59
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
60
|
+
/**
|
|
61
|
+
* 32 byte Sender's new AuthAddr
|
|
62
|
+
*/
|
|
63
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
64
|
+
};
|
|
65
|
+
export declare const keyRegistrationTxnFields: {
|
|
66
|
+
/**
|
|
67
|
+
* 32 byte address
|
|
68
|
+
*/
|
|
69
|
+
voteKey: readonly [TxnField.VotePK, import("../../ptypes").InstanceType];
|
|
70
|
+
/**
|
|
71
|
+
* 32 byte address
|
|
72
|
+
*/
|
|
73
|
+
selectionKey: readonly [TxnField.SelectionPK, import("../../ptypes").InstanceType];
|
|
74
|
+
/**
|
|
75
|
+
* The first round that the participation key is valid.
|
|
76
|
+
*/
|
|
77
|
+
voteFirst: readonly [TxnField.VoteFirst, import("../../ptypes").InstanceType];
|
|
78
|
+
/**
|
|
79
|
+
* The last round that the participation key is valid.
|
|
80
|
+
*/
|
|
81
|
+
voteLast: readonly [TxnField.VoteLast, import("../../ptypes").InstanceType];
|
|
82
|
+
/**
|
|
83
|
+
* Dilution for the 2-level participation key
|
|
84
|
+
*/
|
|
85
|
+
voteKeyDilution: readonly [TxnField.VoteKeyDilution, import("../../ptypes").InstanceType];
|
|
86
|
+
/**
|
|
87
|
+
* Marks an account nonparticipating for rewards
|
|
88
|
+
*/
|
|
89
|
+
nonparticipation: readonly [TxnField.Nonparticipation, import("../../ptypes").InstanceType];
|
|
90
|
+
/**
|
|
91
|
+
* 64 byte state proof public key
|
|
92
|
+
*/
|
|
93
|
+
stateProofKey: readonly [TxnField.StateProofPK, import("../../ptypes").InstanceType];
|
|
94
|
+
/**
|
|
95
|
+
* 32 byte address
|
|
96
|
+
*/
|
|
97
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
98
|
+
/**
|
|
99
|
+
* microalgos
|
|
100
|
+
*/
|
|
101
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
102
|
+
/**
|
|
103
|
+
* round number
|
|
104
|
+
*/
|
|
105
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
106
|
+
/**
|
|
107
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
108
|
+
*/
|
|
109
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
110
|
+
/**
|
|
111
|
+
* round number
|
|
112
|
+
*/
|
|
113
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
114
|
+
/**
|
|
115
|
+
* Any data up to 1024 bytes
|
|
116
|
+
*/
|
|
117
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
118
|
+
/**
|
|
119
|
+
* 32 byte lease value
|
|
120
|
+
*/
|
|
121
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
122
|
+
/**
|
|
123
|
+
* Transaction type as bytes
|
|
124
|
+
*/
|
|
125
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
126
|
+
/**
|
|
127
|
+
* Transaction type as integer
|
|
128
|
+
*/
|
|
129
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
130
|
+
/**
|
|
131
|
+
* Position of this transaction within an atomic group
|
|
132
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
133
|
+
*/
|
|
134
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
135
|
+
/**
|
|
136
|
+
* The computed ID for this transaction. 32 bytes.
|
|
137
|
+
*/
|
|
138
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
139
|
+
/**
|
|
140
|
+
* 32 byte Sender's new AuthAddr
|
|
141
|
+
*/
|
|
142
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
143
|
+
};
|
|
144
|
+
export declare const assetConfigTxnFields: {
|
|
145
|
+
/**
|
|
146
|
+
* Asset ID in asset config transaction
|
|
147
|
+
*/
|
|
148
|
+
configAsset: readonly [TxnField.ConfigAsset, import("../../ptypes").InstanceType];
|
|
149
|
+
/**
|
|
150
|
+
* The asset created by this transaction
|
|
151
|
+
*/
|
|
152
|
+
createdAsset: readonly [TxnField.CreatedAssetID, import("../../ptypes").InstanceType];
|
|
153
|
+
/**
|
|
154
|
+
* Total number of units of this asset created
|
|
155
|
+
*/
|
|
156
|
+
total: readonly [TxnField.ConfigAssetTotal, import("../../ptypes").InstanceType];
|
|
157
|
+
/**
|
|
158
|
+
* Number of digits to display after the decimal place when displaying the asset
|
|
159
|
+
*/
|
|
160
|
+
decimals: readonly [TxnField.ConfigAssetDecimals, import("../../ptypes").InstanceType];
|
|
161
|
+
/**
|
|
162
|
+
* Whether the asset's slots are frozen by default or not, 0 or 1
|
|
163
|
+
*/
|
|
164
|
+
defaultFrozen: readonly [TxnField.ConfigAssetDefaultFrozen, import("../../ptypes").InstanceType];
|
|
165
|
+
/**
|
|
166
|
+
* Unit name of the asset
|
|
167
|
+
*/
|
|
168
|
+
unitName: readonly [TxnField.ConfigAssetUnitName, import("../../ptypes").InstanceType];
|
|
169
|
+
/**
|
|
170
|
+
* The asset name
|
|
171
|
+
*/
|
|
172
|
+
assetName: readonly [TxnField.ConfigAssetName, import("../../ptypes").InstanceType];
|
|
173
|
+
/**
|
|
174
|
+
* URL
|
|
175
|
+
*/
|
|
176
|
+
url: readonly [TxnField.ConfigAssetURL, import("../../ptypes").InstanceType];
|
|
177
|
+
/**
|
|
178
|
+
* 32 byte commitment to unspecified asset metadata
|
|
179
|
+
*/
|
|
180
|
+
metadataHash: readonly [TxnField.ConfigAssetMetadataHash, import("../../ptypes").InstanceType];
|
|
181
|
+
/**
|
|
182
|
+
* 32 byte address
|
|
183
|
+
*/
|
|
184
|
+
manager: readonly [TxnField.ConfigAssetManager, import("../../ptypes").InstanceType];
|
|
185
|
+
/**
|
|
186
|
+
* 32 byte address
|
|
187
|
+
*/
|
|
188
|
+
reserve: readonly [TxnField.ConfigAssetReserve, import("../../ptypes").InstanceType];
|
|
189
|
+
/**
|
|
190
|
+
* 32 byte address
|
|
191
|
+
*/
|
|
192
|
+
freeze: readonly [TxnField.ConfigAssetFreeze, import("../../ptypes").InstanceType];
|
|
193
|
+
/**
|
|
194
|
+
* 32 byte address
|
|
195
|
+
*/
|
|
196
|
+
clawback: readonly [TxnField.ConfigAssetClawback, import("../../ptypes").InstanceType];
|
|
197
|
+
/**
|
|
198
|
+
* 32 byte address
|
|
199
|
+
*/
|
|
200
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
201
|
+
/**
|
|
202
|
+
* microalgos
|
|
203
|
+
*/
|
|
204
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
205
|
+
/**
|
|
206
|
+
* round number
|
|
207
|
+
*/
|
|
208
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
209
|
+
/**
|
|
210
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
211
|
+
*/
|
|
212
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
213
|
+
/**
|
|
214
|
+
* round number
|
|
215
|
+
*/
|
|
216
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
217
|
+
/**
|
|
218
|
+
* Any data up to 1024 bytes
|
|
219
|
+
*/
|
|
220
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
221
|
+
/**
|
|
222
|
+
* 32 byte lease value
|
|
223
|
+
*/
|
|
224
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
225
|
+
/**
|
|
226
|
+
* Transaction type as bytes
|
|
227
|
+
*/
|
|
228
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
229
|
+
/**
|
|
230
|
+
* Transaction type as integer
|
|
231
|
+
*/
|
|
232
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
233
|
+
/**
|
|
234
|
+
* Position of this transaction within an atomic group
|
|
235
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
236
|
+
*/
|
|
237
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
238
|
+
/**
|
|
239
|
+
* The computed ID for this transaction. 32 bytes.
|
|
240
|
+
*/
|
|
241
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
242
|
+
/**
|
|
243
|
+
* 32 byte Sender's new AuthAddr
|
|
244
|
+
*/
|
|
245
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
246
|
+
};
|
|
247
|
+
export declare const assetTransferTxnFields: {
|
|
248
|
+
/**
|
|
249
|
+
* Asset ID
|
|
250
|
+
*/
|
|
251
|
+
xferAsset: readonly [TxnField.XferAsset, import("../../ptypes").InstanceType];
|
|
252
|
+
/**
|
|
253
|
+
* value in Asset's units
|
|
254
|
+
*/
|
|
255
|
+
assetAmount: readonly [TxnField.AssetAmount, import("../../ptypes").InstanceType];
|
|
256
|
+
/**
|
|
257
|
+
* 32 byte address. Source of assets if Sender is the Asset's Clawback address.
|
|
258
|
+
*/
|
|
259
|
+
assetSender: readonly [TxnField.AssetSender, import("../../ptypes").InstanceType];
|
|
260
|
+
/**
|
|
261
|
+
* 32 byte address
|
|
262
|
+
*/
|
|
263
|
+
assetReceiver: readonly [TxnField.AssetReceiver, import("../../ptypes").InstanceType];
|
|
264
|
+
/**
|
|
265
|
+
* 32 byte address
|
|
266
|
+
*/
|
|
267
|
+
assetCloseTo: readonly [TxnField.AssetCloseTo, import("../../ptypes").InstanceType];
|
|
268
|
+
/**
|
|
269
|
+
* 32 byte address
|
|
270
|
+
*/
|
|
271
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
272
|
+
/**
|
|
273
|
+
* microalgos
|
|
274
|
+
*/
|
|
275
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
276
|
+
/**
|
|
277
|
+
* round number
|
|
278
|
+
*/
|
|
279
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
280
|
+
/**
|
|
281
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
282
|
+
*/
|
|
283
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
284
|
+
/**
|
|
285
|
+
* round number
|
|
286
|
+
*/
|
|
287
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
288
|
+
/**
|
|
289
|
+
* Any data up to 1024 bytes
|
|
290
|
+
*/
|
|
291
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
292
|
+
/**
|
|
293
|
+
* 32 byte lease value
|
|
294
|
+
*/
|
|
295
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
296
|
+
/**
|
|
297
|
+
* Transaction type as bytes
|
|
298
|
+
*/
|
|
299
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
300
|
+
/**
|
|
301
|
+
* Transaction type as integer
|
|
302
|
+
*/
|
|
303
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
304
|
+
/**
|
|
305
|
+
* Position of this transaction within an atomic group
|
|
306
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
307
|
+
*/
|
|
308
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
309
|
+
/**
|
|
310
|
+
* The computed ID for this transaction. 32 bytes.
|
|
311
|
+
*/
|
|
312
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
313
|
+
/**
|
|
314
|
+
* 32 byte Sender's new AuthAddr
|
|
315
|
+
*/
|
|
316
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
317
|
+
};
|
|
318
|
+
export declare const assetFreezeTxnFields: {
|
|
319
|
+
/**
|
|
320
|
+
* Asset ID being frozen or un-frozen
|
|
321
|
+
*/
|
|
322
|
+
freezeAsset: readonly [TxnField.FreezeAsset, import("../../ptypes").InstanceType];
|
|
323
|
+
/**
|
|
324
|
+
* 32 byte address of the account whose asset slot is being frozen or un-frozen
|
|
325
|
+
*/
|
|
326
|
+
freezeAccount: readonly [TxnField.FreezeAssetAccount, import("../../ptypes").InstanceType];
|
|
327
|
+
/**
|
|
328
|
+
* The new frozen value
|
|
329
|
+
*/
|
|
330
|
+
frozen: readonly [TxnField.FreezeAssetFrozen, import("../../ptypes").InstanceType];
|
|
331
|
+
/**
|
|
332
|
+
* 32 byte address
|
|
333
|
+
*/
|
|
334
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
335
|
+
/**
|
|
336
|
+
* microalgos
|
|
337
|
+
*/
|
|
338
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
339
|
+
/**
|
|
340
|
+
* round number
|
|
341
|
+
*/
|
|
342
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
343
|
+
/**
|
|
344
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
345
|
+
*/
|
|
346
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
347
|
+
/**
|
|
348
|
+
* round number
|
|
349
|
+
*/
|
|
350
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
351
|
+
/**
|
|
352
|
+
* Any data up to 1024 bytes
|
|
353
|
+
*/
|
|
354
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
355
|
+
/**
|
|
356
|
+
* 32 byte lease value
|
|
357
|
+
*/
|
|
358
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
359
|
+
/**
|
|
360
|
+
* Transaction type as bytes
|
|
361
|
+
*/
|
|
362
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
363
|
+
/**
|
|
364
|
+
* Transaction type as integer
|
|
365
|
+
*/
|
|
366
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
367
|
+
/**
|
|
368
|
+
* Position of this transaction within an atomic group
|
|
369
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
370
|
+
*/
|
|
371
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
372
|
+
/**
|
|
373
|
+
* The computed ID for this transaction. 32 bytes.
|
|
374
|
+
*/
|
|
375
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
376
|
+
/**
|
|
377
|
+
* 32 byte Sender's new AuthAddr
|
|
378
|
+
*/
|
|
379
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
380
|
+
};
|
|
381
|
+
export declare const applicationCallTxnFields: {
|
|
382
|
+
/**
|
|
383
|
+
* ApplicationID from ApplicationCall transaction
|
|
384
|
+
*/
|
|
385
|
+
appId: readonly [TxnField.ApplicationID, import("../../ptypes").InstanceType];
|
|
386
|
+
/**
|
|
387
|
+
* The application created by this transaction
|
|
388
|
+
*/
|
|
389
|
+
createdApplication: readonly [TxnField.CreatedApplicationID, import("../../ptypes").InstanceType];
|
|
390
|
+
/**
|
|
391
|
+
* ApplicationCall transaction on completion action
|
|
392
|
+
*/
|
|
393
|
+
onCompletion: readonly [TxnField.OnCompletion, import("../../ptypes").Uint64EnumMemberType];
|
|
394
|
+
/**
|
|
395
|
+
* Number of ApplicationArgs
|
|
396
|
+
*/
|
|
397
|
+
numAppArgs: readonly [TxnField.NumAppArgs, import("../../ptypes").InstanceType];
|
|
398
|
+
/**
|
|
399
|
+
* Number of ApplicationArgs
|
|
400
|
+
*/
|
|
401
|
+
numAccounts: readonly [TxnField.NumAccounts, import("../../ptypes").InstanceType];
|
|
402
|
+
/**
|
|
403
|
+
* Approval program
|
|
404
|
+
*/
|
|
405
|
+
approvalProgram: readonly [TxnField.ApprovalProgram, import("../../ptypes").InstanceType];
|
|
406
|
+
/**
|
|
407
|
+
* Clear State program
|
|
408
|
+
*/
|
|
409
|
+
clearStateProgram: readonly [TxnField.ClearStateProgram, import("../../ptypes").InstanceType];
|
|
410
|
+
/**
|
|
411
|
+
* Number of Assets
|
|
412
|
+
*/
|
|
413
|
+
numAssets: readonly [TxnField.NumAssets, import("../../ptypes").InstanceType];
|
|
414
|
+
/**
|
|
415
|
+
* Number of Applications
|
|
416
|
+
*/
|
|
417
|
+
numApps: readonly [TxnField.NumApplications, import("../../ptypes").InstanceType];
|
|
418
|
+
/**
|
|
419
|
+
* Number of global state integers in ApplicationCall
|
|
420
|
+
*/
|
|
421
|
+
globalNumUint: readonly [TxnField.GlobalNumUint, import("../../ptypes").InstanceType];
|
|
422
|
+
/**
|
|
423
|
+
* Number of global state byteslices in ApplicationCall
|
|
424
|
+
*/
|
|
425
|
+
globalNumBytes: readonly [TxnField.GlobalNumByteSlice, import("../../ptypes").InstanceType];
|
|
426
|
+
/**
|
|
427
|
+
* Number of local state integers in ApplicationCall
|
|
428
|
+
*/
|
|
429
|
+
localNumUint: readonly [TxnField.LocalNumUint, import("../../ptypes").InstanceType];
|
|
430
|
+
/**
|
|
431
|
+
* Number of local state byteslices in ApplicationCall
|
|
432
|
+
*/
|
|
433
|
+
localNumBytes: readonly [TxnField.LocalNumByteSlice, import("../../ptypes").InstanceType];
|
|
434
|
+
/**
|
|
435
|
+
* Number of additional pages for each of the application's approval and clear state programs. An ExtraProgramPages of 1 means 2048 more total bytes, or 1024 for each program.
|
|
436
|
+
*/
|
|
437
|
+
extraProgramPages: readonly [TxnField.ExtraProgramPages, import("../../ptypes").InstanceType];
|
|
438
|
+
/**
|
|
439
|
+
* The last message emitted. Empty bytes if none were emitted. Application mode only
|
|
440
|
+
*/
|
|
441
|
+
lastLog: readonly [TxnField.LastLog, import("../../ptypes").InstanceType];
|
|
442
|
+
/**
|
|
443
|
+
* Number of Approval Program pages
|
|
444
|
+
*/
|
|
445
|
+
numApprovalProgramPages: readonly [TxnField.NumApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
446
|
+
/**
|
|
447
|
+
* Number of Clear State Program pages
|
|
448
|
+
*/
|
|
449
|
+
numClearStateProgramPages: readonly [TxnField.NumClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
450
|
+
/**
|
|
451
|
+
* Arguments passed to the application in the ApplicationCall transaction
|
|
452
|
+
* @param index
|
|
453
|
+
*/
|
|
454
|
+
appArgs: readonly [TxnField.ApplicationArgs, import("../../ptypes").InstanceType];
|
|
455
|
+
/**
|
|
456
|
+
* Accounts listed in the ApplicationCall transaction
|
|
457
|
+
*/
|
|
458
|
+
accounts: readonly [TxnField.Accounts, import("../../ptypes").InstanceType];
|
|
459
|
+
/**
|
|
460
|
+
* Foreign Assets listed in the ApplicationCall transaction
|
|
461
|
+
*/
|
|
462
|
+
assets: readonly [TxnField.Assets, import("../../ptypes").InstanceType];
|
|
463
|
+
/**
|
|
464
|
+
* Foreign Apps listed in the ApplicationCall transaction
|
|
465
|
+
*/
|
|
466
|
+
apps: readonly [TxnField.Applications, import("../../ptypes").InstanceType];
|
|
467
|
+
/**
|
|
468
|
+
* Approval Program as an array of pages
|
|
469
|
+
*/
|
|
470
|
+
approvalProgramPages: readonly [TxnField.ApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
471
|
+
/**
|
|
472
|
+
* Clear State Program as an array of pages
|
|
473
|
+
*/
|
|
474
|
+
clearStateProgramPages: readonly [TxnField.ClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
475
|
+
/**
|
|
476
|
+
* 32 byte address
|
|
477
|
+
*/
|
|
478
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
479
|
+
/**
|
|
480
|
+
* microalgos
|
|
481
|
+
*/
|
|
482
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
483
|
+
/**
|
|
484
|
+
* round number
|
|
485
|
+
*/
|
|
486
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
487
|
+
/**
|
|
488
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
489
|
+
*/
|
|
490
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
491
|
+
/**
|
|
492
|
+
* round number
|
|
493
|
+
*/
|
|
494
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
495
|
+
/**
|
|
496
|
+
* Any data up to 1024 bytes
|
|
497
|
+
*/
|
|
498
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
499
|
+
/**
|
|
500
|
+
* 32 byte lease value
|
|
501
|
+
*/
|
|
502
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
503
|
+
/**
|
|
504
|
+
* Transaction type as bytes
|
|
505
|
+
*/
|
|
506
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
507
|
+
/**
|
|
508
|
+
* Transaction type as integer
|
|
509
|
+
*/
|
|
510
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
511
|
+
/**
|
|
512
|
+
* Position of this transaction within an atomic group
|
|
513
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
514
|
+
*/
|
|
515
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
516
|
+
/**
|
|
517
|
+
* The computed ID for this transaction. 32 bytes.
|
|
518
|
+
*/
|
|
519
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
520
|
+
/**
|
|
521
|
+
* 32 byte Sender's new AuthAddr
|
|
522
|
+
*/
|
|
523
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
524
|
+
};
|
|
525
|
+
export declare const anyTxnFields: {
|
|
526
|
+
/**
|
|
527
|
+
* ApplicationID from ApplicationCall transaction
|
|
528
|
+
*/
|
|
529
|
+
appId: readonly [TxnField.ApplicationID, import("../../ptypes").InstanceType];
|
|
530
|
+
/**
|
|
531
|
+
* The application created by this transaction
|
|
532
|
+
*/
|
|
533
|
+
createdApplication: readonly [TxnField.CreatedApplicationID, import("../../ptypes").InstanceType];
|
|
534
|
+
/**
|
|
535
|
+
* ApplicationCall transaction on completion action
|
|
536
|
+
*/
|
|
537
|
+
onCompletion: readonly [TxnField.OnCompletion, import("../../ptypes").Uint64EnumMemberType];
|
|
538
|
+
/**
|
|
539
|
+
* Number of ApplicationArgs
|
|
540
|
+
*/
|
|
541
|
+
numAppArgs: readonly [TxnField.NumAppArgs, import("../../ptypes").InstanceType];
|
|
542
|
+
/**
|
|
543
|
+
* Number of ApplicationArgs
|
|
544
|
+
*/
|
|
545
|
+
numAccounts: readonly [TxnField.NumAccounts, import("../../ptypes").InstanceType];
|
|
546
|
+
/**
|
|
547
|
+
* Approval program
|
|
548
|
+
*/
|
|
549
|
+
approvalProgram: readonly [TxnField.ApprovalProgram, import("../../ptypes").InstanceType];
|
|
550
|
+
/**
|
|
551
|
+
* Clear State program
|
|
552
|
+
*/
|
|
553
|
+
clearStateProgram: readonly [TxnField.ClearStateProgram, import("../../ptypes").InstanceType];
|
|
554
|
+
/**
|
|
555
|
+
* Number of Assets
|
|
556
|
+
*/
|
|
557
|
+
numAssets: readonly [TxnField.NumAssets, import("../../ptypes").InstanceType];
|
|
558
|
+
/**
|
|
559
|
+
* Number of Applications
|
|
560
|
+
*/
|
|
561
|
+
numApps: readonly [TxnField.NumApplications, import("../../ptypes").InstanceType];
|
|
562
|
+
/**
|
|
563
|
+
* Number of global state integers in ApplicationCall
|
|
564
|
+
*/
|
|
565
|
+
globalNumUint: readonly [TxnField.GlobalNumUint, import("../../ptypes").InstanceType];
|
|
566
|
+
/**
|
|
567
|
+
* Number of global state byteslices in ApplicationCall
|
|
568
|
+
*/
|
|
569
|
+
globalNumBytes: readonly [TxnField.GlobalNumByteSlice, import("../../ptypes").InstanceType];
|
|
570
|
+
/**
|
|
571
|
+
* Number of local state integers in ApplicationCall
|
|
572
|
+
*/
|
|
573
|
+
localNumUint: readonly [TxnField.LocalNumUint, import("../../ptypes").InstanceType];
|
|
574
|
+
/**
|
|
575
|
+
* Number of local state byteslices in ApplicationCall
|
|
576
|
+
*/
|
|
577
|
+
localNumBytes: readonly [TxnField.LocalNumByteSlice, import("../../ptypes").InstanceType];
|
|
578
|
+
/**
|
|
579
|
+
* Number of additional pages for each of the application's approval and clear state programs. An ExtraProgramPages of 1 means 2048 more total bytes, or 1024 for each program.
|
|
580
|
+
*/
|
|
581
|
+
extraProgramPages: readonly [TxnField.ExtraProgramPages, import("../../ptypes").InstanceType];
|
|
582
|
+
/**
|
|
583
|
+
* The last message emitted. Empty bytes if none were emitted. Application mode only
|
|
584
|
+
*/
|
|
585
|
+
lastLog: readonly [TxnField.LastLog, import("../../ptypes").InstanceType];
|
|
586
|
+
/**
|
|
587
|
+
* Number of Approval Program pages
|
|
588
|
+
*/
|
|
589
|
+
numApprovalProgramPages: readonly [TxnField.NumApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
590
|
+
/**
|
|
591
|
+
* Number of Clear State Program pages
|
|
592
|
+
*/
|
|
593
|
+
numClearStateProgramPages: readonly [TxnField.NumClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
594
|
+
/**
|
|
595
|
+
* Arguments passed to the application in the ApplicationCall transaction
|
|
596
|
+
* @param index
|
|
597
|
+
*/
|
|
598
|
+
appArgs: readonly [TxnField.ApplicationArgs, import("../../ptypes").InstanceType];
|
|
599
|
+
/**
|
|
600
|
+
* Accounts listed in the ApplicationCall transaction
|
|
601
|
+
*/
|
|
602
|
+
accounts: readonly [TxnField.Accounts, import("../../ptypes").InstanceType];
|
|
603
|
+
/**
|
|
604
|
+
* Foreign Assets listed in the ApplicationCall transaction
|
|
605
|
+
*/
|
|
606
|
+
assets: readonly [TxnField.Assets, import("../../ptypes").InstanceType];
|
|
607
|
+
/**
|
|
608
|
+
* Foreign Apps listed in the ApplicationCall transaction
|
|
609
|
+
*/
|
|
610
|
+
apps: readonly [TxnField.Applications, import("../../ptypes").InstanceType];
|
|
611
|
+
/**
|
|
612
|
+
* Approval Program as an array of pages
|
|
613
|
+
*/
|
|
614
|
+
approvalProgramPages: readonly [TxnField.ApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
615
|
+
/**
|
|
616
|
+
* Clear State Program as an array of pages
|
|
617
|
+
*/
|
|
618
|
+
clearStateProgramPages: readonly [TxnField.ClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
619
|
+
/**
|
|
620
|
+
* 32 byte address
|
|
621
|
+
*/
|
|
622
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
623
|
+
/**
|
|
624
|
+
* microalgos
|
|
625
|
+
*/
|
|
626
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
627
|
+
/**
|
|
628
|
+
* round number
|
|
629
|
+
*/
|
|
630
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
631
|
+
/**
|
|
632
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
633
|
+
*/
|
|
634
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
635
|
+
/**
|
|
636
|
+
* round number
|
|
637
|
+
*/
|
|
638
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
639
|
+
/**
|
|
640
|
+
* Any data up to 1024 bytes
|
|
641
|
+
*/
|
|
642
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
643
|
+
/**
|
|
644
|
+
* 32 byte lease value
|
|
645
|
+
*/
|
|
646
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
647
|
+
/**
|
|
648
|
+
* Transaction type as bytes
|
|
649
|
+
*/
|
|
650
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
651
|
+
/**
|
|
652
|
+
* Transaction type as integer
|
|
653
|
+
*/
|
|
654
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
655
|
+
/**
|
|
656
|
+
* Position of this transaction within an atomic group
|
|
657
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
658
|
+
*/
|
|
659
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
660
|
+
/**
|
|
661
|
+
* The computed ID for this transaction. 32 bytes.
|
|
662
|
+
*/
|
|
663
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
664
|
+
/**
|
|
665
|
+
* 32 byte Sender's new AuthAddr
|
|
666
|
+
*/
|
|
667
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
668
|
+
/**
|
|
669
|
+
* Asset ID being frozen or un-frozen
|
|
670
|
+
*/
|
|
671
|
+
freezeAsset: readonly [TxnField.FreezeAsset, import("../../ptypes").InstanceType];
|
|
672
|
+
/**
|
|
673
|
+
* 32 byte address of the account whose asset slot is being frozen or un-frozen
|
|
674
|
+
*/
|
|
675
|
+
freezeAccount: readonly [TxnField.FreezeAssetAccount, import("../../ptypes").InstanceType];
|
|
676
|
+
/**
|
|
677
|
+
* The new frozen value
|
|
678
|
+
*/
|
|
679
|
+
frozen: readonly [TxnField.FreezeAssetFrozen, import("../../ptypes").InstanceType];
|
|
680
|
+
/**
|
|
681
|
+
* Asset ID
|
|
682
|
+
*/
|
|
683
|
+
xferAsset: readonly [TxnField.XferAsset, import("../../ptypes").InstanceType];
|
|
684
|
+
/**
|
|
685
|
+
* value in Asset's units
|
|
686
|
+
*/
|
|
687
|
+
assetAmount: readonly [TxnField.AssetAmount, import("../../ptypes").InstanceType];
|
|
688
|
+
/**
|
|
689
|
+
* 32 byte address. Source of assets if Sender is the Asset's Clawback address.
|
|
690
|
+
*/
|
|
691
|
+
assetSender: readonly [TxnField.AssetSender, import("../../ptypes").InstanceType];
|
|
692
|
+
/**
|
|
693
|
+
* 32 byte address
|
|
694
|
+
*/
|
|
695
|
+
assetReceiver: readonly [TxnField.AssetReceiver, import("../../ptypes").InstanceType];
|
|
696
|
+
/**
|
|
697
|
+
* 32 byte address
|
|
698
|
+
*/
|
|
699
|
+
assetCloseTo: readonly [TxnField.AssetCloseTo, import("../../ptypes").InstanceType];
|
|
700
|
+
/**
|
|
701
|
+
* Asset ID in asset config transaction
|
|
702
|
+
*/
|
|
703
|
+
configAsset: readonly [TxnField.ConfigAsset, import("../../ptypes").InstanceType];
|
|
704
|
+
/**
|
|
705
|
+
* The asset created by this transaction
|
|
706
|
+
*/
|
|
707
|
+
createdAsset: readonly [TxnField.CreatedAssetID, import("../../ptypes").InstanceType];
|
|
708
|
+
/**
|
|
709
|
+
* Total number of units of this asset created
|
|
710
|
+
*/
|
|
711
|
+
total: readonly [TxnField.ConfigAssetTotal, import("../../ptypes").InstanceType];
|
|
712
|
+
/**
|
|
713
|
+
* Number of digits to display after the decimal place when displaying the asset
|
|
714
|
+
*/
|
|
715
|
+
decimals: readonly [TxnField.ConfigAssetDecimals, import("../../ptypes").InstanceType];
|
|
716
|
+
/**
|
|
717
|
+
* Whether the asset's slots are frozen by default or not, 0 or 1
|
|
718
|
+
*/
|
|
719
|
+
defaultFrozen: readonly [TxnField.ConfigAssetDefaultFrozen, import("../../ptypes").InstanceType];
|
|
720
|
+
/**
|
|
721
|
+
* Unit name of the asset
|
|
722
|
+
*/
|
|
723
|
+
unitName: readonly [TxnField.ConfigAssetUnitName, import("../../ptypes").InstanceType];
|
|
724
|
+
/**
|
|
725
|
+
* The asset name
|
|
726
|
+
*/
|
|
727
|
+
assetName: readonly [TxnField.ConfigAssetName, import("../../ptypes").InstanceType];
|
|
728
|
+
/**
|
|
729
|
+
* URL
|
|
730
|
+
*/
|
|
731
|
+
url: readonly [TxnField.ConfigAssetURL, import("../../ptypes").InstanceType];
|
|
732
|
+
/**
|
|
733
|
+
* 32 byte commitment to unspecified asset metadata
|
|
734
|
+
*/
|
|
735
|
+
metadataHash: readonly [TxnField.ConfigAssetMetadataHash, import("../../ptypes").InstanceType];
|
|
736
|
+
/**
|
|
737
|
+
* 32 byte address
|
|
738
|
+
*/
|
|
739
|
+
manager: readonly [TxnField.ConfigAssetManager, import("../../ptypes").InstanceType];
|
|
740
|
+
/**
|
|
741
|
+
* 32 byte address
|
|
742
|
+
*/
|
|
743
|
+
reserve: readonly [TxnField.ConfigAssetReserve, import("../../ptypes").InstanceType];
|
|
744
|
+
/**
|
|
745
|
+
* 32 byte address
|
|
746
|
+
*/
|
|
747
|
+
freeze: readonly [TxnField.ConfigAssetFreeze, import("../../ptypes").InstanceType];
|
|
748
|
+
/**
|
|
749
|
+
* 32 byte address
|
|
750
|
+
*/
|
|
751
|
+
clawback: readonly [TxnField.ConfigAssetClawback, import("../../ptypes").InstanceType];
|
|
752
|
+
/**
|
|
753
|
+
* 32 byte address
|
|
754
|
+
*/
|
|
755
|
+
voteKey: readonly [TxnField.VotePK, import("../../ptypes").InstanceType];
|
|
756
|
+
/**
|
|
757
|
+
* 32 byte address
|
|
758
|
+
*/
|
|
759
|
+
selectionKey: readonly [TxnField.SelectionPK, import("../../ptypes").InstanceType];
|
|
760
|
+
/**
|
|
761
|
+
* The first round that the participation key is valid.
|
|
762
|
+
*/
|
|
763
|
+
voteFirst: readonly [TxnField.VoteFirst, import("../../ptypes").InstanceType];
|
|
764
|
+
/**
|
|
765
|
+
* The last round that the participation key is valid.
|
|
766
|
+
*/
|
|
767
|
+
voteLast: readonly [TxnField.VoteLast, import("../../ptypes").InstanceType];
|
|
768
|
+
/**
|
|
769
|
+
* Dilution for the 2-level participation key
|
|
770
|
+
*/
|
|
771
|
+
voteKeyDilution: readonly [TxnField.VoteKeyDilution, import("../../ptypes").InstanceType];
|
|
772
|
+
/**
|
|
773
|
+
* Marks an account nonparticipating for rewards
|
|
774
|
+
*/
|
|
775
|
+
nonparticipation: readonly [TxnField.Nonparticipation, import("../../ptypes").InstanceType];
|
|
776
|
+
/**
|
|
777
|
+
* 64 byte state proof public key
|
|
778
|
+
*/
|
|
779
|
+
stateProofKey: readonly [TxnField.StateProofPK, import("../../ptypes").InstanceType];
|
|
780
|
+
/**
|
|
781
|
+
* 32 byte address
|
|
782
|
+
*/
|
|
783
|
+
receiver: readonly [TxnField.Receiver, import("../../ptypes").InstanceType];
|
|
784
|
+
/**
|
|
785
|
+
* microalgos
|
|
786
|
+
*/
|
|
787
|
+
amount: readonly [TxnField.Amount, import("../../ptypes").InstanceType];
|
|
788
|
+
/**
|
|
789
|
+
* 32 byte address
|
|
790
|
+
*/
|
|
791
|
+
closeRemainderTo: readonly [TxnField.CloseRemainderTo, import("../../ptypes").InstanceType];
|
|
792
|
+
};
|
|
793
|
+
export declare const txnKindToFields: {
|
|
794
|
+
1: {
|
|
795
|
+
/**
|
|
796
|
+
* 32 byte address
|
|
797
|
+
*/
|
|
798
|
+
receiver: readonly [TxnField.Receiver, import("../../ptypes").InstanceType];
|
|
799
|
+
/**
|
|
800
|
+
* microalgos
|
|
801
|
+
*/
|
|
802
|
+
amount: readonly [TxnField.Amount, import("../../ptypes").InstanceType];
|
|
803
|
+
/**
|
|
804
|
+
* 32 byte address
|
|
805
|
+
*/
|
|
806
|
+
closeRemainderTo: readonly [TxnField.CloseRemainderTo, import("../../ptypes").InstanceType];
|
|
807
|
+
/**
|
|
808
|
+
* 32 byte address
|
|
809
|
+
*/
|
|
810
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
811
|
+
/**
|
|
812
|
+
* microalgos
|
|
813
|
+
*/
|
|
814
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
815
|
+
/**
|
|
816
|
+
* round number
|
|
817
|
+
*/
|
|
818
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
819
|
+
/**
|
|
820
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
821
|
+
*/
|
|
822
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
823
|
+
/**
|
|
824
|
+
* round number
|
|
825
|
+
*/
|
|
826
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
827
|
+
/**
|
|
828
|
+
* Any data up to 1024 bytes
|
|
829
|
+
*/
|
|
830
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
831
|
+
/**
|
|
832
|
+
* 32 byte lease value
|
|
833
|
+
*/
|
|
834
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
835
|
+
/**
|
|
836
|
+
* Transaction type as bytes
|
|
837
|
+
*/
|
|
838
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
839
|
+
/**
|
|
840
|
+
* Transaction type as integer
|
|
841
|
+
*/
|
|
842
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
843
|
+
/**
|
|
844
|
+
* Position of this transaction within an atomic group
|
|
845
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
846
|
+
*/
|
|
847
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
848
|
+
/**
|
|
849
|
+
* The computed ID for this transaction. 32 bytes.
|
|
850
|
+
*/
|
|
851
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
852
|
+
/**
|
|
853
|
+
* 32 byte Sender's new AuthAddr
|
|
854
|
+
*/
|
|
855
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
856
|
+
};
|
|
857
|
+
2: {
|
|
858
|
+
/**
|
|
859
|
+
* 32 byte address
|
|
860
|
+
*/
|
|
861
|
+
voteKey: readonly [TxnField.VotePK, import("../../ptypes").InstanceType];
|
|
862
|
+
/**
|
|
863
|
+
* 32 byte address
|
|
864
|
+
*/
|
|
865
|
+
selectionKey: readonly [TxnField.SelectionPK, import("../../ptypes").InstanceType];
|
|
866
|
+
/**
|
|
867
|
+
* The first round that the participation key is valid.
|
|
868
|
+
*/
|
|
869
|
+
voteFirst: readonly [TxnField.VoteFirst, import("../../ptypes").InstanceType];
|
|
870
|
+
/**
|
|
871
|
+
* The last round that the participation key is valid.
|
|
872
|
+
*/
|
|
873
|
+
voteLast: readonly [TxnField.VoteLast, import("../../ptypes").InstanceType];
|
|
874
|
+
/**
|
|
875
|
+
* Dilution for the 2-level participation key
|
|
876
|
+
*/
|
|
877
|
+
voteKeyDilution: readonly [TxnField.VoteKeyDilution, import("../../ptypes").InstanceType];
|
|
878
|
+
/**
|
|
879
|
+
* Marks an account nonparticipating for rewards
|
|
880
|
+
*/
|
|
881
|
+
nonparticipation: readonly [TxnField.Nonparticipation, import("../../ptypes").InstanceType];
|
|
882
|
+
/**
|
|
883
|
+
* 64 byte state proof public key
|
|
884
|
+
*/
|
|
885
|
+
stateProofKey: readonly [TxnField.StateProofPK, import("../../ptypes").InstanceType];
|
|
886
|
+
/**
|
|
887
|
+
* 32 byte address
|
|
888
|
+
*/
|
|
889
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
890
|
+
/**
|
|
891
|
+
* microalgos
|
|
892
|
+
*/
|
|
893
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
894
|
+
/**
|
|
895
|
+
* round number
|
|
896
|
+
*/
|
|
897
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
898
|
+
/**
|
|
899
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
900
|
+
*/
|
|
901
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
902
|
+
/**
|
|
903
|
+
* round number
|
|
904
|
+
*/
|
|
905
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
906
|
+
/**
|
|
907
|
+
* Any data up to 1024 bytes
|
|
908
|
+
*/
|
|
909
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
910
|
+
/**
|
|
911
|
+
* 32 byte lease value
|
|
912
|
+
*/
|
|
913
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
914
|
+
/**
|
|
915
|
+
* Transaction type as bytes
|
|
916
|
+
*/
|
|
917
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
918
|
+
/**
|
|
919
|
+
* Transaction type as integer
|
|
920
|
+
*/
|
|
921
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
922
|
+
/**
|
|
923
|
+
* Position of this transaction within an atomic group
|
|
924
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
925
|
+
*/
|
|
926
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
927
|
+
/**
|
|
928
|
+
* The computed ID for this transaction. 32 bytes.
|
|
929
|
+
*/
|
|
930
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
931
|
+
/**
|
|
932
|
+
* 32 byte Sender's new AuthAddr
|
|
933
|
+
*/
|
|
934
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
935
|
+
};
|
|
936
|
+
3: {
|
|
937
|
+
/**
|
|
938
|
+
* Asset ID in asset config transaction
|
|
939
|
+
*/
|
|
940
|
+
configAsset: readonly [TxnField.ConfigAsset, import("../../ptypes").InstanceType];
|
|
941
|
+
/**
|
|
942
|
+
* The asset created by this transaction
|
|
943
|
+
*/
|
|
944
|
+
createdAsset: readonly [TxnField.CreatedAssetID, import("../../ptypes").InstanceType];
|
|
945
|
+
/**
|
|
946
|
+
* Total number of units of this asset created
|
|
947
|
+
*/
|
|
948
|
+
total: readonly [TxnField.ConfigAssetTotal, import("../../ptypes").InstanceType];
|
|
949
|
+
/**
|
|
950
|
+
* Number of digits to display after the decimal place when displaying the asset
|
|
951
|
+
*/
|
|
952
|
+
decimals: readonly [TxnField.ConfigAssetDecimals, import("../../ptypes").InstanceType];
|
|
953
|
+
/**
|
|
954
|
+
* Whether the asset's slots are frozen by default or not, 0 or 1
|
|
955
|
+
*/
|
|
956
|
+
defaultFrozen: readonly [TxnField.ConfigAssetDefaultFrozen, import("../../ptypes").InstanceType];
|
|
957
|
+
/**
|
|
958
|
+
* Unit name of the asset
|
|
959
|
+
*/
|
|
960
|
+
unitName: readonly [TxnField.ConfigAssetUnitName, import("../../ptypes").InstanceType];
|
|
961
|
+
/**
|
|
962
|
+
* The asset name
|
|
963
|
+
*/
|
|
964
|
+
assetName: readonly [TxnField.ConfigAssetName, import("../../ptypes").InstanceType];
|
|
965
|
+
/**
|
|
966
|
+
* URL
|
|
967
|
+
*/
|
|
968
|
+
url: readonly [TxnField.ConfigAssetURL, import("../../ptypes").InstanceType];
|
|
969
|
+
/**
|
|
970
|
+
* 32 byte commitment to unspecified asset metadata
|
|
971
|
+
*/
|
|
972
|
+
metadataHash: readonly [TxnField.ConfigAssetMetadataHash, import("../../ptypes").InstanceType];
|
|
973
|
+
/**
|
|
974
|
+
* 32 byte address
|
|
975
|
+
*/
|
|
976
|
+
manager: readonly [TxnField.ConfigAssetManager, import("../../ptypes").InstanceType];
|
|
977
|
+
/**
|
|
978
|
+
* 32 byte address
|
|
979
|
+
*/
|
|
980
|
+
reserve: readonly [TxnField.ConfigAssetReserve, import("../../ptypes").InstanceType];
|
|
981
|
+
/**
|
|
982
|
+
* 32 byte address
|
|
983
|
+
*/
|
|
984
|
+
freeze: readonly [TxnField.ConfigAssetFreeze, import("../../ptypes").InstanceType];
|
|
985
|
+
/**
|
|
986
|
+
* 32 byte address
|
|
987
|
+
*/
|
|
988
|
+
clawback: readonly [TxnField.ConfigAssetClawback, import("../../ptypes").InstanceType];
|
|
989
|
+
/**
|
|
990
|
+
* 32 byte address
|
|
991
|
+
*/
|
|
992
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
993
|
+
/**
|
|
994
|
+
* microalgos
|
|
995
|
+
*/
|
|
996
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
997
|
+
/**
|
|
998
|
+
* round number
|
|
999
|
+
*/
|
|
1000
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
1001
|
+
/**
|
|
1002
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
1003
|
+
*/
|
|
1004
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
1005
|
+
/**
|
|
1006
|
+
* round number
|
|
1007
|
+
*/
|
|
1008
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
1009
|
+
/**
|
|
1010
|
+
* Any data up to 1024 bytes
|
|
1011
|
+
*/
|
|
1012
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
1013
|
+
/**
|
|
1014
|
+
* 32 byte lease value
|
|
1015
|
+
*/
|
|
1016
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
1017
|
+
/**
|
|
1018
|
+
* Transaction type as bytes
|
|
1019
|
+
*/
|
|
1020
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
1021
|
+
/**
|
|
1022
|
+
* Transaction type as integer
|
|
1023
|
+
*/
|
|
1024
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
1025
|
+
/**
|
|
1026
|
+
* Position of this transaction within an atomic group
|
|
1027
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
1028
|
+
*/
|
|
1029
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
1030
|
+
/**
|
|
1031
|
+
* The computed ID for this transaction. 32 bytes.
|
|
1032
|
+
*/
|
|
1033
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
1034
|
+
/**
|
|
1035
|
+
* 32 byte Sender's new AuthAddr
|
|
1036
|
+
*/
|
|
1037
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
1038
|
+
};
|
|
1039
|
+
4: {
|
|
1040
|
+
/**
|
|
1041
|
+
* Asset ID
|
|
1042
|
+
*/
|
|
1043
|
+
xferAsset: readonly [TxnField.XferAsset, import("../../ptypes").InstanceType];
|
|
1044
|
+
/**
|
|
1045
|
+
* value in Asset's units
|
|
1046
|
+
*/
|
|
1047
|
+
assetAmount: readonly [TxnField.AssetAmount, import("../../ptypes").InstanceType];
|
|
1048
|
+
/**
|
|
1049
|
+
* 32 byte address. Source of assets if Sender is the Asset's Clawback address.
|
|
1050
|
+
*/
|
|
1051
|
+
assetSender: readonly [TxnField.AssetSender, import("../../ptypes").InstanceType];
|
|
1052
|
+
/**
|
|
1053
|
+
* 32 byte address
|
|
1054
|
+
*/
|
|
1055
|
+
assetReceiver: readonly [TxnField.AssetReceiver, import("../../ptypes").InstanceType];
|
|
1056
|
+
/**
|
|
1057
|
+
* 32 byte address
|
|
1058
|
+
*/
|
|
1059
|
+
assetCloseTo: readonly [TxnField.AssetCloseTo, import("../../ptypes").InstanceType];
|
|
1060
|
+
/**
|
|
1061
|
+
* 32 byte address
|
|
1062
|
+
*/
|
|
1063
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
1064
|
+
/**
|
|
1065
|
+
* microalgos
|
|
1066
|
+
*/
|
|
1067
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
1068
|
+
/**
|
|
1069
|
+
* round number
|
|
1070
|
+
*/
|
|
1071
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
1072
|
+
/**
|
|
1073
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
1074
|
+
*/
|
|
1075
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
1076
|
+
/**
|
|
1077
|
+
* round number
|
|
1078
|
+
*/
|
|
1079
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
1080
|
+
/**
|
|
1081
|
+
* Any data up to 1024 bytes
|
|
1082
|
+
*/
|
|
1083
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
1084
|
+
/**
|
|
1085
|
+
* 32 byte lease value
|
|
1086
|
+
*/
|
|
1087
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
1088
|
+
/**
|
|
1089
|
+
* Transaction type as bytes
|
|
1090
|
+
*/
|
|
1091
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
1092
|
+
/**
|
|
1093
|
+
* Transaction type as integer
|
|
1094
|
+
*/
|
|
1095
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
1096
|
+
/**
|
|
1097
|
+
* Position of this transaction within an atomic group
|
|
1098
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
1099
|
+
*/
|
|
1100
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
1101
|
+
/**
|
|
1102
|
+
* The computed ID for this transaction. 32 bytes.
|
|
1103
|
+
*/
|
|
1104
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
1105
|
+
/**
|
|
1106
|
+
* 32 byte Sender's new AuthAddr
|
|
1107
|
+
*/
|
|
1108
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
1109
|
+
};
|
|
1110
|
+
5: {
|
|
1111
|
+
/**
|
|
1112
|
+
* Asset ID being frozen or un-frozen
|
|
1113
|
+
*/
|
|
1114
|
+
freezeAsset: readonly [TxnField.FreezeAsset, import("../../ptypes").InstanceType];
|
|
1115
|
+
/**
|
|
1116
|
+
* 32 byte address of the account whose asset slot is being frozen or un-frozen
|
|
1117
|
+
*/
|
|
1118
|
+
freezeAccount: readonly [TxnField.FreezeAssetAccount, import("../../ptypes").InstanceType];
|
|
1119
|
+
/**
|
|
1120
|
+
* The new frozen value
|
|
1121
|
+
*/
|
|
1122
|
+
frozen: readonly [TxnField.FreezeAssetFrozen, import("../../ptypes").InstanceType];
|
|
1123
|
+
/**
|
|
1124
|
+
* 32 byte address
|
|
1125
|
+
*/
|
|
1126
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
1127
|
+
/**
|
|
1128
|
+
* microalgos
|
|
1129
|
+
*/
|
|
1130
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
1131
|
+
/**
|
|
1132
|
+
* round number
|
|
1133
|
+
*/
|
|
1134
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
1135
|
+
/**
|
|
1136
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
1137
|
+
*/
|
|
1138
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
1139
|
+
/**
|
|
1140
|
+
* round number
|
|
1141
|
+
*/
|
|
1142
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
1143
|
+
/**
|
|
1144
|
+
* Any data up to 1024 bytes
|
|
1145
|
+
*/
|
|
1146
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
1147
|
+
/**
|
|
1148
|
+
* 32 byte lease value
|
|
1149
|
+
*/
|
|
1150
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
1151
|
+
/**
|
|
1152
|
+
* Transaction type as bytes
|
|
1153
|
+
*/
|
|
1154
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
1155
|
+
/**
|
|
1156
|
+
* Transaction type as integer
|
|
1157
|
+
*/
|
|
1158
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
1159
|
+
/**
|
|
1160
|
+
* Position of this transaction within an atomic group
|
|
1161
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
1162
|
+
*/
|
|
1163
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
1164
|
+
/**
|
|
1165
|
+
* The computed ID for this transaction. 32 bytes.
|
|
1166
|
+
*/
|
|
1167
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
1168
|
+
/**
|
|
1169
|
+
* 32 byte Sender's new AuthAddr
|
|
1170
|
+
*/
|
|
1171
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
1172
|
+
};
|
|
1173
|
+
6: {
|
|
1174
|
+
/**
|
|
1175
|
+
* ApplicationID from ApplicationCall transaction
|
|
1176
|
+
*/
|
|
1177
|
+
appId: readonly [TxnField.ApplicationID, import("../../ptypes").InstanceType];
|
|
1178
|
+
/**
|
|
1179
|
+
* The application created by this transaction
|
|
1180
|
+
*/
|
|
1181
|
+
createdApplication: readonly [TxnField.CreatedApplicationID, import("../../ptypes").InstanceType];
|
|
1182
|
+
/**
|
|
1183
|
+
* ApplicationCall transaction on completion action
|
|
1184
|
+
*/
|
|
1185
|
+
onCompletion: readonly [TxnField.OnCompletion, import("../../ptypes").Uint64EnumMemberType];
|
|
1186
|
+
/**
|
|
1187
|
+
* Number of ApplicationArgs
|
|
1188
|
+
*/
|
|
1189
|
+
numAppArgs: readonly [TxnField.NumAppArgs, import("../../ptypes").InstanceType];
|
|
1190
|
+
/**
|
|
1191
|
+
* Number of ApplicationArgs
|
|
1192
|
+
*/
|
|
1193
|
+
numAccounts: readonly [TxnField.NumAccounts, import("../../ptypes").InstanceType];
|
|
1194
|
+
/**
|
|
1195
|
+
* Approval program
|
|
1196
|
+
*/
|
|
1197
|
+
approvalProgram: readonly [TxnField.ApprovalProgram, import("../../ptypes").InstanceType];
|
|
1198
|
+
/**
|
|
1199
|
+
* Clear State program
|
|
1200
|
+
*/
|
|
1201
|
+
clearStateProgram: readonly [TxnField.ClearStateProgram, import("../../ptypes").InstanceType];
|
|
1202
|
+
/**
|
|
1203
|
+
* Number of Assets
|
|
1204
|
+
*/
|
|
1205
|
+
numAssets: readonly [TxnField.NumAssets, import("../../ptypes").InstanceType];
|
|
1206
|
+
/**
|
|
1207
|
+
* Number of Applications
|
|
1208
|
+
*/
|
|
1209
|
+
numApps: readonly [TxnField.NumApplications, import("../../ptypes").InstanceType];
|
|
1210
|
+
/**
|
|
1211
|
+
* Number of global state integers in ApplicationCall
|
|
1212
|
+
*/
|
|
1213
|
+
globalNumUint: readonly [TxnField.GlobalNumUint, import("../../ptypes").InstanceType];
|
|
1214
|
+
/**
|
|
1215
|
+
* Number of global state byteslices in ApplicationCall
|
|
1216
|
+
*/
|
|
1217
|
+
globalNumBytes: readonly [TxnField.GlobalNumByteSlice, import("../../ptypes").InstanceType];
|
|
1218
|
+
/**
|
|
1219
|
+
* Number of local state integers in ApplicationCall
|
|
1220
|
+
*/
|
|
1221
|
+
localNumUint: readonly [TxnField.LocalNumUint, import("../../ptypes").InstanceType];
|
|
1222
|
+
/**
|
|
1223
|
+
* Number of local state byteslices in ApplicationCall
|
|
1224
|
+
*/
|
|
1225
|
+
localNumBytes: readonly [TxnField.LocalNumByteSlice, import("../../ptypes").InstanceType];
|
|
1226
|
+
/**
|
|
1227
|
+
* Number of additional pages for each of the application's approval and clear state programs. An ExtraProgramPages of 1 means 2048 more total bytes, or 1024 for each program.
|
|
1228
|
+
*/
|
|
1229
|
+
extraProgramPages: readonly [TxnField.ExtraProgramPages, import("../../ptypes").InstanceType];
|
|
1230
|
+
/**
|
|
1231
|
+
* The last message emitted. Empty bytes if none were emitted. Application mode only
|
|
1232
|
+
*/
|
|
1233
|
+
lastLog: readonly [TxnField.LastLog, import("../../ptypes").InstanceType];
|
|
1234
|
+
/**
|
|
1235
|
+
* Number of Approval Program pages
|
|
1236
|
+
*/
|
|
1237
|
+
numApprovalProgramPages: readonly [TxnField.NumApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
1238
|
+
/**
|
|
1239
|
+
* Number of Clear State Program pages
|
|
1240
|
+
*/
|
|
1241
|
+
numClearStateProgramPages: readonly [TxnField.NumClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
1242
|
+
/**
|
|
1243
|
+
* Arguments passed to the application in the ApplicationCall transaction
|
|
1244
|
+
* @param index
|
|
1245
|
+
*/
|
|
1246
|
+
appArgs: readonly [TxnField.ApplicationArgs, import("../../ptypes").InstanceType];
|
|
1247
|
+
/**
|
|
1248
|
+
* Accounts listed in the ApplicationCall transaction
|
|
1249
|
+
*/
|
|
1250
|
+
accounts: readonly [TxnField.Accounts, import("../../ptypes").InstanceType];
|
|
1251
|
+
/**
|
|
1252
|
+
* Foreign Assets listed in the ApplicationCall transaction
|
|
1253
|
+
*/
|
|
1254
|
+
assets: readonly [TxnField.Assets, import("../../ptypes").InstanceType];
|
|
1255
|
+
/**
|
|
1256
|
+
* Foreign Apps listed in the ApplicationCall transaction
|
|
1257
|
+
*/
|
|
1258
|
+
apps: readonly [TxnField.Applications, import("../../ptypes").InstanceType];
|
|
1259
|
+
/**
|
|
1260
|
+
* Approval Program as an array of pages
|
|
1261
|
+
*/
|
|
1262
|
+
approvalProgramPages: readonly [TxnField.ApprovalProgramPages, import("../../ptypes").InstanceType];
|
|
1263
|
+
/**
|
|
1264
|
+
* Clear State Program as an array of pages
|
|
1265
|
+
*/
|
|
1266
|
+
clearStateProgramPages: readonly [TxnField.ClearStateProgramPages, import("../../ptypes").InstanceType];
|
|
1267
|
+
/**
|
|
1268
|
+
* 32 byte address
|
|
1269
|
+
*/
|
|
1270
|
+
sender: readonly [TxnField.Sender, import("../../ptypes").InstanceType];
|
|
1271
|
+
/**
|
|
1272
|
+
* microalgos
|
|
1273
|
+
*/
|
|
1274
|
+
fee: readonly [TxnField.Fee, import("../../ptypes").InstanceType];
|
|
1275
|
+
/**
|
|
1276
|
+
* round number
|
|
1277
|
+
*/
|
|
1278
|
+
firstValid: readonly [TxnField.FirstValid, import("../../ptypes").InstanceType];
|
|
1279
|
+
/**
|
|
1280
|
+
* UNIX timestamp of block before txn.FirstValid. Fails if negative
|
|
1281
|
+
*/
|
|
1282
|
+
firstValidTime: readonly [TxnField.FirstValidTime, import("../../ptypes").InstanceType];
|
|
1283
|
+
/**
|
|
1284
|
+
* round number
|
|
1285
|
+
*/
|
|
1286
|
+
lastValid: readonly [TxnField.LastValid, import("../../ptypes").InstanceType];
|
|
1287
|
+
/**
|
|
1288
|
+
* Any data up to 1024 bytes
|
|
1289
|
+
*/
|
|
1290
|
+
note: readonly [TxnField.Note, import("../../ptypes").InstanceType];
|
|
1291
|
+
/**
|
|
1292
|
+
* 32 byte lease value
|
|
1293
|
+
*/
|
|
1294
|
+
lease: readonly [TxnField.Lease, import("../../ptypes").InstanceType];
|
|
1295
|
+
/**
|
|
1296
|
+
* Transaction type as bytes
|
|
1297
|
+
*/
|
|
1298
|
+
typeBytes: readonly [TxnField.Type, import("../../ptypes").InstanceType];
|
|
1299
|
+
/**
|
|
1300
|
+
* Transaction type as integer
|
|
1301
|
+
*/
|
|
1302
|
+
type: readonly [TxnField.TypeEnum, import("../../ptypes").Uint64EnumType];
|
|
1303
|
+
/**
|
|
1304
|
+
* Position of this transaction within an atomic group
|
|
1305
|
+
* A stand-alone transaction is implicitly element 0 in a group of 1
|
|
1306
|
+
*/
|
|
1307
|
+
groupIndex: readonly [TxnField.GroupIndex, import("../../ptypes").InstanceType];
|
|
1308
|
+
/**
|
|
1309
|
+
* The computed ID for this transaction. 32 bytes.
|
|
1310
|
+
*/
|
|
1311
|
+
txnId: readonly [TxnField.TxID, import("../../ptypes").InstanceType];
|
|
1312
|
+
/**
|
|
1313
|
+
* 32 byte Sender's new AuthAddr
|
|
1314
|
+
*/
|
|
1315
|
+
rekeyTo: readonly [TxnField.RekeyTo, import("../../ptypes").InstanceType];
|
|
1316
|
+
};
|
|
1317
|
+
};
|