Ether Binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
Loading...
Searching...
No Matches
M8B\EtherBinder\Common\SolidityFunction Class Reference

Public Member Functions

 __construct (Address $address, string|SolidityFunction4BytesSignature $sig)
 
 toBin ()
 

Public Attributes

Address $address
 
SolidityFunction4BytesSignature $signature
 

Detailed Description

SolidityFunction represents a Solidity function type, consisting with its address and 4-byte signature, uniquely pointing to address and selector.

Author
DubbaThony

Constructor & Destructor Documentation

◆ __construct()

M8B\EtherBinder\Common\SolidityFunction::__construct ( Address $address,
string|SolidityFunction4BytesSignature $sig )

Constructs new instance using Address

Exceptions
EthBinderLogicException

Member Function Documentation

◆ toBin()

M8B\EtherBinder\Common\SolidityFunction::toBin ( )

Serializes transaction to binary blob

Returns
string binary blob

The documentation for this class was generated from the following file: