Documentation
¶
Overview ¶
Package icap
@author: xwc1125
Package icap ¶
@author: xwc1125
Package icap ¶
@author: xwc1125
Package icap ¶
@author: xwc1125
Index ¶
- Variables
- func AddressPrettyFromIban(tAddr string) (addressPretty, error)
- func Base36Encode(i *big.Int) string
- func ConvertAddressToICAP(prefix string, orgCode string, a types.Address) string
- func ConvertICAPToAddress(prefix string, orgCodeLen int, s string) (types.Address, error)
- func LeftJoin(str string, resultLen int) string
- func NewAddressPretty(chainName string, address types.Address) addressPretty
- type Customer
- type IBanInfo
- type THash
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AddressPrettyPrefix = 4 AddressPrettyLen = 37 EmptyAddressPretty = addressPretty{ Addr: types.EmptyAddress, } )
View Source
var ( Big1 = big.NewInt(1) Big0 = big.NewInt(0) Big36 = big.NewInt(36) Big97 = big.NewInt(97) Big98 = big.NewInt(98) )
View Source
var (
Base36Chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
)
Functions ¶
func AddressPrettyFromIban ¶
AddressPrettyFromIban 字符串转对象
func Base36Encode ¶
func ConvertAddressToICAP ¶
func ConvertICAPToAddress ¶
func NewAddressPretty ¶
Types ¶
type Customer ¶
type Customer struct {
// contains filtered or unexported fields
}
func NewCustomer ¶
type IBanInfo ¶
type IBanInfo struct {
// contains filtered or unexported fields
}
func NewIBanInfo ¶
func (*IBanInfo) CurrencyLen ¶
func (*IBanInfo) CustomerLen ¶
func (*IBanInfo) OrgCodeLen ¶
Click to show internal directories.
Click to hide internal directories.