@algorandfoundation/algokit-utils 10.0.0-alpha.4 → 10.0.0-alpha.6

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.
Files changed (84) hide show
  1. package/algod-client/index.d.ts +1 -4
  2. package/package.json +1 -1
  3. package/packages/algod_client/src/models/application-state-schema.d.ts +2 -2
  4. package/packages/algod_client/src/models/application-state-schema.js +2 -2
  5. package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
  6. package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
  7. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -1
  8. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.d.ts +3 -5
  9. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js +4 -6
  10. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js.map +1 -1
  11. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs +3 -5
  12. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs.map +1 -1
  13. package/packages/indexer_client/src/models/application-state-schema.d.ts +2 -2
  14. package/packages/indexer_client/src/models/application-state-schema.js +2 -2
  15. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
  16. package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
  17. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
  18. package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
  19. package/packages/indexer_client/src/models/state-schema.js +2 -2
  20. package/packages/indexer_client/src/models/state-schema.js.map +1 -1
  21. package/packages/indexer_client/src/models/state-schema.mjs +2 -2
  22. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
  23. package/packages/indexer_client/src/models/transaction.d.ts +2 -2
  24. package/packages/indexer_client/src/models/transaction.js +2 -2
  25. package/packages/indexer_client/src/models/transaction.js.map +1 -1
  26. package/packages/indexer_client/src/models/transaction.mjs +2 -2
  27. package/packages/indexer_client/src/models/transaction.mjs.map +1 -1
  28. package/packages/transact/src/multisig.d.ts +2 -2
  29. package/packages/transact/src/multisig.js +15 -15
  30. package/packages/transact/src/multisig.js.map +1 -1
  31. package/packages/transact/src/multisig.mjs +15 -15
  32. package/packages/transact/src/multisig.mjs.map +1 -1
  33. package/packages/transact/src/transactions/app-call.d.ts +8 -8
  34. package/packages/transact/src/transactions/app-call.js.map +1 -1
  35. package/packages/transact/src/transactions/app-call.mjs.map +1 -1
  36. package/packages/transact/src/transactions/reference-types-meta.d.ts +26 -0
  37. package/packages/transact/src/transactions/reference-types-meta.js +71 -0
  38. package/packages/transact/src/transactions/reference-types-meta.js.map +1 -0
  39. package/packages/transact/src/transactions/reference-types-meta.mjs +69 -0
  40. package/packages/transact/src/transactions/reference-types-meta.mjs.map +1 -0
  41. package/packages/transact/src/transactions/transaction-meta.js +22 -22
  42. package/packages/transact/src/transactions/transaction-meta.js.map +1 -1
  43. package/packages/transact/src/transactions/transaction-meta.mjs +22 -22
  44. package/packages/transact/src/transactions/transaction-meta.mjs.map +1 -1
  45. package/transact/index.d.ts +3 -2
  46. package/transact/index.js +4 -0
  47. package/transact/index.mjs +2 -1
  48. package/transactions/app-call.d.ts +2 -2
  49. package/transactions/app-call.js +15 -15
  50. package/transactions/app-call.js.map +1 -1
  51. package/transactions/app-call.mjs +15 -15
  52. package/transactions/app-call.mjs.map +1 -1
  53. package/transactions/asset-config.d.ts +1 -1
  54. package/transactions/asset-config.js +1 -1
  55. package/transactions/asset-config.js.map +1 -1
  56. package/transactions/asset-config.mjs +1 -1
  57. package/transactions/asset-config.mjs.map +1 -1
  58. package/types/algorand-client-transaction-creator.d.ts +72 -72
  59. package/types/algorand-client-transaction-sender.d.ts +75 -75
  60. package/types/app-client.d.ts +115 -115
  61. package/types/app-factory.d.ts +64 -64
  62. package/types/app-manager.js +5 -5
  63. package/types/app-manager.js.map +1 -1
  64. package/types/app-manager.mjs +5 -5
  65. package/types/app-manager.mjs.map +1 -1
  66. package/types/composer.js +3 -3
  67. package/types/composer.js.map +1 -1
  68. package/types/composer.mjs +3 -3
  69. package/types/composer.mjs.map +1 -1
  70. package/packages/algod_client/src/models/application-local-reference.d.ts +0 -20
  71. package/packages/algod_client/src/models/application-local-reference.js +0 -23
  72. package/packages/algod_client/src/models/application-local-reference.js.map +0 -1
  73. package/packages/algod_client/src/models/application-local-reference.mjs +0 -23
  74. package/packages/algod_client/src/models/application-local-reference.mjs.map +0 -1
  75. package/packages/algod_client/src/models/asset-holding-reference.d.ts +0 -20
  76. package/packages/algod_client/src/models/asset-holding-reference.js +0 -23
  77. package/packages/algod_client/src/models/asset-holding-reference.js.map +0 -1
  78. package/packages/algod_client/src/models/asset-holding-reference.mjs +0 -23
  79. package/packages/algod_client/src/models/asset-holding-reference.mjs.map +0 -1
  80. package/packages/algod_client/src/models/box-reference.d.ts +0 -17
  81. package/packages/algod_client/src/models/box-reference.js +0 -23
  82. package/packages/algod_client/src/models/box-reference.js.map +0 -1
  83. package/packages/algod_client/src/models/box-reference.mjs +0 -23
  84. package/packages/algod_client/src/models/box-reference.mjs.map +0 -1
