@algorandfoundation/algorand-typescript 1.0.0-beta.21 → 1.0.0-beta.22

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { N as NoImplementation } from './errors-D124-zqo.js';
2
- export { B as Base64, E as Ec, a as Ecdsa, G as Global, M as MimcConfigurations, T as Txn, V as VrfVerify, o as op } from './op-BKy1vBsJ.js';
2
+ export { B as Base64, E as Ec, a as Ecdsa, G as Global, M as MimcConfigurations, T as Txn, V as VrfVerify, o as op } from './op-Dh5PXhZo.js';
3
3
  export { B as BaseContract, C as Contract, a as abimethod, i as arc4, b as baremethod, c as contract } from './index-BrIiIlLA.js';
4
4
 
5
5
  function Uint64(v) {
@@ -1523,184 +1523,184 @@ const Global = {
1523
1523
  const GTxn = {
1524
1524
  /**
1525
1525
  * 32 byte address
1526
- * Min AVM version: 1
1526
+ * Min AVM version: 3
1527
1527
  */
1528
- sender(t) {
1528
+ sender(a) {
1529
1529
  throw new NoImplementation();
1530
1530
  },
1531
1531
  /**
1532
1532
  * microalgos
1533
- * Min AVM version: 1
1533
+ * Min AVM version: 3
1534
1534
  */
1535
- fee(t) {
1535
+ fee(a) {
1536
1536
  throw new NoImplementation();
1537
1537
  },
1538
1538
  /**
1539
1539
  * round number
1540
- * Min AVM version: 1
1540
+ * Min AVM version: 3
1541
1541
  */
1542
- firstValid(t) {
1542
+ firstValid(a) {
1543
1543
  throw new NoImplementation();
1544
1544
  },
1545
1545
  /**
1546
1546
  * UNIX timestamp of block before txn.FirstValid. Fails if negative
1547
1547
  * Min AVM version: 7
1548
1548
  */
1549
- firstValidTime(t) {
1549
+ firstValidTime(a) {
1550
1550
  throw new NoImplementation();
1551
1551
  },
1552
1552
  /**
1553
1553
  * round number
1554
- * Min AVM version: 1
1554
+ * Min AVM version: 3
1555
1555
  */
1556
- lastValid(t) {
1556
+ lastValid(a) {
1557
1557
  throw new NoImplementation();
1558
1558
  },
1559
1559
  /**
1560
1560
  * Any data up to 1024 bytes
1561
- * Min AVM version: 1
1561
+ * Min AVM version: 3
1562
1562
  */
1563
- note(t) {
1563
+ note(a) {
1564
1564
  throw new NoImplementation();
1565
1565
  },
1566
1566
  /**
1567
1567
  * 32 byte lease value
1568
- * Min AVM version: 1
1568
+ * Min AVM version: 3
1569
1569
  */
1570
- lease(t) {
1570
+ lease(a) {
1571
1571
  throw new NoImplementation();
1572
1572
  },
1573
1573
  /**
1574
1574
  * 32 byte address
1575
- * Min AVM version: 1
1575
+ * Min AVM version: 3
1576
1576
  */
1577
- receiver(t) {
1577
+ receiver(a) {
1578
1578
  throw new NoImplementation();
1579
1579
  },
1580
1580
  /**
1581
1581
  * microalgos
1582
- * Min AVM version: 1
1582
+ * Min AVM version: 3
1583
1583
  */
1584
- amount(t) {
1584
+ amount(a) {
1585
1585
  throw new NoImplementation();
1586
1586
  },
1587
1587
  /**
1588
1588
  * 32 byte address
1589
- * Min AVM version: 1
1589
+ * Min AVM version: 3
1590
1590
  */
1591
- closeRemainderTo(t) {
1591
+ closeRemainderTo(a) {
1592
1592
  throw new NoImplementation();
1593
1593
  },
1594
1594
  /**
1595
1595
  * 32 byte address
1596
- * Min AVM version: 1
1596
+ * Min AVM version: 3
1597
1597
  */
1598
- votePk(t) {
1598
+ votePk(a) {
1599
1599
  throw new NoImplementation();
1600
1600
  },
1601
1601
  /**
1602
1602
  * 32 byte address
1603
- * Min AVM version: 1
1603
+ * Min AVM version: 3
1604
1604
  */
1605
- selectionPk(t) {
1605
+ selectionPk(a) {
1606
1606
  throw new NoImplementation();
1607
1607
  },
1608
1608
  /**
1609
1609
  * The first round that the participation key is valid.
1610
- * Min AVM version: 1
1610
+ * Min AVM version: 3
1611
1611
  */
1612
- voteFirst(t) {
1612
+ voteFirst(a) {
1613
1613
  throw new NoImplementation();
1614
1614
  },
1615
1615
  /**
1616
1616
  * The last round that the participation key is valid.
1617
- * Min AVM version: 1
1617
+ * Min AVM version: 3
1618
1618
  */
1619
- voteLast(t) {
1619
+ voteLast(a) {
1620
1620
  throw new NoImplementation();
1621
1621
  },
1622
1622
  /**
1623
1623
  * Dilution for the 2-level participation key
1624
- * Min AVM version: 1
1624
+ * Min AVM version: 3
1625
1625
  */
1626
- voteKeyDilution(t) {
1626
+ voteKeyDilution(a) {
1627
1627
  throw new NoImplementation();
1628
1628
  },
1629
1629
  /**
1630
1630
  * Transaction type as bytes
1631
- * Min AVM version: 1
1631
+ * Min AVM version: 3
1632
1632
  */
1633
- type(t) {
1633
+ type(a) {
1634
1634
  throw new NoImplementation();
1635
1635
  },
1636
1636
  /**
1637
1637
  * Transaction type as integer
1638
- * Min AVM version: 1
1638
+ * Min AVM version: 3
1639
1639
  */
1640
- typeEnum(t) {
1640
+ typeEnum(a) {
1641
1641
  throw new NoImplementation();
1642
1642
  },
1643
1643
  /**
1644
1644
  * Asset ID
1645
- * Min AVM version: 1
1645
+ * Min AVM version: 3
1646
1646
  */
1647
- xferAsset(t) {
1647
+ xferAsset(a) {
1648
1648
  throw new NoImplementation();
1649
1649
  },
1650
1650
  /**
1651
1651
  * value in Asset's units
1652
- * Min AVM version: 1
1652
+ * Min AVM version: 3
1653
1653
  */
1654
- assetAmount(t) {
1654
+ assetAmount(a) {
1655
1655
  throw new NoImplementation();
1656
1656
  },
1657
1657
  /**
1658
1658
  * 32 byte address. Source of assets if Sender is the Asset's Clawback address.
1659
- * Min AVM version: 1
1659
+ * Min AVM version: 3
1660
1660
  */
1661
- assetSender(t) {
1661
+ assetSender(a) {
1662
1662
  throw new NoImplementation();
1663
1663
  },
1664
1664
  /**
1665
1665
  * 32 byte address
1666
- * Min AVM version: 1
1666
+ * Min AVM version: 3
1667
1667
  */
1668
- assetReceiver(t) {
1668
+ assetReceiver(a) {
1669
1669
  throw new NoImplementation();
1670
1670
  },
1671
1671
  /**
1672
1672
  * 32 byte address
1673
- * Min AVM version: 1
1673
+ * Min AVM version: 3
1674
1674
  */
1675
- assetCloseTo(t) {
1675
+ assetCloseTo(a) {
1676
1676
  throw new NoImplementation();
1677
1677
  },
1678
1678
  /**
1679
1679
  * Position of this transaction within an atomic transaction group. A stand-alone transaction is implicitly element 0 in a group of 1
1680
- * Min AVM version: 1
1680
+ * Min AVM version: 3
1681
1681
  */
1682
- groupIndex(t) {
1682
+ groupIndex(a) {
1683
1683
  throw new NoImplementation();
1684
1684
  },
1685
1685
  /**
1686
1686
  * The computed ID for this transaction. 32 bytes.
1687
- * Min AVM version: 1
1687
+ * Min AVM version: 3
1688
1688
  */
1689
- txId(t) {
1689
+ txId(a) {
1690
1690
  throw new NoImplementation();
1691
1691
  },
1692
1692
  /**
1693
1693
  * ApplicationID from ApplicationCall transaction
1694
1694
  * Min AVM version: 2
1695
1695
  */
1696
- applicationId(t) {
1696
+ applicationId(a) {
1697
1697
  throw new NoImplementation();
1698
1698
  },
1699
1699
  /**
1700
1700
  * ApplicationCall transaction on completion action
1701
1701
  * Min AVM version: 2
1702
1702
  */
1703
- onCompletion(t) {
1703
+ onCompletion(a) {
1704
1704
  throw new NoImplementation();
1705
1705
  },
1706
1706
  /**
@@ -1714,7 +1714,7 @@ const GTxn = {
1714
1714
  * Number of ApplicationArgs
1715
1715
  * Min AVM version: 2
1716
1716
  */
1717
- numAppArgs(t) {
1717
+ numAppArgs(a) {
1718
1718
  throw new NoImplementation();
1719
1719
  },
1720
1720
  /**
@@ -1728,133 +1728,133 @@ const GTxn = {
1728
1728
  * Number of Accounts
1729
1729
  * Min AVM version: 2
1730
1730
  */
1731
- numAccounts(t) {
1731
+ numAccounts(a) {
1732
1732
  throw new NoImplementation();
1733
1733
  },
1734
1734
  /**
1735
1735
  * Approval program
1736
1736
  * Min AVM version: 2
1737
1737
  */
1738
- approvalProgram(t) {
1738
+ approvalProgram(a) {
1739
1739
  throw new NoImplementation();
1740
1740
  },
1741
1741
  /**
1742
1742
  * Clear state program
1743
1743
  * Min AVM version: 2
1744
1744
  */
1745
- clearStateProgram(t) {
1745
+ clearStateProgram(a) {
1746
1746
  throw new NoImplementation();
1747
1747
  },
1748
1748
  /**
1749
1749
  * 32 byte Sender's new AuthAddr
1750
1750
  * Min AVM version: 2
1751
1751
  */
1752
- rekeyTo(t) {
1752
+ rekeyTo(a) {
1753
1753
  throw new NoImplementation();
1754
1754
  },
1755
1755
  /**
1756
1756
  * Asset ID in asset config transaction
1757
1757
  * Min AVM version: 2
1758
1758
  */
1759
- configAsset(t) {
1759
+ configAsset(a) {
1760
1760
  throw new NoImplementation();
1761
1761
  },
1762
1762
  /**
1763
1763
  * Total number of units of this asset created
1764
1764
  * Min AVM version: 2
1765
1765
  */
1766
- configAssetTotal(t) {
1766
+ configAssetTotal(a) {
1767
1767
  throw new NoImplementation();
1768
1768
  },
1769
1769
  /**
1770
1770
  * Number of digits to display after the decimal place when displaying the asset
1771
1771
  * Min AVM version: 2
1772
1772
  */
1773
- configAssetDecimals(t) {
1773
+ configAssetDecimals(a) {
1774
1774
  throw new NoImplementation();
1775
1775
  },
1776
1776
  /**
1777
1777
  * Whether the asset's slots are frozen by default or not, 0 or 1
1778
1778
  * Min AVM version: 2
1779
1779
  */
1780
- configAssetDefaultFrozen(t) {
1780
+ configAssetDefaultFrozen(a) {
1781
1781
  throw new NoImplementation();
1782
1782
  },
1783
1783
  /**
1784
1784
  * Unit name of the asset
1785
1785
  * Min AVM version: 2
1786
1786
  */
1787
- configAssetUnitName(t) {
1787
+ configAssetUnitName(a) {
1788
1788
  throw new NoImplementation();
1789
1789
  },
1790
1790
  /**
1791
1791
  * The asset name
1792
1792
  * Min AVM version: 2
1793
1793
  */
1794
- configAssetName(t) {
1794
+ configAssetName(a) {
1795
1795
  throw new NoImplementation();
1796
1796
  },
1797
1797
  /**
1798
1798
  * URL
1799
1799
  * Min AVM version: 2
1800
1800
  */
1801
- configAssetUrl(t) {
1801
+ configAssetUrl(a) {
1802
1802
  throw new NoImplementation();
1803
1803
  },
1804
1804
  /**
1805
1805
  * 32 byte commitment to unspecified asset metadata
1806
1806
  * Min AVM version: 2
1807
1807
  */
1808
- configAssetMetadataHash(t) {
1808
+ configAssetMetadataHash(a) {
1809
1809
  throw new NoImplementation();
1810
1810
  },
1811
1811
  /**
1812
1812
  * 32 byte address
1813
1813
  * Min AVM version: 2
1814
1814
  */
1815
- configAssetManager(t) {
1815
+ configAssetManager(a) {
1816
1816
  throw new NoImplementation();
1817
1817
  },
1818
1818
  /**
1819
1819
  * 32 byte address
1820
1820
  * Min AVM version: 2
1821
1821
  */
1822
- configAssetReserve(t) {
1822
+ configAssetReserve(a) {
1823
1823
  throw new NoImplementation();
1824
1824
  },
1825
1825
  /**
1826
1826
  * 32 byte address
1827
1827
  * Min AVM version: 2
1828
1828
  */
1829
- configAssetFreeze(t) {
1829
+ configAssetFreeze(a) {
1830
1830
  throw new NoImplementation();
1831
1831
  },
1832
1832
  /**
1833
1833
  * 32 byte address
1834
1834
  * Min AVM version: 2
1835
1835
  */
1836
- configAssetClawback(t) {
1836
+ configAssetClawback(a) {
1837
1837
  throw new NoImplementation();
1838
1838
  },
1839
1839
  /**
1840
1840
  * Asset ID being frozen or un-frozen
1841
1841
  * Min AVM version: 2
1842
1842
  */
1843
- freezeAsset(t) {
1843
+ freezeAsset(a) {
1844
1844
  throw new NoImplementation();
1845
1845
  },
1846
1846
  /**
1847
1847
  * 32 byte address of the account whose asset slot is being frozen or un-frozen
1848
1848
  * Min AVM version: 2
1849
1849
  */
1850
- freezeAssetAccount(t) {
1850
+ freezeAssetAccount(a) {
1851
1851
  throw new NoImplementation();
1852
1852
  },
1853
1853
  /**
1854
1854
  * The new frozen value, 0 or 1
1855
1855
  * Min AVM version: 2
1856
1856
  */
1857
- freezeAssetFrozen(t) {
1857
+ freezeAssetFrozen(a) {
1858
1858
  throw new NoImplementation();
1859
1859
  },
1860
1860
  /**
@@ -1868,7 +1868,7 @@ const GTxn = {
1868
1868
  * Number of Assets
1869
1869
  * Min AVM version: 3
1870
1870
  */
1871
- numAssets(t) {
1871
+ numAssets(a) {
1872
1872
  throw new NoImplementation();
1873
1873
  },
1874
1874
  /**
@@ -1882,49 +1882,49 @@ const GTxn = {
1882
1882
  * Number of Applications
1883
1883
  * Min AVM version: 3
1884
1884
  */
1885
- numApplications(t) {
1885
+ numApplications(a) {
1886
1886
  throw new NoImplementation();
1887
1887
  },
1888
1888
  /**
1889
1889
  * Number of global state integers in ApplicationCall
1890
1890
  * Min AVM version: 3
1891
1891
  */
1892
- globalNumUint(t) {
1892
+ globalNumUint(a) {
1893
1893
  throw new NoImplementation();
1894
1894
  },
1895
1895
  /**
1896
1896
  * Number of global state byteslices in ApplicationCall
1897
1897
  * Min AVM version: 3
1898
1898
  */
1899
- globalNumByteSlice(t) {
1899
+ globalNumByteSlice(a) {
1900
1900
  throw new NoImplementation();
1901
1901
  },
1902
1902
  /**
1903
1903
  * Number of local state integers in ApplicationCall
1904
1904
  * Min AVM version: 3
1905
1905
  */
1906
- localNumUint(t) {
1906
+ localNumUint(a) {
1907
1907
  throw new NoImplementation();
1908
1908
  },
1909
1909
  /**
1910
1910
  * Number of local state byteslices in ApplicationCall
1911
1911
  * Min AVM version: 3
1912
1912
  */
1913
- localNumByteSlice(t) {
1913
+ localNumByteSlice(a) {
1914
1914
  throw new NoImplementation();
1915
1915
  },
1916
1916
  /**
1917
1917
  * 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.
1918
1918
  * Min AVM version: 4
1919
1919
  */
1920
- extraProgramPages(t) {
1920
+ extraProgramPages(a) {
1921
1921
  throw new NoImplementation();
1922
1922
  },
1923
1923
  /**
1924
1924
  * Marks an account nonparticipating for rewards
1925
1925
  * Min AVM version: 5
1926
1926
  */
1927
- nonparticipation(t) {
1927
+ nonparticipation(a) {
1928
1928
  throw new NoImplementation();
1929
1929
  },
1930
1930
  /**
@@ -1938,35 +1938,35 @@ const GTxn = {
1938
1938
  * Number of Logs (only with `itxn` in v5). Application mode only
1939
1939
  * Min AVM version: 5
1940
1940
  */
1941
- numLogs(t) {
1941
+ numLogs(a) {
1942
1942
  throw new NoImplementation();
1943
1943
  },
1944
1944
  /**
1945
1945
  * Asset ID allocated by the creation of an ASA (only with `itxn` in v5). Application mode only
1946
1946
  * Min AVM version: 5
1947
1947
  */
1948
- createdAssetId(t) {
1948
+ createdAssetId(a) {
1949
1949
  throw new NoImplementation();
1950
1950
  },
1951
1951
  /**
1952
1952
  * ApplicationID allocated by the creation of an application (only with `itxn` in v5). Application mode only
1953
1953
  * Min AVM version: 5
1954
1954
  */
1955
- createdApplicationId(t) {
1955
+ createdApplicationId(a) {
1956
1956
  throw new NoImplementation();
1957
1957
  },
1958
1958
  /**
1959
1959
  * The last message emitted. Empty bytes if none were emitted. Application mode only
1960
1960
  * Min AVM version: 6
1961
1961
  */
1962
- lastLog(t) {
1962
+ lastLog(a) {
1963
1963
  throw new NoImplementation();
1964
1964
  },
1965
1965
  /**
1966
1966
  * 64 byte state proof public key
1967
1967
  * Min AVM version: 6
1968
1968
  */
1969
- stateProofPk(t) {
1969
+ stateProofPk(a) {
1970
1970
  throw new NoImplementation();
1971
1971
  },
1972
1972
  /**
@@ -1980,7 +1980,7 @@ const GTxn = {
1980
1980
  * Number of Approval Program pages
1981
1981
  * Min AVM version: 7
1982
1982
  */
1983
- numApprovalProgramPages(t) {
1983
+ numApprovalProgramPages(a) {
1984
1984
  throw new NoImplementation();
1985
1985
  },
1986
1986
  /**
@@ -1994,7 +1994,7 @@ const GTxn = {
1994
1994
  * Number of ClearState Program pages
1995
1995
  * Min AVM version: 7
1996
1996
  */
1997
- numClearStateProgramPages(t) {
1997
+ numClearStateProgramPages(a) {
1998
1998
  throw new NoImplementation();
1999
1999
  },
2000
2000
  };
@@ -3642,4 +3642,4 @@ var op = /*#__PURE__*/Object.freeze({
3642
3642
  });
3643
3643
 
3644
3644
  export { Scratch as $, AcctParams as A, Base64 as B, ed25519verifyBare as C, exp as D, Ec as E, expw as F, Global as G, extractUint16 as H, extractUint32 as I, extractUint64 as J, falconVerify as K, gaid as L, MimcConfigurations as M, getBit as N, getByte as O, GITxn as P, gloadBytes as Q, gloadUint64 as R, GTxn as S, Txn as T, itob as U, VrfVerify as V, ITxn as W, ITxnCreate as X, JsonRef as Y, keccak256 as Z, len as _, Ecdsa as a, mimc as a0, minBalance as a1, mulw as a2, onlineStake as a3, replace as a4, setByte as a5, sha256 as a6, sha3_256 as a7, sha512_256 as a8, shl as a9, shr as aa, sqrt as ab, substring as ac, sumhash512 as ad, VoterParams as ae, vrfVerify as af, extract as ag, select as ah, setBit as ai, addw as b, AppGlobal as c, AppLocal as d, appOptedIn as e, AppParams as f, arg as g, AssetHolding as h, AssetParams as i, balance as j, base64Decode as k, bitLength as l, Block as m, Box as n, op as o, bsqrt as p, btoi as q, bzero as r, concat as s, divmodw as t, divw as u, EllipticCurve as v, ecdsaPkDecompress as w, ecdsaPkRecover as x, ecdsaVerify as y, ed25519verify as z };
3645
- //# sourceMappingURL=op-BKy1vBsJ.js.map
3645
+ //# sourceMappingURL=op-Dh5PXhZo.js.map