Mock Coins

Simulates Share Coin and USDT tokens, mainly for testing purposes.

USDT

mint

function mint(address to, uint256 amount)

Anyone can mint test USDT tokens for themselves by calling the mint function of Mock USDT.

Parameters:

name
type
description

to

address

接收人地址

amount

uint256

代币铸造数量

Share

mint

function mint(
        address[] memory tos,
        uint256[] memory amounts
    )

Administrators can mint a specific amount of RWA Share Coin for a specific address to be used as proof of RWA assets.

Parameters:

name
type
description

tos

address[]

recipient address array

amounts

uint256[]

Array dof number of tokens minted

Last updated