Versions in this module Expand all Collapse all v0 v0.0.0 Apr 26, 2018 Changes in this version + const AddressTy + const ArrayTy + const BoolTy + const BytesTy + const FixedBytesTy + const FixedPointTy + const FunctionTy + const HashTy + const IntTy + const SliceTy + const StringTy + const UintTy + func U256(n *big.Int) []byte + type ABI struct + Constructor Method + Events map[string]Event + Methods map[string]Method + func JSON(reader io.Reader) (ABI, error) + func (abi *ABI) MethodById(sigdata []byte) (*Method, error) + func (abi *ABI) UnmarshalJSON(data []byte) error + func (abi ABI) Pack(name string, args ...interface{}) ([]byte, error) + func (abi ABI) Unpack(v interface{}, name string, output []byte) (err error) + type Argument struct + Indexed bool + Name string + Type Type + func (argument *Argument) UnmarshalJSON(data []byte) error + type Arguments []Argument + func (arguments Arguments) LengthNonIndexed() int + func (arguments Arguments) NonIndexed() Arguments + func (arguments Arguments) Pack(args ...interface{}) ([]byte, error) + func (arguments Arguments) PackValues(args []interface{}) ([]byte, error) + func (arguments Arguments) Unpack(v interface{}, data []byte) error + func (arguments Arguments) UnpackValues(data []byte) ([]interface{}, error) + type Event struct + Anonymous bool + Inputs Arguments + Name string + func (e Event) Id() common.Hash + func (event Event) String() string + type Method struct + Const bool + Inputs Arguments + Name string + Outputs Arguments + func (method Method) Id() []byte + func (method Method) Sig() string + func (method Method) String() string + type Type struct + Elem *Type + Kind reflect.Kind + Size int + T byte + Type reflect.Type + func NewType(t string) (typ Type, err error) + func (t Type) String() (out string)