Developers
DevelopersGuides
  • Introducing Bond
    • Introduction
    • Why we build Bond?
    • Roles In Bond Ecosystem
    • Decentralised Relations/Social Graph
    • Architecture
    • Bond Reward Model
      • Leech Principle
      • Barrel Principle
  • Main Concepts
    • Bond Profile
      • Identity
      • Relationships
      • Content
      • Creator Economy
    • Connection
      • Connection NFTs
    • Bond Social Graph
    • Centralities
      • In/Out Degree Centrality
      • Betweenness Centrality
      • Closeness Centrality
      • PageRank Centrality
    • Reward Models
    • Reward Contracts
    • Off-chain Oracles
    • Gasless Mode
    • Cross Chain Messaging and Pay Gas with Bond Token
  • Bond API
    • Introduction
    • API Urls
    • Getting started with GraphQL
    • Authentication
      • Login
      • Refresh JWT
    • Profile
      • Create Profile
      • SetProfileMetadata
    • Connect
      • Connect a profile
      • Disconnect
  • Smart Contracts
    • BondHub
    • MerkelDistributor
    • TokenDeployer
    • SingleStakePoolDeployer
    • LzTokenDeployer
    • LzSingleStakePoolDeployer
  • Bond SDK
    • Bond JS SDK
      • Authenticate
      • Create Profile
      • Connect
  • Bond Nodes
    • Hardware Requirements
    • Set up and Deploy
    • Node Config (TOML)
    • Secrets Config (TOML)
    • Role-Based Access Control (RBAC)
  • References
    • Deployed Contracts
    • Github
Powered by GitBook
On this page
  • Solidity API
  • LzTokenDeployer
  • LzTokenDeployerV2
  1. Smart Contracts

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
PreviousSingleStakePoolDeployerNextLzSingleStakePoolDeployer

Last updated 1 year ago