120 lines
2.4 KiB
PHP
120 lines
2.4 KiB
PHP
<?php
|
|
namespace App\Bean\Sdk\Wallet\Tron;
|
|
|
|
use App\Bean\Model\Base\BaseBean;
|
|
|
|
class BlockEventBean extends BaseBean
|
|
{
|
|
protected $block_number;
|
|
protected $block_timestamp;
|
|
protected $caller_contract_address;
|
|
protected $contract_address;
|
|
protected $event;
|
|
protected $event_index;
|
|
protected $event_name;
|
|
protected BlockEventResultBean $result;
|
|
protected $result_type;
|
|
protected $transaction_id;
|
|
|
|
public function getBlockNumber()
|
|
{
|
|
return $this->block_number;
|
|
}
|
|
|
|
public function setBlockNumber($block_number): void
|
|
{
|
|
$this->block_number = $block_number;
|
|
}
|
|
|
|
public function getBlockTimestamp()
|
|
{
|
|
return $this->block_timestamp;
|
|
}
|
|
|
|
public function setBlockTimestamp($block_timestamp): void
|
|
{
|
|
$this->block_timestamp = $block_timestamp;
|
|
}
|
|
|
|
public function getCallerContractAddress()
|
|
{
|
|
return $this->caller_contract_address;
|
|
}
|
|
|
|
public function setCallerContractAddress($caller_contract_address): void
|
|
{
|
|
$this->caller_contract_address = $caller_contract_address;
|
|
}
|
|
|
|
public function getContractAddress()
|
|
{
|
|
return $this->contract_address;
|
|
}
|
|
|
|
public function setContractAddress($contract_address): void
|
|
{
|
|
$this->contract_address = $contract_address;
|
|
}
|
|
|
|
public function getEvent()
|
|
{
|
|
return $this->event;
|
|
}
|
|
|
|
public function setEvent($event): void
|
|
{
|
|
$this->event = $event;
|
|
}
|
|
|
|
public function getEventIndex()
|
|
{
|
|
return $this->event_index;
|
|
}
|
|
|
|
public function setEventIndex($event_index): void
|
|
{
|
|
$this->event_index = $event_index;
|
|
}
|
|
|
|
public function getEventName()
|
|
{
|
|
return $this->event_name;
|
|
}
|
|
|
|
public function setEventName($event_name): void
|
|
{
|
|
$this->event_name = $event_name;
|
|
}
|
|
|
|
public function getResult()
|
|
{
|
|
return $this->result;
|
|
}
|
|
|
|
public function setResult($result): void
|
|
{
|
|
$this->result = $result;
|
|
}
|
|
|
|
public function getResultType()
|
|
{
|
|
return $this->result_type;
|
|
}
|
|
|
|
public function setResultType($result_type): void
|
|
{
|
|
$this->result_type = $result_type;
|
|
}
|
|
|
|
public function getTransactionId()
|
|
{
|
|
return $this->transaction_id;
|
|
}
|
|
|
|
public function setTransactionId($transaction_id): void
|
|
{
|
|
$this->transaction_id = $transaction_id;
|
|
}
|
|
}
|
|
|