@@ -3,7 +3,7 @@ import { ABIValue } from "../packages/abi/src/abi-value.js";
3
3
  import { Arc56Contract, ProgramSourceInfo } from "../packages/abi/src/arc56-contract.js";
4
4
  import { ABIType } from "../packages/abi/src/abi-type.js";
5
5
  import { ABIMethod, ABIReturn } from "../packages/abi/src/abi-method.js";
6
- import { AccessReference, OnApplicationComplete } from "../packages/transact/src/transactions/app-call.js";
6
+ import { OnApplicationComplete, ResourceReference } from "../packages/transact/src/transactions/app-call.js";
7
7
  import { Transaction } from "../packages/transact/src/transactions/transaction.js";
8
8
  import { AddressWithTransactionSigner, SendingAddress, TransactionSigner } from "../packages/transact/src/signer.js";
9
9
  import { PendingTransactionResponse } from "../packages/algod_client/src/models/pending-transaction-response.js";
@@ -444,7 +444,7 @@ declare class AppClient {
444
444
  appReferences?: bigint[] | undefined;
445
445
  assetReferences?: bigint[] | undefined;
446
446
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
447
- accessReferences?: AccessReference[] | undefined;
447
+ accessReferences?: ResourceReference[] | undefined;
448
448
  rejectVersion?: number | undefined;
449
449
  sender?: ReadableAddress | undefined;
450
450
  method: string;
@@ -471,7 +471,7 @@ declare class AppClient {
471
471
  appReferences?: bigint[] | undefined;
472
472
  assetReferences?: bigint[] | undefined;
473
473
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
474
- accessReferences?: AccessReference[] | undefined;
474
+ accessReferences?: ResourceReference[] | undefined;
475
475
  rejectVersion?: number | undefined;
476
476
  sender?: ReadableAddress | undefined;
477
477
  method: string;
@@ -489,8 +489,8 @@ declare class AppClient {
489
489
  method: ABIMethod;
490
490
  onComplete: OnApplicationComplete.UpdateApplication;
491
491
  args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
492
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
493
492
  sender: SendingAddress;
493
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
494
494
  rekeyTo?: ReadableAddress | undefined;
495
495
  note?: string | Uint8Array | undefined;
496
496
  lease?: string | Uint8Array | undefined;
@@ -500,26 +500,20 @@ declare class AppClient {
500
500
  validityWindow?: number | bigint | undefined;
501
501
  firstValidRound?: bigint | undefined;
502
502
  lastValidRound?: bigint | undefined;
503
+ appId: bigint;
504
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
503
505
  args?: Uint8Array[] | undefined;
504
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
505
506
  accountReferences?: ReadableAddress[] | undefined;
506
507
  appReferences?: bigint[] | undefined;
507
508
  assetReferences?: bigint[] | undefined;
508
509
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
509
- accessReferences?: AccessReference[] | undefined;
510
+ accessReferences?: ResourceReference[] | undefined;
510
511
  rejectVersion?: number | undefined;
511
512
  approvalProgram: string | Uint8Array;
512
513
  clearStateProgram: string | Uint8Array;
513
- schema?: {
514
- globalInts: number;
515
- globalByteSlices: number;
516
- localInts: number;
517
- localByteSlices: number;
518
- } | undefined;
519
- extraProgramPages?: number | undefined;
520
514
  }> | AppMethodCall<{
521
- sender: SendingAddress;
522
515
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
516
+ sender: SendingAddress;
523
517
  rekeyTo?: ReadableAddress | undefined;
524
518
  note?: string | Uint8Array | undefined;
525
519
  lease?: string | Uint8Array | undefined;
@@ -529,18 +523,24 @@ declare class AppClient {
529
523
  validityWindow?: number | bigint | undefined;
530
524
  firstValidRound?: bigint | undefined;
531
525
  lastValidRound?: bigint | undefined;
532
- appId: bigint;
533
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
526
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
534
527
  args?: Uint8Array[] | undefined;
535
528
  accountReferences?: ReadableAddress[] | undefined;
536
529
  appReferences?: bigint[] | undefined;
537
530
  assetReferences?: bigint[] | undefined;
538
531
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
539
- accessReferences?: AccessReference[] | undefined;
532
+ accessReferences?: ResourceReference[] | undefined;
540
533
  rejectVersion?: number | undefined;
541
534
  approvalProgram: string | Uint8Array;
542
535
  clearStateProgram: string | Uint8Array;
543
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
536
+ schema?: {
537
+ globalInts: number;
538
+ globalByteSlices: number;
539
+ localInts: number;
540
+ localByteSlices: number;
541
+ } | undefined;
542
+ extraProgramPages?: number | undefined;
543
+ }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
544
544
  }>;
545
545
  /**
546
546
  * Return params for an opt-in ABI call
@@ -563,7 +563,7 @@ declare class AppClient {
563
563
  appReferences?: bigint[] | undefined;
564
564
  assetReferences?: bigint[] | undefined;
565
565
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
566
- accessReferences?: AccessReference[] | undefined;
566
+ accessReferences?: ResourceReference[] | undefined;
567
567
  rejectVersion?: number | undefined;
568
568
  sender?: ReadableAddress | undefined;
569
569
  method: string;
@@ -586,12 +586,12 @@ declare class AppClient {
586
586
  appReferences?: bigint[] | undefined;
587
587
  assetReferences?: bigint[] | undefined;
588
588
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
589
- accessReferences?: AccessReference[] | undefined;
589
+ accessReferences?: ResourceReference[] | undefined;
590
590
  rejectVersion?: number | undefined;
591
591
  method: ABIMethod;
592
592
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
593
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
594
593
  sender: SendingAddress;
594
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
595
595
  rekeyTo?: ReadableAddress | undefined;
596
596
  note?: string | Uint8Array | undefined;
597
597
  lease?: string | Uint8Array | undefined;
@@ -601,26 +601,20 @@ declare class AppClient {
601
601
  validityWindow?: number | bigint | undefined;
602
602
  firstValidRound?: bigint | undefined;
603
603
  lastValidRound?: bigint | undefined;
604
+ appId: bigint;
605
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
604
606
  args?: Uint8Array[] | undefined;
605
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
606
607
  accountReferences?: ReadableAddress[] | undefined;
607
608
  appReferences?: bigint[] | undefined;
608
609
  assetReferences?: bigint[] | undefined;
609
610
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
610
- accessReferences?: AccessReference[] | undefined;
611
+ accessReferences?: ResourceReference[] | undefined;
611
612
  rejectVersion?: number | undefined;
612
613
  approvalProgram: string | Uint8Array;
613
614
  clearStateProgram: string | Uint8Array;
614
- schema?: {
615
- globalInts: number;
616
- globalByteSlices: number;
617
- localInts: number;
618
- localByteSlices: number;
619
- } | undefined;
620
- extraProgramPages?: number | undefined;
621
615
  }> | AppMethodCall<{
622
- sender: SendingAddress;
623
616
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
617
+ sender: SendingAddress;
624
618
  rekeyTo?: ReadableAddress | undefined;
625
619
  note?: string | Uint8Array | undefined;
626
620
  lease?: string | Uint8Array | undefined;
@@ -630,18 +624,24 @@ declare class AppClient {
630
624
  validityWindow?: number | bigint | undefined;
631
625
  firstValidRound?: bigint | undefined;
632
626
  lastValidRound?: bigint | undefined;
633
- appId: bigint;
634
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
627
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
635
628
  args?: Uint8Array[] | undefined;
636
629
  accountReferences?: ReadableAddress[] | undefined;
637
630
  appReferences?: bigint[] | undefined;
638
631
  assetReferences?: bigint[] | undefined;
639
632
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
640
- accessReferences?: AccessReference[] | undefined;
633
+ accessReferences?: ResourceReference[] | undefined;
641
634
  rejectVersion?: number | undefined;
642
635
  approvalProgram: string | Uint8Array;
643
636
  clearStateProgram: string | Uint8Array;
644
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
637
+ schema?: {
638
+ globalInts: number;
639
+ globalByteSlices: number;
640
+ localInts: number;
641
+ localByteSlices: number;
642
+ } | undefined;
643
+ extraProgramPages?: number | undefined;
644
+ }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
645
645
  }>;
646
646
  /**
647
647
  * Return params for an delete ABI call
@@ -664,7 +664,7 @@ declare class AppClient {
664
664
  appReferences?: bigint[] | undefined;
665
665
  assetReferences?: bigint[] | undefined;
666
666
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
667
- accessReferences?: AccessReference[] | undefined;
667
+ accessReferences?: ResourceReference[] | undefined;
668
668
  rejectVersion?: number | undefined;
669
669
  sender?: ReadableAddress | undefined;
670
670
  method: string;
@@ -687,12 +687,12 @@ declare class AppClient {
687
687
  appReferences?: bigint[] | undefined;
688
688
  assetReferences?: bigint[] | undefined;
689
689
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
690
- accessReferences?: AccessReference[] | undefined;
690
+ accessReferences?: ResourceReference[] | undefined;
691
691
  rejectVersion?: number | undefined;
692
692
  method: ABIMethod;
693
693
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
694
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
695
694
  sender: SendingAddress;
695
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
696
696
  rekeyTo?: ReadableAddress | undefined;
697
697
  note?: string | Uint8Array | undefined;
698
698
  lease?: string | Uint8Array | undefined;
@@ -702,26 +702,20 @@ declare class AppClient {
702
702
  validityWindow?: number | bigint | undefined;
703
703
  firstValidRound?: bigint | undefined;
704
704
  lastValidRound?: bigint | undefined;
705
+ appId: bigint;
706
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
705
707
  args?: Uint8Array[] | undefined;
706
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
707
708
  accountReferences?: ReadableAddress[] | undefined;
708
709
  appReferences?: bigint[] | undefined;
709
710
  assetReferences?: bigint[] | undefined;
710
711
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
711
- accessReferences?: AccessReference[] | undefined;
712
+ accessReferences?: ResourceReference[] | undefined;
712
713
  rejectVersion?: number | undefined;
713
714
  approvalProgram: string | Uint8Array;
714
715
  clearStateProgram: string | Uint8Array;
715
- schema?: {
716
- globalInts: number;
717
- globalByteSlices: number;
718
- localInts: number;
719
- localByteSlices: number;
720
- } | undefined;
721
- extraProgramPages?: number | undefined;
722
716
  }> | AppMethodCall<{
723
- sender: SendingAddress;
724
717
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
718
+ sender: SendingAddress;
725
719
  rekeyTo?: ReadableAddress | undefined;
726
720
  note?: string | Uint8Array | undefined;
727
721
  lease?: string | Uint8Array | undefined;
@@ -731,18 +725,24 @@ declare class AppClient {
731
725
  validityWindow?: number | bigint | undefined;
732
726
  firstValidRound?: bigint | undefined;
733
727
  lastValidRound?: bigint | undefined;
734
- appId: bigint;
735
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
728
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
736
729
  args?: Uint8Array[] | undefined;
737
730
  accountReferences?: ReadableAddress[] | undefined;
738
731
  appReferences?: bigint[] | undefined;
739
732
  assetReferences?: bigint[] | undefined;
740
733
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
741
- accessReferences?: AccessReference[] | undefined;
734
+ accessReferences?: ResourceReference[] | undefined;
742
735
  rejectVersion?: number | undefined;
743
736
  approvalProgram: string | Uint8Array;
744
737
  clearStateProgram: string | Uint8Array;
745
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
738
+ schema?: {
739
+ globalInts: number;
740
+ globalByteSlices: number;
741
+ localInts: number;
742
+ localByteSlices: number;
743
+ } | undefined;
744
+ extraProgramPages?: number | undefined;
745
+ }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
746
746
  }>;
747
747
  /** Return params for an close out ABI call
748
748
  * @param params The parameters for the close out ABI method call
@@ -764,7 +764,7 @@ declare class AppClient {
764
764
  appReferences?: bigint[] | undefined;
765
765
  assetReferences?: bigint[] | undefined;
766
766
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
767
- accessReferences?: AccessReference[] | undefined;
767
+ accessReferences?: ResourceReference[] | undefined;
768
768
  rejectVersion?: number | undefined;
769
769
  sender?: ReadableAddress | undefined;
770
770
  method: string;
@@ -787,12 +787,12 @@ declare class AppClient {
787
787
  appReferences?: bigint[] | undefined;
788
788
  assetReferences?: bigint[] | undefined;
789
789
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
790
- accessReferences?: AccessReference[] | undefined;
790
+ accessReferences?: ResourceReference[] | undefined;
791
791
  rejectVersion?: number | undefined;
792
792
  method: ABIMethod;
793
793
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
794
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
795
794
  sender: SendingAddress;
795
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
796
796
  rekeyTo?: ReadableAddress | undefined;
797
797
  note?: string | Uint8Array | undefined;
798
798
  lease?: string | Uint8Array | undefined;
@@ -802,26 +802,20 @@ declare class AppClient {
802
802
  validityWindow?: number | bigint | undefined;
803
803
  firstValidRound?: bigint | undefined;
804
804
  lastValidRound?: bigint | undefined;
805
+ appId: bigint;
806
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
805
807
  args?: Uint8Array[] | undefined;
806
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
807
808
  accountReferences?: ReadableAddress[] | undefined;
808
809
  appReferences?: bigint[] | undefined;
809
810
  assetReferences?: bigint[] | undefined;
810
811
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
811
- accessReferences?: AccessReference[] | undefined;
812
+ accessReferences?: ResourceReference[] | undefined;
812
813
  rejectVersion?: number | undefined;
813
814
  approvalProgram: string | Uint8Array;
814
815
  clearStateProgram: string | Uint8Array;
815
- schema?: {
816
- globalInts: number;
817
- globalByteSlices: number;
818
- localInts: number;
819
- localByteSlices: number;
820
- } | undefined;
821
- extraProgramPages?: number | undefined;
822
816
  }> | AppMethodCall<{
823
- sender: SendingAddress;
824
817
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
818
+ sender: SendingAddress;
825
819
  rekeyTo?: ReadableAddress | undefined;
826
820
  note?: string | Uint8Array | undefined;
827
821
  lease?: string | Uint8Array | undefined;
@@ -831,18 +825,24 @@ declare class AppClient {
831
825
  validityWindow?: number | bigint | undefined;
832
826
  firstValidRound?: bigint | undefined;
833
827
  lastValidRound?: bigint | undefined;
834
- appId: bigint;
835
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
828
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
836
829
  args?: Uint8Array[] | undefined;
837
830
  accountReferences?: ReadableAddress[] | undefined;
838
831
  appReferences?: bigint[] | undefined;
839
832
  assetReferences?: bigint[] | undefined;
840
833
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
841
- accessReferences?: AccessReference[] | undefined;
834
+ accessReferences?: ResourceReference[] | undefined;
842
835
  rejectVersion?: number | undefined;
843
836
  approvalProgram: string | Uint8Array;
844
837
  clearStateProgram: string | Uint8Array;
845
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
838
+ schema?: {
839
+ globalInts: number;
840
+ globalByteSlices: number;
841
+ localInts: number;
842
+ localByteSlices: number;
843
+ } | undefined;
844
+ extraProgramPages?: number | undefined;
845
+ }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
846
846
  }>;
847
847
  /** Return params for an ABI call
848
848
  * @param params The parameters for the ABI method call
@@ -864,7 +864,7 @@ declare class AppClient {
864
864
  appReferences?: bigint[] | undefined;
865
865
  assetReferences?: bigint[] | undefined;
866
866
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
867
- accessReferences?: AccessReference[] | undefined;
867
+ accessReferences?: ResourceReference[] | undefined;
868
868
  rejectVersion?: number | undefined;
869
869
  sender?: ReadableAddress | undefined;
870
870
  method: string;
@@ -887,12 +887,12 @@ declare class AppClient {
887
887
  appReferences?: bigint[] | undefined;
888
888
  assetReferences?: bigint[] | undefined;
889
889
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
890
- accessReferences?: AccessReference[] | undefined;
890
+ accessReferences?: ResourceReference[] | undefined;
891
891
  rejectVersion?: number | undefined;
892
892
  method: ABIMethod;
893
893
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
894
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
895
894
  sender: SendingAddress;
895
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
896
896
  rekeyTo?: ReadableAddress | undefined;
897
897
  note?: string | Uint8Array | undefined;
898
898
  lease?: string | Uint8Array | undefined;
@@ -902,26 +902,20 @@ declare class AppClient {
902
902
  validityWindow?: number | bigint | undefined;
903
903
  firstValidRound?: bigint | undefined;
904
904
  lastValidRound?: bigint | undefined;
905
+ appId: bigint;
906
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
905
907
  args?: Uint8Array[] | undefined;
906
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
907
908
  accountReferences?: ReadableAddress[] | undefined;
908
909
  appReferences?: bigint[] | undefined;
909
910
  assetReferences?: bigint[] | undefined;
910
911
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
911
- accessReferences?: AccessReference[] | undefined;
912
+ accessReferences?: ResourceReference[] | undefined;
912
913
  rejectVersion?: number | undefined;
913
914
  approvalProgram: string | Uint8Array;
914
915
  clearStateProgram: string | Uint8Array;
915
- schema?: {
916
- globalInts: number;
917
- globalByteSlices: number;
918
- localInts: number;
919
- localByteSlices: number;
920
- } | undefined;
921
- extraProgramPages?: number | undefined;
922
916
  }> | AppMethodCall<{
923
- sender: SendingAddress;
924
917
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
918
+ sender: SendingAddress;
925
919
  rekeyTo?: ReadableAddress | undefined;
926
920
  note?: string | Uint8Array | undefined;
927
921
  lease?: string | Uint8Array | undefined;
@@ -931,18 +925,24 @@ declare class AppClient {
931
925
  validityWindow?: number | bigint | undefined;
932
926
  firstValidRound?: bigint | undefined;
933
927
  lastValidRound?: bigint | undefined;
934
- appId: bigint;
935
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
928
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
936
929
  args?: Uint8Array[] | undefined;
937
930
  accountReferences?: ReadableAddress[] | undefined;
938
931
  appReferences?: bigint[] | undefined;
939
932
  assetReferences?: bigint[] | undefined;
940
933
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
941
- accessReferences?: AccessReference[] | undefined;
934
+ accessReferences?: ResourceReference[] | undefined;
942
935
  rejectVersion?: number | undefined;
943
936
  approvalProgram: string | Uint8Array;
944
937
  clearStateProgram: string | Uint8Array;
945
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
938
+ schema?: {
939
+ globalInts: number;
940
+ globalByteSlices: number;
941
+ localInts: number;
942
+ localByteSlices: number;
943
+ } | undefined;
944
+ extraProgramPages?: number | undefined;
945
+ }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
946
946
  }>;
947
947
  } & {
948
948
  /** Interact with bare (raw) call parameters */bare: {
@@ -963,7 +963,7 @@ declare class AppClient {
963
963
  appReferences?: bigint[] | undefined;
964
964
  assetReferences?: bigint[] | undefined;
965
965
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
966
- accessReferences?: AccessReference[] | undefined;
966
+ accessReferences?: ResourceReference[] | undefined;
967
967
  rejectVersion?: number | undefined;
968
968
  sender?: ReadableAddress | undefined;
969
969
  } & AppClientCompilationParams) | undefined) => Promise<{
@@ -985,7 +985,7 @@ declare class AppClient {
985
985
  appReferences?: bigint[] | undefined;
986
986
  assetReferences?: bigint[] | undefined;
987
987
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
988
- accessReferences?: AccessReference[] | undefined;
988
+ accessReferences?: ResourceReference[] | undefined;
989
989
  rejectVersion?: number | undefined;
990
990
  approvalProgram: string | Uint8Array;
991
991
  clearStateProgram: string | Uint8Array;
@@ -1007,7 +1007,7 @@ declare class AppClient {
1007
1007
  appReferences?: bigint[] | undefined;
1008
1008
  assetReferences?: bigint[] | undefined;
1009
1009
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1010
- accessReferences?: AccessReference[] | undefined;
1010
+ accessReferences?: ResourceReference[] | undefined;
1011
1011
  rejectVersion?: number | undefined;
1012
1012
  sender?: ReadableAddress | undefined;
1013
1013
  } | undefined) => AppCallParams;
@@ -1028,7 +1028,7 @@ declare class AppClient {
1028
1028
  appReferences?: bigint[] | undefined;
1029
1029
  assetReferences?: bigint[] | undefined;
1030
1030
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1031
- accessReferences?: AccessReference[] | undefined;
1031
+ accessReferences?: ResourceReference[] | undefined;
1032
1032
  rejectVersion?: number | undefined;
1033
1033
  sender?: ReadableAddress | undefined;
1034
1034
  } | undefined) => AppDeleteParams;
@@ -1049,7 +1049,7 @@ declare class AppClient {
1049
1049
  appReferences?: bigint[] | undefined;
1050
1050
  assetReferences?: bigint[] | undefined;
1051
1051
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1052
- accessReferences?: AccessReference[] | undefined;
1052
+ accessReferences?: ResourceReference[] | undefined;
1053
1053
  rejectVersion?: number | undefined;
1054
1054
  sender?: ReadableAddress | undefined;
1055
1055
  } | undefined) => AppCallParams;
@@ -1070,7 +1070,7 @@ declare class AppClient {
1070
1070
  appReferences?: bigint[] | undefined;
1071
1071
  assetReferences?: bigint[] | undefined;
1072
1072
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1073
- accessReferences?: AccessReference[] | undefined;
1073
+ accessReferences?: ResourceReference[] | undefined;
1074
1074
  rejectVersion?: number | undefined;
1075
1075
  sender?: ReadableAddress | undefined;
1076
1076
  } | undefined) => AppCallParams;
