Versions in this module Expand all Collapse all v1 v1.1.1 Oct 29, 2019 Changes in this version + var BcContract = "0xb78f12Cb3924607A8BC6a66799e159E3459097e9" + var BcPledgeContract = "0xFa58d9f83D1D86DF22435e67D5F7422337624737" + var SystemContract = "0x2ba8A6318fb0390e8693af78c8086C086D923A96" + func AccountCreate(passwd string) + func AccountCreateByKey(keyStr, passwd string) + func ActionCallBalanceOfBt(url string, addr, symbol string, contract types.Address) + func ActionCallBalenceofBc(url string, addr string) + func ActionCallGetDecimalsBt(url string, symbol string, contract types.Address) + func ActionCallGetNameBt(url string, symbol string, contract types.Address) + func ActionCallGetSupplyBt(url string, symbol string, contract types.Address) + func ActionCallPledgeofBc(url string, addr string) + func Blockproductor_start(url string, pwd string) + func GetAccountNonce(url, addr string) uint64 + func GetBlocCertificateByNumer(url, blkNumber string) + func GetBlockNumer(url string) uint64 + func GetPriKey(passord string) (*ecdsa.PrivateKey, types.Address, error) + func MakeBcPledgeTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, amount, txFee uint64) *transaction.Transaction + func MakeBcRedeemTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, amount, txFee uint64) *transaction.Transaction + func MakeBcTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, to string, ...) *transaction.Transaction + func MakeSystemTransaction(key *ecdsa.PrivateKey, nc uint64, txFee uint64, path string) *transaction.Transaction + func NewKey() + func SendRawTransaction(url string, tx *transaction.Transaction) + func TxPost(url string, method string, paras ...interface{}) []byte + type Big_token_create struct + BlkNumber uint64 + ConAddr types.Address + Decimals string + Expiry uint32 + IsIssue uint32 + Key *ecdsa.PrivateKey + Name string + Nc uint64 + Supply string + Symbol string + TxFee uint64 + func (b *Big_token_create) MakeTransaction() *transaction.Transaction + type Big_token_issue struct + Amount string + BlkNumber uint64 + ConAddr types.Address + Expiry uint32 + Key *ecdsa.PrivateKey + Memo string + Nc uint64 + Symbol string + TxFee uint64 + func (b *Big_token_issue) MakeTransaction() *transaction.Transaction + type Big_token_tr struct + Amount string + BlkNumber uint64 + ConAddr types.Address + Expiry uint32 + Key *ecdsa.PrivateKey + Memo string + Nc uint64 + Symbol string + To string + TxFee uint64 + func (b *Big_token_tr) MakeTransaction() *transaction.Transaction + type TrScanRlt struct + Amount uint64 + From string + Memo string + To string + func GetBlockByNumer(url, blkNumber string) []TrScanRlt