arc200-client 1.0.7 → 1.1.0
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/index.d.mts +16 -20
- package/dist/index.d.ts +16 -20
- package/dist/index.js +49 -358
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -364
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -16
package/dist/index.d.mts
CHANGED
|
@@ -14,7 +14,6 @@ import { Address, OnApplicationComplete, Transaction, TransactionSigner, modelsv
|
|
|
14
14
|
import { AlgorandClient } from '@algorandfoundation/algokit-utils/types/algorand-client';
|
|
15
15
|
import { AppClient, AppClientParams, ResolveAppClientByCreatorAndName, ResolveAppClientByNetwork, AppClientBareCallParams, AppClientMethodCallParams, CloneAppClientParams, AppClientCompilationParams } from '@algorandfoundation/algokit-utils/types/app-client';
|
|
16
16
|
import { AppFactory, AppFactoryParams, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory';
|
|
17
|
-
import { SimulateResponse } from 'algosdk/dist/types/client/v2/algod/models/types';
|
|
18
17
|
import { AlgorandClient as AlgorandClient$1 } from '@algorandfoundation/algokit-utils';
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -102,12 +101,7 @@ type Arc200Args = {
|
|
|
102
101
|
* The tuple representation of the arguments for each method
|
|
103
102
|
*/
|
|
104
103
|
tuple: {
|
|
105
|
-
'bootstrap(byte[],byte[],uint8,uint256)bool': [
|
|
106
|
-
name: Uint8Array,
|
|
107
|
-
symbol: Uint8Array,
|
|
108
|
-
decimals: bigint | number,
|
|
109
|
-
totalSupply: bigint | number
|
|
110
|
-
];
|
|
104
|
+
'bootstrap(byte[],byte[],uint8,uint256)bool': [name: Uint8Array, symbol: Uint8Array, decimals: bigint | number, totalSupply: bigint | number];
|
|
111
105
|
'arc200_name()byte[32]': [];
|
|
112
106
|
'arc200_symbol()byte[8]': [];
|
|
113
107
|
'arc200_decimals()uint8': [];
|
|
@@ -454,6 +448,7 @@ declare class Arc200Factory {
|
|
|
454
448
|
note?: string | Uint8Array | undefined;
|
|
455
449
|
args?: Uint8Array[] | undefined;
|
|
456
450
|
signer?: TransactionSigner | _algorandfoundation_algokit_utils_types_account.TransactionSignerAccount | undefined;
|
|
451
|
+
rejectVersion?: number | undefined;
|
|
457
452
|
lease?: string | Uint8Array | undefined;
|
|
458
453
|
rekeyTo?: string | Address | undefined;
|
|
459
454
|
staticFee?: _algorandfoundation_algokit_utils_types_amount.AlgoAmount | undefined;
|
|
@@ -465,6 +460,7 @@ declare class Arc200Factory {
|
|
|
465
460
|
appReferences?: bigint[] | undefined;
|
|
466
461
|
assetReferences?: bigint[] | undefined;
|
|
467
462
|
boxReferences?: (_algorandfoundation_algokit_utils_types_app_manager.BoxIdentifier | _algorandfoundation_algokit_utils_types_app_manager.BoxReference)[] | undefined;
|
|
463
|
+
accessReferences?: _algorandfoundation_algokit_utils_types_app_manager.ResourceReference[] | undefined;
|
|
468
464
|
sender?: string | Address | undefined;
|
|
469
465
|
updatable?: boolean | undefined;
|
|
470
466
|
deletable?: boolean | undefined;
|
|
@@ -914,7 +910,7 @@ declare class Arc200Client {
|
|
|
914
910
|
bootstrap: (params: CallParams<Arc200Args["obj"]["bootstrap(byte[],byte[],uint8,uint256)bool"] | Arc200Args["tuple"]["bootstrap(byte[],byte[],uint8,uint256)bool"]> & SendParams & {
|
|
915
911
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
916
912
|
}) => Promise<{
|
|
917
|
-
return: undefined | Arc200Returns["bootstrap(byte[],byte[],uint8,uint256)bool"];
|
|
913
|
+
return: (undefined | Arc200Returns["bootstrap(byte[],byte[],uint8,uint256)bool"]);
|
|
918
914
|
returns?: ABIReturn[] | undefined | undefined;
|
|
919
915
|
groupId: string;
|
|
920
916
|
txIds: string[];
|
|
@@ -936,7 +932,7 @@ declare class Arc200Client {
|
|
|
936
932
|
arc200Name: (params?: CallParams<Arc200Args["obj"]["arc200_name()byte[32]"] | Arc200Args["tuple"]["arc200_name()byte[32]"]> & SendParams & {
|
|
937
933
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
938
934
|
}) => Promise<{
|
|
939
|
-
return: undefined | Arc200Returns["arc200_name()byte[32]"];
|
|
935
|
+
return: (undefined | Arc200Returns["arc200_name()byte[32]"]);
|
|
940
936
|
returns?: ABIReturn[] | undefined | undefined;
|
|
941
937
|
groupId: string;
|
|
942
938
|
txIds: string[];
|
|
@@ -958,7 +954,7 @@ declare class Arc200Client {
|
|
|
958
954
|
arc200Symbol: (params?: CallParams<Arc200Args["obj"]["arc200_symbol()byte[8]"] | Arc200Args["tuple"]["arc200_symbol()byte[8]"]> & SendParams & {
|
|
959
955
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
960
956
|
}) => Promise<{
|
|
961
|
-
return: undefined | Arc200Returns["arc200_symbol()byte[8]"];
|
|
957
|
+
return: (undefined | Arc200Returns["arc200_symbol()byte[8]"]);
|
|
962
958
|
returns?: ABIReturn[] | undefined | undefined;
|
|
963
959
|
groupId: string;
|
|
964
960
|
txIds: string[];
|
|
@@ -980,7 +976,7 @@ declare class Arc200Client {
|
|
|
980
976
|
arc200Decimals: (params?: CallParams<Arc200Args["obj"]["arc200_decimals()uint8"] | Arc200Args["tuple"]["arc200_decimals()uint8"]> & SendParams & {
|
|
981
977
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
982
978
|
}) => Promise<{
|
|
983
|
-
return: undefined | Arc200Returns["arc200_decimals()uint8"];
|
|
979
|
+
return: (undefined | Arc200Returns["arc200_decimals()uint8"]);
|
|
984
980
|
returns?: ABIReturn[] | undefined | undefined;
|
|
985
981
|
groupId: string;
|
|
986
982
|
txIds: string[];
|
|
@@ -1002,7 +998,7 @@ declare class Arc200Client {
|
|
|
1002
998
|
arc200TotalSupply: (params?: CallParams<Arc200Args["obj"]["arc200_totalSupply()uint256"] | Arc200Args["tuple"]["arc200_totalSupply()uint256"]> & SendParams & {
|
|
1003
999
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1004
1000
|
}) => Promise<{
|
|
1005
|
-
return: undefined | Arc200Returns["arc200_totalSupply()uint256"];
|
|
1001
|
+
return: (undefined | Arc200Returns["arc200_totalSupply()uint256"]);
|
|
1006
1002
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1007
1003
|
groupId: string;
|
|
1008
1004
|
txIds: string[];
|
|
@@ -1024,7 +1020,7 @@ declare class Arc200Client {
|
|
|
1024
1020
|
arc200BalanceOf: (params: CallParams<Arc200Args["obj"]["arc200_balanceOf(address)uint256"] | Arc200Args["tuple"]["arc200_balanceOf(address)uint256"]> & SendParams & {
|
|
1025
1021
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1026
1022
|
}) => Promise<{
|
|
1027
|
-
return: undefined | Arc200Returns["arc200_balanceOf(address)uint256"];
|
|
1023
|
+
return: (undefined | Arc200Returns["arc200_balanceOf(address)uint256"]);
|
|
1028
1024
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1029
1025
|
groupId: string;
|
|
1030
1026
|
txIds: string[];
|
|
@@ -1044,7 +1040,7 @@ declare class Arc200Client {
|
|
|
1044
1040
|
arc200Transfer: (params: CallParams<Arc200Args["obj"]["arc200_transfer(address,uint256)bool"] | Arc200Args["tuple"]["arc200_transfer(address,uint256)bool"]> & SendParams & {
|
|
1045
1041
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1046
1042
|
}) => Promise<{
|
|
1047
|
-
return: undefined | Arc200Returns["arc200_transfer(address,uint256)bool"];
|
|
1043
|
+
return: (undefined | Arc200Returns["arc200_transfer(address,uint256)bool"]);
|
|
1048
1044
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1049
1045
|
groupId: string;
|
|
1050
1046
|
txIds: string[];
|
|
@@ -1064,7 +1060,7 @@ declare class Arc200Client {
|
|
|
1064
1060
|
arc200TransferFrom: (params: CallParams<Arc200Args["obj"]["arc200_transferFrom(address,address,uint256)bool"] | Arc200Args["tuple"]["arc200_transferFrom(address,address,uint256)bool"]> & SendParams & {
|
|
1065
1061
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1066
1062
|
}) => Promise<{
|
|
1067
|
-
return: undefined | Arc200Returns["arc200_transferFrom(address,address,uint256)bool"];
|
|
1063
|
+
return: (undefined | Arc200Returns["arc200_transferFrom(address,address,uint256)bool"]);
|
|
1068
1064
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1069
1065
|
groupId: string;
|
|
1070
1066
|
txIds: string[];
|
|
@@ -1084,7 +1080,7 @@ declare class Arc200Client {
|
|
|
1084
1080
|
arc200Approve: (params: CallParams<Arc200Args["obj"]["arc200_approve(address,uint256)bool"] | Arc200Args["tuple"]["arc200_approve(address,uint256)bool"]> & SendParams & {
|
|
1085
1081
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1086
1082
|
}) => Promise<{
|
|
1087
|
-
return: undefined | Arc200Returns["arc200_approve(address,uint256)bool"];
|
|
1083
|
+
return: (undefined | Arc200Returns["arc200_approve(address,uint256)bool"]);
|
|
1088
1084
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1089
1085
|
groupId: string;
|
|
1090
1086
|
txIds: string[];
|
|
@@ -1106,7 +1102,7 @@ declare class Arc200Client {
|
|
|
1106
1102
|
arc200Allowance: (params: CallParams<Arc200Args["obj"]["arc200_allowance(address,address)uint256"] | Arc200Args["tuple"]["arc200_allowance(address,address)uint256"]> & SendParams & {
|
|
1107
1103
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1108
1104
|
}) => Promise<{
|
|
1109
|
-
return: undefined | Arc200Returns["arc200_allowance(address,address)uint256"];
|
|
1105
|
+
return: (undefined | Arc200Returns["arc200_allowance(address,address)uint256"]);
|
|
1110
1106
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1111
1107
|
groupId: string;
|
|
1112
1108
|
txIds: string[];
|
|
@@ -1377,13 +1373,13 @@ type Arc200Composer<TReturns extends [...any[]] = []> = {
|
|
|
1377
1373
|
* Simulates the transaction group and returns the result
|
|
1378
1374
|
*/
|
|
1379
1375
|
simulate(): Promise<Arc200ComposerResults<TReturns> & {
|
|
1380
|
-
simulateResponse: SimulateResponse;
|
|
1376
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1381
1377
|
}>;
|
|
1382
1378
|
simulate(options: SkipSignaturesSimulateOptions): Promise<Arc200ComposerResults<TReturns> & {
|
|
1383
|
-
simulateResponse: SimulateResponse;
|
|
1379
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1384
1380
|
}>;
|
|
1385
1381
|
simulate(options: RawSimulateOptions): Promise<Arc200ComposerResults<TReturns> & {
|
|
1386
|
-
simulateResponse: SimulateResponse;
|
|
1382
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1387
1383
|
}>;
|
|
1388
1384
|
/**
|
|
1389
1385
|
* Sends the transaction group to the network and returns the results
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ import { Address, OnApplicationComplete, Transaction, TransactionSigner, modelsv
|
|
|
14
14
|
import { AlgorandClient } from '@algorandfoundation/algokit-utils/types/algorand-client';
|
|
15
15
|
import { AppClient, AppClientParams, ResolveAppClientByCreatorAndName, ResolveAppClientByNetwork, AppClientBareCallParams, AppClientMethodCallParams, CloneAppClientParams, AppClientCompilationParams } from '@algorandfoundation/algokit-utils/types/app-client';
|
|
16
16
|
import { AppFactory, AppFactoryParams, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory';
|
|
17
|
-
import { SimulateResponse } from 'algosdk/dist/types/client/v2/algod/models/types';
|
|
18
17
|
import { AlgorandClient as AlgorandClient$1 } from '@algorandfoundation/algokit-utils';
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -102,12 +101,7 @@ type Arc200Args = {
|
|
|
102
101
|
* The tuple representation of the arguments for each method
|
|
103
102
|
*/
|
|
104
103
|
tuple: {
|
|
105
|
-
'bootstrap(byte[],byte[],uint8,uint256)bool': [
|
|
106
|
-
name: Uint8Array,
|
|
107
|
-
symbol: Uint8Array,
|
|
108
|
-
decimals: bigint | number,
|
|
109
|
-
totalSupply: bigint | number
|
|
110
|
-
];
|
|
104
|
+
'bootstrap(byte[],byte[],uint8,uint256)bool': [name: Uint8Array, symbol: Uint8Array, decimals: bigint | number, totalSupply: bigint | number];
|
|
111
105
|
'arc200_name()byte[32]': [];
|
|
112
106
|
'arc200_symbol()byte[8]': [];
|
|
113
107
|
'arc200_decimals()uint8': [];
|
|
@@ -454,6 +448,7 @@ declare class Arc200Factory {
|
|
|
454
448
|
note?: string | Uint8Array | undefined;
|
|
455
449
|
args?: Uint8Array[] | undefined;
|
|
456
450
|
signer?: TransactionSigner | _algorandfoundation_algokit_utils_types_account.TransactionSignerAccount | undefined;
|
|
451
|
+
rejectVersion?: number | undefined;
|
|
457
452
|
lease?: string | Uint8Array | undefined;
|
|
458
453
|
rekeyTo?: string | Address | undefined;
|
|
459
454
|
staticFee?: _algorandfoundation_algokit_utils_types_amount.AlgoAmount | undefined;
|
|
@@ -465,6 +460,7 @@ declare class Arc200Factory {
|
|
|
465
460
|
appReferences?: bigint[] | undefined;
|
|
466
461
|
assetReferences?: bigint[] | undefined;
|
|
467
462
|
boxReferences?: (_algorandfoundation_algokit_utils_types_app_manager.BoxIdentifier | _algorandfoundation_algokit_utils_types_app_manager.BoxReference)[] | undefined;
|
|
463
|
+
accessReferences?: _algorandfoundation_algokit_utils_types_app_manager.ResourceReference[] | undefined;
|
|
468
464
|
sender?: string | Address | undefined;
|
|
469
465
|
updatable?: boolean | undefined;
|
|
470
466
|
deletable?: boolean | undefined;
|
|
@@ -914,7 +910,7 @@ declare class Arc200Client {
|
|
|
914
910
|
bootstrap: (params: CallParams<Arc200Args["obj"]["bootstrap(byte[],byte[],uint8,uint256)bool"] | Arc200Args["tuple"]["bootstrap(byte[],byte[],uint8,uint256)bool"]> & SendParams & {
|
|
915
911
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
916
912
|
}) => Promise<{
|
|
917
|
-
return: undefined | Arc200Returns["bootstrap(byte[],byte[],uint8,uint256)bool"];
|
|
913
|
+
return: (undefined | Arc200Returns["bootstrap(byte[],byte[],uint8,uint256)bool"]);
|
|
918
914
|
returns?: ABIReturn[] | undefined | undefined;
|
|
919
915
|
groupId: string;
|
|
920
916
|
txIds: string[];
|
|
@@ -936,7 +932,7 @@ declare class Arc200Client {
|
|
|
936
932
|
arc200Name: (params?: CallParams<Arc200Args["obj"]["arc200_name()byte[32]"] | Arc200Args["tuple"]["arc200_name()byte[32]"]> & SendParams & {
|
|
937
933
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
938
934
|
}) => Promise<{
|
|
939
|
-
return: undefined | Arc200Returns["arc200_name()byte[32]"];
|
|
935
|
+
return: (undefined | Arc200Returns["arc200_name()byte[32]"]);
|
|
940
936
|
returns?: ABIReturn[] | undefined | undefined;
|
|
941
937
|
groupId: string;
|
|
942
938
|
txIds: string[];
|
|
@@ -958,7 +954,7 @@ declare class Arc200Client {
|
|
|
958
954
|
arc200Symbol: (params?: CallParams<Arc200Args["obj"]["arc200_symbol()byte[8]"] | Arc200Args["tuple"]["arc200_symbol()byte[8]"]> & SendParams & {
|
|
959
955
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
960
956
|
}) => Promise<{
|
|
961
|
-
return: undefined | Arc200Returns["arc200_symbol()byte[8]"];
|
|
957
|
+
return: (undefined | Arc200Returns["arc200_symbol()byte[8]"]);
|
|
962
958
|
returns?: ABIReturn[] | undefined | undefined;
|
|
963
959
|
groupId: string;
|
|
964
960
|
txIds: string[];
|
|
@@ -980,7 +976,7 @@ declare class Arc200Client {
|
|
|
980
976
|
arc200Decimals: (params?: CallParams<Arc200Args["obj"]["arc200_decimals()uint8"] | Arc200Args["tuple"]["arc200_decimals()uint8"]> & SendParams & {
|
|
981
977
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
982
978
|
}) => Promise<{
|
|
983
|
-
return: undefined | Arc200Returns["arc200_decimals()uint8"];
|
|
979
|
+
return: (undefined | Arc200Returns["arc200_decimals()uint8"]);
|
|
984
980
|
returns?: ABIReturn[] | undefined | undefined;
|
|
985
981
|
groupId: string;
|
|
986
982
|
txIds: string[];
|
|
@@ -1002,7 +998,7 @@ declare class Arc200Client {
|
|
|
1002
998
|
arc200TotalSupply: (params?: CallParams<Arc200Args["obj"]["arc200_totalSupply()uint256"] | Arc200Args["tuple"]["arc200_totalSupply()uint256"]> & SendParams & {
|
|
1003
999
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1004
1000
|
}) => Promise<{
|
|
1005
|
-
return: undefined | Arc200Returns["arc200_totalSupply()uint256"];
|
|
1001
|
+
return: (undefined | Arc200Returns["arc200_totalSupply()uint256"]);
|
|
1006
1002
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1007
1003
|
groupId: string;
|
|
1008
1004
|
txIds: string[];
|
|
@@ -1024,7 +1020,7 @@ declare class Arc200Client {
|
|
|
1024
1020
|
arc200BalanceOf: (params: CallParams<Arc200Args["obj"]["arc200_balanceOf(address)uint256"] | Arc200Args["tuple"]["arc200_balanceOf(address)uint256"]> & SendParams & {
|
|
1025
1021
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1026
1022
|
}) => Promise<{
|
|
1027
|
-
return: undefined | Arc200Returns["arc200_balanceOf(address)uint256"];
|
|
1023
|
+
return: (undefined | Arc200Returns["arc200_balanceOf(address)uint256"]);
|
|
1028
1024
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1029
1025
|
groupId: string;
|
|
1030
1026
|
txIds: string[];
|
|
@@ -1044,7 +1040,7 @@ declare class Arc200Client {
|
|
|
1044
1040
|
arc200Transfer: (params: CallParams<Arc200Args["obj"]["arc200_transfer(address,uint256)bool"] | Arc200Args["tuple"]["arc200_transfer(address,uint256)bool"]> & SendParams & {
|
|
1045
1041
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1046
1042
|
}) => Promise<{
|
|
1047
|
-
return: undefined | Arc200Returns["arc200_transfer(address,uint256)bool"];
|
|
1043
|
+
return: (undefined | Arc200Returns["arc200_transfer(address,uint256)bool"]);
|
|
1048
1044
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1049
1045
|
groupId: string;
|
|
1050
1046
|
txIds: string[];
|
|
@@ -1064,7 +1060,7 @@ declare class Arc200Client {
|
|
|
1064
1060
|
arc200TransferFrom: (params: CallParams<Arc200Args["obj"]["arc200_transferFrom(address,address,uint256)bool"] | Arc200Args["tuple"]["arc200_transferFrom(address,address,uint256)bool"]> & SendParams & {
|
|
1065
1061
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1066
1062
|
}) => Promise<{
|
|
1067
|
-
return: undefined | Arc200Returns["arc200_transferFrom(address,address,uint256)bool"];
|
|
1063
|
+
return: (undefined | Arc200Returns["arc200_transferFrom(address,address,uint256)bool"]);
|
|
1068
1064
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1069
1065
|
groupId: string;
|
|
1070
1066
|
txIds: string[];
|
|
@@ -1084,7 +1080,7 @@ declare class Arc200Client {
|
|
|
1084
1080
|
arc200Approve: (params: CallParams<Arc200Args["obj"]["arc200_approve(address,uint256)bool"] | Arc200Args["tuple"]["arc200_approve(address,uint256)bool"]> & SendParams & {
|
|
1085
1081
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1086
1082
|
}) => Promise<{
|
|
1087
|
-
return: undefined | Arc200Returns["arc200_approve(address,uint256)bool"];
|
|
1083
|
+
return: (undefined | Arc200Returns["arc200_approve(address,uint256)bool"]);
|
|
1088
1084
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1089
1085
|
groupId: string;
|
|
1090
1086
|
txIds: string[];
|
|
@@ -1106,7 +1102,7 @@ declare class Arc200Client {
|
|
|
1106
1102
|
arc200Allowance: (params: CallParams<Arc200Args["obj"]["arc200_allowance(address,address)uint256"] | Arc200Args["tuple"]["arc200_allowance(address,address)uint256"]> & SendParams & {
|
|
1107
1103
|
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1108
1104
|
}) => Promise<{
|
|
1109
|
-
return: undefined | Arc200Returns["arc200_allowance(address,address)uint256"];
|
|
1105
|
+
return: (undefined | Arc200Returns["arc200_allowance(address,address)uint256"]);
|
|
1110
1106
|
returns?: ABIReturn[] | undefined | undefined;
|
|
1111
1107
|
groupId: string;
|
|
1112
1108
|
txIds: string[];
|
|
@@ -1377,13 +1373,13 @@ type Arc200Composer<TReturns extends [...any[]] = []> = {
|
|
|
1377
1373
|
* Simulates the transaction group and returns the result
|
|
1378
1374
|
*/
|
|
1379
1375
|
simulate(): Promise<Arc200ComposerResults<TReturns> & {
|
|
1380
|
-
simulateResponse: SimulateResponse;
|
|
1376
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1381
1377
|
}>;
|
|
1382
1378
|
simulate(options: SkipSignaturesSimulateOptions): Promise<Arc200ComposerResults<TReturns> & {
|
|
1383
|
-
simulateResponse: SimulateResponse;
|
|
1379
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1384
1380
|
}>;
|
|
1385
1381
|
simulate(options: RawSimulateOptions): Promise<Arc200ComposerResults<TReturns> & {
|
|
1386
|
-
simulateResponse: SimulateResponse;
|
|
1382
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
1387
1383
|
}>;
|
|
1388
1384
|
/**
|
|
1389
1385
|
* Sends the transaction group to the network and returns the results
|