Documentation ¶
Index ¶
- Constants
- Variables
- type Approval
- func (*Approval) Descriptor() ([]byte, []int)deprecated
- func (x *Approval) GetOwner() []byte
- func (x *Approval) GetSpender() []byte
- func (x *Approval) GetTs() *timestamppb.Timestamp
- func (x *Approval) GetValue() []byte
- func (*Approval) ProtoMessage()
- func (x *Approval) ProtoReflect() protoreflect.Message
- func (x *Approval) Reset()
- func (x *Approval) String() string
- type Burn
- type MANA
- type MANAApproval
- type MANAApprovalIterator
- type MANABurn
- type MANABurnIterator
- type MANACaller
- func (_MANA *MANACaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MANA *MANACaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_MANA *MANACaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_MANA *MANACaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_MANA *MANACaller) Name(opts *bind.CallOpts) (string, error)
- func (_MANA *MANACaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MANA *MANACaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_MANA *MANACaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_MANA *MANACaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MANACallerRaw
- type MANACallerSession
- func (_MANA *MANACallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MANA *MANACallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MANA *MANACallerSession) Decimals() (uint8, error)
- func (_MANA *MANACallerSession) MintingFinished() (bool, error)
- func (_MANA *MANACallerSession) Name() (string, error)
- func (_MANA *MANACallerSession) Owner() (common.Address, error)
- func (_MANA *MANACallerSession) Paused() (bool, error)
- func (_MANA *MANACallerSession) Symbol() (string, error)
- func (_MANA *MANACallerSession) TotalSupply() (*big.Int, error)
- type MANAFilterer
- func (_MANA *MANAFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MANAApprovalIterator, error)
- func (_MANA *MANAFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*MANABurnIterator, error)
- func (_MANA *MANAFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MANAMintIterator, error)
- func (_MANA *MANAFilterer) FilterMintFinished(opts *bind.FilterOpts) (*MANAMintFinishedIterator, error)
- func (_MANA *MANAFilterer) FilterPause(opts *bind.FilterOpts) (*MANAPauseIterator, error)
- func (_MANA *MANAFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MANATransferIterator, error)
- func (_MANA *MANAFilterer) FilterUnpause(opts *bind.FilterOpts) (*MANAUnpauseIterator, error)
- func (_MANA *MANAFilterer) ParseApproval(log types.Log) (*MANAApproval, error)
- func (_MANA *MANAFilterer) ParseBurn(log types.Log) (*MANABurn, error)
- func (_MANA *MANAFilterer) ParseMint(log types.Log) (*MANAMint, error)
- func (_MANA *MANAFilterer) ParseMintFinished(log types.Log) (*MANAMintFinished, error)
- func (_MANA *MANAFilterer) ParsePause(log types.Log) (*MANAPause, error)
- func (_MANA *MANAFilterer) ParseTransfer(log types.Log) (*MANATransfer, error)
- func (_MANA *MANAFilterer) ParseUnpause(log types.Log) (*MANAUnpause, error)
- func (_MANA *MANAFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MANAApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *MANABurn, burner []common.Address) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MANAMint, to []common.Address) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *MANAMintFinished) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *MANAPause) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MANATransfer, from []common.Address, ...) (event.Subscription, error)
- func (_MANA *MANAFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *MANAUnpause) (event.Subscription, error)
- type MANAMint
- type MANAMintFinished
- type MANAMintFinishedIterator
- type MANAMintIterator
- type MANAPause
- type MANAPauseIterator
- type MANARaw
- func (_MANA *MANARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MANA *MANARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MANA *MANARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MANASession
- func (_MANA *MANASession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MANA *MANASession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANASession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MANA *MANASession) Burn(_value *big.Int) (*types.Transaction, error)
- func (_MANA *MANASession) Decimals() (uint8, error)
- func (_MANA *MANASession) FinishMinting() (*types.Transaction, error)
- func (_MANA *MANASession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MANA *MANASession) MintingFinished() (bool, error)
- func (_MANA *MANASession) Name() (string, error)
- func (_MANA *MANASession) Owner() (common.Address, error)
- func (_MANA *MANASession) Pause() (*types.Transaction, error)
- func (_MANA *MANASession) Paused() (bool, error)
- func (_MANA *MANASession) Symbol() (string, error)
- func (_MANA *MANASession) TotalSupply() (*big.Int, error)
- func (_MANA *MANASession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANASession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANASession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MANA *MANASession) Unpause() (*types.Transaction, error)
- type MANATransactor
- func (_MANA *MANATransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactor) Burn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MANA *MANATransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MANA *MANATransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_MANA *MANATransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_MANA *MANATransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type MANATransactorRaw
- type MANATransactorSession
- func (_MANA *MANATransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) Burn(_value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) FinishMinting() (*types.Transaction, error)
- func (_MANA *MANATransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) Pause() (*types.Transaction, error)
- func (_MANA *MANATransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MANA *MANATransactorSession) Unpause() (*types.Transaction, error)
- type MANATransfer
- type MANATransferIterator
- type MANAUnpause
- type MANAUnpauseIterator
- type Mint
- type MintFinished
- type Pause
- type SmartContract
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetFrom() []byte
- func (x *Transfer) GetTo() []byte
- func (x *Transfer) GetTs() *timestamppb.Timestamp
- func (x *Transfer) GetValue() []byte
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type Unpause
Constants ¶
const MANAABI = "" /* 4284-byte string literal not displayed */
MANAABI is the input ABI used to generate the binding from.
Variables ¶
var File_Mana_Mana_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) GetSpender ¶
func (*Approval) GetTs ¶
func (x *Approval) GetTs() *timestamppb.Timestamp
func (*Approval) ProtoMessage ¶
func (*Approval) ProtoMessage()
func (*Approval) ProtoReflect ¶
func (x *Approval) ProtoReflect() protoreflect.Message
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) GetTs ¶
func (x *Burn) GetTs() *timestamppb.Timestamp
func (*Burn) ProtoMessage ¶
func (*Burn) ProtoMessage()
func (*Burn) ProtoReflect ¶
func (x *Burn) ProtoReflect() protoreflect.Message
type MANA ¶
type MANA struct { MANACaller // Read-only binding to the contract MANATransactor // Write-only binding to the contract MANAFilterer // Log filterer for contract events }
MANA is an auto generated Go binding around an Ethereum contract.
type MANAApproval ¶
type MANAApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MANAApproval represents a Approval event raised by the MANA contract.
type MANAApprovalIterator ¶
type MANAApprovalIterator struct { Event *MANAApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANAApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MANA contract.
func (*MANAApprovalIterator) Close ¶
func (it *MANAApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANAApprovalIterator) Error ¶
func (it *MANAApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANAApprovalIterator) Next ¶
func (it *MANAApprovalIterator) 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 MANABurn ¶
type MANABurn struct { Burner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MANABurn represents a Burn event raised by the MANA contract.
type MANABurnIterator ¶
type MANABurnIterator struct { Event *MANABurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANABurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the MANA contract.
func (*MANABurnIterator) Close ¶
func (it *MANABurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANABurnIterator) Error ¶
func (it *MANABurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANABurnIterator) Next ¶
func (it *MANABurnIterator) 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 MANACaller ¶
type MANACaller struct {
// contains filtered or unexported fields
}
MANACaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMANACaller ¶
func NewMANACaller(address common.Address, caller bind.ContractCaller) (*MANACaller, error)
NewMANACaller creates a new read-only instance of MANA, bound to a specific deployed contract.
func (*MANACaller) Allowance ¶
func (_MANA *MANACaller) 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) returns(uint256 remaining)
func (*MANACaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 balance)
func (*MANACaller) Decimals ¶
func (_MANA *MANACaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*MANACaller) MintingFinished ¶
func (_MANA *MANACaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() returns(bool)
func (*MANACaller) Name ¶
func (_MANA *MANACaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(string)
func (*MANACaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() returns(address)
func (*MANACaller) Paused ¶
func (_MANA *MANACaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() returns(bool)
func (*MANACaller) Symbol ¶
func (_MANA *MANACaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(string)
func (*MANACaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256)
type MANACallerRaw ¶
type MANACallerRaw struct {
Contract *MANACaller // Generic read-only contract binding to access the raw methods on
}
MANACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MANACallerRaw) Call ¶
func (_MANA *MANACallerRaw) 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 MANACallerSession ¶
type MANACallerSession struct { Contract *MANACaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MANACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MANACallerSession) Allowance ¶
func (_MANA *MANACallerSession) 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) returns(uint256 remaining)
func (*MANACallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 balance)
func (*MANACallerSession) Decimals ¶
func (_MANA *MANACallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*MANACallerSession) MintingFinished ¶
func (_MANA *MANACallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() returns(bool)
func (*MANACallerSession) Name ¶
func (_MANA *MANACallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(string)
func (*MANACallerSession) Owner ¶
func (_MANA *MANACallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() returns(address)
func (*MANACallerSession) Paused ¶
func (_MANA *MANACallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() returns(bool)
func (*MANACallerSession) Symbol ¶
func (_MANA *MANACallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(string)
func (*MANACallerSession) TotalSupply ¶
func (_MANA *MANACallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256)
type MANAFilterer ¶
type MANAFilterer struct {
// contains filtered or unexported fields
}
MANAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMANAFilterer ¶
func NewMANAFilterer(address common.Address, filterer bind.ContractFilterer) (*MANAFilterer, error)
NewMANAFilterer creates a new log filterer instance of MANA, bound to a specific deployed contract.
func (*MANAFilterer) FilterApproval ¶
func (_MANA *MANAFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MANAApprovalIterator, 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 (*MANAFilterer) FilterBurn ¶
func (_MANA *MANAFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*MANABurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*MANAFilterer) FilterMint ¶
func (_MANA *MANAFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MANAMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MANAFilterer) FilterMintFinished ¶
func (_MANA *MANAFilterer) FilterMintFinished(opts *bind.FilterOpts) (*MANAMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MANAFilterer) FilterPause ¶
func (_MANA *MANAFilterer) FilterPause(opts *bind.FilterOpts) (*MANAPauseIterator, error)
FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*MANAFilterer) FilterTransfer ¶
func (_MANA *MANAFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MANATransferIterator, 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 (*MANAFilterer) FilterUnpause ¶
func (_MANA *MANAFilterer) FilterUnpause(opts *bind.FilterOpts) (*MANAUnpauseIterator, error)
FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*MANAFilterer) ParseApproval ¶
func (_MANA *MANAFilterer) ParseApproval(log types.Log) (*MANAApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MANAFilterer) ParseBurn ¶
func (_MANA *MANAFilterer) ParseBurn(log types.Log) (*MANABurn, error)
ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*MANAFilterer) ParseMint ¶
func (_MANA *MANAFilterer) ParseMint(log types.Log) (*MANAMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MANAFilterer) ParseMintFinished ¶
func (_MANA *MANAFilterer) ParseMintFinished(log types.Log) (*MANAMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MANAFilterer) ParsePause ¶
func (_MANA *MANAFilterer) ParsePause(log types.Log) (*MANAPause, error)
ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*MANAFilterer) ParseTransfer ¶
func (_MANA *MANAFilterer) ParseTransfer(log types.Log) (*MANATransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MANAFilterer) ParseUnpause ¶
func (_MANA *MANAFilterer) ParseUnpause(log types.Log) (*MANAUnpause, error)
ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*MANAFilterer) WatchApproval ¶
func (_MANA *MANAFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MANAApproval, 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 (*MANAFilterer) WatchBurn ¶
func (_MANA *MANAFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *MANABurn, 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 (*MANAFilterer) WatchMint ¶
func (_MANA *MANAFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MANAMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MANAFilterer) WatchMintFinished ¶
func (_MANA *MANAFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *MANAMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MANAFilterer) WatchPause ¶
func (_MANA *MANAFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *MANAPause) (event.Subscription, error)
WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*MANAFilterer) WatchTransfer ¶
func (_MANA *MANAFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MANATransfer, 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 (*MANAFilterer) WatchUnpause ¶
func (_MANA *MANAFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *MANAUnpause) (event.Subscription, error)
WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
type MANAMint ¶
type MANAMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MANAMint represents a Mint event raised by the MANA contract.
type MANAMintFinished ¶
MANAMintFinished represents a MintFinished event raised by the MANA contract.
type MANAMintFinishedIterator ¶
type MANAMintFinishedIterator struct { Event *MANAMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANAMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the MANA contract.
func (*MANAMintFinishedIterator) Close ¶
func (it *MANAMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANAMintFinishedIterator) Error ¶
func (it *MANAMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANAMintFinishedIterator) Next ¶
func (it *MANAMintFinishedIterator) 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 MANAMintIterator ¶
type MANAMintIterator struct { Event *MANAMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANAMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MANA contract.
func (*MANAMintIterator) Close ¶
func (it *MANAMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANAMintIterator) Error ¶
func (it *MANAMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANAMintIterator) Next ¶
func (it *MANAMintIterator) 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 MANAPauseIterator ¶
type MANAPauseIterator struct { Event *MANAPause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANAPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the MANA contract.
func (*MANAPauseIterator) Close ¶
func (it *MANAPauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANAPauseIterator) Error ¶
func (it *MANAPauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANAPauseIterator) Next ¶
func (it *MANAPauseIterator) 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 MANARaw ¶
type MANARaw struct {
Contract *MANA // Generic contract binding to access the raw methods on
}
MANARaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MANARaw) Call ¶
func (_MANA *MANARaw) 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 (*MANARaw) Transact ¶
func (_MANA *MANARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MANARaw) Transfer ¶
func (_MANA *MANARaw) 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 MANASession ¶
type MANASession struct { Contract *MANA // 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 }
MANASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MANASession) Allowance ¶
func (_MANA *MANASession) 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) returns(uint256 remaining)
func (*MANASession) Approve ¶
func (_MANA *MANASession) 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 (*MANASession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 balance)
func (*MANASession) Burn ¶
func (_MANA *MANASession) Burn(_value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 _value) returns()
func (*MANASession) Decimals ¶
func (_MANA *MANASession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*MANASession) FinishMinting ¶
func (_MANA *MANASession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MANASession) Mint ¶
func (_MANA *MANASession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MANASession) MintingFinished ¶
func (_MANA *MANASession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() returns(bool)
func (*MANASession) Name ¶
func (_MANA *MANASession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(string)
func (*MANASession) Owner ¶
func (_MANA *MANASession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() returns(address)
func (*MANASession) Pause ¶
func (_MANA *MANASession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool)
func (*MANASession) Paused ¶
func (_MANA *MANASession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() returns(bool)
func (*MANASession) Symbol ¶
func (_MANA *MANASession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(string)
func (*MANASession) TotalSupply ¶
func (_MANA *MANASession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256)
func (*MANASession) Transfer ¶
func (_MANA *MANASession) 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 (*MANASession) TransferFrom ¶
func (_MANA *MANASession) 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 (*MANASession) TransferOwnership ¶
func (_MANA *MANASession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MANASession) Unpause ¶
func (_MANA *MANASession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool)
type MANATransactor ¶
type MANATransactor struct {
// contains filtered or unexported fields
}
MANATransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMANATransactor ¶
func NewMANATransactor(address common.Address, transactor bind.ContractTransactor) (*MANATransactor, error)
NewMANATransactor creates a new write-only instance of MANA, bound to a specific deployed contract.
func (*MANATransactor) Approve ¶
func (_MANA *MANATransactor) 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 (*MANATransactor) Burn ¶
func (_MANA *MANATransactor) 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()
func (*MANATransactor) FinishMinting ¶
func (_MANA *MANATransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MANATransactor) Mint ¶
func (_MANA *MANATransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MANATransactor) Pause ¶
func (_MANA *MANATransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool)
func (*MANATransactor) Transfer ¶
func (_MANA *MANATransactor) 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 (*MANATransactor) TransferFrom ¶
func (_MANA *MANATransactor) 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 (*MANATransactor) TransferOwnership ¶
func (_MANA *MANATransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MANATransactor) Unpause ¶
func (_MANA *MANATransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool)
type MANATransactorRaw ¶
type MANATransactorRaw struct {
Contract *MANATransactor // Generic write-only contract binding to access the raw methods on
}
MANATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MANATransactorRaw) Transact ¶
func (_MANA *MANATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MANATransactorRaw) Transfer ¶
func (_MANA *MANATransactorRaw) 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 MANATransactorSession ¶
type MANATransactorSession struct { Contract *MANATransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MANATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MANATransactorSession) Approve ¶
func (_MANA *MANATransactorSession) 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 (*MANATransactorSession) Burn ¶
func (_MANA *MANATransactorSession) Burn(_value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 _value) returns()
func (*MANATransactorSession) FinishMinting ¶
func (_MANA *MANATransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MANATransactorSession) Mint ¶
func (_MANA *MANATransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MANATransactorSession) Pause ¶
func (_MANA *MANATransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool)
func (*MANATransactorSession) Transfer ¶
func (_MANA *MANATransactorSession) 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 (*MANATransactorSession) TransferFrom ¶
func (_MANA *MANATransactorSession) 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 (*MANATransactorSession) TransferOwnership ¶
func (_MANA *MANATransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MANATransactorSession) Unpause ¶
func (_MANA *MANATransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool)
type MANATransfer ¶
type MANATransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MANATransfer represents a Transfer event raised by the MANA contract.
type MANATransferIterator ¶
type MANATransferIterator struct { Event *MANATransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANATransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MANA contract.
func (*MANATransferIterator) Close ¶
func (it *MANATransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANATransferIterator) Error ¶
func (it *MANATransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANATransferIterator) Next ¶
func (it *MANATransferIterator) 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 MANAUnpause ¶
MANAUnpause represents a Unpause event raised by the MANA contract.
type MANAUnpauseIterator ¶
type MANAUnpauseIterator struct { Event *MANAUnpause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MANAUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the MANA contract.
func (*MANAUnpauseIterator) Close ¶
func (it *MANAUnpauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MANAUnpauseIterator) Error ¶
func (it *MANAUnpauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MANAUnpauseIterator) Next ¶
func (it *MANAUnpauseIterator) 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 Mint ¶
type Mint struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` To []byte `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"` // address Amount []byte `protobuf:"bytes,3,opt,name=Amount,proto3" json:"Amount,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Mint) Descriptor
deprecated
func (*Mint) GetTs ¶
func (x *Mint) GetTs() *timestamppb.Timestamp
func (*Mint) ProtoMessage ¶
func (*Mint) ProtoMessage()
func (*Mint) ProtoReflect ¶
func (x *Mint) ProtoReflect() protoreflect.Message
type MintFinished ¶
type MintFinished struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*MintFinished) Descriptor
deprecated
func (*MintFinished) Descriptor() ([]byte, []int)
Deprecated: Use MintFinished.ProtoReflect.Descriptor instead.
func (*MintFinished) GetTs ¶
func (x *MintFinished) GetTs() *timestamppb.Timestamp
func (*MintFinished) ProtoMessage ¶
func (*MintFinished) ProtoMessage()
func (*MintFinished) ProtoReflect ¶
func (x *MintFinished) ProtoReflect() protoreflect.Message
func (*MintFinished) Reset ¶
func (x *MintFinished) Reset()
func (*MintFinished) String ¶
func (x *MintFinished) String() string
type Pause ¶
type Pause struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*Pause) Descriptor
deprecated
func (*Pause) GetTs ¶
func (x *Pause) GetTs() *timestamppb.Timestamp
func (*Pause) ProtoMessage ¶
func (*Pause) ProtoMessage()
func (*Pause) ProtoReflect ¶
func (x *Pause) ProtoReflect() protoreflect.Message
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) GetTs ¶
func (x *Transfer) GetTs() *timestamppb.Timestamp
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type Unpause ¶
type Unpause struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*Unpause) Descriptor
deprecated
func (*Unpause) GetTs ¶
func (x *Unpause) GetTs() *timestamppb.Timestamp
func (*Unpause) ProtoMessage ¶
func (*Unpause) ProtoMessage()
func (*Unpause) ProtoReflect ¶
func (x *Unpause) ProtoReflect() protoreflect.Message