transfer
, get-balance
, and more.send-many
function, allowing up to 200 transfer operations to be performed in a single transaction.u
for micro-
.coreContract as principal
and stacksHeight as uint
(ok true)
ERR_UNAUTHORIZED u2000
ERR_TOKEN_ALREADY_ACTIVATED u2002
none
(ok (coinbaseThresholds)) as a tuple
or error
ERR_CONTRACT_NOT_ACTIVATED u1005
ERR_TOKEN_NOT_ACTIVATED u2001
coinbaseThreshold1
- the ending block height of the first 210,000 block period, including the 250,000 CityCoin bonus block reward and the 100,000 CityCoin block rewardcoinbaseThreshold2
- the ending block height of the second 210,000 block period, including the 50,000 CityCoin block rewardcoinbaseThreshold3
- the ending block height of the third 210,000 block period, including the 25,000 CityCoin block rewardcoinbaseThreshold4
- the ending block height of the fourth 210,000 block period, including the 12,500 CityCoin block rewardcoinbaseThreshold5
- the ending block height of the fifth 210,000 block period, including the 6,250 CityCoin block rewardminerBlockHeight as uint
newUri as optional string-utf8 256
(ok true)
ERR_UNAUTHORIZED u2000
set-token-uri
function, which accepts a new URI as an optional parameter.recipients as list of tuples, up to 200, including:
to as principal
amount as uint
memo as optional buff 34
(ok true)
ERR_UNAUTHORIZED u2000
send-many
function in the token contract, which accepts a list up to 200 items in length.amount as uint
and owner as principal
(ok true)
ERR_UNAUTHORIZED u2000
none
(ok true)
ERR_V1_BALANCE_NOT_FOUND u2003
amount as uint
, from as principal
, to as principal
, memo as optional buff 34
(ok true)
ERR_UNAUTHORIZED u2000
transfer
function in the token contract, which accepts information about the transfer and an optional memo that is printed on-chain.none
(ok tokenName)
none
(ok tokenSymbol)
none
(ok tokenDecimals)
user as principal
(ok balance)
none
(ok totalSupply)
none
(ok tokenUri)