MCDADM

package
v0.0.0-...-a05b099 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MCDADMABI = "" /* 9675-byte string literal not displayed */

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

Variables

View Source
var File_MCDADM_MCDADM_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Etch

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

func (*Etch) Descriptor deprecated

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

Deprecated: Use Etch.ProtoReflect.Descriptor instead.

func (*Etch) GetSlate

func (x *Etch) GetSlate() []byte

func (*Etch) GetTs

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

func (*Etch) ProtoMessage

func (*Etch) ProtoMessage()

func (*Etch) ProtoReflect

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

func (*Etch) Reset

func (x *Etch) Reset()

func (*Etch) String

func (x *Etch) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use LogNote.ProtoReflect.Descriptor instead.

func (*LogNote) GetBar

func (x *LogNote) GetBar() []byte

func (*LogNote) GetFax

func (x *LogNote) GetFax() []byte

func (*LogNote) GetFoo

func (x *LogNote) GetFoo() []byte

func (*LogNote) GetGuy

func (x *LogNote) GetGuy() []byte

func (*LogNote) GetSig

func (x *LogNote) GetSig() []byte

func (*LogNote) GetTs

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

func (*LogNote) GetWad

func (x *LogNote) GetWad() []byte

func (*LogNote) ProtoMessage

func (*LogNote) ProtoMessage()

func (*LogNote) ProtoReflect

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

func (*LogNote) Reset

func (x *LogNote) Reset()

func (*LogNote) String

