Matic

package
v0.0.0-...-b095981 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MATICABI = "" /* 4933-byte string literal not displayed */

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

Variables

View Source
var File_Matic_Matic_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 MATIC

type MATIC struct {
	MATICCaller     // Read-only binding to the contract
	MATICTransactor // Write-only binding to the contract
	MATICFilterer   // Log filterer for contract events
}

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

func NewMATIC

func NewMATIC(address common.Address, backend bind.ContractBackend) (*MATIC, error)

NewMATIC creates a new instance of MATIC, bound to a specific deployed contract.

type MATICApproval

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

MATICApproval represents a Approval event raised by the MATIC contract.

type MATICApprovalIterator

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

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

func (*MATICApprovalIterator) Close

func (it *MATICApprovalIterator) Close() error

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

func (*MATICApprovalIterator) Error

func (it *MATICApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICApprovalIterator) Next

func (it *MATICApprovalIterator) 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 MATICCaller

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

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

func NewMATICCaller

func NewMATICCaller(address common.Address, caller bind.ContractCaller) (*MATICCaller, error)

NewMATICCaller creates a new read-only instance of MATIC, bound to a specific deployed contract.

func (*MATICCaller) Allowance

func (_MATIC *MATICCaller) 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 (*MATICCaller) BalanceOf

func (_MATIC *MATICCaller) 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 (*MATICCaller) Decimals

func (_MATIC *MATICCaller) 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 (*MATICCaller) IsPauser

func (_MATIC *MATICCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*MATICCaller) Name

func (_MATIC *MATICCaller) 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 (*MATICCaller) Paused

func (_MATIC *MATICCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*MATICCaller) Symbol

func (_MATIC *MATICCaller) 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 (*MATICCaller) TotalSupply

func (_MATIC *MATICCaller) 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 MATICCallerRaw

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

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

func (*MATICCallerRaw) Call

func (_MATIC *MATICCallerRaw) 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 MATICCallerSession

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

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

func (*MATICCallerSession) Allowance

func (_MATIC *MATICCallerSession) 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 (*MATICCallerSession) BalanceOf

func (_MATIC *MATICCallerSession) 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 (*MATICCallerSession) Decimals

func (_MATIC *MATICCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MATICCallerSession) IsPauser

func (_MATIC *MATICCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*MATICCallerSession) Name

func (_MATIC *MATICCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MATICCallerSession) Paused

func (_MATIC *MATICCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*MATICCallerSession) Symbol

func (_MATIC *MATICCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MATICCallerSession) TotalSupply

