planetmint-go/x/dao/util.go
Jürgen Eckel 5f834726b8
from float to satoshi (#134)
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-10 15:15:10 +02:00

11 lines
330 B
Go

package dao
func GetReissuanceCommand(asset_id string, BlockHeight int64) string {
return "reissueasset " + asset_id + " 99869000000"
}
func IsValidReissuanceCommand(reissuance_str string, asset_id string, BlockHeight uint64) bool {
expected := "reissueasset " + asset_id + " 99869000000"
return reissuance_str == expected
}