CityCoins
Search…
CityCoin Contracts

CityCoin

    citycoin-vrf single contract used by all cities, takes a given stacks height and returns a uint via the on-chain VRF
    citycoin-core-trait single contract used by all cities, defining what a core-v1 contract should have at a minimum
    citycoin-token-trait single contract used by all cities, defining what a token contract should have at a minimum

MiamiCoin

Please note: the City of Miami has not yet officially claimed the MiamiCoin protocol contribution.

Error Codes

miamicoin-core-v1

Error Code
Description
u1000
ERR_UNAUTHORIZED
u1001
ERR_USER_ALREADY_REGISTERED
u1002
ERR_USER_NOT_FOUND
u1003
ERR_USER_ID_NOT_FOUND
u1004
ERR_ACTIVATION_THRESHOLD_REACHED
u1005
ERR_CONTRACT_NOT_ACTIVATED
u1006
ERR_USER_ALREADY_MINED
u1007
ERR_INSUFFICIENT_COMMITMENT
u1008
ERR_INSUFFICIENT_BALANCE
u1009
ERR_USER_DID_NOT_MINE_IN_BLOCK
u1010
ERR_CLAIMED_BEFORE_MATURITY
u1011
ERR_NO_MINERS_AT_BLOCK
u1012
ERR_REWARD_ALREADY_CLAIMED
u1013
ERR_MINER_DID_NOT_WIN
u1014
ERR_NO_VRF_SEED_FOUND
u1015
ERR_STACKING_NOT_AVAILABLE
u1016
ERR_CANNOT_STACK
u1017
ERR_REWARD_CYCLE_NOT_COMPLETED
u1018
ERR_NOTHING_TO_REDEEM
u1019
ERR_UNABLE_TO_FIND_CITY_WALLET
u1020
ERR_CLAIM_IN_WRONG_CONTRACT

miamicoin-token

Error Code
Description
u2000
ERR_UNAUTHORIZED
u2001
ERR_TOKEN_NOT_ACTIVATED
u2002
ERR_TOKEN_ALREADY_ACTIVATED
Last modified 2mo ago