bridge

package
v0.0.0-...-e865ecf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 5 Imported by: 0

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)
	MigrateL1Shares(sourceHash, chainId, strategy, staker, shares string, nonce uint64) (*pb.MigrateL1SharesResponse, 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)

Directories

Path Synopsis
protobuf
pb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL