Skip to main content

Starknet Messaging

starknetCore

contract IStarknetMessaging starknetCore

Starknet messaging interface.

Parameters

NameTypeDescription
_starknetCoreaddressStarknet core interface.

depositToBridgeToken

function depositToBridgeToken(address l1BridgeAddress, uint256 _l2Receiver, uint256 _amount, uint256 _value) internal

deposit tokens to Starknet bridge.

depositCancelRequestToBridgeToken

function depositCancelRequestToBridgeToken(address l1BridgeAddress, uint256 _l2Receiver, uint256 _amount, uint256 _nonce) internal

cancel deposit tokens to Starknet bridge.

depositReclaimToBridgeToken

function depositReclaimToBridgeToken(address l1BridgeAddress, uint256 _l2Receiver, uint256 _amount, uint256 _nonce) internal

cancel deposit tokens to Starknet bridge.

u256

function u256(uint256 _value) internal pure returns (uint256 low, uint256 high)