LRC

package
v0.0.0-...-9478d72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const LRCABI = "" /* 4386-byte string literal not displayed */

LRCABI is the input ABI used to generate the binding from.

Variables

View Source
var File_LRC_LRC_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approval

type Approval struct {
	Ts      *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Owner   []byte                 `protobuf:"bytes,2,opt,name=Owner,proto3" json:"Owner,omitempty"`     //	address
	Spender []byte                 `protobuf:"bytes,3,opt,name=Spender,proto3" json:"Spender,omitempty"` //	address
	Value   []byte                 `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`     //	uint256
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

func (*Approval) Descriptor() ([]byte, []int)

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetOwner

func (x *Approval) GetOwner() []byte

func (*Approval) GetSpender

func (x *Approval) GetSpender() []byte

func (*Approval) GetTs

func (x *Approval) GetTs() *timestamppb.Timestamp

func (*Approval) GetValue

func (x *Approval) GetValue() []byte

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

func (x *Approval) ProtoReflect() protoreflect.Message

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type Burn

type Burn struct {
	Ts     *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Burner []byte                 `protobuf:"bytes,2,opt,name=Burner,proto3" json:"Burner,omitempty"` //	address
	Value  []byte                 `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`   //	uint256
	// contains filtered or unexported fields
}

func (*Burn) Descriptor deprecated

func (*Burn) Descriptor() ([]byte, []int)

Deprecated: Use Burn.ProtoReflect.Descriptor instead.

func (*Burn) GetBurner

func (x *Burn) GetBurner() []byte

func (*Burn) GetTs

func (x *Burn) GetTs() *timestamppb.Timestamp

func (*Burn) GetValue

func (x *Burn) GetValue() []byte

func (*Burn) ProtoMessage

func (*Burn) ProtoMessage()

func (*Burn) ProtoReflect

func (x *Burn) ProtoReflect() protoreflect.Message

func (*Burn) Reset

func (x *Burn) Reset()

func (*Burn) String

func (x *Burn) String() string

type LRC

type LRC struct {
	LRCCaller     // Read-only binding to the contract
	LRCTransactor // Write-only binding to the contract
	LRCFilterer   // Log filterer for contract events
}

LRC is an auto generated Go binding around an Ethereum contract.

func NewLRC

func NewLRC(address common.Address, backend bind.ContractBackend) (*LRC, error)

NewLRC creates a new instance of LRC, bound to a specific deployed contract.

type LRCApproval

type LRCApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LRCApproval represents a Approval event raised by the LRC contract.

type LRCApprovalIterator

type LRCApprovalIterator struct {
	Event *LRCApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LRCApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LRC contract.

func (*LRCApprovalIterator) Close

func (it *LRCApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LRCApprovalIterator) Error

func (it *LRCApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LRCApprovalIterator) Next

func (it *LRCApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LRCBurn

type LRCBurn struct {
	Burner common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

LRCBurn represents a Burn event raised by the LRC contract.

type LRCBurnIterator

type LRCBurnIterator struct {
	Event *LRCBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LRCBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the LRC contract.

func (*LRCBurnIterator) Close

func (it *LRCBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LRCBurnIterator) Error

func (it *LRCBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LRCBurnIterator) Next

func (it *LRCBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LRCCaller

type LRCCaller struct {
	// contains filtered or unexported fields
}

LRCCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewLRCCaller

func NewLRCCaller(address common.Address, caller bind.ContractCaller) (*LRCCaller, error)

NewLRCCaller creates a new read-only instance of LRC, bound to a specific deployed contract.

func (*LRCCaller) Allowance

func (_LRC *LRCCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*LRCCaller) BalanceOf

func (_LRC *LRCCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*LRCCaller) Decimals

func (_LRC *LRCCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LRCCaller) Name

func (_LRC *LRCCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LRCCaller) Symbol

func (_LRC *LRCCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LRCCaller) TotalBurned

func (_LRC *LRCCaller) TotalBurned(opts *bind.CallOpts) (*big.Int, error)

TotalBurned is a free data retrieval call binding the contract method 0xd89135cd.

Solidity: function totalBurned() view returns(uint256)

func (*LRCCaller) TotalSupply

func (_LRC *LRCCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LRCCallerRaw

type LRCCallerRaw struct {
	Contract *LRCCaller // Generic read-only contract binding to access the raw methods on
}

LRCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*LRCCallerRaw) Call

func (_LRC *LRCCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type LRCCallerSession

type LRCCallerSession struct {
	Contract *LRCCaller    // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

LRCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*LRCCallerSession) Allowance

func (_LRC *LRCCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*LRCCallerSession) BalanceOf

func (_LRC *LRCCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*LRCCallerSession) Decimals

func (_LRC *LRCCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LRCCallerSession) Name

func (_LRC *LRCCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LRCCallerSession) Symbol

func (_LRC *LRCCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LRCCallerSession) TotalBurned

func (_LRC *LRCCallerSession) TotalBurned() (*big.Int, error)

TotalBurned is a free data retrieval call binding the contract method 0xd89135cd.

Solidity: function totalBurned() view returns(uint256)

func (*LRCCallerSession) TotalSupply

func (_LRC *LRCCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LRCFilterer

type LRCFilterer struct {
	// contains filtered or unexported fields
}

LRCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLRCFilterer

func NewLRCFilterer(address common.Address, filterer bind.ContractFilterer) (*LRCFilterer, error)

NewLRCFilterer creates a new log filterer instance of LRC, bound to a specific deployed contract.

func (*LRCFilterer) FilterApproval

func (_LRC *LRCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LRCApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LRCFilterer) FilterBurn

func (_LRC *LRCFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*LRCBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LRCFilterer) FilterTransfer

func (_LRC *LRCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LRCTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LRCFilterer) ParseApproval

func (_LRC *LRCFilterer) ParseApproval(log types.Log) (*LRCApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LRCFilterer) ParseBurn

func (_LRC *LRCFilterer) ParseBurn(log types.Log) (*LRCBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LRCFilterer) ParseTransfer

func (_LRC *LRCFilterer) ParseTransfer(log types.Log) (*LRCTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LRCFilterer) WatchApproval

func (_LRC *LRCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LRCApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LRCFilterer) WatchBurn

func (_LRC *LRCFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *LRCBurn, burner []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LRCFilterer) WatchTransfer

func (_LRC *LRCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LRCTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type LRCRaw

type LRCRaw struct {
	Contract *LRC // Generic contract binding to access the raw methods on
}

LRCRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*LRCRaw) Call

func (_LRC *LRCRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*LRCRaw) Transact

func (_LRC *LRCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LRCRaw) Transfer

func (_LRC *LRCRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LRCSession

type LRCSession struct {
	Contract     *LRC              // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LRCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*LRCSession) Allowance

func (_LRC *LRCSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*LRCSession) Approve

func (_LRC *LRCSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*LRCSession) BalanceOf

func (_LRC *LRCSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*LRCSession) BatchTransfer

func (_LRC *LRCSession) BatchTransfer(accounts []common.Address, amounts []*big.Int) (*types.Transaction, error)

BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.

Solidity: function batchTransfer(address[] accounts, uint256[] amounts) returns(bool)

func (*LRCSession) Burn

func (_LRC *LRCSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns(bool)

func (*LRCSession) BurnFrom

func (_LRC *LRCSession) BurnFrom(_owner common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _owner, uint256 _value) returns(bool)

func (*LRCSession) Decimals

func (_LRC *LRCSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LRCSession) DecreaseApproval

func (_LRC *LRCSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*LRCSession) Fallback

func (_LRC *LRCSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*LRCSession) IncreaseApproval

func (_LRC *LRCSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*LRCSession) Name

func (_LRC *LRCSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LRCSession) Symbol

func (_LRC *LRCSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LRCSession) TotalBurned

func (_LRC *LRCSession) TotalBurned() (*big.Int, error)

TotalBurned is a free data retrieval call binding the contract method 0xd89135cd.

Solidity: function totalBurned() view returns(uint256)

func (*LRCSession) TotalSupply

func (_LRC *LRCSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*LRCSession) Transfer

func (_LRC *LRCSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*LRCSession) TransferFrom

func (_LRC *LRCSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type LRCTransactor

type LRCTransactor struct {
	// contains filtered or unexported fields
}

LRCTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewLRCTransactor

func NewLRCTransactor(address common.Address, transactor bind.ContractTransactor) (*LRCTransactor, error)

NewLRCTransactor creates a new write-only instance of LRC, bound to a specific deployed contract.

func (*LRCTransactor) Approve

func (_LRC *LRCTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*LRCTransactor) BatchTransfer

func (_LRC *LRCTransactor) BatchTransfer(opts *bind.TransactOpts, accounts []common.Address, amounts []*big.Int) (*types.Transaction, error)

BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.

Solidity: function batchTransfer(address[] accounts, uint256[] amounts) returns(bool)

func (*LRCTransactor) Burn

func (_LRC *LRCTransactor) Burn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns(bool)

func (*LRCTransactor) BurnFrom

func (_LRC *LRCTransactor) BurnFrom(opts *bind.TransactOpts, _owner common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _owner, uint256 _value) returns(bool)

func (*LRCTransactor) DecreaseApproval

func (_LRC *LRCTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*LRCTransactor) Fallback

func (_LRC *LRCTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*LRCTransactor) IncreaseApproval

func (_LRC *LRCTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*LRCTransactor) Transfer

func (_LRC *LRCTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*LRCTransactor) TransferFrom

func (_LRC *LRCTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type LRCTransactorRaw

type LRCTransactorRaw struct {
	Contract *LRCTransactor // Generic write-only contract binding to access the raw methods on
}

LRCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*LRCTransactorRaw) Transact

func (_LRC *LRCTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LRCTransactorRaw) Transfer

func (_LRC *LRCTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LRCTransactorSession

type LRCTransactorSession struct {
	Contract     *LRCTransactor    // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LRCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*LRCTransactorSession) Approve

func (_LRC *LRCTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*LRCTransactorSession) BatchTransfer

func (_LRC *LRCTransactorSession) BatchTransfer(accounts []common.Address, amounts []*big.Int) (*types.Transaction, error)

BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.

Solidity: function batchTransfer(address[] accounts, uint256[] amounts) returns(bool)

func (*LRCTransactorSession) Burn

func (_LRC *LRCTransactorSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns(bool)

func (*LRCTransactorSession) BurnFrom

func (_LRC *LRCTransactorSession) BurnFrom(_owner common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _owner, uint256 _value) returns(bool)

func (*LRCTransactorSession) DecreaseApproval

func (_LRC *LRCTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*LRCTransactorSession) Fallback

func (_LRC *LRCTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*LRCTransactorSession) IncreaseApproval

func (_LRC *LRCTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*LRCTransactorSession) Transfer

func (_LRC *LRCTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*LRCTransactorSession) TransferFrom

func (_LRC *LRCTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type LRCTransfer

type LRCTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

LRCTransfer represents a Transfer event raised by the LRC contract.

type LRCTransferIterator

type LRCTransferIterator struct {
	Event *LRCTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LRCTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LRC contract.

func (*LRCTransferIterator) Close

func (it *LRCTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LRCTransferIterator) Error

func (it *LRCTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LRCTransferIterator) Next

func (it *LRCTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SmartContract

type SmartContract struct{}

func (*SmartContract) Message

func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage

type Transfer

type Transfer struct {
	Ts    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	From  []byte                 `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`   //	address
	To    []byte                 `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`       //	address
	Value []byte                 `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

func (*Transfer) Descriptor() ([]byte, []int)

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetFrom

func (x *Transfer) GetFrom() []byte

func (*Transfer) GetTo

func (x *Transfer) GetTo() []byte

func (*Transfer) GetTs

func (x *Transfer) GetTs() *timestamppb.Timestamp

func (*Transfer) GetValue

func (x *Transfer) GetValue() []byte

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

func (x *Transfer) ProtoReflect() protoreflect.Message

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL