Documentation ¶
Index ¶
- Variables
- 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
- type Big_token_issue
- type Big_token_tr
- type TrScanRlt
Constants ¶
This section is empty.
Variables ¶
View Source
var BcContract = "0xb78f12Cb3924607A8BC6a66799e159E3459097e9"
View Source
var BcPledgeContract = "0xFa58d9f83D1D86DF22435e67D5F7422337624737"
View Source
var SystemContract = "0x2ba8A6318fb0390e8693af78c8086C086D923A96"
Functions ¶
func AccountCreate ¶
func AccountCreate(passwd string)
func AccountCreateByKey ¶
func AccountCreateByKey(keyStr, passwd string)
func ActionCallBalanceOfBt ¶
func ActionCallBalenceofBc ¶
func ActionCallGetDecimalsBt ¶
func ActionCallGetNameBt ¶
func ActionCallGetSupplyBt ¶
func ActionCallPledgeofBc ¶
func Blockproductor_start ¶
func GetAccountNonce ¶
func GetBlocCertificateByNumer ¶
func GetBlocCertificateByNumer(url, blkNumber string)
func GetBlockNumer ¶
func MakeBcPledgeTransaction ¶
func MakeBcPledgeTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, amount, txFee uint64) *transaction.Transaction
func MakeBcRedeemTransaction ¶
func MakeBcRedeemTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, amount, txFee uint64) *transaction.Transaction
func MakeBcTransaction ¶
func MakeBcTransaction(addr types.Address, key *ecdsa.PrivateKey, nc uint64, to string, amount, txFee uint64, memo string) *transaction.Transaction
func MakeSystemTransaction ¶
func MakeSystemTransaction(key *ecdsa.PrivateKey, nc uint64, txFee uint64, path string) *transaction.Transaction
func SendRawTransaction ¶
func SendRawTransaction(url string, tx *transaction.Transaction)
Types ¶
type Big_token_create ¶
type Big_token_create struct { Key *ecdsa.PrivateKey ConAddr types.Address Nc uint64 TxFee uint64 Symbol string Name string Decimals string Supply string IsIssue uint32 BlkNumber uint64 Expiry uint32 }
func (*Big_token_create) MakeTransaction ¶
func (b *Big_token_create) MakeTransaction() *transaction.Transaction
type Big_token_issue ¶
type Big_token_issue struct { Key *ecdsa.PrivateKey ConAddr types.Address Nc uint64 TxFee uint64 Symbol string Amount string Memo string BlkNumber uint64 Expiry uint32 }
func (*Big_token_issue) MakeTransaction ¶
func (b *Big_token_issue) MakeTransaction() *transaction.Transaction
type Big_token_tr ¶
type Big_token_tr struct { Key *ecdsa.PrivateKey ConAddr types.Address Nc uint64 TxFee uint64 To string Amount string Symbol string Memo string BlkNumber uint64 Expiry uint32 }
func (*Big_token_tr) MakeTransaction ¶
func (b *Big_token_tr) MakeTransaction() *transaction.Transaction
Click to show internal directories.
Click to hide internal directories.