Documentation ¶
Index ¶
- func Bin(content []byte) ([]byte, error)
- func BinFile(binFile string) ([]byte, error)
- type Config
- type Contract
- func (contract *Contract) Address() common.Address
- func (contract *Contract) Call(v interface{}, from common.Address, functionName string, args ...interface{}) (interface{}, error)
- func (contract *Contract) CallEx(nonce uint64, functionName string, args ...interface{}) (*common.Hash, error)
- func (contract *Contract) Close()
- func (contract *Contract) Deploy(nonce uint64, code []byte, args ...interface{}) (*common.Hash, error)
- type Ext
- func (ext *Ext) FillTx(nonce *uint64, amount *big.Int) (*eip155.Transaction, error)
- func (ext *Ext) NewContract(abiJson []byte, addr common.Address) (*Contract, error)
- func (ext *Ext) Nonce() uint64
- func (ext *Ext) SendTx(nonce uint64, to *common.Address, data []byte, value *big.Int) (*common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.