Documentation
¶
Index ¶
- Constants
- Variables
- func AmountToStr(_decimals int64, amount *big.Int) *big.Float
- func BigIntToDecimal(b *big.Int, decimalPlaces int32) decimal.Decimal
- func EventAddressHashFormat(h common.Hash) string
- func GetMethodHash(obj any) []byte
- func GetMethodHashString(obj any) string
- func SigHash(instructName string) [8]byte
- func SigHashEvent(instructName string) [8]byte
- func ToValidateAddress(address string) string
- func UnmarshalBorsh(dataBytes []byte, obj any) error
Constants ¶
View Source
const ProgramDataPrefix = "Program data: "
for solana
Variables ¶
View Source
var (
Tron = tron{}
)
Functions ¶
func EventAddressHashFormat ¶
func GetMethodHash ¶
func GetMethodHashString ¶
func ToValidateAddress ¶
func UnmarshalBorsh ¶
UnmarshalBorsh for solana
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.