Conversation
|
|
I think |
|
I think first of all we need a new standard here. NEP-5 is NEP-5 and it shouldn't be changed. |
|
yes that also |
|
And also, |
We use different standards for neo2 and neo 3. Before mainnet it's only an amend. |
This just breaks more existing tools unnecessary |
I think it is compatible with NEP-5. Because there is no |
It's not enough IMO. A standard only works if it's the standard, it doesn't change in any way and any reference to it has exactly the same meaning. Otherwise "NEP-5 compliance" doesn't really mean anything, it could NEP-5 of this or that or some other revision and no one would be able to tell what exactly is meant by this. |
|
I also believe it is still compatible with NEP-5. |
compatibility != compliancy |
|
I'd rather you amend Neo3's definition of NEP-5 to declare that it must follow a new onPayment NEP, rather than put onPayment straight into NEP-5. Ideally we can avoid amendment entirely and just leave NEP-5 alone. I think a NEP-5 token upgraded to take advantage of new functionality is not a NEP-5 token, it is something new, NEP-20 etc. |
This is a good point, @edgedlt. |
|
@edgedlt, in fact, this |
|
Automatically refunding accidental transfers seems like a nice use case. |
|
I think it would abort execution, @edgedlt, not even a need to refund. |
I'm afraid not. The parameter list is NEP-5 specific. For example, if it is NFT transfer, then the parameter list of |
|
If a contract is deployed but the |
|
Maybe yes, @erikzhang, because any valid address should be able to receive assets. |
We can make |
Or if there is no |
Co-authored-by: Erik Zhang <erik@neo.org>
|
I think @edgedlt has a good point.. are we able to create some new standard, NEP-XX which is named like "NEP-5 on Neo3", just including this amend? |
|
I created a new PR with a new NEP number: #126 |
|
Closed in favor of #126 |
onPaymentmethodClose #108