Open trajan0x opened 3 days ago
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:
GetRaw
: Retrieves raw event logs.GetToken
: Gets the token address.GetAmount
: Gets the token amount.GetEventType
: Gets the event type.GetFee
: Gets the fee for the withdraw.GetKappa
: Gets the kappa value.GetTxHash
: Gets the transaction hash.GetBlockNumber
: Gets the block number.GetContractAddress
: Gets the contract address.GetRecipient
: Gets the recipient address.GetSwapTokenIndex
, GetSwapMinAmount
, GetSwapDeadline
, GetSwapSuccess
: Document these methods for SynapseBridgeTokenWithdrawAndRemove
./docs/bridge/docs /services/explorer/contracts/bridge/bridgev1/withdraw.go /services/explorer/contracts/bridge/withdraw.go
Add documentation to docs/bridge for #2826