-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create 0180-ton-standard-interface-detection #180
base: master
Are you sure you want to change the base?
Create 0180-ton-standard-interface-detection #180
Conversation
A new TON Enhancement Proposal (TEP) has been added, proposing a standard interface detection mechanism for the TON blockchain. This is inspired by Ethereum's EIP-165 and aims to standardize methods for detecting and confirming the implementation of interfaces in smart contracts using FIFT, FUNC, and TACT languages. The proposal includes detailed specifications, example implementations, rationale behind the proposal, implementation steps, backward compatibility considerations, test cases and security considerations.
…tion Fix type and other bugs.
2 bytes ID it's only 65535 variants and can give a lot of collisions. for NFT collection |
(1-1) Currently, I'm on the fence that selecting a function ID to be consistent with 16-bit lite-client style or use 32-bit length. However, if you support the perspective not following the lite-client style in this topic, I think it's good to adopt the request flag (1-2) The former will not get significant benefits (we can call lite-client simultaneously). However, the latter scenario will benefit from this TEP. I believe that it's not an efficient way to send several internal messages to the contract asking whether it supports a specific interface. (2) |
A new TON Enhancement Proposal (TEP) has been added, proposing a standard interface detection mechanism for the TON blockchain. This is inspired by Ethereum's EIP-165 and aims to standardize methods for detecting and confirming the implementation of interfaces in smart contracts using FIFT, FUNC, and TACT languages. The proposal includes detailed specifications, example implementations, rationale behind the proposal, implementation steps, backward compatibility considerations, test cases and security considerations.