Interfaces, Classes, Traits and Enums
- TransactionDecodeInterface
- Interface for factory to call decode function for decode transaction
Table of Contents
-
$transactionAddress
: string|null
-
$transactionInfo
: Transaction
-
$rpc
: EthereumService
-
$tokenService
: TokenService
-
$validated
: bool
-
__construct()
: mixed
-
constantStorageClass()
: string
-
decode()
: void
-
decodeTransactionArgs()
: void
-
decodeTransactionLogs()
: void
-
getConstants()
: array<string|int, mixed>
-
getContractFunctionId()
: string
-
getEventsTopics()
: array<string|int, mixed>
-
getMethodType()
: string|null
-
getMethodTypes()
: array<string|int, mixed>
-
getTokenService()
: TokenService
-
getTransactionInfo()
: Transaction
-
getTransactionInfoJson()
: string
-
isValidated()
: bool
-
loadLogs()
: self
-
loadTransaction()
: self
-
loadTransactionInstance()
: self
-
setTransactionHash()
: TransactionTokenService
-
updateServices()
: self
-
validate()
: void
-
checkSettingTxHash()
: void
-
isContract()
: void
$transactionAddress
protected
string|null
$transactionAddress
$transactionInfo
protected
Transaction
$transactionInfo
$rpc
private
EthereumService
$rpc
$tokenService
private
TokenService
$tokenService
$validated
private
bool
$validated
= false
__construct()
public
__construct(string|null $transactionHash, ConnectionInterface $credentials) : mixed
Parameters
-
$transactionHash
: string|null
-
-
$credentials
: ConnectionInterface
-
-
throws
-
TransactionException
Return values
mixed
—
constantStorageClass()
public
constantStorageClass() : string
Return values
string
—
decode()
public
decode() : void
Return values
void
—
decodeTransactionArgs()
public
decodeTransactionArgs() : void
Return values
void
—
decodeTransactionLogs()
public
decodeTransactionLogs() : void
Return values
void
—
getConstants()
public
getConstants() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getContractFunctionId()
public
getContractFunctionId() : string
Return values
string
—
getEventsTopics()
public
getEventsTopics() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getMethodType()
public
getMethodType() : string|null
Return values
string|null
—
getMethodTypes()
public
getMethodTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getTokenService()
public
getTokenService() : TokenService
Return values
TokenService
—
getTransactionInfo()
public
getTransactionInfo() : Transaction
Return values
Transaction
—
getTransactionInfoJson()
public
getTransactionInfoJson() : string
-
throws
-
JsonException
Return values
string
—
isValidated()
public
isValidated() : bool
Return values
bool
—
loadLogs()
public
loadLogs() : self
Return values
self
—
loadTransaction()
public
loadTransaction() : self
Return values
self
—
loadTransactionInstance()
public
loadTransactionInstance() : self
Return values
self
—
setTransactionHash()
public
setTransactionHash(string|null $transactionHash) : TransactionTokenService
Parameters
-
$transactionHash
: string|null
-
Return values
TransactionTokenService
—
updateServices()
public
updateServices() : self
Return values
self
—
validate()
public
validate() : void
Return values
void
—
checkSettingTxHash()
protected
checkSettingTxHash() : void
Return values
void
—
isContract()
protected
isContract() : void
Return values
void
—