Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeRpcService ¶
type BridgeRpcService interface { ChangeTransferStatus(sourceChainId, destChainId, txHash string) (*pb.CrossChainTransferStatusResponse, error) CrossChainTransfer(sourceChainId, destChainId, amount, receiveAddress, tokenAddress, fee, nonce, sourceHash string) (*pb.CrossChainTransferResponse, error) UpdateWithdrawFundingPoolBalance(sourceChainId, destChainId, amount, receiveAddress, tokenAddress, hash string) (*pb.UpdateWithdrawFundingPoolBalanceResponse, error) UpdateDepositFundingPoolBalance(sourceChainId, destChainId, amount, receiveAddress, tokenAddress, hash string) (*pb.UpdateDepositFundingPoolBalanceResponse, error) UnstakeBatch(sourceHash, sourceChainId, destChainId string, strategyMap map[string]uint64) (*pb.UnstakeBatchResponse, error) BatchMint(batchId uint64, batchMint map[string]string) (*pb.BatchMintResponse, error) TransferToL2DappLinkBridge(batchId uint64, ChainId, StrategyAddress string) (*pb.TransferToL2DappLinkBridgeResponse, error) }
func NewBridgeRpcService ¶
func NewBridgeRpcService(rpcUrl string) (BridgeRpcService, error)
Click to show internal directories.
Click to hide internal directories.