@@ -1091,7 +1091,7 @@ declare class AppClient {
1091
1091
  appReferences?: bigint[] | undefined;
1092
1092
  assetReferences?: bigint[] | undefined;
1093
1093
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1094
- accessReferences?: AccessReference[] | undefined;
1094
+ accessReferences?: ResourceReference[] | undefined;
1095
1095
  rejectVersion?: number | undefined;
1096
1096
  sender?: ReadableAddress | undefined;
1097
1097
  } & CallOnComplete) | undefined) => AppCallParams;
@@ -1143,7 +1143,7 @@ declare class AppClient {
1143
1143
  appReferences?: bigint[] | undefined;
1144
1144
  assetReferences?: bigint[] | undefined;
1145
1145
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1146
- accessReferences?: AccessReference[] | undefined;
1146
+ accessReferences?: ResourceReference[] | undefined;
1147
1147
  rejectVersion?: number | undefined;
1148
1148
  sender?: ReadableAddress | undefined;
1149
1149
  method: string;
@@ -1174,7 +1174,7 @@ declare class AppClient {
1174
1174
  appReferences?: bigint[] | undefined;
1175
1175
  assetReferences?: bigint[] | undefined;
1176
1176
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1177
- accessReferences?: AccessReference[] | undefined;
1177
+ accessReferences?: ResourceReference[] | undefined;
1178
1178
  rejectVersion?: number | undefined;
1179
1179
  sender?: ReadableAddress | undefined;
1180
1180
  method: string;
@@ -1205,7 +1205,7 @@ declare class AppClient {
1205
1205
  appReferences?: bigint[] | undefined;
1206
1206
  assetReferences?: bigint[] | undefined;
1207
1207
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1208
- accessReferences?: AccessReference[] | undefined;
1208
+ accessReferences?: ResourceReference[] | undefined;
1209
1209
  rejectVersion?: number | undefined;
1210
1210
  sender?: ReadableAddress | undefined;
1211
1211
  method: string;
@@ -1236,7 +1236,7 @@ declare class AppClient {
1236
1236
  appReferences?: bigint[] | undefined;
1237
1237
  assetReferences?: bigint[] | undefined;
1238
1238
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1239
- accessReferences?: AccessReference[] | undefined;
1239
+ accessReferences?: ResourceReference[] | undefined;
1240
1240
  rejectVersion?: number | undefined;
1241
1241
  sender?: ReadableAddress | undefined;
1242
1242
  method: string;
@@ -1267,7 +1267,7 @@ declare class AppClient {
1267
1267
  appReferences?: bigint[] | undefined;
1268
1268
  assetReferences?: bigint[] | undefined;
1269
1269
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1270
- accessReferences?: AccessReference[] | undefined;
1270
+ accessReferences?: ResourceReference[] | undefined;
1271
1271
  rejectVersion?: number | undefined;
1272
1272
  sender?: ReadableAddress | undefined;
1273
1273
  method: string;
@@ -1296,7 +1296,7 @@ declare class AppClient {
1296
1296
  appReferences?: bigint[] | undefined;
1297
1297
  assetReferences?: bigint[] | undefined;
1298
1298
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1299
- accessReferences?: AccessReference[] | undefined;
1299
+ accessReferences?: ResourceReference[] | undefined;
1300
1300
  rejectVersion?: number | undefined;
1301
1301
  sender?: ReadableAddress | undefined;
1302
1302
  } & AppClientCompilationParams) | undefined) => Promise<Transaction>;
@@ -1317,7 +1317,7 @@ declare class AppClient {
1317
1317
  appReferences?: bigint[] | undefined;
1318
1318
  assetReferences?: bigint[] | undefined;
1319
1319
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1320
- accessReferences?: AccessReference[] | undefined;
1320
+ accessReferences?: ResourceReference[] | undefined;
1321
1321
  rejectVersion?: number | undefined;
1322
1322
  sender?: ReadableAddress | undefined;
1323
1323
  } | undefined) => Promise<Transaction>;
@@ -1338,7 +1338,7 @@ declare class AppClient {
1338
1338
  appReferences?: bigint[] | undefined;
1339
1339
  assetReferences?: bigint[] | undefined;
1340
1340
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1341
- accessReferences?: AccessReference[] | undefined;
1341
+ accessReferences?: ResourceReference[] | undefined;
1342
1342
  rejectVersion?: number | undefined;
1343
1343
  sender?: ReadableAddress | undefined;
1344
1344
  } | undefined) => Promise<Transaction>;
@@ -1359,7 +1359,7 @@ declare class AppClient {
1359
1359
  appReferences?: bigint[] | undefined;
1360
1360
  assetReferences?: bigint[] | undefined;
1361
1361
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1362
- accessReferences?: AccessReference[] | undefined;
1362
+ accessReferences?: ResourceReference[] | undefined;
1363
1363
  rejectVersion?: number | undefined;
1364
1364
  sender?: ReadableAddress | undefined;
1365
1365
  } | undefined) => Promise<Transaction>;
