Withdraw
type WithdrawBuilder
type WithdrawBuilder struct {
AccountId AccountId
SubAccountId SubAccountId
ToChainId ChainId
ToAddress ZkLinkAddress
L2SourceToken TokenId
L1TargetToken TokenId
Amount BigUint
Fee BigUint
Nonce Nonce
WithdrawFeeRatio uint16
WithdrawToL1 bool
Timestamp TimeStamp
}type Withdraw
func NewWithdraw(builder WithdrawBuilder)
func (*Withdraw) GetBytes
func (*Withdraw) TxHash
func (*Withdraw) IsValid
func (*Withdraw) CreateSignedTx
func (*Withdraw) GetSignature
func (*Withdraw) IsSignatureValid
func (*Withdraw) EthSignature
func (*Withdraw) SubmitterSignature
func (*Withdraw) ToZklinkTx
Last updated