func (x *LogNote) String() string

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 (*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 MCDADM

type MCDADM struct {
	MCDADMCaller     // Read-only binding to the contract
	MCDADMTransactor // Write-only binding to the contract
	MCDADMFilterer   // Log filterer for contract events
}

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

func NewMCDADM

func NewMCDADM(address common.Address, backend bind.ContractBackend) (*MCDADM, error)

NewMCDADM creates a new instance of MCDADM, bound to a specific deployed contract.

type MCDADMCaller

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

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

func NewMCDADMCaller

func NewMCDADMCaller(address common.Address, caller bind.ContractCaller) (*MCDADMCaller, error)

NewMCDADMCaller creates a new read-only instance of MCDADM, bound to a specific deployed contract.

func (*MCDADMCaller) Approvals

func (_MCDADM *MCDADMCaller) Approvals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

Solidity: function approvals(address ) view returns(uint256)

func (*MCDADMCaller) Authority

func (_MCDADM *MCDADMCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*MCDADMCaller) CanCall

func (_MCDADM *MCDADMCaller) CanCall(opts *bind.CallOpts, caller common.Address, code common.Address, sig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address caller, address code, bytes4 sig) view returns(bool)

func (*MCDADMCaller) Deposits

func (_MCDADM *MCDADMCaller) Deposits(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256)

func (*MCDADMCaller) GOV

func (_MCDADM *MCDADMCaller) GOV(opts *bind.CallOpts) (common.Address, error)

GOV is a free data retrieval call binding the contract method 0x180cb47f.

Solidity: function GOV() view returns(address)

func (*MCDADMCaller) GetCapabilityRoles

func (_MCDADM *MCDADMCaller) GetCapabilityRoles(opts *bind.CallOpts, code common.Address, sig [4]byte) ([32]byte, error)

GetCapabilityRoles is a free data retrieval call binding the contract method 0x27538e90.

Solidity: function getCapabilityRoles(address code, bytes4 sig) view returns(bytes32)

func (*MCDADMCaller) GetUserRoles

func (_MCDADM *MCDADMCaller) GetUserRoles(opts *bind.CallOpts, who common.Address) ([32]byte, error)

GetUserRoles is a free data retrieval call binding the contract method 0x06a36aee.

Solidity: function getUserRoles(address who) view returns(bytes32)

func (*MCDADMCaller) HasUserRole

func (_MCDADM *MCDADMCaller) HasUserRole(opts *bind.CallOpts, who common.Address, role uint8) (bool, error)

HasUserRole is a free data retrieval call binding the contract method 0xa078f737.

Solidity: function hasUserRole(address who, uint8 role) view returns(bool)

func (*MCDADMCaller) Hat

func (_MCDADM *MCDADMCaller) Hat(opts *bind.CallOpts) (common.Address, error)

Hat is a free data retrieval call binding the contract method 0xfe95a5ce.

Solidity: function hat() view returns(address)

func (*MCDADMCaller) IOU

func (_MCDADM *MCDADMCaller) IOU(opts *bind.CallOpts) (common.Address, error)

IOU is a free data retrieval call binding the contract method 0x046c472f.

Solidity: function IOU() view returns(address)

func (*MCDADMCaller) IsCapabilityPublic

func (_MCDADM *MCDADMCaller) IsCapabilityPublic(opts *bind.CallOpts, code common.Address, sig [4]byte) (bool, error)

IsCapabilityPublic is a free data retrieval call binding the contract method 0x2f47571f.

Solidity: function isCapabilityPublic(address code, bytes4 sig) view returns(bool)

func (*MCDADMCaller) IsUserRoot

func (_MCDADM *MCDADMCaller) IsUserRoot(opts *bind.CallOpts, who common.Address) (bool, error)

IsUserRoot is a free data retrieval call binding the contract method 0xfbf80773.

Solidity: function isUserRoot(address who) view returns(bool)

func (*MCDADMCaller) Last

func (_MCDADM *MCDADMCaller) Last(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Last is a free data retrieval call binding the contract method 0x9a816f7d.

Solidity: function last(address ) view returns(uint256)

func (*MCDADMCaller) Live

func (_MCDADM *MCDADMCaller) Live(opts *bind.CallOpts) (bool, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(bool)

func (*MCDADMCaller) MAXYAYS

func (_MCDADM *MCDADMCaller) MAXYAYS(opts *bind.CallOpts) (*big.Int, error)

MAXYAYS is a free data retrieval call binding the contract method 0x362344b8.

Solidity: function MAX_YAYS() view returns(uint256)

func (*MCDADMCaller) Owner

func (_MCDADM *MCDADMCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MCDADMCaller) Slates

func (_MCDADM *MCDADMCaller) Slates(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)

Slates is a free data retrieval call binding the contract method 0xc2ffc7bb.

Solidity: function slates(bytes32 , uint256 ) view returns(address)

func (*MCDADMCaller) Votes

func (_MCDADM *MCDADMCaller) Votes(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) view returns(bytes32)

type MCDADMCallerRaw

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

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

func (*MCDADMCallerRaw) Call

func (_MCDADM *MCDADMCallerRaw) 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 MCDADMCallerSession

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

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

func (*MCDADMCallerSession) Approvals

func (_MCDADM *MCDADMCallerSession) Approvals(arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

Solidity: function approvals(address ) view returns(uint256)

func (*MCDADMCallerSession) Authority

func (_MCDADM *MCDADMCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*MCDADMCallerSession) CanCall

func (_MCDADM *MCDADMCallerSession) CanCall(caller common.Address, code common.Address, sig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address caller, address code, bytes4 sig) view returns(bool)

func (*MCDADMCallerSession) Deposits

func (_MCDADM *MCDADMCallerSession) Deposits(arg0 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256)

func (*MCDADMCallerSession) GOV

func (_MCDADM *MCDADMCallerSession) GOV() (common.Address, error)

GOV is a free data retrieval call binding the contract method 0x180cb47f.

Solidity: function GOV() view returns(address)

func (*MCDADMCallerSession) GetCapabilityRoles

func (_MCDADM *MCDADMCallerSession) GetCapabilityRoles(code common.Address, sig [4]byte) ([32]byte, error)

GetCapabilityRoles is a free data retrieval call binding the contract method 0x27538e90.

Solidity: function getCapabilityRoles(address code, bytes4 sig) view returns(bytes32)

func (*MCDADMCallerSession) GetUserRoles

func (_MCDADM *MCDADMCallerSession) GetUserRoles(who common.Address) ([32]byte, error)

GetUserRoles is a free data retrieval call binding the contract method 0x06a36aee.

Solidity: function getUserRoles(address who) view returns(bytes32)

func (*MCDADMCallerSession) HasUserRole

func (_MCDADM *MCDADMCallerSession) HasUserRole(who common.Address, role uint8) (bool, error)

HasUserRole is a free data retrieval call binding the contract method 0xa078f737.

Solidity: function hasUserRole(address who, uint8 role) view returns(bool)

func (*MCDADMCallerSession) Hat

func (_MCDADM *MCDADMCallerSession) Hat() (common.Address, error)

Hat is a free data retrieval call binding the contract method 0xfe95a5ce.

Solidity: function hat() view returns(address)

func (*MCDADMCallerSession) IOU

func (_MCDADM *MCDADMCallerSession) IOU() (common.Address, error)

IOU is a free data retrieval call binding the contract method 0x046c472f.

Solidity: function IOU() view returns(address)

func (*MCDADMCallerSession) IsCapabilityPublic

func (_MCDADM *MCDADMCallerSession) IsCapabilityPublic(code common.Address, sig [4]byte) (bool, error)

IsCapabilityPublic is a free data retrieval call binding the contract method 0x2f47571f.

Solidity: function isCapabilityPublic(address code, bytes4 sig) view returns(bool)

func (*MCDADMCallerSession) IsUserRoot

func (_MCDADM *MCDADMCallerSession) IsUserRoot(who common.Address) (bool, error)

IsUserRoot is a free data retrieval call binding the contract method 0xfbf80773.

Solidity: function isUserRoot(address who) view returns(bool)

func (*MCDADMCallerSession) Last

func (_MCDADM *MCDADMCallerSession) Last(arg0 common.Address) (*big.Int, error)

Last is a free data retrieval call binding the contract method 0x9a816f7d.

Solidity: function last(address ) view returns(uint256)

func (*MCDADMCallerSession) Live

func (_MCDADM *MCDADMCallerSession) Live() (bool, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(bool)

func (*MCDADMCallerSession) MAXYAYS

func (_MCDADM *MCDADMCallerSession) MAXYAYS() (*big.Int, error)

MAXYAYS is a free data retrieval call binding the contract method 0x362344b8.

Solidity: function MAX_YAYS() view returns(uint256)

func (*MCDADMCallerSession) Owner

func (_MCDADM *MCDADMCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MCDADMCallerSession) Slates

func (_MCDADM *MCDADMCallerSession) Slates(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

Slates is a free data retrieval call binding the contract method 0xc2ffc7bb.

Solidity: function slates(bytes32 , uint256 ) view returns(address)

func (*MCDADMCallerSession) Votes

func (_MCDADM *MCDADMCallerSession) Votes(arg0 common.Address) ([32]byte, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) view returns(bytes32)

type MCDADMEtch

type MCDADMEtch struct {
	Slate [32]byte
	Raw   types.Log // Blockchain specific contextual infos
}

MCDADMEtch represents a Etch event raised by the MCDADM contract.

type MCDADMEtchIterator

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

MCDADMEtchIterator is returned from FilterEtch and is used to iterate over the raw logs and unpacked data for Etch events raised by the MCDADM contract.

func (*MCDADMEtchIterator) Close

func (it *MCDADMEtchIterator) Close() error

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

func (*MCDADMEtchIterator) Error

func (it *MCDADMEtchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDADMEtchIterator) Next

func (it *MCDADMEtchIterator) 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 MCDADMFilterer

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

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

func NewMCDADMFilterer

func NewMCDADMFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDADMFilterer, error)

NewMCDADMFilterer creates a new log filterer instance of MCDADM, bound to a specific deployed contract.

func (*MCDADMFilterer) FilterEtch

func (_MCDADM *MCDADMFilterer) FilterEtch(opts *bind.FilterOpts, slate [][32]byte) (*MCDADMEtchIterator, error)

FilterEtch is a free log retrieval operation binding the contract event 0x4f0892983790f53eea39a7a496f6cb40e8811b313871337b6a761efc6c67bb1f.

Solidity: event Etch(bytes32 indexed slate)

func (*MCDADMFilterer) FilterLogSetAuthority

func (_MCDADM *MCDADMFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*MCDADMLogSetAuthorityIterator, error)

FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*MCDADMFilterer) FilterLogSetOwner

func (_MCDADM *MCDADMFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*MCDADMLogSetOwnerIterator, error)

FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*MCDADMFilterer) ParseEtch

func (_MCDADM *MCDADMFilterer) ParseEtch(log types.Log) (*MCDADMEtch, error)

ParseEtch is a log parse operation binding the contract event 0x4f0892983790f53eea39a7a496f6cb40e8811b313871337b6a761efc6c67bb1f.

Solidity: event Etch(bytes32 indexed slate)

func (*MCDADMFilterer) ParseLogSetAuthority

func (_MCDADM *MCDADMFilterer) ParseLogSetAuthority(log types.Log) (*MCDADMLogSetAuthority, error)

ParseLogSetAuthority is a log parse operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*MCDADMFilterer) ParseLogSetOwner

func (_MCDADM *MCDADMFilterer) ParseLogSetOwner(log types.Log) (*MCDADMLogSetOwner, error)

ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*MCDADMFilterer) WatchEtch

func (_MCDADM *MCDADMFilterer) WatchEtch(opts *bind.WatchOpts, sink chan<- *MCDADMEtch, slate [][32]byte) (event.Subscription, error)

WatchEtch is a free log subscription operation binding the contract event 0x4f0892983790f53eea39a7a496f6cb40e8811b313871337b6a761efc6c67bb1f.

Solidity: event Etch(bytes32 indexed slate)

func (*MCDADMFilterer) WatchLogSetAuthority

func (_MCDADM *MCDADMFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *MCDADMLogSetAuthority, 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 (*MCDADMFilterer) WatchLogSetOwner

func (_MCDADM *MCDADMFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *MCDADMLogSetOwner, owner []common.Address) (event.Subscription, error)

WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

type MCDADMLogSetAuthority

type MCDADMLogSetAuthority struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MCDADMLogSetAuthority represents a LogSetAuthority event raised by the MCDADM contract.

type MCDADMLogSetAuthorityIterator

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

MCDADMLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the MCDADM contract.

func (*MCDADMLogSetAuthorityIterator) Close

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

func (*MCDADMLogSetAuthorityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDADMLogSetAuthorityIterator) Next

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 MCDADMLogSetOwner

type MCDADMLogSetOwner struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MCDADMLogSetOwner represents a LogSetOwner event raised by the MCDADM contract.

type MCDADMLogSetOwnerIterator

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

MCDADMLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the MCDADM contract.

func (*MCDADMLogSetOwnerIterator) Close

func (it *MCDADMLogSetOwnerIterator) Close() error

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

func (*MCDADMLogSetOwnerIterator) Error

func (it *MCDADMLogSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDADMLogSetOwnerIterator) Next

func (it *MCDADMLogSetOwnerIterator) 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 MCDADMRaw

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

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

func (*MCDADMRaw) Call

func (_MCDADM *MCDADMRaw) 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 (*MCDADMRaw) Transact

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

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

func (*MCDADMRaw) Transfer

func (_MCDADM *MCDADMRaw) 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 MCDADMSession

type MCDADMSession struct {
	Contract     *MCDADM           // 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
}

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

func (*MCDADMSession) Approvals

func (_MCDADM *MCDADMSession) Approvals(arg0 common.Address) (*big.Int, error)

Approvals is a free data retrieval call binding the contract method 0x5d0341ba.

Solidity: function approvals(address ) view returns(uint256)

func (*MCDADMSession) Authority

func (_MCDADM *MCDADMSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*MCDADMSession) CanCall

func (_MCDADM *MCDADMSession) CanCall(caller common.Address, code common.Address, sig [4]byte) (bool, error)

CanCall is a free data retrieval call binding the contract method 0xb7009613.

Solidity: function canCall(address caller, address code, bytes4 sig) view returns(bool)

func (*MCDADMSession) Deposits

func (_MCDADM *MCDADMSession) Deposits(arg0 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256)

func (*MCDADMSession) Etch

func (_MCDADM *MCDADMSession) Etch(yays []common.Address) (*types.Transaction, error)

Etch is a paid mutator transaction binding the contract method 0x5123e1fa.

Solidity: function etch(address[] yays) returns(bytes32 slate)

func (*MCDADMSession) Free

func (_MCDADM *MCDADMSession) Free(wad *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xd8ccd0f3.

Solidity: function free(uint256 wad) returns()

func (*MCDADMSession) GOV

func (_MCDADM *MCDADMSession) GOV() (common.Address, error)

GOV is a free data retrieval call binding the contract method 0x180cb47f.

Solidity: function GOV() view returns(address)

func (*MCDADMSession) GetCapabilityRoles

func (_MCDADM *MCDADMSession) GetCapabilityRoles(code common.Address, sig [4]byte) ([32]byte, error)

GetCapabilityRoles is a free data retrieval call binding the contract method 0x27538e90.

Solidity: function getCapabilityRoles(address code, bytes4 sig) view returns(bytes32)

func (*MCDADMSession) GetUserRoles

func (_MCDADM *MCDADMSession) GetUserRoles(who common.Address) ([32]byte, error)

GetUserRoles is a free data retrieval call binding the contract method 0x06a36aee.

Solidity: function getUserRoles(address who) view returns(bytes32)

func (*MCDADMSession) HasUserRole

func (_MCDADM *MCDADMSession) HasUserRole(who common.Address, role uint8) (bool, error)

HasUserRole is a free data retrieval call binding the contract method 0xa078f737.

Solidity: function hasUserRole(address who, uint8 role) view returns(bool)

func (*MCDADMSession) Hat

func (_MCDADM *MCDADMSession) Hat() (common.Address, error)

Hat is a free data retrieval call binding the contract method 0xfe95a5ce.

Solidity: function hat() view returns(address)

func (*MCDADMSession) IOU

func (_MCDADM *MCDADMSession) IOU() (common.Address, error)

IOU is a free data retrieval call binding the contract method 0x046c472f.

Solidity: function IOU() view returns(address)

func (*MCDADMSession) IsCapabilityPublic

func (_MCDADM *MCDADMSession) IsCapabilityPublic(code common.Address, sig [4]byte) (bool, error)

IsCapabilityPublic is a free data retrieval call binding the contract method 0x2f47571f.

Solidity: function isCapabilityPublic(address code, bytes4 sig) view returns(bool)

func (*MCDADMSession) IsUserRoot

func (_MCDADM *MCDADMSession) IsUserRoot(who common.Address) (bool, error)

IsUserRoot is a free data retrieval call binding the contract method 0xfbf80773.

Solidity: function isUserRoot(address who) view returns(bool)

func (*MCDADMSession) Last

func (_MCDADM *MCDADMSession) Last(arg0 common.Address) (*big.Int, error)

Last is a free data retrieval call binding the contract method 0x9a816f7d.

Solidity: function last(address ) view returns(uint256)

func (*MCDADMSession) Launch

func (_MCDADM *MCDADMSession) Launch() (*types.Transaction, error)

Launch is a paid mutator transaction binding the contract method 0x01339c21.

Solidity: function launch() returns()

func (*MCDADMSession) Lift

func (_MCDADM *MCDADMSession) Lift(whom common.Address) (*types.Transaction, error)

Lift is a paid mutator transaction binding the contract method 0x3c278bd5.

Solidity: function lift(address whom) returns()

func (*MCDADMSession) Live

func (_MCDADM *MCDADMSession) Live() (bool, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(bool)

func (*MCDADMSession) Lock

func (_MCDADM *MCDADMSession) Lock(wad *big.Int) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xdd467064.

Solidity: function lock(uint256 wad) returns()

func (*MCDADMSession) MAXYAYS

func (_MCDADM *MCDADMSession) MAXYAYS() (*big.Int, error)

MAXYAYS is a free data retrieval call binding the contract method 0x362344b8.

Solidity: function MAX_YAYS() view returns(uint256)

func (*MCDADMSession) Owner

func (_MCDADM *MCDADMSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MCDADMSession) SetAuthority

func (_MCDADM *MCDADMSession) 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 (*MCDADMSession) SetOwner

func (_MCDADM *MCDADMSession) 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 (*MCDADMSession) SetPublicCapability

func (_MCDADM *MCDADMSession) SetPublicCapability(code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetPublicCapability is a paid mutator transaction binding the contract method 0xc6b0263e.

Solidity: function setPublicCapability(address code, bytes4 sig, bool enabled) returns()

func (*MCDADMSession) SetRoleCapability

func (_MCDADM *MCDADMSession) SetRoleCapability(role uint8, code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetRoleCapability is a paid mutator transaction binding the contract method 0x7d40583d.

Solidity: function setRoleCapability(uint8 role, address code, bytes4 sig, bool enabled) returns()

func (*MCDADMSession) SetRootUser

func (_MCDADM *MCDADMSession) SetRootUser(who common.Address, enabled bool) (*types.Transaction, error)

SetRootUser is a paid mutator transaction binding the contract method 0xd381ba7c.

Solidity: function setRootUser(address who, bool enabled) returns()

func (*MCDADMSession) SetUserRole

func (_MCDADM *MCDADMSession) SetUserRole(who common.Address, role uint8, enabled bool) (*types.Transaction, error)

SetUserRole is a paid mutator transaction binding the contract method 0x67aff484.

Solidity: function setUserRole(address who, uint8 role, bool enabled) returns()

func (*MCDADMSession) Slates

func (_MCDADM *MCDADMSession) Slates(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

Slates is a free data retrieval call binding the contract method 0xc2ffc7bb.

Solidity: function slates(bytes32 , uint256 ) view returns(address)

func (*MCDADMSession) Vote

func (_MCDADM *MCDADMSession) Vote(slate [32]byte) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0xa69beaba.

Solidity: function vote(bytes32 slate) returns()

func (*MCDADMSession) Vote0

func (_MCDADM *MCDADMSession) Vote0(yays []common.Address) (*types.Transaction, error)

Vote0 is a paid mutator transaction binding the contract method 0xed081329.

Solidity: function vote(address[] yays) returns(bytes32)

func (*MCDADMSession) Votes

func (_MCDADM *MCDADMSession) Votes(arg0 common.Address) ([32]byte, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) view returns(bytes32)

type MCDADMTransactor

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

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

func NewMCDADMTransactor

func NewMCDADMTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDADMTransactor, error)

NewMCDADMTransactor creates a new write-only instance of MCDADM, bound to a specific deployed contract.

func (*MCDADMTransactor) Etch

func (_MCDADM *MCDADMTransactor) Etch(opts *bind.TransactOpts, yays []common.Address) (*types.Transaction, error)

Etch is a paid mutator transaction binding the contract method 0x5123e1fa.

Solidity: function etch(address[] yays) returns(bytes32 slate)

func (*MCDADMTransactor) Free

func (_MCDADM *MCDADMTransactor) Free(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xd8ccd0f3.

Solidity: function free(uint256 wad) returns()

func (*MCDADMTransactor) Launch

func (_MCDADM *MCDADMTransactor) Launch(opts *bind.TransactOpts) (*types.Transaction, error)

Launch is a paid mutator transaction binding the contract method 0x01339c21.

Solidity: function launch() returns()

func (*MCDADMTransactor) Lift

func (_MCDADM *MCDADMTransactor) Lift(opts *bind.TransactOpts, whom common.Address) (*types.Transaction, error)

Lift is a paid mutator transaction binding the contract method 0x3c278bd5.

Solidity: function lift(address whom) returns()

func (*MCDADMTransactor) Lock

func (_MCDADM *MCDADMTransactor) Lock(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xdd467064.

Solidity: function lock(uint256 wad) returns()

func (*MCDADMTransactor) SetAuthority

func (_MCDADM *MCDADMTransactor) 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 (*MCDADMTransactor) SetOwner

func (_MCDADM *MCDADMTransactor) 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 (*MCDADMTransactor) SetPublicCapability

func (_MCDADM *MCDADMTransactor) SetPublicCapability(opts *bind.TransactOpts, code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetPublicCapability is a paid mutator transaction binding the contract method 0xc6b0263e.

Solidity: function setPublicCapability(address code, bytes4 sig, bool enabled) returns()

func (*MCDADMTransactor) SetRoleCapability

func (_MCDADM *MCDADMTransactor) SetRoleCapability(opts *bind.TransactOpts, role uint8, code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetRoleCapability is a paid mutator transaction binding the contract method 0x7d40583d.

Solidity: function setRoleCapability(uint8 role, address code, bytes4 sig, bool enabled) returns()

func (*MCDADMTransactor) SetRootUser

func (_MCDADM *MCDADMTransactor) SetRootUser(opts *bind.TransactOpts, who common.Address, enabled bool) (*types.Transaction, error)

SetRootUser is a paid mutator transaction binding the contract method 0xd381ba7c.

Solidity: function setRootUser(address who, bool enabled) returns()

func (*MCDADMTransactor) SetUserRole

func (_MCDADM *MCDADMTransactor) SetUserRole(opts *bind.TransactOpts, who common.Address, role uint8, enabled bool) (*types.Transaction, error)

SetUserRole is a paid mutator transaction binding the contract method 0x67aff484.

Solidity: function setUserRole(address who, uint8 role, bool enabled) returns()

func (*MCDADMTransactor) Vote

func (_MCDADM *MCDADMTransactor) Vote(opts *bind.TransactOpts, slate [32]byte) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0xa69beaba.

Solidity: function vote(bytes32 slate) returns()

func (*MCDADMTransactor) Vote0

func (_MCDADM *MCDADMTransactor) Vote0(opts *bind.TransactOpts, yays []common.Address) (*types.Transaction, error)

Vote0 is a paid mutator transaction binding the contract method 0xed081329.

Solidity: function vote(address[] yays) returns(bytes32)

type MCDADMTransactorRaw

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

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

func (*MCDADMTransactorRaw) Transact

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

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

func (*MCDADMTransactorRaw) Transfer

func (_MCDADM *MCDADMTransactorRaw) 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 MCDADMTransactorSession

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

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

func (*MCDADMTransactorSession) Etch

func (_MCDADM *MCDADMTransactorSession) Etch(yays []common.Address) (*types.Transaction, error)

Etch is a paid mutator transaction binding the contract method 0x5123e1fa.

Solidity: function etch(address[] yays) returns(bytes32 slate)

func (*MCDADMTransactorSession) Free

func (_MCDADM *MCDADMTransactorSession) Free(wad *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xd8ccd0f3.

Solidity: function free(uint256 wad) returns()

func (*MCDADMTransactorSession) Launch

func (_MCDADM *MCDADMTransactorSession) Launch() (*types.Transaction, error)

Launch is a paid mutator transaction binding the contract method 0x01339c21.

Solidity: function launch() returns()

func (*MCDADMTransactorSession) Lift

func (_MCDADM *MCDADMTransactorSession) Lift(whom common.Address) (*types.Transaction, error)

Lift is a paid mutator transaction binding the contract method 0x3c278bd5.

Solidity: function lift(address whom) returns()

func (*MCDADMTransactorSession) Lock

func (_MCDADM *MCDADMTransactorSession) Lock(wad *big.Int) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xdd467064.

Solidity: function lock(uint256 wad) returns()

func (*MCDADMTransactorSession) SetAuthority

func (_MCDADM *MCDADMTransactorSession) 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 (*MCDADMTransactorSession) SetOwner

func (_MCDADM *MCDADMTransactorSession) 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 (*MCDADMTransactorSession) SetPublicCapability

func (_MCDADM *MCDADMTransactorSession) SetPublicCapability(code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetPublicCapability is a paid mutator transaction binding the contract method 0xc6b0263e.

Solidity: function setPublicCapability(address code, bytes4 sig, bool enabled) returns()

func (*MCDADMTransactorSession) SetRoleCapability

func (_MCDADM *MCDADMTransactorSession) SetRoleCapability(role uint8, code common.Address, sig [4]byte, enabled bool) (*types.Transaction, error)

SetRoleCapability is a paid mutator transaction binding the contract method 0x7d40583d.

Solidity: function setRoleCapability(uint8 role, address code, bytes4 sig, bool enabled) returns()

func (*MCDADMTransactorSession) SetRootUser

func (_MCDADM *MCDADMTransactorSession) SetRootUser(who common.Address, enabled bool) (*types.Transaction, error)

SetRootUser is a paid mutator transaction binding the contract method 0xd381ba7c.

Solidity: function setRootUser(address who, bool enabled) returns()

func (*MCDADMTransactorSession) SetUserRole

func (_MCDADM *MCDADMTransactorSession) SetUserRole(who common.Address, role uint8, enabled bool) (*types.Transaction, error)

SetUserRole is a paid mutator transaction binding the contract method 0x67aff484.

Solidity: function setUserRole(address who, uint8 role, bool enabled) returns()

func (*MCDADMTransactorSession) Vote

func (_MCDADM *MCDADMTransactorSession) Vote(slate [32]byte) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0xa69beaba.

Solidity: function vote(bytes32 slate) returns()

func (*MCDADMTransactorSession) Vote0

func (_MCDADM *MCDADMTransactorSession) Vote0(yays []common.Address) (*types.Transaction, error)

Vote0 is a paid mutator transaction binding the contract method 0xed081329.

Solidity: function vote(address[] yays) returns(bytes32)

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

Jump to

Keyboard shortcuts

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