LzTokenDeployer

Solidity API

LzTokenDeployer

gasLimit

uint256 gasLimit

deployer

contract TokenDeployer deployer

initialize

function initialize(address _endpoint, contract TokenDeployer _deployer) external

receive

receive() external payable

withdraw

function withdraw(address to) external payable

adapterParams

function adapterParams() public view returns (bytes)

estimateFees

function estimateFees(uint16 dstChainId, uint256 pid, address owner, string metadataURI, struct DataTypes.TaxableTokenData args) external view returns (uint256 nativeFee, uint256 zroFee)

setGasLimit

function setGasLimit(uint256 _gasLimit) external

setTrustedForwarder

function setTrustedForwarder(address _forwarder) external

deploy

function deploy(uint16 dstChainId, uint256 pid, address owner, string metadataURI, struct DataTypes.TaxableTokenData args) external payable

_nonblockingLzReceive

function _nonblockingLzReceive(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload) internal virtual

_msgData

function _msgData() internal view virtual returns (bytes ret)

_msgSender

function _msgSender() internal view returns (address sender)

LzTokenDeployerV2

setDeployer

function setDeployer(contract TokenDeployer _deployer) external

Last updated