@lukso/lsp-smart-contracts 0.11.0-rc.1 → 0.11.1
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 +1 -0
- package/artifacts/LSP0ERC725Account.json +7 -2
- package/artifacts/LSP0ERC725AccountInit.json +7 -2
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +3 -79
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +3 -41
- package/artifacts/LSP23LinkedContractsFactory.json +544 -0
- package/artifacts/LSP6KeyManager.json +24 -19
- package/artifacts/LSP6KeyManagerInit.json +24 -19
- package/artifacts/LSP7CappedSupply.json +88 -0
- package/artifacts/LSP7CappedSupplyInitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20.json +88 -0
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20Mintable.json +90 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +90 -2
- package/artifacts/LSP7DigitalAsset.json +88 -0
- package/artifacts/LSP7DigitalAssetInitAbstract.json +88 -0
- package/artifacts/LSP7Mintable.json +90 -2
- package/artifacts/LSP7MintableInit.json +90 -2
- package/artifacts/LSP8CappedSupply.json +59 -0
- package/artifacts/LSP8CappedSupplyInitAbstract.json +59 -0
- package/artifacts/LSP8CompatibleERC721.json +60 -1
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +60 -1
- package/artifacts/LSP8CompatibleERC721Mintable.json +62 -3
- package/artifacts/LSP8CompatibleERC721MintableInit.json +62 -3
- package/artifacts/LSP8IdentifiableDigitalAsset.json +59 -0
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +59 -0
- package/artifacts/LSP8Mintable.json +61 -2
- package/artifacts/LSP8MintableInit.json +61 -2
- package/artifacts/LSP9Vault.json +7 -2
- package/artifacts/LSP9VaultInit.json +7 -2
- package/artifacts/UniversalProfile.json +7 -2
- package/artifacts/UniversalProfileInit.json +7 -2
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +8 -36
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +15 -30
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +122 -206
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +18 -36
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +8 -34
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +148 -177
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +21 -20
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +13 -2
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +50 -20
- package/contracts/LSP17ContractExtension/LSP17Errors.sol +10 -0
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +16 -34
- package/contracts/LSP17ContractExtension/LSP17Utils.sol +1 -1
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +16 -11
- package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +5 -10
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +192 -177
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +150 -88
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +66 -48
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +1 -1
- package/contracts/LSP23LinkedContractsDeployment/{ILinkedContractsFactory.sol → ILSP23LinkedContractsFactory.sol} +31 -13
- package/contracts/LSP23LinkedContractsDeployment/IPostDeploymentModule.sol +8 -0
- package/contracts/LSP23LinkedContractsDeployment/LSP23Errors.sol +6 -6
- package/contracts/LSP23LinkedContractsDeployment/{LinkedContractsFactory.sol → LSP23LinkedContractsFactory.sol} +30 -22
- package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfileInitPostDeploymentModule.sol +5 -1
- package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfilePostDeploymentModule.sol +61 -0
- package/contracts/LSP25ExecuteRelayCall/ILSP25ExecuteRelayCall.sol +68 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +8 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Errors.sol +17 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +143 -0
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +256 -61
- package/contracts/{LSP3UniversalProfile → LSP3ProfileMetadata}/LSP3Constants.sol +3 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +9 -8
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +13 -6
- package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +4 -4
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +148 -189
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +26 -54
- package/contracts/LSP6KeyManager/LSP6Constants.sol +1 -3
- package/contracts/LSP6KeyManager/LSP6Errors.sol +142 -63
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +7 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +125 -80
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +8 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +52 -84
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +59 -10
- package/contracts/LSP6KeyManager/LSP6Utils.sol +67 -46
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +116 -78
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +4 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +128 -6
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +212 -80
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +126 -3
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +7 -5
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +27 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +29 -11
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +30 -9
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +46 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +43 -12
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +14 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +9 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +7 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +8 -8
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +7 -6
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +10 -2
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +120 -92
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +4 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +135 -6
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +128 -38
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +134 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +83 -41
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +13 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +24 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +30 -12
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +31 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +96 -31
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +98 -23
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +21 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +12 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +21 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +9 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +15 -6
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -5
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +17 -2
- package/contracts/LSP9Vault/ILSP9Vault.sol +10 -5
- package/contracts/LSP9Vault/LSP9Errors.sol +3 -2
- package/contracts/LSP9Vault/LSP9Vault.sol +12 -4
- package/contracts/LSP9Vault/LSP9VaultCore.sol +245 -182
- package/contracts/LSP9Vault/LSP9VaultInit.sol +10 -3
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -6
- package/contracts/UniversalProfile.sol +8 -6
- package/contracts/UniversalProfileInit.sol +6 -6
- package/contracts/UniversalProfileInitAbstract.sol +10 -3
- package/devdocs/LSP0ERC725Account.json +54 -37
- package/devdocs/LSP0ERC725AccountInit.json +56 -38
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +14 -55
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +9 -33
- package/devdocs/{LinkedContractsFactory.json → LSP23LinkedContractsFactory.json} +12 -12
- package/devdocs/LSP4DigitalAssetMetadata.json +5 -5
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +4 -4
- package/devdocs/LSP6KeyManager.json +109 -70
- package/devdocs/LSP6KeyManagerInit.json +109 -70
- package/devdocs/LSP7CappedSupply.json +90 -42
- package/devdocs/LSP7CappedSupplyInitAbstract.json +86 -40
- package/devdocs/LSP7CompatibleERC20.json +79 -43
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +75 -39
- package/devdocs/LSP7CompatibleERC20Mintable.json +87 -40
- package/devdocs/LSP7CompatibleERC20MintableInit.json +82 -42
- package/devdocs/LSP7DigitalAsset.json +76 -40
- package/devdocs/LSP7DigitalAssetInitAbstract.json +73 -37
- package/devdocs/LSP7Mintable.json +79 -51
- package/devdocs/LSP7MintableInit.json +78 -49
- package/devdocs/LSP8CappedSupply.json +72 -43
- package/devdocs/LSP8CappedSupplyInitAbstract.json +68 -41
- package/devdocs/LSP8CompatibleERC721.json +85 -64
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +81 -60
- package/devdocs/LSP8CompatibleERC721Mintable.json +98 -60
- package/devdocs/LSP8CompatibleERC721MintableInit.json +93 -62
- package/devdocs/LSP8IdentifiableDigitalAsset.json +58 -41
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -40
- package/devdocs/LSP8Mintable.json +65 -48
- package/devdocs/LSP8MintableInit.json +64 -47
- package/devdocs/LSP9Vault.json +61 -18
- package/devdocs/LSP9VaultInit.json +59 -17
- package/devdocs/UniversalProfile.json +53 -35
- package/devdocs/UniversalProfileInit.json +53 -35
- package/dist/constants.cjs.js +5647 -2600
- package/dist/constants.d.ts +4062 -1678
- package/dist/constants.es.js +5647 -2600
- package/package.json +6 -4
- package/userdocs/LSP0ERC725Account.json +40 -8
- package/userdocs/LSP0ERC725AccountInit.json +40 -8
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +18 -2
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +18 -2
- package/userdocs/{LinkedContractsFactory.json → LSP23LinkedContractsFactory.json} +2 -2
- package/userdocs/LSP4DigitalAssetMetadata.json +1 -1
- package/userdocs/LSP6KeyManager.json +144 -6
- package/userdocs/LSP6KeyManagerInit.json +147 -6
- package/userdocs/LSP7CappedSupply.json +18 -3
- package/userdocs/LSP7CappedSupplyInitAbstract.json +17 -2
- package/userdocs/LSP7CompatibleERC20.json +3 -9
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +2 -8
- package/userdocs/LSP7CompatibleERC20Mintable.json +5 -8
- package/userdocs/LSP7CompatibleERC20MintableInit.json +3 -9
- package/userdocs/LSP7DigitalAsset.json +2 -2
- package/userdocs/LSP7DigitalAssetInitAbstract.json +2 -2
- package/userdocs/LSP7Mintable.json +3 -3
- package/userdocs/LSP7MintableInit.json +3 -3
- package/userdocs/LSP8CappedSupply.json +16 -1
- package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -0
- package/userdocs/LSP8CompatibleERC721.json +24 -3
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +23 -2
- package/userdocs/LSP8CompatibleERC721Mintable.json +29 -2
- package/userdocs/LSP8CompatibleERC721MintableInit.json +27 -3
- package/userdocs/LSP8Mintable.json +4 -1
- package/userdocs/LSP8MintableInit.json +4 -1
- package/userdocs/LSP9Vault.json +50 -4
- package/userdocs/LSP9VaultInit.json +50 -4
- package/userdocs/UniversalProfile.json +40 -8
- package/userdocs/UniversalProfileInit.json +40 -8
- package/artifacts/LinkedContractsFactory.json +0 -544
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +0 -47
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"details": "LSP7 extension
|
|
2
|
+
"details": "LSP7 token extension to add a max token supply cap (proxy version).",
|
|
3
3
|
"errors": {
|
|
4
4
|
"ERC725Y_DataKeysValuesEmptyArray()": [
|
|
5
5
|
{
|
|
@@ -16,14 +16,24 @@
|
|
|
16
16
|
"details": "reverts when sending value to the `setData(..)` functions"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
+
"InvalidExtensionAddress(bytes)": [
|
|
20
|
+
{
|
|
21
|
+
"details": "reverts when the bytes retrieved from the LSP17 data key is not a valid address (not 20 bytes)"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"InvalidFunctionSelector(bytes)": [
|
|
25
|
+
{
|
|
26
|
+
"details": "reverts when the contract is called with a function selector not valid (less than 4 bytes of data)"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
19
29
|
"LSP4TokenNameNotEditable()": [
|
|
20
30
|
{
|
|
21
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed.
|
|
31
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
22
32
|
}
|
|
23
33
|
],
|
|
24
34
|
"LSP4TokenSymbolNotEditable()": [
|
|
25
35
|
{
|
|
26
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed.
|
|
36
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
27
37
|
}
|
|
28
38
|
],
|
|
29
39
|
"LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
|
|
@@ -43,7 +53,7 @@
|
|
|
43
53
|
],
|
|
44
54
|
"LSP7CannotSendWithAddressZero()": [
|
|
45
55
|
{
|
|
46
|
-
"details": "reverts when
|
|
56
|
+
"details": "reverts when trying to: - mint tokens to the zero address. - burn tokens from the zero address. - transfer tokens from or to the zero address."
|
|
47
57
|
}
|
|
48
58
|
],
|
|
49
59
|
"LSP7CannotUseAddressZeroAsOperator()": [
|
|
@@ -51,14 +61,24 @@
|
|
|
51
61
|
"details": "reverts when trying to set the zero address as an operator."
|
|
52
62
|
}
|
|
53
63
|
],
|
|
64
|
+
"LSP7CappedSupplyCannotMintOverCap()": [
|
|
65
|
+
{
|
|
66
|
+
"details": "Reverts when trying to mint tokens but the {totalSupply} has reached the maximum {tokenSupplyCap}."
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"LSP7CappedSupplyRequired()": [
|
|
70
|
+
{
|
|
71
|
+
"details": "Reverts when setting `0` for the {tokenSupplyCap}. The max token supply MUST be set to a number greater than 0."
|
|
72
|
+
}
|
|
73
|
+
],
|
|
54
74
|
"LSP7DecreasedAllowanceBelowZero()": [
|
|
55
75
|
{
|
|
56
|
-
"details": "Reverts when trying to decrease an operator's allowance to more than
|
|
76
|
+
"details": "Reverts when trying to decrease an operator's allowance to more than its current allowance."
|
|
57
77
|
}
|
|
58
78
|
],
|
|
59
79
|
"LSP7InvalidTransferBatch()": [
|
|
60
80
|
{
|
|
61
|
-
"details": "reverts when the parameters used
|
|
81
|
+
"details": "reverts when the array parameters used in {transferBatch} have different lengths."
|
|
62
82
|
}
|
|
63
83
|
],
|
|
64
84
|
"LSP7NotifyTokenReceiverContractMissingLSP1Interface(address)": [
|
|
@@ -75,41 +95,54 @@
|
|
|
75
95
|
{
|
|
76
96
|
"details": "reverts when trying to authorize or revoke the token's owner as an operator."
|
|
77
97
|
}
|
|
98
|
+
],
|
|
99
|
+
"NoExtensionFoundForFunctionSelector(bytes4)": [
|
|
100
|
+
{
|
|
101
|
+
"details": "reverts when there is no extension for the function selector being called with"
|
|
102
|
+
}
|
|
78
103
|
]
|
|
79
104
|
},
|
|
80
105
|
"kind": "dev",
|
|
81
106
|
"methods": {
|
|
82
|
-
"authorizeOperator(address,uint256)": {
|
|
83
|
-
"
|
|
107
|
+
"authorizeOperator(address,uint256,bytes)": {
|
|
108
|
+
"custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
|
|
109
|
+
"details": "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
|
|
84
110
|
"params": {
|
|
85
|
-
"amount": "The amount of tokens operator has access to.",
|
|
86
|
-
"operator": "The address to authorize as an operator."
|
|
111
|
+
"amount": "The allowance amount of tokens operator has access to.",
|
|
112
|
+
"operator": "The address to authorize as an operator.",
|
|
113
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1."
|
|
87
114
|
}
|
|
88
115
|
},
|
|
89
116
|
"authorizedAmountFor(address,address)": {
|
|
90
|
-
"details": "
|
|
117
|
+
"details": "Get the amount of tokens `operator` address has access to from `tokenOwner`. Operators can send and burn tokens on behalf of their owners.",
|
|
91
118
|
"params": {
|
|
92
|
-
"operator": "The address to query
|
|
93
|
-
"tokenOwner": "The token owner."
|
|
119
|
+
"operator": "The operator's address to query the authorized amount for.",
|
|
120
|
+
"tokenOwner": "The token owner that `operator` has allowance on."
|
|
94
121
|
},
|
|
95
122
|
"returns": {
|
|
96
|
-
"_0": "The amount of tokens `operator` address has access
|
|
123
|
+
"_0": "The amount of tokens the `operator`'s address has access on the `tokenOwner`'s balance."
|
|
97
124
|
}
|
|
98
125
|
},
|
|
99
126
|
"balanceOf(address)": {
|
|
100
|
-
"details": "
|
|
127
|
+
"details": "Get the number of tokens owned by `tokenOwner`. If the token is divisible (the {decimals} function returns `18`), the amount returned should be divided by 1e18 to get a better picture of the actual balance of the `tokenOwner`. _Example:_ ``` balanceOf(someAddress) -> 42_000_000_000_000_000_000 / 1e18 = 42 tokens ```",
|
|
101
128
|
"params": {
|
|
102
|
-
"tokenOwner": "The address to query"
|
|
129
|
+
"tokenOwner": "The address of the token holder to query the balance for."
|
|
103
130
|
},
|
|
104
131
|
"returns": {
|
|
105
|
-
"_0": "The
|
|
132
|
+
"_0": "The amount of tokens owned by `tokenOwner`."
|
|
106
133
|
}
|
|
107
134
|
},
|
|
108
135
|
"decimals()": {
|
|
109
|
-
"details": "Returns the number of decimals used to get its user representation If the contract
|
|
136
|
+
"details": "Returns the number of decimals used to get its user representation. If the asset contract has been set to be non-divisible via the `isNonDivisible_` parameter in the `constructor`, the decimals returned wiil be `0`. Otherwise `18` is the common value.",
|
|
137
|
+
"returns": {
|
|
138
|
+
"_0": "the number of decimals. If `0` is returned, the asset is non-divisible."
|
|
139
|
+
}
|
|
110
140
|
},
|
|
111
|
-
"decreaseAllowance(address,uint256)": {
|
|
112
|
-
"
|
|
141
|
+
"decreaseAllowance(address,uint256,bytes)": {
|
|
142
|
+
"custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `substractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
|
|
143
|
+
"custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
|
|
144
|
+
"custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `substractedAmount`.",
|
|
145
|
+
"details": "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
|
|
113
146
|
"params": {
|
|
114
147
|
"operator": "the operator to decrease allowance for `msg.sender`",
|
|
115
148
|
"substractedAmount": "the amount to decrease by in the operator's allowance."
|
|
@@ -131,8 +164,20 @@
|
|
|
131
164
|
"dataValues": "The array of data stored at multiple keys"
|
|
132
165
|
}
|
|
133
166
|
},
|
|
134
|
-
"
|
|
135
|
-
"details": "
|
|
167
|
+
"getOperatorsOf(address)": {
|
|
168
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn on behalf of `tokenOwner`.",
|
|
169
|
+
"params": {
|
|
170
|
+
"tokenOwner": "The token owner to get the operators for."
|
|
171
|
+
},
|
|
172
|
+
"returns": {
|
|
173
|
+
"_0": "An array of operators allowed to transfer or burn tokens on behalf of `tokenOwner`."
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"increaseAllowance(address,uint256,bytes)": {
|
|
177
|
+
"custom:events": "{AuthorizedOperator} indicating the updated allowance",
|
|
178
|
+
"custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
|
|
179
|
+
"custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
|
|
180
|
+
"details": "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
|
|
136
181
|
"params": {
|
|
137
182
|
"addedAmount": "the additional amount to add on top of the current operator's allowance",
|
|
138
183
|
"operator": "the operator to increase the allowance for `msg.sender`"
|
|
@@ -144,10 +189,11 @@
|
|
|
144
189
|
"renounceOwnership()": {
|
|
145
190
|
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
|
|
146
191
|
},
|
|
147
|
-
"revokeOperator(address)": {
|
|
148
|
-
"details": "Removes `operator` address as an operator of callers tokens
|
|
192
|
+
"revokeOperator(address,bytes)": {
|
|
193
|
+
"details": "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
|
|
149
194
|
"params": {
|
|
150
|
-
"operator": "The address to revoke as an operator."
|
|
195
|
+
"operator": "The address to revoke as an operator.",
|
|
196
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1."
|
|
151
197
|
}
|
|
152
198
|
},
|
|
153
199
|
"setData(bytes32,bytes)": {
|
|
@@ -167,35 +213,35 @@
|
|
|
167
213
|
"details": "See {IERC165-supportsInterface}."
|
|
168
214
|
},
|
|
169
215
|
"tokenSupplyCap()": {
|
|
170
|
-
"details": "
|
|
216
|
+
"details": "Get the maximum number of tokens that can exist to circulate. Once {totalSupply} reaches reaches {totalSuuplyCap}, it is not possible to mint more tokens.",
|
|
171
217
|
"returns": {
|
|
172
|
-
"_0": "The number of tokens that can
|
|
218
|
+
"_0": "The maximum number of tokens that can exist in the contract."
|
|
173
219
|
}
|
|
174
220
|
},
|
|
175
221
|
"totalSupply()": {
|
|
176
|
-
"details": "Returns the number of existing tokens.",
|
|
222
|
+
"details": "Returns the number of existing tokens that have been minted in this contract.",
|
|
177
223
|
"returns": {
|
|
178
|
-
"_0": "The number of existing tokens"
|
|
224
|
+
"_0": "The number of existing tokens."
|
|
179
225
|
}
|
|
180
226
|
},
|
|
181
227
|
"transfer(address,address,uint256,bool,bytes)": {
|
|
182
|
-
"details": "Transfers `amount` of tokens from `from`
|
|
228
|
+
"details": "Transfers an `amount` of tokens from the `from` address to the `to` address and notify both sender and recipients via the LSP1 {`universalReceiver(...)`} function. If the tokens are transferred by an operator on behalf of a token holder, the allowance for the operator will be decreased by `amount` once the token transfer has been completed (See {authorizedAmountFor}).",
|
|
183
229
|
"params": {
|
|
184
|
-
"allowNonLSP1Recipient": "When set to
|
|
230
|
+
"allowNonLSP1Recipient": "When set to `true`, the `to` address CAN be any address. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
185
231
|
"amount": "The amount of tokens to transfer.",
|
|
186
|
-
"data": "
|
|
187
|
-
"from": "The
|
|
188
|
-
"to": "The
|
|
232
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks of the `from` and `to` addresses.",
|
|
233
|
+
"from": "The sender address.",
|
|
234
|
+
"to": "The recipient address."
|
|
189
235
|
}
|
|
190
236
|
},
|
|
191
237
|
"transferBatch(address[],address[],uint256[],bool[],bytes[])": {
|
|
192
|
-
"details": "
|
|
238
|
+
"details": "Same as {`transfer(...)`} but transfer multiple tokens based on the arrays of `from`, `to`, `amount`.",
|
|
193
239
|
"params": {
|
|
194
|
-
"allowNonLSP1Recipient": "
|
|
195
|
-
"amount": "
|
|
196
|
-
"data": "
|
|
197
|
-
"from": "
|
|
198
|
-
"to": "
|
|
240
|
+
"allowNonLSP1Recipient": "For each transfer, when set to `true`, the `to` address CAN be any address. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
241
|
+
"amount": "An array of amount of tokens to transfer for each `from -> to` transfer.",
|
|
242
|
+
"data": "An array of additional data the caller wants included in the emitted event, and sent in the hooks to `from` and `to` addresses.",
|
|
243
|
+
"from": "An array of sending addresses.",
|
|
244
|
+
"to": "An array of receiving addresses."
|
|
199
245
|
}
|
|
200
246
|
},
|
|
201
247
|
"transferOwnership(address)": {
|
|
@@ -16,14 +16,24 @@
|
|
|
16
16
|
"details": "reverts when sending value to the `setData(..)` functions"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
+
"InvalidExtensionAddress(bytes)": [
|
|
20
|
+
{
|
|
21
|
+
"details": "reverts when the bytes retrieved from the LSP17 data key is not a valid address (not 20 bytes)"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"InvalidFunctionSelector(bytes)": [
|
|
25
|
+
{
|
|
26
|
+
"details": "reverts when the contract is called with a function selector not valid (less than 4 bytes of data)"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
19
29
|
"LSP4TokenNameNotEditable()": [
|
|
20
30
|
{
|
|
21
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed.
|
|
31
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
22
32
|
}
|
|
23
33
|
],
|
|
24
34
|
"LSP4TokenSymbolNotEditable()": [
|
|
25
35
|
{
|
|
26
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed.
|
|
36
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
27
37
|
}
|
|
28
38
|
],
|
|
29
39
|
"LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
|
|
@@ -43,7 +53,7 @@
|
|
|
43
53
|
],
|
|
44
54
|
"LSP7CannotSendWithAddressZero()": [
|
|
45
55
|
{
|
|
46
|
-
"details": "reverts when
|
|
56
|
+
"details": "reverts when trying to: - mint tokens to the zero address. - burn tokens from the zero address. - transfer tokens from or to the zero address."
|
|
47
57
|
}
|
|
48
58
|
],
|
|
49
59
|
"LSP7CannotUseAddressZeroAsOperator()": [
|
|
@@ -53,12 +63,12 @@
|
|
|
53
63
|
],
|
|
54
64
|
"LSP7DecreasedAllowanceBelowZero()": [
|
|
55
65
|
{
|
|
56
|
-
"details": "Reverts when trying to decrease an operator's allowance to more than
|
|
66
|
+
"details": "Reverts when trying to decrease an operator's allowance to more than its current allowance."
|
|
57
67
|
}
|
|
58
68
|
],
|
|
59
69
|
"LSP7InvalidTransferBatch()": [
|
|
60
70
|
{
|
|
61
|
-
"details": "reverts when the parameters used
|
|
71
|
+
"details": "reverts when the array parameters used in {transferBatch} have different lengths."
|
|
62
72
|
}
|
|
63
73
|
],
|
|
64
74
|
"LSP7NotifyTokenReceiverContractMissingLSP1Interface(address)": [
|
|
@@ -75,48 +85,61 @@
|
|
|
75
85
|
{
|
|
76
86
|
"details": "reverts when trying to authorize or revoke the token's owner as an operator."
|
|
77
87
|
}
|
|
88
|
+
],
|
|
89
|
+
"NoExtensionFoundForFunctionSelector(bytes4)": [
|
|
90
|
+
{
|
|
91
|
+
"details": "reverts when there is no extension for the function selector being called with"
|
|
92
|
+
}
|
|
78
93
|
]
|
|
79
94
|
},
|
|
80
95
|
"kind": "dev",
|
|
81
96
|
"methods": {
|
|
82
|
-
"authorizeOperator(address,uint256)": {
|
|
83
|
-
"
|
|
97
|
+
"authorizeOperator(address,uint256,bytes)": {
|
|
98
|
+
"custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
|
|
99
|
+
"details": "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
|
|
84
100
|
"params": {
|
|
85
|
-
"amount": "The amount of tokens operator has access to.",
|
|
86
|
-
"operator": "The address to authorize as an operator."
|
|
101
|
+
"amount": "The allowance amount of tokens operator has access to.",
|
|
102
|
+
"operator": "The address to authorize as an operator.",
|
|
103
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1."
|
|
87
104
|
}
|
|
88
105
|
},
|
|
89
106
|
"authorizedAmountFor(address,address)": {
|
|
90
|
-
"details": "
|
|
107
|
+
"details": "Get the amount of tokens `operator` address has access to from `tokenOwner`. Operators can send and burn tokens on behalf of their owners.",
|
|
91
108
|
"params": {
|
|
92
|
-
"operator": "The address to query
|
|
93
|
-
"tokenOwner": "The token owner."
|
|
109
|
+
"operator": "The operator's address to query the authorized amount for.",
|
|
110
|
+
"tokenOwner": "The token owner that `operator` has allowance on."
|
|
94
111
|
},
|
|
95
112
|
"returns": {
|
|
96
|
-
"_0": "The amount of tokens `operator` address has access
|
|
113
|
+
"_0": "The amount of tokens the `operator`'s address has access on the `tokenOwner`'s balance."
|
|
97
114
|
}
|
|
98
115
|
},
|
|
99
116
|
"balanceOf(address)": {
|
|
100
|
-
"details": "
|
|
117
|
+
"details": "Get the number of tokens owned by `tokenOwner`. If the token is divisible (the {decimals} function returns `18`), the amount returned should be divided by 1e18 to get a better picture of the actual balance of the `tokenOwner`. _Example:_ ``` balanceOf(someAddress) -> 42_000_000_000_000_000_000 / 1e18 = 42 tokens ```",
|
|
101
118
|
"params": {
|
|
102
|
-
"tokenOwner": "The address to query"
|
|
119
|
+
"tokenOwner": "The address of the token holder to query the balance for."
|
|
103
120
|
},
|
|
104
121
|
"returns": {
|
|
105
|
-
"_0": "The
|
|
122
|
+
"_0": "The amount of tokens owned by `tokenOwner`."
|
|
106
123
|
}
|
|
107
124
|
},
|
|
108
125
|
"constructor": {
|
|
109
126
|
"params": {
|
|
110
|
-
"name_": "The name of the token",
|
|
111
|
-
"newOwner_": "The owner of the token",
|
|
112
|
-
"symbol_": "The symbol of the token"
|
|
127
|
+
"name_": "The name of the token.",
|
|
128
|
+
"newOwner_": "The owner of the token contract.",
|
|
129
|
+
"symbol_": "The symbol of the token."
|
|
113
130
|
}
|
|
114
131
|
},
|
|
115
132
|
"decimals()": {
|
|
116
|
-
"details": "Returns the number of decimals used to get its user representation If the contract
|
|
133
|
+
"details": "Returns the number of decimals used to get its user representation. If the asset contract has been set to be non-divisible via the `isNonDivisible_` parameter in the `constructor`, the decimals returned wiil be `0`. Otherwise `18` is the common value.",
|
|
134
|
+
"returns": {
|
|
135
|
+
"_0": "the number of decimals. If `0` is returned, the asset is non-divisible."
|
|
136
|
+
}
|
|
117
137
|
},
|
|
118
|
-
"decreaseAllowance(address,uint256)": {
|
|
119
|
-
"
|
|
138
|
+
"decreaseAllowance(address,uint256,bytes)": {
|
|
139
|
+
"custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `substractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
|
|
140
|
+
"custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
|
|
141
|
+
"custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `substractedAmount`.",
|
|
142
|
+
"details": "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
|
|
120
143
|
"params": {
|
|
121
144
|
"operator": "the operator to decrease allowance for `msg.sender`",
|
|
122
145
|
"substractedAmount": "the amount to decrease by in the operator's allowance."
|
|
@@ -138,8 +161,20 @@
|
|
|
138
161
|
"dataValues": "The array of data stored at multiple keys"
|
|
139
162
|
}
|
|
140
163
|
},
|
|
141
|
-
"
|
|
142
|
-
"details": "
|
|
164
|
+
"getOperatorsOf(address)": {
|
|
165
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn on behalf of `tokenOwner`.",
|
|
166
|
+
"params": {
|
|
167
|
+
"tokenOwner": "The token owner to get the operators for."
|
|
168
|
+
},
|
|
169
|
+
"returns": {
|
|
170
|
+
"_0": "An array of operators allowed to transfer or burn tokens on behalf of `tokenOwner`."
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"increaseAllowance(address,uint256,bytes)": {
|
|
174
|
+
"custom:events": "{AuthorizedOperator} indicating the updated allowance",
|
|
175
|
+
"custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
|
|
176
|
+
"custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
|
|
177
|
+
"details": "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
|
|
143
178
|
"params": {
|
|
144
179
|
"addedAmount": "the additional amount to add on top of the current operator's allowance",
|
|
145
180
|
"operator": "the operator to increase the allowance for `msg.sender`"
|
|
@@ -157,10 +192,11 @@
|
|
|
157
192
|
"renounceOwnership()": {
|
|
158
193
|
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
|
|
159
194
|
},
|
|
160
|
-
"revokeOperator(address)": {
|
|
161
|
-
"details": "Removes `operator` address as an operator of callers tokens
|
|
195
|
+
"revokeOperator(address,bytes)": {
|
|
196
|
+
"details": "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
|
|
162
197
|
"params": {
|
|
163
|
-
"operator": "The address to revoke as an operator."
|
|
198
|
+
"operator": "The address to revoke as an operator.",
|
|
199
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1."
|
|
164
200
|
}
|
|
165
201
|
},
|
|
166
202
|
"setData(bytes32,bytes)": {
|
|
@@ -177,7 +213,7 @@
|
|
|
177
213
|
}
|
|
178
214
|
},
|
|
179
215
|
"supportsInterface(bytes4)": {
|
|
180
|
-
"details": "See
|
|
216
|
+
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
|
|
181
217
|
},
|
|
182
218
|
"symbol()": {
|
|
183
219
|
"details": "Returns the symbol of the token, usually a shorter version of the name.",
|
|
@@ -186,36 +222,36 @@
|
|
|
186
222
|
}
|
|
187
223
|
},
|
|
188
224
|
"totalSupply()": {
|
|
189
|
-
"details": "Returns the number of existing tokens.",
|
|
225
|
+
"details": "Returns the number of existing tokens that have been minted in this contract.",
|
|
190
226
|
"returns": {
|
|
191
|
-
"_0": "The number of existing tokens"
|
|
227
|
+
"_0": "The number of existing tokens."
|
|
192
228
|
}
|
|
193
229
|
},
|
|
194
230
|
"transfer(address,address,uint256,bool,bytes)": {
|
|
195
|
-
"details": "Transfers `amount` of tokens from `from`
|
|
231
|
+
"details": "Transfers an `amount` of tokens from the `from` address to the `to` address and notify both sender and recipients via the LSP1 {`universalReceiver(...)`} function. If the tokens are transferred by an operator on behalf of a token holder, the allowance for the operator will be decreased by `amount` once the token transfer has been completed (See {authorizedAmountFor}).",
|
|
196
232
|
"params": {
|
|
197
|
-
"allowNonLSP1Recipient": "When set to
|
|
233
|
+
"allowNonLSP1Recipient": "When set to `true`, the `to` address CAN be any address. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
198
234
|
"amount": "The amount of tokens to transfer.",
|
|
199
|
-
"data": "
|
|
200
|
-
"from": "The
|
|
201
|
-
"to": "The
|
|
235
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks of the `from` and `to` addresses.",
|
|
236
|
+
"from": "The sender address.",
|
|
237
|
+
"to": "The recipient address."
|
|
202
238
|
}
|
|
203
239
|
},
|
|
204
240
|
"transfer(address,uint256)": {
|
|
205
|
-
"
|
|
241
|
+
"custom:info": "This function uses the `allowNonLSP1Recipient` parameter as `true` so that EOA and any contract can receive tokens."
|
|
206
242
|
},
|
|
207
243
|
"transferBatch(address[],address[],uint256[],bool[],bytes[])": {
|
|
208
|
-
"details": "
|
|
244
|
+
"details": "Same as {`transfer(...)`} but transfer multiple tokens based on the arrays of `from`, `to`, `amount`.",
|
|
209
245
|
"params": {
|
|
210
|
-
"allowNonLSP1Recipient": "
|
|
211
|
-
"amount": "
|
|
212
|
-
"data": "
|
|
213
|
-
"from": "
|
|
214
|
-
"to": "
|
|
246
|
+
"allowNonLSP1Recipient": "For each transfer, when set to `true`, the `to` address CAN be any address. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
247
|
+
"amount": "An array of amount of tokens to transfer for each `from -> to` transfer.",
|
|
248
|
+
"data": "An array of additional data the caller wants included in the emitted event, and sent in the hooks to `from` and `to` addresses.",
|
|
249
|
+
"from": "An array of sending addresses.",
|
|
250
|
+
"to": "An array of receiving addresses."
|
|
215
251
|
}
|
|
216
252
|
},
|
|
217
253
|
"transferFrom(address,address,uint256)": {
|
|
218
|
-
"
|
|
254
|
+
"custom:info": "This function uses the `allowNonLSP1Recipient` parameter as `true` so that EOA and any contract can receive tokens."
|
|
219
255
|
},
|
|
220
256
|
"transferOwnership(address)": {
|
|
221
257
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|