package
0.0.0-20250117074236-2ff0d9ba57f2
Repository: https://github.com/latticebclab/go-lattice.git
Documentation: pkg.go.dev

# Functions

AddressToZltc 将ETH地址转为ZLTC地址 Parameters: - address common.Address: 0x9293c604c644bfac34f498998cc3402f203d4d6b Returns: - string: zltc地址,zltc_dhdfbm9JEoyDvYoCDVsABiZj52TAo9Ei6.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BytesToBytes32Arr 将[]byte转为[][32]byte,长度不足时在数组尾部补0 Parameters: - bytes []byte: Example: [1, 2, 3, 4, 5] Returns: - [][32]byte: Example: [[1 2 3 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]].
BytesToBytes32HexArr 将[]byte转为[]string数组 Parameters: - bytes []byte Returns: - []string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PadToMultipleOf32 将[]byte补0至为32的整数倍 Parameters: - bytes []byte: Example: [1, 2, 3, 4, 5] Returns: - []byte: Example: [1 2 3 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0].
No description provided by the author
StringToBigInt 将字符串数子转为big.Int类型 Parameters: - data string Returns: - *big.Int.
ZltcMustToAddress 将ZLTC地址转为ETH地址 Parameters - s string: zltc地址,Example:zltc_dhdfbm9JEoyDvYoCDVsABiZj52TAo9Ei6 Returns - Address: 0x9293c604c644bfac34f498998cc3402f203d4d6b.
ZltcToAddress 将ZLTC地址转为ETH地址 Parameters - s string: zltc地址,Example:zltc_dhdfbm9JEoyDvYoCDVsABiZj52TAo9Ei6 Returns - Address: 0x9293c604c644bfac34f498998cc3402f203d4d6b - error:.