Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ FormatOng
Function
FormatOng
cmd/utils/utils.go:71–73 ·
view source on GitHub ↗
(amount uint64)
Source
from the content-addressed store, hash-verified
69
}
70
71
func
FormatOng(amount uint64) string {
72
return
FormatAssetAmount(amount, PRECISION_ONG)
73
}
74
75
func
ParseOng(rawAmount string) uint64 {
76
return
ParseAssetAmount(rawAmount, PRECISION_ONG)
Callers
9
transferTx
Function · 0.92
approveTx
Function · 0.92
transferFromTx
Function · 0.92
transfer
Function · 0.92
getBalance
Function · 0.92
getAllowance
Function · 0.92
approve
Function · 0.92
transferFrom
Function · 0.92
TestFormatOng
Function · 0.85
Calls
1
FormatAssetAmount
Function · 0.85
Tested by
1
TestFormatOng
Function · 0.68