L2WormholeGateway
IWormholeTokenBridge
completeTransferWithPayload
function completeTransferWithPayload(bytes encodedVm) external returns (bytes)parseTransferWithPayload
function parseTransferWithPayload(bytes encoded) external pure returns (struct IWormholeTokenBridge.TransferWithPayload transfer)transferTokens
function transferTokens(address token, uint256 amount, uint16 recipientChain, bytes32 recipient, uint256 arbiterFee, uint32 nonce) external payable returns (uint64 sequence)transferTokensWithPayload
function transferTokensWithPayload(address token, uint256 amount, uint16 recipientChain, bytes32 recipient, uint32 nonce, bytes payload) external payable returns (uint64 sequence)TransferWithPayload
struct TransferWithPayload {
uint8 payloadID;
uint256 amount;
bytes32 tokenAddress;
uint16 tokenChain;
bytes32 to;
uint16 toChain;
bytes32 fromAddress;
bytes payload;
}L2WormholeGateway
bridge
bridgeToken
tbtc
gateways
mintingLimit
mintedAmount
WormholeTbtcReceived
WormholeTbtcSent
WormholeTbtcDeposited
GatewayAddressUpdated
MintingLimitUpdated
initialize
sendTbtc
Parameters
Name
Type
Description
Return Values
Name
Type
Description
receiveTbtc
Parameters
Name
Type
Description
depositWormholeTbtc
Parameters
Name
Type
Description
updateGatewayAddress
Parameters
Name
Type
Description
updateMintingLimit
Parameters
Name
Type
Description
toWormholeAddress
Parameters
Name
Type
Description
fromWormholeAddress
Parameters
Name
Type
Description
normalize
Last updated
Was this helpful?