Skip to content

payprotocol/knt-pci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Payprotocol Token Chaincode

Payprotocol Token (PCI)

API

method func [arg1, arg2, ... ] {trs1, trs2, ... }

  • method : query or invoke
  • func : function name
  • [arg] : mandatory argument
  • [arg] : optional argument
  • {trs} : mandatory transient
  • {trs} : optional transient

query burn [total_supply, genesis_account_balance, max_amount]

  • Get burnable amount
  • [total_supply] : current total supply
  • [genesis_account_balance] : current balance amount of the genesis account
  • [max_amount] : amount to burn, but the actual return value less or equal than it, (if max_amount <= 0, no limit)

query mint [total_supply, genesis_account_balance, max_amount]

  • Get mintable amount
  • [total_supply] : current total supply
  • [genesis_account_balance] : current balance amount of the genesis account
  • [max_amount] : amount to mint, but the actual return value less or equal than it, (if max_amount <= 0, no limit)

query token

  • Get initial meta data of the token

About

PCI (PayCoin) meta chaincode

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages