Skip to content
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

Withdraw Docs #2834

Open
trajan0x opened this issue Jul 2, 2024 · 1 comment
Open

Withdraw Docs #2834

trajan0x opened this issue Jul 2, 2024 · 1 comment
Assignees

Comments

@trajan0x
Copy link
Contributor

trajan0x commented Jul 2, 2024

Add documentation to docs/bridge for #2826

Copy link

greptile-apps bot commented Jul 2, 2024

To address issue #2826, add documentation for the withdraw functionality to docs/bridge. The relevant code can be found in services/explorer/contracts/bridge/bridgev1/withdraw.go and services/explorer/contracts/bridge/withdraw.go. Document the following methods:

  1. GetRaw: Retrieves raw event logs.
  2. GetToken: Gets the token address.
  3. GetAmount: Gets the token amount.
  4. GetEventType: Gets the event type.
  5. GetFee: Gets the fee for the withdraw.
  6. GetKappa: Gets the kappa value.
  7. GetTxHash: Gets the transaction hash.
  8. GetBlockNumber: Gets the block number.
  9. GetContractAddress: Gets the contract address.
  10. GetRecipient: Gets the recipient address.
  11. GetSwapTokenIndex, GetSwapMinAmount, GetSwapDeadline, GetSwapSuccess: Document these methods for SynapseBridgeTokenWithdrawAndRemove.

References

/docs/bridge/docs
/services/explorer/contracts/bridge/bridgev1/withdraw.go
/services/explorer/contracts/bridge/withdraw.go

About Greptile

This response provides a starting point for your research, not a precise solution.

Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

Ask Greptile · Edit Issue Bot Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants