Documentation ¶
Index ¶
- type BaseMethodParser
- func (p *BaseMethodParser) ContractsSnapshot() *storage_contract_snapshot.StorageContractSnapshot
- func (p *BaseMethodParser) EthApiWrapper() interfaces.Contract
- func (p *BaseMethodParser) ParseBalanceChangedLogs(balances map[common.Address]*big.Int, contractType cs.ContractType, ...) error
- func (p *BaseMethodParser) ParseBalanceLockedLogs(balances map[common.Address]*big.Int, contractType cs.ContractType, ...) error
- func (p *BaseMethodParser) ParseBalanceUnLockedLogs(balances map[common.Address]*big.Int, contractType cs.ContractType, ...) error
- func (p *BaseMethodParser) ParseFeeChargedLogs(contractType cs.ContractType, contractAddress common.Address, ...) (res []dto.FeeChargedEvent, err error)
- func (p *BaseMethodParser) ParseInput(inputOut interface{}, tx *types.Transaction) (string, error)
- func (p *BaseMethodParser) ParseLogs(contractType cs.ContractType, contractAddress common.Address, ...) ([]interface{}, error)
- func (p *BaseMethodParser) ParseSafeTransferApprovalResultLogs(contractType cs.ContractType, contractAddress common.Address, ...) (bitbonErrors.Error, error)
- func (p *BaseMethodParser) ParseTransferExpiredLogs(contractType cs.ContractType, contractAddress common.Address, ...) (res [][]byte, err error)
- func (p *BaseMethodParser) Sender(tx *types.Transaction) (common.Address, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseMethodParser ¶
type BaseMethodParser struct { ContractType cs.ContractType MethodId string // contains filtered or unexported fields }
func NewBaseMethodParser ¶
func NewBaseMethodParser(ethApiWrapper interfaces.Contract, contractsSnapshot *storage_contract_snapshot.StorageContractSnapshot, contractType cs.ContractType, methodId string) *BaseMethodParser
func (*BaseMethodParser) ContractsSnapshot ¶
func (p *BaseMethodParser) ContractsSnapshot() *storage_contract_snapshot.StorageContractSnapshot
func (*BaseMethodParser) EthApiWrapper ¶
func (p *BaseMethodParser) EthApiWrapper() interfaces.Contract
func (*BaseMethodParser) ParseBalanceChangedLogs ¶
func (*BaseMethodParser) ParseBalanceLockedLogs ¶
func (*BaseMethodParser) ParseBalanceUnLockedLogs ¶
func (*BaseMethodParser) ParseFeeChargedLogs ¶
func (p *BaseMethodParser) ParseFeeChargedLogs(contractType cs.ContractType, contractAddress common.Address, rawLogs []*types.Log) (res []dto.FeeChargedEvent, err error)
func (*BaseMethodParser) ParseInput ¶
func (p *BaseMethodParser) ParseInput(inputOut interface{}, tx *types.Transaction) (string, error)
func (*BaseMethodParser) ParseLogs ¶
func (p *BaseMethodParser) ParseLogs(contractType cs.ContractType, contractAddress common.Address, eventName dto.EventType, outConstructor func() interface{}, logs []*types.Log) ([]interface{}, error)
func (*BaseMethodParser) ParseSafeTransferApprovalResultLogs ¶
func (p *BaseMethodParser) ParseSafeTransferApprovalResultLogs(contractType cs.ContractType, contractAddress common.Address, rawLogs []*types.Log) (bitbonErrors.Error, error)
func (*BaseMethodParser) ParseTransferExpiredLogs ¶
func (p *BaseMethodParser) ParseTransferExpiredLogs(contractType cs.ContractType, contractAddress common.Address, rawLogs []*types.Log) (res [][]byte, err error)
func (*BaseMethodParser) Sender ¶
func (p *BaseMethodParser) Sender(tx *types.Transaction) (common.Address, error)
Click to show internal directories.
Click to hide internal directories.