File tree 8 files changed +156
-6
lines changed
LSP8IdentifiableDigitalAsset
8 files changed +156
-6
lines changed Original file line number Diff line number Diff line change @@ -1688,6 +1688,31 @@ reverts when there is no extension for the function selector being called with
1688
1688
1689
1689
<br />
1690
1690
1691
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1692
+
1693
+ :::note References
1694
+
1695
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1696
+ - Solidity implementation: [ ` LSP7DigitalAsset.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol )
1697
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1698
+ - Error hash: ` 0xcba6e977 `
1699
+
1700
+ :::
1701
+
1702
+ ``` solidity
1703
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1704
+ ```
1705
+
1706
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1707
+
1708
+ #### Parameters
1709
+
1710
+ | Name | Type | Description |
1711
+ | ---------- | :-------: | ----------- |
1712
+ | ` operator ` | ` address ` | - |
1713
+
1714
+ <br />
1715
+
1691
1716
### OwnableCallerNotTheOwner
1692
1717
1693
1718
:::note References
Original file line number Diff line number Diff line change @@ -1713,6 +1713,31 @@ reverts when there is no extension for the function selector being called with
1713
1713
1714
1714
<br />
1715
1715
1716
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1717
+
1718
+ :::note References
1719
+
1720
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1721
+ - Solidity implementation: [ ` LSP7Burnable.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol )
1722
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1723
+ - Error hash: ` 0xcba6e977 `
1724
+
1725
+ :::
1726
+
1727
+ ``` solidity
1728
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1729
+ ```
1730
+
1731
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1732
+
1733
+ #### Parameters
1734
+
1735
+ | Name | Type | Description |
1736
+ | ---------- | :-------: | ----------- |
1737
+ | ` operator ` | ` address ` | - |
1738
+
1739
+ <br />
1740
+
1716
1741
### OwnableCallerNotTheOwner
1717
1742
1718
1743
:::note References
Original file line number Diff line number Diff line change @@ -1729,6 +1729,31 @@ reverts when there is no extension for the function selector being called with
1729
1729
1730
1730
<br />
1731
1731
1732
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1733
+
1734
+ :::note References
1735
+
1736
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1737
+ - Solidity implementation: [ ` LSP7CappedSupply.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol )
1738
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1739
+ - Error hash: ` 0xcba6e977 `
1740
+
1741
+ :::
1742
+
1743
+ ``` solidity
1744
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1745
+ ```
1746
+
1747
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1748
+
1749
+ #### Parameters
1750
+
1751
+ | Name | Type | Description |
1752
+ | ---------- | :-------: | ----------- |
1753
+ | ` operator ` | ` address ` | - |
1754
+
1755
+ <br />
1756
+
1732
1757
### OwnableCallerNotTheOwner
1733
1758
1734
1759
:::note References
Original file line number Diff line number Diff line change @@ -1830,6 +1830,31 @@ reverts when there is no extension for the function selector being called with
1830
1830
1831
1831
<br />
1832
1832
1833
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1834
+
1835
+ :::note References
1836
+
1837
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1838
+ - Solidity implementation: [ ` LSP7CompatibleERC20.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol )
1839
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1840
+ - Error hash: ` 0xcba6e977 `
1841
+
1842
+ :::
1843
+
1844
+ ``` solidity
1845
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1846
+ ```
1847
+
1848
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1849
+
1850
+ #### Parameters
1851
+
1852
+ | Name | Type | Description |
1853
+ | ---------- | :-------: | ----------- |
1854
+ | ` operator ` | ` address ` | - |
1855
+
1856
+ <br />
1857
+
1833
1858
### OwnableCallerNotTheOwner
1834
1859
1835
1860
:::note References
Original file line number Diff line number Diff line change @@ -1864,6 +1864,31 @@ reverts when there is no extension for the function selector being called with
1864
1864
1865
1865
<br />
1866
1866
1867
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1868
+
1869
+ :::note References
1870
+
1871
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1872
+ - Solidity implementation: [ ` LSP7CompatibleERC20Mintable.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol )
1873
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1874
+ - Error hash: ` 0xcba6e977 `
1875
+
1876
+ :::
1877
+
1878
+ ``` solidity
1879
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1880
+ ```
1881
+
1882
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1883
+
1884
+ #### Parameters
1885
+
1886
+ | Name | Type | Description |
1887
+ | ---------- | :-------: | ----------- |
1888
+ | ` operator ` | ` address ` | - |
1889
+
1890
+ <br />
1891
+
1867
1892
### OwnableCallerNotTheOwner
1868
1893
1869
1894
:::note References
Original file line number Diff line number Diff line change @@ -1750,6 +1750,31 @@ reverts when there is no extension for the function selector being called with
1750
1750
1751
1751
<br />
1752
1752
1753
+ ### OperatorAllowanceCannotBeIncreasedFromZero
1754
+
1755
+ :::note References
1756
+
1757
+ - Specification details: [ ** LSP-7-DigitalAsset** ] ( https://github.com/lukso-network/lips/tree/main/LSPs/LSP-7-DigitalAsset.md#operatorallowancecannotbeincreasedfromzero )
1758
+ - Solidity implementation: [ ` LSP7Mintable.sol ` ] ( https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol )
1759
+ - Error signature: ` OperatorAllowanceCannotBeIncreasedFromZero(address) `
1760
+ - Error hash: ` 0xcba6e977 `
1761
+
1762
+ :::
1763
+
1764
+ ``` solidity
1765
+ error OperatorAllowanceCannotBeIncreasedFromZero(address operator);
1766
+ ```
1767
+
1768
+ Reverts when token owner call [ ` increaseAllowance ` ] ( #increaseallowance ) for an operator that does not have any allowance
1769
+
1770
+ #### Parameters
1771
+
1772
+ | Name | Type | Description |
1773
+ | ---------- | :-------: | ----------- |
1774
+ | ` operator ` | ` address ` | - |
1775
+
1776
+ <br />
1777
+
1753
1778
### OwnableCallerNotTheOwner
1754
1779
1755
1780
:::note References
Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ Approve `operator` to operate on all tokens of `tokensOwner`.
1425
1425
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
1426
1426
```
1427
1427
1428
- Emitted when the allowance of a ` spender ` for an ` owner ` is set by a call to [ ` approve ` ] ( #approve ) . ` value ` is the new allowance .
1428
+ Emitted when ` owner ` enables ` approved ` to manage the ` tokenId ` token .
1429
1429
1430
1430
#### Parameters
1431
1431
@@ -1452,7 +1452,7 @@ Emitted when the allowance of a `spender` for an `owner` is set by a call to [`a
1452
1452
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
1453
1453
```
1454
1454
1455
- Emitted when ` account ` grants or revokes permission to ` operator ` to transfer their tokens, according to ` approved ` .
1455
+ Emitted when ` owner ` enables or disables ( ` approved ` ) ` operator ` to manage all of its assets .
1456
1456
1457
1457
#### Parameters
1458
1458
@@ -1618,7 +1618,7 @@ Emitted when `tokenId` token is transferred from the `from` to the `to` address.
1618
1618
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
1619
1619
```
1620
1620
1621
- Emitted when ` value ` tokens are moved from one account ( ` from ` ) to another ( ` to ` ). Note that ` value ` may be zero .
1621
+ Emitted when ` tokenId ` token is transferred from ` from ` to ` to ` .
1622
1622
1623
1623
#### Parameters
1624
1624
Original file line number Diff line number Diff line change @@ -1467,7 +1467,7 @@ Approve `operator` to operate on all tokens of `tokensOwner`.
1467
1467
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
1468
1468
```
1469
1469
1470
- Emitted when the allowance of a ` spender ` for an ` owner ` is set by a call to [ ` approve ` ] ( #approve ) . ` value ` is the new allowance .
1470
+ Emitted when ` owner ` enables ` approved ` to manage the ` tokenId ` token .
1471
1471
1472
1472
#### Parameters
1473
1473
@@ -1494,7 +1494,7 @@ Emitted when the allowance of a `spender` for an `owner` is set by a call to [`a
1494
1494
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
1495
1495
```
1496
1496
1497
- Emitted when ` account ` grants or revokes permission to ` operator ` to transfer their tokens, according to ` approved ` .
1497
+ Emitted when ` owner ` enables or disables ( ` approved ` ) ` operator ` to manage all of its assets .
1498
1498
1499
1499
#### Parameters
1500
1500
@@ -1660,7 +1660,7 @@ Emitted when `tokenId` token is transferred from the `from` to the `to` address.
1660
1660
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
1661
1661
```
1662
1662
1663
- Emitted when ` value ` tokens are moved from one account ( ` from ` ) to another ( ` to ` ). Note that ` value ` may be zero .
1663
+ Emitted when ` tokenId ` token is transferred from ` from ` to ` to ` .
1664
1664
1665
1665
#### Parameters
1666
1666
You can’t perform that action at this time.
0 commit comments