func (_MATIC *MATICCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type MATICFilterer

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

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

func NewMATICFilterer

func NewMATICFilterer(address common.Address, filterer bind.ContractFilterer) (*MATICFilterer, error)

NewMATICFilterer creates a new log filterer instance of MATIC, bound to a specific deployed contract.

func (*MATICFilterer) FilterApproval

func (_MATIC *MATICFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MATICApprovalIterator, 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 (*MATICFilterer) FilterPaused

func (_MATIC *MATICFilterer) FilterPaused(opts *bind.FilterOpts) (*MATICPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MATICFilterer) FilterPauserAdded

func (_MATIC *MATICFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*MATICPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*MATICFilterer) FilterPauserRemoved

func (_MATIC *MATICFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*MATICPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*MATICFilterer) FilterTransfer

func (_MATIC *MATICFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MATICTransferIterator, 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 (*MATICFilterer) FilterUnpaused

func (_MATIC *MATICFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MATICUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*MATICFilterer) ParseApproval

func (_MATIC *MATICFilterer) ParseApproval(log types.Log) (*MATICApproval, error)

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

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

func (*MATICFilterer) ParsePaused

func (_MATIC *MATICFilterer) ParsePaused(log types.Log) (*MATICPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MATICFilterer) ParsePauserAdded

func (_MATIC *MATICFilterer) ParsePauserAdded(log types.Log) (*MATICPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*MATICFilterer) ParsePauserRemoved

func (_MATIC *MATICFilterer) ParsePauserRemoved(log types.Log) (*MATICPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*MATICFilterer) ParseTransfer

func (_MATIC *MATICFilterer) ParseTransfer(log types.Log) (*MATICTransfer, error)

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

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

func (*MATICFilterer) ParseUnpaused

func (_MATIC *MATICFilterer) ParseUnpaused(log types.Log) (*MATICUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*MATICFilterer) WatchApproval

func (_MATIC *MATICFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MATICApproval, 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 (*MATICFilterer) WatchPaused

func (_MATIC *MATICFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MATICPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*MATICFilterer) WatchPauserAdded

func (_MATIC *MATICFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *MATICPauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*MATICFilterer) WatchPauserRemoved

func (_MATIC *MATICFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *MATICPauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*MATICFilterer) WatchTransfer

func (_MATIC *MATICFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MATICTransfer, 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)

func (*MATICFilterer) WatchUnpaused

func (_MATIC *MATICFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MATICUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type MATICPaused

type MATICPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MATICPaused represents a Paused event raised by the MATIC contract.

type MATICPausedIterator

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

MATICPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the MATIC contract.

func (*MATICPausedIterator) Close

func (it *MATICPausedIterator) Close() error

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

func (*MATICPausedIterator) Error

func (it *MATICPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICPausedIterator) Next

func (it *MATICPausedIterator) 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 MATICPauserAdded

type MATICPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MATICPauserAdded represents a PauserAdded event raised by the MATIC contract.

type MATICPauserAddedIterator

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

MATICPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the MATIC contract.

func (*MATICPauserAddedIterator) Close

func (it *MATICPauserAddedIterator) Close() error

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

func (*MATICPauserAddedIterator) Error

func (it *MATICPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICPauserAddedIterator) Next

func (it *MATICPauserAddedIterator) 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 MATICPauserRemoved

type MATICPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MATICPauserRemoved represents a PauserRemoved event raised by the MATIC contract.

type MATICPauserRemovedIterator

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

MATICPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the MATIC contract.

func (*MATICPauserRemovedIterator) Close

func (it *MATICPauserRemovedIterator) Close() error

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

func (*MATICPauserRemovedIterator) Error

func (it *MATICPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICPauserRemovedIterator) Next

func (it *MATICPauserRemovedIterator) 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 MATICRaw

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

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

func (*MATICRaw) Call

func (_MATIC *MATICRaw) 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 (*MATICRaw) Transact

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

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

func (*MATICRaw) Transfer

func (_MATIC *MATICRaw) 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 MATICSession

type MATICSession struct {
	Contract     *MATIC            // 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
}

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

func (*MATICSession) AddPauser

func (_MATIC *MATICSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*MATICSession) Allowance

func (_MATIC *MATICSession) 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 (*MATICSession) Approve

func (_MATIC *MATICSession) 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 (*MATICSession) BalanceOf

func (_MATIC *MATICSession) 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 (*MATICSession) Decimals

func (_MATIC *MATICSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MATICSession) DecreaseAllowance

func (_MATIC *MATICSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*MATICSession) IncreaseAllowance

func (_MATIC *MATICSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*MATICSession) IsPauser

func (_MATIC *MATICSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*MATICSession) Name

func (_MATIC *MATICSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MATICSession) Pause

func (_MATIC *MATICSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MATICSession) Paused

func (_MATIC *MATICSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*MATICSession) RenouncePauser

func (_MATIC *MATICSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*MATICSession) Symbol

func (_MATIC *MATICSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MATICSession) TotalSupply

func (_MATIC *MATICSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MATICSession) Transfer

func (_MATIC *MATICSession) 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 (*MATICSession) TransferFrom

func (_MATIC *MATICSession) 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)

func (*MATICSession) Unpause

func (_MATIC *MATICSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MATICTransactor

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

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

func NewMATICTransactor

func NewMATICTransactor(address common.Address, transactor bind.ContractTransactor) (*MATICTransactor, error)

NewMATICTransactor creates a new write-only instance of MATIC, bound to a specific deployed contract.

func (*MATICTransactor) AddPauser

func (_MATIC *MATICTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*MATICTransactor) Approve

func (_MATIC *MATICTransactor) 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 (*MATICTransactor) DecreaseAllowance

func (_MATIC *MATICTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*MATICTransactor) IncreaseAllowance

func (_MATIC *MATICTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*MATICTransactor) Pause

func (_MATIC *MATICTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MATICTransactor) RenouncePauser

func (_MATIC *MATICTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*MATICTransactor) Transfer

func (_MATIC *MATICTransactor) 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 (*MATICTransactor) TransferFrom

func (_MATIC *MATICTransactor) 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)

func (*MATICTransactor) Unpause

func (_MATIC *MATICTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MATICTransactorRaw

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

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

func (*MATICTransactorRaw) Transact

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

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

func (*MATICTransactorRaw) Transfer

func (_MATIC *MATICTransactorRaw) 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 MATICTransactorSession

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

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

func (*MATICTransactorSession) AddPauser

func (_MATIC *MATICTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*MATICTransactorSession) Approve

func (_MATIC *MATICTransactorSession) 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 (*MATICTransactorSession) DecreaseAllowance

func (_MATIC *MATICTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*MATICTransactorSession) IncreaseAllowance

func (_MATIC *MATICTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*MATICTransactorSession) Pause

func (_MATIC *MATICTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*MATICTransactorSession) RenouncePauser

func (_MATIC *MATICTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*MATICTransactorSession) Transfer

func (_MATIC *MATICTransactorSession) 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 (*MATICTransactorSession) TransferFrom

func (_MATIC *MATICTransactorSession) 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)

func (*MATICTransactorSession) Unpause

func (_MATIC *MATICTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type MATICTransfer

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

MATICTransfer represents a Transfer event raised by the MATIC contract.

type MATICTransferIterator

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

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

func (*MATICTransferIterator) Close

func (it *MATICTransferIterator) Close() error

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

func (*MATICTransferIterator) Error

func (it *MATICTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICTransferIterator) Next

func (it *MATICTransferIterator) 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 MATICUnpaused

type MATICUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MATICUnpaused represents a Unpaused event raised by the MATIC contract.

type MATICUnpausedIterator

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

MATICUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the MATIC contract.

func (*MATICUnpausedIterator) Close

func (it *MATICUnpausedIterator) Close() error

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

func (*MATICUnpausedIterator) Error

func (it *MATICUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MATICUnpausedIterator) Next

func (it *MATICUnpausedIterator) 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 Paused

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

func (*Paused) Descriptor deprecated

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

Deprecated: Use Paused.ProtoReflect.Descriptor instead.

func (*Paused) GetAccount

func (x *Paused) GetAccount() []byte

func (*Paused) GetTs

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

func (*Paused) ProtoMessage

func (*Paused) ProtoMessage()

func (*Paused) ProtoReflect

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

func (*Paused) Reset

func (x *Paused) Reset()

func (*Paused) String

func (x *Paused) String() string

type PauserAdded

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

func (*PauserAdded) Descriptor deprecated

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

Deprecated: Use PauserAdded.ProtoReflect.Descriptor instead.

func (*PauserAdded) GetAccount

func (x *PauserAdded) GetAccount() []byte

func (*PauserAdded) GetTs

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

func (*PauserAdded) ProtoMessage

func (*PauserAdded) ProtoMessage()

func (*PauserAdded) ProtoReflect

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

func (*PauserAdded) Reset

func (x *PauserAdded) Reset()

func (*PauserAdded) String

func (x *PauserAdded) String() string

type PauserRemoved

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

func (*PauserRemoved) Descriptor deprecated

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

Deprecated: Use PauserRemoved.ProtoReflect.Descriptor instead.

func (*PauserRemoved) GetAccount

func (x *PauserRemoved) GetAccount() []byte

func (*PauserRemoved) GetTs

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

func (*PauserRemoved) ProtoMessage

func (*PauserRemoved) ProtoMessage()

func (*PauserRemoved) ProtoReflect

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

func (*PauserRemoved) Reset

func (x *PauserRemoved) Reset()

func (*PauserRemoved) String

func (x *PauserRemoved) String() string

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

type Unpaused

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

func (*Unpaused) Descriptor deprecated

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

Deprecated: Use Unpaused.ProtoReflect.Descriptor instead.

func (*Unpaused) GetAccount

func (x *Unpaused) GetAccount() []byte

func (*Unpaused) GetTs

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

func (*Unpaused) ProtoMessage

func (*Unpaused) ProtoMessage()

func (*Unpaused) ProtoReflect

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

func (*Unpaused) Reset

func (x *Unpaused) Reset()

func (*Unpaused) String

func (x *Unpaused) String() string

Jump to

Keyboard shortcuts

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