Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContractFalse = "0x0000000000000000000000000000000000000000000000000000000000000000" ContractTrue = "0x0000000000000000000000000000000000000000000000000000000000000001" ContractZero = "0x0000000000000000000000000000000000000000000000000000000000000000" ContractOne = "0x0000000000000000000000000000000000000000000000000000000000000001" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contracter ¶
type Contracter struct {
// contains filtered or unexported fields
}
The struct of contract
func NewContracter ¶
func NewContracter(bc *core.BlockChain, ctr common.Address, abi abi.ABI) (*Contracter, error)
NewContract creates a new instance of contract
func (*Contracter) CallContract ¶
func (self *Contracter) CallContract(from common.Address, nonce uint64, method string, params ...interface{}) ([]byte, error)
Call the contract and return the message
Click to show internal directories.
Click to hide internal directories.