public static void UpdateReefFishesDead(byte[] reef, byte[] fish) { byte[] keyOfToReefFishesDead = KeyOfReefFishesDead(reef); GenericDao.Put(keyOfToReefFishesDead, fish); }
public static void UpdateBlockHeightFedReef(byte[] reef, byte[] fish) { byte[] keyOfBlockHeightFedReef = KeyOfBlockHeightFedReef(reef); GenericDao.Put(keyOfBlockHeightFedReef, fish); }
public static void UpdateReefFishesAlive(byte[] reef, byte[] fish) { byte[] keyOfToReefFishesAlive = KeyOfReefFishesAlive(reef); GenericDao.Put(keyOfToReefFishesAlive, fish); }
internal static void UpdateExchangeByScriptHash(byte[] scriptHash, BigInteger value) { byte[] exchangedKey = KeyOfExchangedByScriptHash(scriptHash); GenericDao.Put(exchangedKey, value.AsByteArray()); }
public static void SetTotalSupply(BigInteger maximumSupply) { byte[] maximumSupplyByteArray = maximumSupply.AsByteArray(); byte[] totalSupplyKey = KeyOfTotalSupply(); GenericDao.Put(totalSupplyKey, maximumSupplyByteArray); }
public static void UpdateBalance(byte[] reef, BigInteger value) { byte[] balanceKey = KeyOfBalance(reef); GenericDao.Put(balanceKey, value.AsByteArray()); }
public static void UpdateKYCStatus(byte[] scriptHash, BigInteger status) { byte[] kycKey = KeyOfKyc(scriptHash); GenericDao.Put(kycKey, status.AsByteArray()); }