Documentation
¶
Index ¶
- func Bech32Address(address string) (string, string, error)
- func DecimalAdd(a, b string) (string, error)
- func DecimalDivRound(a, b string, precision int32) (string, error)
- func DecimalMul(a, b string) (string, error)
- func DecimalSub(a, b string) (string, error)
- func Ecrecover(hash, sig string) (string, error)
- func HashTypedData(typedDataJson string) (string, error)
- func HexToAddress(address string) string
- func Keccak256(data string) string
- func TableInsert(db *gorm.DB, table string, obj map[string]any) error
- func TableSelect(db *gorm.DB, query string) ([]map[string]any, error)
- type FetchArgs
- type FetchResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecimalAdd ¶ added in v1.0.8
func DecimalDivRound ¶ added in v1.0.8
func DecimalMul ¶ added in v1.0.8
func DecimalSub ¶ added in v1.0.8
func HashTypedData ¶ added in v1.0.6
func HexToAddress ¶ added in v1.0.6
Types ¶
Click to show internal directories.
Click to hide internal directories.