-
Notifications
You must be signed in to change notification settings - Fork 1
feat: TEP89Proxy standard proof added #18
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
base: main
Are you sure you want to change the base?
Conversation
Kaladin13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great pr overall: let's add tests (perfectly just make existing one work) and fix a few comments
| action: Cell<JettonTransferNotificationWithVaultAction> | ||
| } | ||
|
|
||
| struct (0xd1735400) TakeWalletAddress { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe let's reuse existing message type? I think it already exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't exist in messages.tolk, couldn't find it in other files as well, not sure if it's somewhere there
| includeAddress: bool | ||
| } | ||
|
|
||
| type AllowedMessagesForProxy = TakeWalletAddress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's move this to the place where it is used, e.g. proxy.tolk on top
| } | ||
|
|
||
| fun checkProof(proof: JettonVaultProof, minter: address, msgSender: address) { | ||
| fun exit(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add comment why we need this (also cant we do this with raw return since this is Tolk?)
| discoveryId: uint64 // Unique discovery ID (salt) | ||
| } | ||
|
|
||
| fun ProxyStorage.load() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to the proxy file on top
Added TEP89 Proof alongside minor change in the JettonVault storage, now containing the ref to Proxy contract code. Made temporary wrapper for it, requires tests adaptation from tact dex repo.