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 LogNote
- func (*LogNote) Descriptor() ([]byte, []int)deprecated
- func (x *LogNote) GetBar() []byte
- func (x *LogNote) GetFax() []byte
- func (x *LogNote) GetFoo() []byte
- func (x *LogNote) GetGuy() []byte
- func (x *LogNote) GetSig() []byte
- func (x *LogNote) GetTs() *timestamppb.Timestamp
- func (x *LogNote) GetWad() []byte
- func (*LogNote) ProtoMessage()
- func (x *LogNote) ProtoReflect() protoreflect.Message
- func (x *LogNote) Reset()
- func (x *LogNote) String() string
- type LogSetAuthority
- func (*LogSetAuthority) Descriptor() ([]byte, []int)deprecated
- func (x *LogSetAuthority) GetAuthority() []byte
- func (x *LogSetAuthority) GetTs() *timestamppb.Timestamp
- func (*LogSetAuthority) ProtoMessage()
- func (x *LogSetAuthority) ProtoReflect() protoreflect.Message
- func (x *LogSetAuthority) Reset()
- func (x *LogSetAuthority) String() string
- type LogSetOwner
- func (*LogSetOwner) Descriptor() ([]byte, []int)deprecated
- func (x *LogSetOwner) GetOwner() []byte
- func (x *LogSetOwner) GetTs() *timestamppb.Timestamp
- func (*LogSetOwner) ProtoMessage()
- func (x *LogSetOwner) ProtoReflect() protoreflect.Message
- func (x *LogSetOwner) Reset()
- func (x *LogSetOwner) String() string
- type MCDGOV
- type MCDGOVApproval
- type MCDGOVApprovalIterator
- type MCDGOVBurn
- type MCDGOVBurnIterator
- type MCDGOVCaller
- func (_MCDGOV *MCDGOVCaller) Allowance(opts *bind.CallOpts, src common.Address, guy common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVCaller) Authority(opts *bind.CallOpts) (common.Address, error)
- func (_MCDGOV *MCDGOVCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_MCDGOV *MCDGOVCaller) Name(opts *bind.CallOpts) ([32]byte, error)
- func (_MCDGOV *MCDGOVCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MCDGOV *MCDGOVCaller) Stopped(opts *bind.CallOpts) (bool, error)
- func (_MCDGOV *MCDGOVCaller) Symbol(opts *bind.CallOpts) ([32]byte, error)
- func (_MCDGOV *MCDGOVCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MCDGOVCallerRaw
- type MCDGOVCallerSession
- func (_MCDGOV *MCDGOVCallerSession) Allowance(src common.Address, guy common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVCallerSession) Authority() (common.Address, error)
- func (_MCDGOV *MCDGOVCallerSession) BalanceOf(src common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVCallerSession) Decimals() (*big.Int, error)
- func (_MCDGOV *MCDGOVCallerSession) Name() ([32]byte, error)
- func (_MCDGOV *MCDGOVCallerSession) Owner() (common.Address, error)
- func (_MCDGOV *MCDGOVCallerSession) Stopped() (bool, error)
- func (_MCDGOV *MCDGOVCallerSession) Symbol() ([32]byte, error)
- func (_MCDGOV *MCDGOVCallerSession) TotalSupply() (*big.Int, error)
- type MCDGOVFilterer
- func (_MCDGOV *MCDGOVFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MCDGOVApprovalIterator, error)
- func (_MCDGOV *MCDGOVFilterer) FilterBurn(opts *bind.FilterOpts, guy []common.Address) (*MCDGOVBurnIterator, error)
- func (_MCDGOV *MCDGOVFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*MCDGOVLogSetAuthorityIterator, error)
- func (_MCDGOV *MCDGOVFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*MCDGOVLogSetOwnerIterator, error)
- func (_MCDGOV *MCDGOVFilterer) FilterMint(opts *bind.FilterOpts, guy []common.Address) (*MCDGOVMintIterator, error)
- func (_MCDGOV *MCDGOVFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MCDGOVTransferIterator, error)
- func (_MCDGOV *MCDGOVFilterer) ParseApproval(log types.Log) (*MCDGOVApproval, error)
- func (_MCDGOV *MCDGOVFilterer) ParseBurn(log types.Log) (*MCDGOVBurn, error)
- func (_MCDGOV *MCDGOVFilterer) ParseLogSetAuthority(log types.Log) (*MCDGOVLogSetAuthority, error)
- func (_MCDGOV *MCDGOVFilterer) ParseLogSetOwner(log types.Log) (*MCDGOVLogSetOwner, error)
- func (_MCDGOV *MCDGOVFilterer) ParseMint(log types.Log) (*MCDGOVMint, error)
- func (_MCDGOV *MCDGOVFilterer) ParseTransfer(log types.Log) (*MCDGOVTransfer, error)
- func (_MCDGOV *MCDGOVFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MCDGOVApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_MCDGOV *MCDGOVFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *MCDGOVBurn, guy []common.Address) (event.Subscription, error)
- func (_MCDGOV *MCDGOVFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *MCDGOVLogSetAuthority, ...) (event.Subscription, error)
- func (_MCDGOV *MCDGOVFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *MCDGOVLogSetOwner, owner []common.Address) (event.Subscription, error)
- func (_MCDGOV *MCDGOVFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MCDGOVMint, guy []common.Address) (event.Subscription, error)
- func (_MCDGOV *MCDGOVFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MCDGOVTransfer, from []common.Address, ...) (event.Subscription, error)
- type MCDGOVLogSetAuthority
- type MCDGOVLogSetAuthorityIterator
- type MCDGOVLogSetOwner
- type MCDGOVLogSetOwnerIterator
- type MCDGOVMint
- type MCDGOVMintIterator
- type MCDGOVRaw
- func (_MCDGOV *MCDGOVRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MCDGOV *MCDGOVRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MCDGOVSession
- func (_MCDGOV *MCDGOVSession) Allowance(src common.Address, guy common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Approve0(guy common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Authority() (common.Address, error)
- func (_MCDGOV *MCDGOVSession) BalanceOf(src common.Address) (*big.Int, error)
- func (_MCDGOV *MCDGOVSession) Burn(wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Burn0(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Decimals() (*big.Int, error)
- func (_MCDGOV *MCDGOVSession) Mint(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Mint0(wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Name() ([32]byte, error)
- func (_MCDGOV *MCDGOVSession) Owner() (common.Address, error)
- func (_MCDGOV *MCDGOVSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) SetName(name_ [32]byte) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Start() (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Stop() (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) Stopped() (bool, error)
- func (_MCDGOV *MCDGOVSession) Symbol() ([32]byte, error)
- func (_MCDGOV *MCDGOVSession) TotalSupply() (*big.Int, error)
- func (_MCDGOV *MCDGOVSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- type MCDGOVTransactor
- func (_MCDGOV *MCDGOVTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Approve0(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Burn(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Burn0(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Mint(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Mint0(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Pull(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Push(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) SetName(opts *bind.TransactOpts, name_ [32]byte) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Start(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- type MCDGOVTransactorRaw
- type MCDGOVTransactorSession
- func (_MCDGOV *MCDGOVTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Approve0(guy common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Burn(wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Burn0(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Mint(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Mint0(wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) SetName(name_ [32]byte) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Start() (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Stop() (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_MCDGOV *MCDGOVTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- type MCDGOVTransfer
- type MCDGOVTransferIterator
- type Mint
- 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
Constants ¶
const MCDGOVABI = "" /* 6824-byte string literal not displayed */
MCDGOVABI is the input ABI used to generate the binding from.
Variables ¶
var File_MCDGov_MCDGov_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"` Guy []byte `protobuf:"bytes,2,opt,name=Guy,proto3" json:"Guy,omitempty"` // address Wad []byte `protobuf:"bytes,3,opt,name=Wad,proto3" json:"Wad,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 LogNote ¶
type LogNote struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=Sig,proto3" json:"Sig,omitempty"` // bytes4 Guy []byte `protobuf:"bytes,3,opt,name=Guy,proto3" json:"Guy,omitempty"` // address Foo []byte `protobuf:"bytes,4,opt,name=Foo,proto3" json:"Foo,omitempty"` // bytes32 Bar []byte `protobuf:"bytes,5,opt,name=Bar,proto3" json:"Bar,omitempty"` // bytes32 Wad []byte `protobuf:"bytes,6,opt,name=Wad,proto3" json:"Wad,omitempty"` // uint256 Fax []byte `protobuf:"bytes,7,opt,name=Fax,proto3" json:"Fax,omitempty"` // bytes // contains filtered or unexported fields }
func (*LogNote) Descriptor
deprecated
func (*LogNote) GetTs ¶
func (x *LogNote) GetTs() *timestamppb.Timestamp
func (*LogNote) ProtoMessage ¶
func (*LogNote) ProtoMessage()
func (*LogNote) ProtoReflect ¶
func (x *LogNote) ProtoReflect() protoreflect.Message
type LogSetAuthority ¶
type LogSetAuthority struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Authority []byte `protobuf:"bytes,2,opt,name=Authority,proto3" json:"Authority,omitempty"` // address // contains filtered or unexported fields }
func (*LogSetAuthority) Descriptor
deprecated
func (*LogSetAuthority) Descriptor() ([]byte, []int)
Deprecated: Use LogSetAuthority.ProtoReflect.Descriptor instead.
func (*LogSetAuthority) GetAuthority ¶
func (x *LogSetAuthority) GetAuthority() []byte
func (*LogSetAuthority) GetTs ¶
func (x *LogSetAuthority) GetTs() *timestamppb.Timestamp
func (*LogSetAuthority) ProtoMessage ¶
func (*LogSetAuthority) ProtoMessage()
func (*LogSetAuthority) ProtoReflect ¶
func (x *LogSetAuthority) ProtoReflect() protoreflect.Message
func (*LogSetAuthority) Reset ¶
func (x *LogSetAuthority) Reset()
func (*LogSetAuthority) String ¶
func (x *LogSetAuthority) String() string
type LogSetOwner ¶
type LogSetOwner 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 // contains filtered or unexported fields }
func (*LogSetOwner) Descriptor
deprecated
func (*LogSetOwner) Descriptor() ([]byte, []int)
Deprecated: Use LogSetOwner.ProtoReflect.Descriptor instead.
func (*LogSetOwner) GetOwner ¶
func (x *LogSetOwner) GetOwner() []byte
func (*LogSetOwner) GetTs ¶
func (x *LogSetOwner) GetTs() *timestamppb.Timestamp
func (*LogSetOwner) ProtoMessage ¶
func (*LogSetOwner) ProtoMessage()
func (*LogSetOwner) ProtoReflect ¶
func (x *LogSetOwner) ProtoReflect() protoreflect.Message
func (*LogSetOwner) Reset ¶
func (x *LogSetOwner) Reset()
func (*LogSetOwner) String ¶
func (x *LogSetOwner) String() string
type MCDGOV ¶
type MCDGOV struct { MCDGOVCaller // Read-only binding to the contract MCDGOVTransactor // Write-only binding to the contract MCDGOVFilterer // Log filterer for contract events }
MCDGOV is an auto generated Go binding around an Ethereum contract.
type MCDGOVApproval ¶
type MCDGOVApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDGOVApproval represents a Approval event raised by the MCDGOV contract.
type MCDGOVApprovalIterator ¶
type MCDGOVApprovalIterator struct { Event *MCDGOVApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MCDGOV contract.
func (*MCDGOVApprovalIterator) Close ¶
func (it *MCDGOVApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVApprovalIterator) Error ¶
func (it *MCDGOVApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVApprovalIterator) Next ¶
func (it *MCDGOVApprovalIterator) 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 MCDGOVBurn ¶
type MCDGOVBurn struct { Guy common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDGOVBurn represents a Burn event raised by the MCDGOV contract.
type MCDGOVBurnIterator ¶
type MCDGOVBurnIterator struct { Event *MCDGOVBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the MCDGOV contract.
func (*MCDGOVBurnIterator) Close ¶
func (it *MCDGOVBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVBurnIterator) Error ¶
func (it *MCDGOVBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVBurnIterator) Next ¶
func (it *MCDGOVBurnIterator) 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 MCDGOVCaller ¶
type MCDGOVCaller struct {
// contains filtered or unexported fields
}
MCDGOVCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMCDGOVCaller ¶
func NewMCDGOVCaller(address common.Address, caller bind.ContractCaller) (*MCDGOVCaller, error)
NewMCDGOVCaller creates a new read-only instance of MCDGOV, bound to a specific deployed contract.
func (*MCDGOVCaller) Allowance ¶
func (_MCDGOV *MCDGOVCaller) Allowance(opts *bind.CallOpts, src common.Address, guy common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address guy) view returns(uint256)
func (*MCDGOVCaller) Authority ¶
Authority is a free data retrieval call binding the contract method 0xbf7e214f.
Solidity: function authority() view returns(address)
func (*MCDGOVCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*MCDGOVCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*MCDGOVCaller) Name ¶
func (_MCDGOV *MCDGOVCaller) Name(opts *bind.CallOpts) ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(bytes32)
func (*MCDGOVCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MCDGOVCaller) Stopped ¶
func (_MCDGOV *MCDGOVCaller) Stopped(opts *bind.CallOpts) (bool, error)
Stopped is a free data retrieval call binding the contract method 0x75f12b21.
Solidity: function stopped() view returns(bool)
func (*MCDGOVCaller) Symbol ¶
func (_MCDGOV *MCDGOVCaller) Symbol(opts *bind.CallOpts) ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(bytes32)
func (*MCDGOVCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MCDGOVCallerRaw ¶
type MCDGOVCallerRaw struct {
Contract *MCDGOVCaller // Generic read-only contract binding to access the raw methods on
}
MCDGOVCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MCDGOVCallerRaw) Call ¶
func (_MCDGOV *MCDGOVCallerRaw) 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 MCDGOVCallerSession ¶
type MCDGOVCallerSession struct { Contract *MCDGOVCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MCDGOVCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MCDGOVCallerSession) Allowance ¶
func (_MCDGOV *MCDGOVCallerSession) Allowance(src common.Address, guy common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address guy) view returns(uint256)
func (*MCDGOVCallerSession) Authority ¶
func (_MCDGOV *MCDGOVCallerSession) Authority() (common.Address, error)
Authority is a free data retrieval call binding the contract method 0xbf7e214f.
Solidity: function authority() view returns(address)
func (*MCDGOVCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*MCDGOVCallerSession) Decimals ¶
func (_MCDGOV *MCDGOVCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*MCDGOVCallerSession) Name ¶
func (_MCDGOV *MCDGOVCallerSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(bytes32)
func (*MCDGOVCallerSession) Owner ¶
func (_MCDGOV *MCDGOVCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MCDGOVCallerSession) Stopped ¶
func (_MCDGOV *MCDGOVCallerSession) Stopped() (bool, error)
Stopped is a free data retrieval call binding the contract method 0x75f12b21.
Solidity: function stopped() view returns(bool)
func (*MCDGOVCallerSession) Symbol ¶
func (_MCDGOV *MCDGOVCallerSession) Symbol() ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(bytes32)
func (*MCDGOVCallerSession) TotalSupply ¶
func (_MCDGOV *MCDGOVCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MCDGOVFilterer ¶
type MCDGOVFilterer struct {
// contains filtered or unexported fields
}
MCDGOVFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMCDGOVFilterer ¶
func NewMCDGOVFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDGOVFilterer, error)
NewMCDGOVFilterer creates a new log filterer instance of MCDGOV, bound to a specific deployed contract.
func (*MCDGOVFilterer) FilterApproval ¶
func (_MCDGOV *MCDGOVFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MCDGOVApprovalIterator, 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 (*MCDGOVFilterer) FilterBurn ¶
func (_MCDGOV *MCDGOVFilterer) FilterBurn(opts *bind.FilterOpts, guy []common.Address) (*MCDGOVBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) FilterLogSetAuthority ¶
func (_MCDGOV *MCDGOVFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*MCDGOVLogSetAuthorityIterator, error)
FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.
Solidity: event LogSetAuthority(address indexed authority)
func (*MCDGOVFilterer) FilterLogSetOwner ¶
func (_MCDGOV *MCDGOVFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*MCDGOVLogSetOwnerIterator, error)
FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*MCDGOVFilterer) FilterMint ¶
func (_MCDGOV *MCDGOVFilterer) FilterMint(opts *bind.FilterOpts, guy []common.Address) (*MCDGOVMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) FilterTransfer ¶
func (_MCDGOV *MCDGOVFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MCDGOVTransferIterator, 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 (*MCDGOVFilterer) ParseApproval ¶
func (_MCDGOV *MCDGOVFilterer) ParseApproval(log types.Log) (*MCDGOVApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MCDGOVFilterer) ParseBurn ¶
func (_MCDGOV *MCDGOVFilterer) ParseBurn(log types.Log) (*MCDGOVBurn, error)
ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) ParseLogSetAuthority ¶
func (_MCDGOV *MCDGOVFilterer) ParseLogSetAuthority(log types.Log) (*MCDGOVLogSetAuthority, error)
ParseLogSetAuthority is a log parse operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.
Solidity: event LogSetAuthority(address indexed authority)
func (*MCDGOVFilterer) ParseLogSetOwner ¶
func (_MCDGOV *MCDGOVFilterer) ParseLogSetOwner(log types.Log) (*MCDGOVLogSetOwner, error)
ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*MCDGOVFilterer) ParseMint ¶
func (_MCDGOV *MCDGOVFilterer) ParseMint(log types.Log) (*MCDGOVMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) ParseTransfer ¶
func (_MCDGOV *MCDGOVFilterer) ParseTransfer(log types.Log) (*MCDGOVTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MCDGOVFilterer) WatchApproval ¶
func (_MCDGOV *MCDGOVFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MCDGOVApproval, 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 (*MCDGOVFilterer) WatchBurn ¶
func (_MCDGOV *MCDGOVFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *MCDGOVBurn, guy []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) WatchLogSetAuthority ¶
func (_MCDGOV *MCDGOVFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *MCDGOVLogSetAuthority, authority []common.Address) (event.Subscription, error)
WatchLogSetAuthority is a free log subscription operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.
Solidity: event LogSetAuthority(address indexed authority)
func (*MCDGOVFilterer) WatchLogSetOwner ¶
func (_MCDGOV *MCDGOVFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *MCDGOVLogSetOwner, owner []common.Address) (event.Subscription, error)
WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.
Solidity: event LogSetOwner(address indexed owner)
func (*MCDGOVFilterer) WatchMint ¶
func (_MCDGOV *MCDGOVFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MCDGOVMint, guy []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed guy, uint256 wad)
func (*MCDGOVFilterer) WatchTransfer ¶
func (_MCDGOV *MCDGOVFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MCDGOVTransfer, 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 MCDGOVLogSetAuthority ¶
type MCDGOVLogSetAuthority struct { Authority common.Address Raw types.Log // Blockchain specific contextual infos }
MCDGOVLogSetAuthority represents a LogSetAuthority event raised by the MCDGOV contract.
type MCDGOVLogSetAuthorityIterator ¶
type MCDGOVLogSetAuthorityIterator struct { Event *MCDGOVLogSetAuthority // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the MCDGOV contract.
func (*MCDGOVLogSetAuthorityIterator) Close ¶
func (it *MCDGOVLogSetAuthorityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVLogSetAuthorityIterator) Error ¶
func (it *MCDGOVLogSetAuthorityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVLogSetAuthorityIterator) Next ¶
func (it *MCDGOVLogSetAuthorityIterator) 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 MCDGOVLogSetOwner ¶
type MCDGOVLogSetOwner struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
MCDGOVLogSetOwner represents a LogSetOwner event raised by the MCDGOV contract.
type MCDGOVLogSetOwnerIterator ¶
type MCDGOVLogSetOwnerIterator struct { Event *MCDGOVLogSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the MCDGOV contract.
func (*MCDGOVLogSetOwnerIterator) Close ¶
func (it *MCDGOVLogSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVLogSetOwnerIterator) Error ¶
func (it *MCDGOVLogSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVLogSetOwnerIterator) Next ¶
func (it *MCDGOVLogSetOwnerIterator) 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 MCDGOVMint ¶
type MCDGOVMint struct { Guy common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDGOVMint represents a Mint event raised by the MCDGOV contract.
type MCDGOVMintIterator ¶
type MCDGOVMintIterator struct { Event *MCDGOVMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MCDGOV contract.
func (*MCDGOVMintIterator) Close ¶
func (it *MCDGOVMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVMintIterator) Error ¶
func (it *MCDGOVMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVMintIterator) Next ¶
func (it *MCDGOVMintIterator) 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 MCDGOVRaw ¶
type MCDGOVRaw struct {
Contract *MCDGOV // Generic contract binding to access the raw methods on
}
MCDGOVRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MCDGOVRaw) Call ¶
func (_MCDGOV *MCDGOVRaw) 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 (*MCDGOVRaw) Transact ¶
func (_MCDGOV *MCDGOVRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDGOVRaw) Transfer ¶
func (_MCDGOV *MCDGOVRaw) 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 MCDGOVSession ¶
type MCDGOVSession struct { Contract *MCDGOV // 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 }
MCDGOVSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MCDGOVSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address guy) view returns(uint256)
func (*MCDGOVSession) Approve ¶
func (_MCDGOV *MCDGOVSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*MCDGOVSession) Approve0 ¶
func (_MCDGOV *MCDGOVSession) Approve0(guy common.Address) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address guy) returns(bool)
func (*MCDGOVSession) Authority ¶
func (_MCDGOV *MCDGOVSession) Authority() (common.Address, error)
Authority is a free data retrieval call binding the contract method 0xbf7e214f.
Solidity: function authority() view returns(address)
func (*MCDGOVSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*MCDGOVSession) Burn ¶
func (_MCDGOV *MCDGOVSession) Burn(wad *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 wad) returns()
func (*MCDGOVSession) Burn0 ¶
func (_MCDGOV *MCDGOVSession) Burn0(guy common.Address, wad *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address guy, uint256 wad) returns()
func (*MCDGOVSession) Decimals ¶
func (_MCDGOV *MCDGOVSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*MCDGOVSession) Mint ¶
func (_MCDGOV *MCDGOVSession) Mint(guy common.Address, wad *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address guy, uint256 wad) returns()
func (*MCDGOVSession) Mint0 ¶
func (_MCDGOV *MCDGOVSession) Mint0(wad *big.Int) (*types.Transaction, error)
Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 wad) returns()
func (*MCDGOVSession) Move ¶
func (_MCDGOV *MCDGOVSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 wad) returns()
func (*MCDGOVSession) Name ¶
func (_MCDGOV *MCDGOVSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(bytes32)
func (*MCDGOVSession) Owner ¶
func (_MCDGOV *MCDGOVSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MCDGOVSession) Pull ¶
func (_MCDGOV *MCDGOVSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)
Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.
Solidity: function pull(address src, uint256 wad) returns()
func (*MCDGOVSession) Push ¶
func (_MCDGOV *MCDGOVSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)
Push is a paid mutator transaction binding the contract method 0xb753a98c.
Solidity: function push(address dst, uint256 wad) returns()
func (*MCDGOVSession) SetAuthority ¶
func (_MCDGOV *MCDGOVSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)
SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.
Solidity: function setAuthority(address authority_) returns()
func (*MCDGOVSession) SetName ¶
func (_MCDGOV *MCDGOVSession) SetName(name_ [32]byte) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x5ac801fe.
Solidity: function setName(bytes32 name_) returns()
func (*MCDGOVSession) SetOwner ¶
func (_MCDGOV *MCDGOVSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*MCDGOVSession) Start ¶
func (_MCDGOV *MCDGOVSession) Start() (*types.Transaction, error)
Start is a paid mutator transaction binding the contract method 0xbe9a6555.
Solidity: function start() returns()
func (*MCDGOVSession) Stop ¶
func (_MCDGOV *MCDGOVSession) Stop() (*types.Transaction, error)
Stop is a paid mutator transaction binding the contract method 0x07da68f5.
Solidity: function stop() returns()
func (*MCDGOVSession) Stopped ¶
func (_MCDGOV *MCDGOVSession) Stopped() (bool, error)
Stopped is a free data retrieval call binding the contract method 0x75f12b21.
Solidity: function stopped() view returns(bool)
func (*MCDGOVSession) Symbol ¶
func (_MCDGOV *MCDGOVSession) Symbol() ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(bytes32)
func (*MCDGOVSession) TotalSupply ¶
func (_MCDGOV *MCDGOVSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MCDGOVSession) Transfer ¶
func (_MCDGOV *MCDGOVSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*MCDGOVSession) TransferFrom ¶
func (_MCDGOV *MCDGOVSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
type MCDGOVTransactor ¶
type MCDGOVTransactor struct {
// contains filtered or unexported fields
}
MCDGOVTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMCDGOVTransactor ¶
func NewMCDGOVTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDGOVTransactor, error)
NewMCDGOVTransactor creates a new write-only instance of MCDGOV, bound to a specific deployed contract.
func (*MCDGOVTransactor) Approve ¶
func (_MCDGOV *MCDGOVTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*MCDGOVTransactor) Approve0 ¶
func (_MCDGOV *MCDGOVTransactor) Approve0(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address guy) returns(bool)
func (*MCDGOVTransactor) Burn ¶
func (_MCDGOV *MCDGOVTransactor) Burn(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 wad) returns()
func (*MCDGOVTransactor) Burn0 ¶
func (_MCDGOV *MCDGOVTransactor) Burn0(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address guy, uint256 wad) returns()
func (*MCDGOVTransactor) Mint ¶
func (_MCDGOV *MCDGOVTransactor) Mint(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address guy, uint256 wad) returns()
func (*MCDGOVTransactor) Mint0 ¶
func (_MCDGOV *MCDGOVTransactor) Mint0(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 wad) returns()
func (*MCDGOVTransactor) Move ¶
func (_MCDGOV *MCDGOVTransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 wad) returns()
func (*MCDGOVTransactor) Pull ¶
func (_MCDGOV *MCDGOVTransactor) Pull(opts *bind.TransactOpts, src common.Address, wad *big.Int) (*types.Transaction, error)
Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.
Solidity: function pull(address src, uint256 wad) returns()
func (*MCDGOVTransactor) Push ¶
func (_MCDGOV *MCDGOVTransactor) Push(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
Push is a paid mutator transaction binding the contract method 0xb753a98c.
Solidity: function push(address dst, uint256 wad) returns()
func (*MCDGOVTransactor) SetAuthority ¶
func (_MCDGOV *MCDGOVTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)
SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.
Solidity: function setAuthority(address authority_) returns()
func (*MCDGOVTransactor) SetName ¶
func (_MCDGOV *MCDGOVTransactor) SetName(opts *bind.TransactOpts, name_ [32]byte) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x5ac801fe.
Solidity: function setName(bytes32 name_) returns()
func (*MCDGOVTransactor) SetOwner ¶
func (_MCDGOV *MCDGOVTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*MCDGOVTransactor) Start ¶
func (_MCDGOV *MCDGOVTransactor) Start(opts *bind.TransactOpts) (*types.Transaction, error)
Start is a paid mutator transaction binding the contract method 0xbe9a6555.
Solidity: function start() returns()
func (*MCDGOVTransactor) Stop ¶
func (_MCDGOV *MCDGOVTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)
Stop is a paid mutator transaction binding the contract method 0x07da68f5.
Solidity: function stop() returns()
func (*MCDGOVTransactor) Transfer ¶
func (_MCDGOV *MCDGOVTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*MCDGOVTransactor) TransferFrom ¶
func (_MCDGOV *MCDGOVTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
type MCDGOVTransactorRaw ¶
type MCDGOVTransactorRaw struct {
Contract *MCDGOVTransactor // Generic write-only contract binding to access the raw methods on
}
MCDGOVTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MCDGOVTransactorRaw) Transact ¶
func (_MCDGOV *MCDGOVTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDGOVTransactorRaw) Transfer ¶
func (_MCDGOV *MCDGOVTransactorRaw) 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 MCDGOVTransactorSession ¶
type MCDGOVTransactorSession struct { Contract *MCDGOVTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MCDGOVTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MCDGOVTransactorSession) Approve ¶
func (_MCDGOV *MCDGOVTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*MCDGOVTransactorSession) Approve0 ¶
func (_MCDGOV *MCDGOVTransactorSession) Approve0(guy common.Address) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address guy) returns(bool)
func (*MCDGOVTransactorSession) Burn ¶
func (_MCDGOV *MCDGOVTransactorSession) Burn(wad *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 wad) returns()
func (*MCDGOVTransactorSession) Burn0 ¶
func (_MCDGOV *MCDGOVTransactorSession) Burn0(guy common.Address, wad *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address guy, uint256 wad) returns()
func (*MCDGOVTransactorSession) Mint ¶
func (_MCDGOV *MCDGOVTransactorSession) Mint(guy common.Address, wad *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address guy, uint256 wad) returns()
func (*MCDGOVTransactorSession) Mint0 ¶
func (_MCDGOV *MCDGOVTransactorSession) Mint0(wad *big.Int) (*types.Transaction, error)
Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 wad) returns()
func (*MCDGOVTransactorSession) Move ¶
func (_MCDGOV *MCDGOVTransactorSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 wad) returns()
func (*MCDGOVTransactorSession) Pull ¶
func (_MCDGOV *MCDGOVTransactorSession) Pull(src common.Address, wad *big.Int) (*types.Transaction, error)
Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.
Solidity: function pull(address src, uint256 wad) returns()
func (*MCDGOVTransactorSession) Push ¶
func (_MCDGOV *MCDGOVTransactorSession) Push(dst common.Address, wad *big.Int) (*types.Transaction, error)
Push is a paid mutator transaction binding the contract method 0xb753a98c.
Solidity: function push(address dst, uint256 wad) returns()
func (*MCDGOVTransactorSession) SetAuthority ¶
func (_MCDGOV *MCDGOVTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)
SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.
Solidity: function setAuthority(address authority_) returns()
func (*MCDGOVTransactorSession) SetName ¶
func (_MCDGOV *MCDGOVTransactorSession) SetName(name_ [32]byte) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0x5ac801fe.
Solidity: function setName(bytes32 name_) returns()
func (*MCDGOVTransactorSession) SetOwner ¶
func (_MCDGOV *MCDGOVTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner_) returns()
func (*MCDGOVTransactorSession) Start ¶
func (_MCDGOV *MCDGOVTransactorSession) Start() (*types.Transaction, error)
Start is a paid mutator transaction binding the contract method 0xbe9a6555.
Solidity: function start() returns()
func (*MCDGOVTransactorSession) Stop ¶
func (_MCDGOV *MCDGOVTransactorSession) Stop() (*types.Transaction, error)
Stop is a paid mutator transaction binding the contract method 0x07da68f5.
Solidity: function stop() returns()
func (*MCDGOVTransactorSession) Transfer ¶
func (_MCDGOV *MCDGOVTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*MCDGOVTransactorSession) TransferFrom ¶
func (_MCDGOV *MCDGOVTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
type MCDGOVTransfer ¶
type MCDGOVTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDGOVTransfer represents a Transfer event raised by the MCDGOV contract.
type MCDGOVTransferIterator ¶
type MCDGOVTransferIterator struct { Event *MCDGOVTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDGOVTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MCDGOV contract.
func (*MCDGOVTransferIterator) Close ¶
func (it *MCDGOVTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDGOVTransferIterator) Error ¶
func (it *MCDGOVTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDGOVTransferIterator) Next ¶
func (it *MCDGOVTransferIterator) 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"` Guy []byte `protobuf:"bytes,2,opt,name=Guy,proto3" json:"Guy,omitempty"` // address Wad []byte `protobuf:"bytes,3,opt,name=Wad,proto3" json:"Wad,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 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