LUKSO Improvement Proposals. Repository for the LUKSO Blockchain Improvement Proposals (LIPs) and LUKSO Standards Process (LSP).
100
stars
44
forks
source link
[I-04] Inconsistencies in the LSP-7 specification #274
Closed
YamenMerhi closed 10 months ago
What does this PR introduce ?
Add missing parameters and requirements as follow:
authorizedAmountFor
tokenOwner
missing parameterincreaseAllowance
operator
cannot be calling address.operator
cannot be the zero address.decreaseAllowance
operator
cannot be calling address.operator
cannot be the zero address.subtractedAmount
must be less than theoperator
's current allowance.transferBatch
from
,to
,amount
,force
, anddata
lists are the same length.Interface Cheat Sheet
transferBatch()
-force
parameterbool
array -->bool[] memory force
.batchCalls()
-data
parametercalldata
. -->memory
.To be discussed:
transfer
from
andto
cannot be the same address.transferBatch
from
andto
cannot be the same address.