planetmint-go/x/dao/util.go
Jürgen Eckel b4ddc44044
* integrated ante-handler
* added two new config variables: reissuance-asset and validator-address

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-10 01:24:28 +02:00

11 lines
320 B
Go

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