개요
입력한 파라미터를 기반으로 토큰(ERC-20)을 발행합니다.
해당 트랜잭션의 블록체인 탐색기(ex: etherscan) url을 포함합니다.
Parameters
Response
호출 결과 성공여부 (성공: OK, 실패: FAIL)
value (array of object)
Example
// parameters
val network = "polygon"
val owner = "0x..."
val name = "aosaos"
val symbol = "AOS"
val total_supply = "10000000000" // wei
val deployErc20Async = deployErc20Async(network,
owner,
name,
symbol,
total_supply)
println(deployErc20Async)
// deployErc20Async result log
/*
{
"result": "OK",
"valuse": [
{
"transaction_hash": "0x..."
}
]
}
*/
Parameters
Response
호출 결과 성공여부 (성공: OK, 실패: FAIL)
value (array of object)
Example
// parameters
let network = "polygon"
let owner = "0x..."
let name = "iosios"
let symbol = "IOS"
let total_supply = "10000000000" // wei
let deployErc20 = try await deployErc20Async(network: network,
owner: owner,
name: name,
symbol: symbol,
totalSupply: total_supply)
print(deployErc20)
// deployErc20 result log
/*
{
"result": "OK",
"valuse": [
{
"transaction_hash": "0x..."
}
]
}
*/