IDeBridgeTokenDeployer

Functions

deployAsset

  function deployAsset(
            bytes32 _debridgeId,
            string _name,
            string _symbol,
            uint8 _decimals
  ) external returns (address deTokenAddress)

Deploy a deToken(DeBridgeTokenProxy) for an asset

Parameters:

NameTypeDescription

_debridgeId

bytes32

Asset id, see DeBridgeGate.getDebridgeId

_name

string

The asset's name

_symbol

string

The asset's symbol

_decimals

uint8

The asset's decimals

Events

DeBridgeTokenDeployed

  event DeBridgeTokenDeployed(
        address asset,
        string name,
        string symbol,
        uint8 decimals
  )

Emitted when a deToken(DeBridgeTokenProxy) is deployed using this contract

Last updated