@@ -1380,7 +1380,7 @@ declare class AppClient {
1380
1380
  appReferences?: bigint[] | undefined;
1381
1381
  assetReferences?: bigint[] | undefined;
1382
1382
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1383
- accessReferences?: AccessReference[] | undefined;
1383
+ accessReferences?: ResourceReference[] | undefined;
1384
1384
  rejectVersion?: number | undefined;
1385
1385
  sender?: ReadableAddress | undefined;
1386
1386
  } | undefined) => Promise<Transaction>;
@@ -1401,7 +1401,7 @@ declare class AppClient {
1401
1401
  appReferences?: bigint[] | undefined;
1402
1402
  assetReferences?: bigint[] | undefined;
1403
1403
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1404
- accessReferences?: AccessReference[] | undefined;
1404
+ accessReferences?: ResourceReference[] | undefined;
1405
1405
  rejectVersion?: number | undefined;
1406
1406
  sender?: ReadableAddress | undefined;
1407
1407
  } & CallOnComplete) | undefined) => Promise<Transaction>;
@@ -1461,7 +1461,7 @@ declare class AppClient {
1461
1461
  appReferences?: bigint[] | undefined;
1462
1462
  assetReferences?: bigint[] | undefined;
1463
1463
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1464
- accessReferences?: AccessReference[] | undefined;
1464
+ accessReferences?: ResourceReference[] | undefined;
1465
1465
  rejectVersion?: number | undefined;
1466
1466
  sender?: ReadableAddress | undefined;
1467
1467
  method: string;
@@ -1499,7 +1499,7 @@ declare class AppClient {
1499
1499
  appReferences?: bigint[] | undefined;
1500
1500
  assetReferences?: bigint[] | undefined;
1501
1501
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1502
- accessReferences?: AccessReference[] | undefined;
1502
+ accessReferences?: ResourceReference[] | undefined;
1503
1503
  rejectVersion?: number | undefined;
1504
1504
  sender?: ReadableAddress | undefined;
1505
1505
  method: string;
@@ -1535,7 +1535,7 @@ declare class AppClient {
1535
1535
  appReferences?: bigint[] | undefined;
1536
1536
  assetReferences?: bigint[] | undefined;
1537
1537
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1538
- accessReferences?: AccessReference[] | undefined;
1538
+ accessReferences?: ResourceReference[] | undefined;
1539
1539
  rejectVersion?: number | undefined;
1540
1540
  sender?: ReadableAddress | undefined;
1541
1541
  method: string;
@@ -1571,7 +1571,7 @@ declare class AppClient {
1571
1571
  appReferences?: bigint[] | undefined;
1572
1572
  assetReferences?: bigint[] | undefined;
1573
1573
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1574
- accessReferences?: AccessReference[] | undefined;
1574
+ accessReferences?: ResourceReference[] | undefined;
1575
1575
  rejectVersion?: number | undefined;
1576
1576
  sender?: ReadableAddress | undefined;
1577
1577
  method: string;
@@ -1607,7 +1607,7 @@ declare class AppClient {
1607
1607
  appReferences?: bigint[] | undefined;
1608
1608
  assetReferences?: bigint[] | undefined;
1609
1609
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1610
- accessReferences?: AccessReference[] | undefined;
1610
+ accessReferences?: ResourceReference[] | undefined;
1611
1611
  rejectVersion?: number | undefined;
1612
1612
  sender?: ReadableAddress | undefined;
1613
1613
  method: string;
@@ -1641,7 +1641,7 @@ declare class AppClient {
1641
1641
  appReferences?: bigint[] | undefined;
1642
1642
  assetReferences?: bigint[] | undefined;
1643
1643
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1644
- accessReferences?: AccessReference[] | undefined;
1644
+ accessReferences?: ResourceReference[] | undefined;
1645
1645
  rejectVersion?: number | undefined;
1646
1646
  sender?: ReadableAddress | undefined;
1647
1647
  } & AppClientCompilationParams & SendParams) | undefined) => Promise<{
@@ -1673,7 +1673,7 @@ declare class AppClient {
1673
1673
  appReferences?: bigint[] | undefined;
1674
1674
  assetReferences?: bigint[] | undefined;
1675
1675
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1676
- accessReferences?: AccessReference[] | undefined;
1676
+ accessReferences?: ResourceReference[] | undefined;
1677
1677
  rejectVersion?: number | undefined;
1678
1678
  sender?: ReadableAddress | undefined;
1679
1679
  } & SendParams) | undefined) => Promise<{
@@ -1703,7 +1703,7 @@ declare class AppClient {
1703
1703
  appReferences?: bigint[] | undefined;
1704
1704
  assetReferences?: bigint[] | undefined;
1705
1705
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1706
- accessReferences?: AccessReference[] | undefined;
1706
+ accessReferences?: ResourceReference[] | undefined;
1707
1707
  rejectVersion?: number | undefined;
1708
1708
  sender?: ReadableAddress | undefined;
1709
1709
  } & SendParams) | undefined) => Promise<{
@@ -1733,7 +1733,7 @@ declare class AppClient {
1733
1733
  appReferences?: bigint[] | undefined;
1734
1734
  assetReferences?: bigint[] | undefined;
1735
1735
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1736
- accessReferences?: AccessReference[] | undefined;
1736
+ accessReferences?: ResourceReference[] | undefined;
1737
1737
  rejectVersion?: number | undefined;
1738
1738
  sender?: ReadableAddress | undefined;
1739
1739
  } & SendParams) | undefined) => Promise<{
@@ -1763,7 +1763,7 @@ declare class AppClient {
1763
1763
  appReferences?: bigint[] | undefined;
1764
1764
  assetReferences?: bigint[] | undefined;
1765
1765
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1766
- accessReferences?: AccessReference[] | undefined;
1766
+ accessReferences?: ResourceReference[] | undefined;
1767
1767
  rejectVersion?: number | undefined;
1768
1768
  sender?: ReadableAddress | undefined;
1769
1769
  } & SendParams) | undefined) => Promise<{
@@ -1793,7 +1793,7 @@ declare class AppClient {
1793
1793
  appReferences?: bigint[] | undefined;
1794
1794
  assetReferences?: bigint[] | undefined;
1795
1795
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1796
- accessReferences?: AccessReference[] | undefined;
1796
+ accessReferences?: ResourceReference[] | undefined;
1797
1797
  rejectVersion?: number | undefined;
1798
1798
  sender?: ReadableAddress | undefined;
1799
1799
  } & CallOnComplete & SendParams) | undefined) => Promise<{