SolidityFunction
in package
SolidityFunction represents a Solidity function type, consisting with its address and 4-byte signature, uniquely pointing to address and selector.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructs new instance using Address
- toBin() : string
- Serializes transaction to binary blob
Properties
$address
public
Address
$address
$signature
public
SolidityFunction4BytesSignature
$signature
Methods
__construct()
Constructs new instance using Address
public
__construct(Address $address, string|SolidityFunction4BytesSignature $sig) : mixed
Parameters
- $address : Address
- $sig : string|SolidityFunction4BytesSignature
Tags
toBin()
Serializes transaction to binary blob
public
toBin() : string
Return values
string —binary blob