IDeBridgeTokenDeployer

Functions

deployAsset

1
function deployAsset(
2
bytes32 _debridgeId,
3
string _name,
4
string _symbol,
5
uint8 _decimals
6
) external returns (address deTokenAddress)
Copied!
Deploy a deToken(DeBridgeTokenProxy) for an asset

Parameters:

Name
Type
Description
_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

1
event DeBridgeTokenDeployed(
2
address asset,
3
string name,
4
string symbol,
5
uint8 decimals
6
)
Copied!
Emitted when a deToken(DeBridgeTokenProxy) is deployed using this contract