flags_wrapper

package
v1.3.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlagsABI = FlagsMetaData.ABI
View Source
var FlagsBin = FlagsMetaData.Bin
View Source
var FlagsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"racAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"AddedAccess\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"CheckAccessDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"CheckAccessEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"FlagLowered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"FlagRaised\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previous\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"current\",\"type\":\"address\"}],\"name\":\"RaisingAccessControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"RemovedAccess\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"addAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableAccessCheck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableAccessCheck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"getFlag\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"subjects\",\"type\":\"address[]\"}],\"name\":\"getFlags\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"hasAccess\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"subjects\",\"type\":\"address[]\"}],\"name\":\"lowerFlags\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subject\",\"type\":\"address\"}],\"name\":\"raiseFlag\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"subjects\",\"type\":\"address[]\"}],\"name\":\"raiseFlags\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"raisingAccessController\",\"outputs\":[{\"internalType\":\"contractAccessControllerInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"removeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"racAddress\",\"type\":\"address\"}],\"name\":\"setRaisingAccessController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506040516115a43803806115a48339818101604052602081101561003357600080fd5b5051600080546001600160a01b031916331790556001805460ff60a01b1916600160a01b17905561006c816001600160e01b0361007216565b5061013a565b6000546001600160a01b031633146100d1576040805162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b6003546001600160a01b03908116908216811461013657600380546001600160a01b0319166001600160a01b0384811691821790925560405190918316907fbaf9ea078655a4fffefd08f9435677bbc91e457a6d015fe7de1d0e68b8802cac90600090a35b5050565b61145b806101496000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80637d723cac11610097578063a118f24911610066578063a118f24914610468578063d74af2631461049b578063dc7f0124146104ce578063f2fde38b146104d657610100565b80637d723cac146103655780638038e4a1146104255780638823da6c1461042d5780638da5cb5b1461046057610100565b8063517e89fe116100d3578063517e89fe146101f75780636b14daf81461022a578063760bc82d146102ed57806379ba50971461035d57610100565b80630a75698314610105578063282865961461010f5780632e1d859c1461017f578063357e47fe146101b0575b600080fd5b61010d610509565b005b61010d6004803603602081101561012557600080fd5b81019060208101813564010000000081111561014057600080fd5b82018360208201111561015257600080fd5b8035906020019184602083028401116401000000008311171561017457600080fd5b509092509050610606565b610187610761565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101e3600480360360208110156101c657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661077d565b604080519115158252519081900360200190f35b61010d6004803603602081101561020d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610857565b6101e36004803603604081101561024057600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561027857600080fd5b82018360208201111561028a57600080fd5b803590602001918460018302840111640100000000831117156102ac57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610978945050505050565b61010d6004803603602081101561030357600080fd5b81019060208101813564010000000081111561031e57600080fd5b82018360208201111561033057600080fd5b8035906020019184602083028401116401000000008311171561035257600080fd5b5090925090506109ab565b61010d610a62565b6103d56004803603602081101561037b57600080fd5b81019060208101813564010000000081111561039657600080fd5b8201836020820111156103a857600080fd5b803590602001918460208302840111640100000000831117156103ca57600080fd5b509092509050610b64565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104115781810151838201526020016103f9565b505050509050019250505060405180910390f35b61010d610d04565b61010d6004803603602081101561044357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e16565b610187610f4e565b61010d6004803603602081101561047e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610f6a565b61010d600480360360208110156104b157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166110a3565b6101e361111f565b61010d600480360360208110156104ec57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611140565b60005473ffffffffffffffffffffffffffffffffffffffff16331461058f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff161561060457600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040517f3be8a977a014527b50ae38adda80b56911c267328965c98ddc385d248f53963890600090a15b565b60005473ffffffffffffffffffffffffffffffffffffffff16331461068c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b60005b8181101561075c5760008383838181106106a557fe5b6020908102929092013573ffffffffffffffffffffffffffffffffffffffff16600081815260049093526040909220549192505060ff16156107535773ffffffffffffffffffffffffffffffffffffffff811660008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517fd86728e2e5cbaa28c1d357b5fbccc9c1ab0add09950eb7cac42df9acb24c4bc89190a25b5060010161068f565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60006107c0336000368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061097892505050565b61082b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f206163636573730000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205460ff1690565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff908116908216811461097457600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84811691821790925560405190918316907fbaf9ea078655a4fffefd08f9435677bbc91e457a6d015fe7de1d0e68b8802cac90600090a35b5050565b6000610984838361123c565b806109a4575073ffffffffffffffffffffffffffffffffffffffff831632145b9392505050565b6109b3611291565b610a1e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4e6f7420616c6c6f77656420746f20726169736520666c616773000000000000604482015290519081900360640190fd5b60005b8181101561075c57610a5a838383818110610a3857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166113aa565b600101610a21565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ae857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e657200000000000000000000604482015290519081900360640190fd5b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6060610ba7336000368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061097892505050565b610c1257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f206163636573730000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60608267ffffffffffffffff81118015610c2b57600080fd5b50604051908082528060200260200182016040528015610c55578160200160208202803683370190505b50905060005b83811015610cfc5760046000868684818110610c7357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16828281518110610ce457fe5b91151560209283029190910190910152600101610c5b565b509392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d8a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b60015474010000000000000000000000000000000000000000900460ff1661060457600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040517faebf329500988c6488a0074e5a0a9ff304561fc5c6fc877aeb1d59c8282c348090600090a1565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e9c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526002602052604090205460ff1615610f4b5773ffffffffffffffffffffffffffffffffffffffff811660008181526002602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055815192835290517f3d68a6fce901d20453d1a7aa06bf3950302a735948037deb182a8db66df2a0d19281900390910190a15b50565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ff057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526002602052604090205460ff16610f4b5773ffffffffffffffffffffffffffffffffffffffff811660008181526002602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055815192835290517f87286ad1f399c8e82bf0c4ef4fcdc570ea2e1e92176e5c848b6413545b885db49281900390910190a150565b6110ab611291565b61111657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4e6f7420616c6c6f77656420746f20726169736520666c616773000000000000604482015290519081900360640190fd5b610f4b816113aa565b60015474010000000000000000000000000000000000000000900460ff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604081205460ff16806109a457505060015474010000000000000000000000000000000000000000900460ff161592915050565b6000805473ffffffffffffffffffffffffffffffffffffffff163314806113a55750600354604080517f6b14daf8000000000000000000000000000000000000000000000000000000008152336004820181815260248301938452366044840181905273ffffffffffffffffffffffffffffffffffffffff90951694636b14daf894929360009391929190606401848480828437600083820152604051601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016909201965060209550909350505081840390508186803b15801561137857600080fd5b505afa15801561138c573d6000803e3d6000fd5b505050506040513d60208110156113a257600080fd5b50515b905090565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604090205460ff16610f4b5773ffffffffffffffffffffffffffffffffffffffff811660008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517f881febd4cd194dd4ace637642862aef1fb59a65c7e5551a5d9208f268d11c0069190a25056fea164736f6c6343000606000a",
}

Functions

This section is empty.

Types

type Flags

type Flags struct {
	FlagsCaller
	FlagsTransactor
	FlagsFilterer
	// contains filtered or unexported fields
}

func DeployFlags

func DeployFlags(auth *bind.TransactOpts, backend bind.ContractBackend, racAddress common.Address) (common.Address, *types.Transaction, *Flags, error)

func NewFlags

func NewFlags(address common.Address, backend bind.ContractBackend) (*Flags, error)

func (*Flags) Address added in v0.9.10

func (_Flags *Flags) Address() common.Address

func (*Flags) ParseLog added in v0.10.3

func (_Flags *Flags) ParseLog(log types.Log) (generated.AbigenLog, error)

type FlagsAddedAccess

type FlagsAddedAccess struct {
	User common.Address
	Raw  types.Log
}

func (FlagsAddedAccess) Topic added in v0.10.3

func (FlagsAddedAccess) Topic() common.Hash

type FlagsAddedAccessIterator

type FlagsAddedAccessIterator struct {
	Event *FlagsAddedAccess
	// contains filtered or unexported fields
}

func (*FlagsAddedAccessIterator) Close

func (it *FlagsAddedAccessIterator) Close() error

func (*FlagsAddedAccessIterator) Error

func (it *FlagsAddedAccessIterator) Error() error

func (*FlagsAddedAccessIterator) Next

func (it *FlagsAddedAccessIterator) Next() bool

type FlagsCaller

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

func NewFlagsCaller

func NewFlagsCaller(address common.Address, caller bind.ContractCaller) (*FlagsCaller, error)

func (*FlagsCaller) CheckEnabled

func (_Flags *FlagsCaller) CheckEnabled(opts *bind.CallOpts) (bool, error)

func (*FlagsCaller) GetFlag

func (_Flags *FlagsCaller) GetFlag(opts *bind.CallOpts, subject common.Address) (bool, error)

func (*FlagsCaller) GetFlags

func (_Flags *FlagsCaller) GetFlags(opts *bind.CallOpts, subjects []common.Address) ([]bool, error)

func (*FlagsCaller) HasAccess

func (_Flags *FlagsCaller) HasAccess(opts *bind.CallOpts, _user common.Address, _calldata []byte) (bool, error)

func (*FlagsCaller) Owner

func (_Flags *FlagsCaller) Owner(opts *bind.CallOpts) (common.Address, error)

func (*FlagsCaller) RaisingAccessController

func (_Flags *FlagsCaller) RaisingAccessController(opts *bind.CallOpts) (common.Address, error)

type FlagsCallerRaw

type FlagsCallerRaw struct {
	Contract *FlagsCaller
}

func (*FlagsCallerRaw) Call

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

type FlagsCallerSession

type FlagsCallerSession struct {
	Contract *FlagsCaller
	CallOpts bind.CallOpts
}

func (*FlagsCallerSession) CheckEnabled

func (_Flags *FlagsCallerSession) CheckEnabled() (bool, error)

func (*FlagsCallerSession) GetFlag

func (_Flags *FlagsCallerSession) GetFlag(subject common.Address) (bool, error)

func (*FlagsCallerSession) GetFlags

func (_Flags *FlagsCallerSession) GetFlags(subjects []common.Address) ([]bool, error)

func (*FlagsCallerSession) HasAccess

func (_Flags *FlagsCallerSession) HasAccess(_user common.Address, _calldata []byte) (bool, error)

func (*FlagsCallerSession) Owner

func (_Flags *FlagsCallerSession) Owner() (common.Address, error)

func (*FlagsCallerSession) RaisingAccessController

func (_Flags *FlagsCallerSession) RaisingAccessController() (common.Address, error)

type FlagsCheckAccessDisabled

type FlagsCheckAccessDisabled struct {
	Raw types.Log
}

func (FlagsCheckAccessDisabled) Topic added in v0.10.3

type FlagsCheckAccessDisabledIterator

type FlagsCheckAccessDisabledIterator struct {
	Event *FlagsCheckAccessDisabled
	// contains filtered or unexported fields
}

func (*FlagsCheckAccessDisabledIterator) Close

func (*FlagsCheckAccessDisabledIterator) Error

func (*FlagsCheckAccessDisabledIterator) Next

type FlagsCheckAccessEnabled

type FlagsCheckAccessEnabled struct {
	Raw types.Log
}

func (FlagsCheckAccessEnabled) Topic added in v0.10.3

type FlagsCheckAccessEnabledIterator

type FlagsCheckAccessEnabledIterator struct {
	Event *FlagsCheckAccessEnabled
	// contains filtered or unexported fields
}

func (*FlagsCheckAccessEnabledIterator) Close

func (*FlagsCheckAccessEnabledIterator) Error

func (*FlagsCheckAccessEnabledIterator) Next

type FlagsFilterer

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

func NewFlagsFilterer

func NewFlagsFilterer(address common.Address, filterer bind.ContractFilterer) (*FlagsFilterer, error)

func (*FlagsFilterer) FilterAddedAccess

func (_Flags *FlagsFilterer) FilterAddedAccess(opts *bind.FilterOpts) (*FlagsAddedAccessIterator, error)

func (*FlagsFilterer) FilterCheckAccessDisabled

func (_Flags *FlagsFilterer) FilterCheckAccessDisabled(opts *bind.FilterOpts) (*FlagsCheckAccessDisabledIterator, error)

func (*FlagsFilterer) FilterCheckAccessEnabled

func (_Flags *FlagsFilterer) FilterCheckAccessEnabled(opts *bind.FilterOpts) (*FlagsCheckAccessEnabledIterator, error)

func (*FlagsFilterer) FilterFlagLowered

func (_Flags *FlagsFilterer) FilterFlagLowered(opts *bind.FilterOpts, subject []common.Address) (*FlagsFlagLoweredIterator, error)

func (*FlagsFilterer) FilterFlagRaised

func (_Flags *FlagsFilterer) FilterFlagRaised(opts *bind.FilterOpts, subject []common.Address) (*FlagsFlagRaisedIterator, error)

func (*FlagsFilterer) FilterOwnershipTransferRequested

func (_Flags *FlagsFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FlagsOwnershipTransferRequestedIterator, error)

func (*FlagsFilterer) FilterOwnershipTransferred

func (_Flags *FlagsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FlagsOwnershipTransferredIterator, error)

func (*FlagsFilterer) FilterRaisingAccessControllerUpdated

func (_Flags *FlagsFilterer) FilterRaisingAccessControllerUpdated(opts *bind.FilterOpts, previous []common.Address, current []common.Address) (*FlagsRaisingAccessControllerUpdatedIterator, error)

func (*FlagsFilterer) FilterRemovedAccess

func (_Flags *FlagsFilterer) FilterRemovedAccess(opts *bind.FilterOpts) (*FlagsRemovedAccessIterator, error)

func (*FlagsFilterer) ParseAddedAccess

func (_Flags *FlagsFilterer) ParseAddedAccess(log types.Log) (*FlagsAddedAccess, error)

func (*FlagsFilterer) ParseCheckAccessDisabled

func (_Flags *FlagsFilterer) ParseCheckAccessDisabled(log types.Log) (*FlagsCheckAccessDisabled, error)

func (*FlagsFilterer) ParseCheckAccessEnabled

func (_Flags *FlagsFilterer) ParseCheckAccessEnabled(log types.Log) (*FlagsCheckAccessEnabled, error)

func (*FlagsFilterer) ParseFlagLowered

func (_Flags *FlagsFilterer) ParseFlagLowered(log types.Log) (*FlagsFlagLowered, error)

func (*FlagsFilterer) ParseFlagRaised

func (_Flags *FlagsFilterer) ParseFlagRaised(log types.Log) (*FlagsFlagRaised, error)

func (*FlagsFilterer) ParseOwnershipTransferRequested

func (_Flags *FlagsFilterer) ParseOwnershipTransferRequested(log types.Log) (*FlagsOwnershipTransferRequested, error)

func (*FlagsFilterer) ParseOwnershipTransferred

func (_Flags *FlagsFilterer) ParseOwnershipTransferred(log types.Log) (*FlagsOwnershipTransferred, error)

func (*FlagsFilterer) ParseRaisingAccessControllerUpdated

func (_Flags *FlagsFilterer) ParseRaisingAccessControllerUpdated(log types.Log) (*FlagsRaisingAccessControllerUpdated, error)

func (*FlagsFilterer) ParseRemovedAccess

func (_Flags *FlagsFilterer) ParseRemovedAccess(log types.Log) (*FlagsRemovedAccess, error)

func (*FlagsFilterer) WatchAddedAccess

func (_Flags *FlagsFilterer) WatchAddedAccess(opts *bind.WatchOpts, sink chan<- *FlagsAddedAccess) (event.Subscription, error)

func (*FlagsFilterer) WatchCheckAccessDisabled

func (_Flags *FlagsFilterer) WatchCheckAccessDisabled(opts *bind.WatchOpts, sink chan<- *FlagsCheckAccessDisabled) (event.Subscription, error)

func (*FlagsFilterer) WatchCheckAccessEnabled

func (_Flags *FlagsFilterer) WatchCheckAccessEnabled(opts *bind.WatchOpts, sink chan<- *FlagsCheckAccessEnabled) (event.Subscription, error)

func (*FlagsFilterer) WatchFlagLowered

func (_Flags *FlagsFilterer) WatchFlagLowered(opts *bind.WatchOpts, sink chan<- *FlagsFlagLowered, subject []common.Address) (event.Subscription, error)

func (*FlagsFilterer) WatchFlagRaised

func (_Flags *FlagsFilterer) WatchFlagRaised(opts *bind.WatchOpts, sink chan<- *FlagsFlagRaised, subject []common.Address) (event.Subscription, error)

func (*FlagsFilterer) WatchOwnershipTransferRequested

func (_Flags *FlagsFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FlagsOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

func (*FlagsFilterer) WatchOwnershipTransferred

func (_Flags *FlagsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FlagsOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

func (*FlagsFilterer) WatchRaisingAccessControllerUpdated

func (_Flags *FlagsFilterer) WatchRaisingAccessControllerUpdated(opts *bind.WatchOpts, sink chan<- *FlagsRaisingAccessControllerUpdated, previous []common.Address, current []common.Address) (event.Subscription, error)

func (*FlagsFilterer) WatchRemovedAccess

func (_Flags *FlagsFilterer) WatchRemovedAccess(opts *bind.WatchOpts, sink chan<- *FlagsRemovedAccess) (event.Subscription, error)

type FlagsFlagLowered

type FlagsFlagLowered struct {
	Subject common.Address
	Raw     types.Log
}

func (FlagsFlagLowered) Topic added in v0.10.3

func (FlagsFlagLowered) Topic() common.Hash

type FlagsFlagLoweredIterator

type FlagsFlagLoweredIterator struct {
	Event *FlagsFlagLowered
	// contains filtered or unexported fields
}

func (*FlagsFlagLoweredIterator) Close

func (it *FlagsFlagLoweredIterator) Close() error

func (*FlagsFlagLoweredIterator) Error

func (it *FlagsFlagLoweredIterator) Error() error

func (*FlagsFlagLoweredIterator) Next

func (it *FlagsFlagLoweredIterator) Next() bool

type FlagsFlagRaised

type FlagsFlagRaised struct {
	Subject common.Address
	Raw     types.Log
}

func (FlagsFlagRaised) Topic added in v0.10.3

func (FlagsFlagRaised) Topic() common.Hash

type FlagsFlagRaisedIterator

type FlagsFlagRaisedIterator struct {
	Event *FlagsFlagRaised
	// contains filtered or unexported fields
}

func (*FlagsFlagRaisedIterator) Close

func (it *FlagsFlagRaisedIterator) Close() error

func (*FlagsFlagRaisedIterator) Error

func (it *FlagsFlagRaisedIterator) Error() error

func (*FlagsFlagRaisedIterator) Next

func (it *FlagsFlagRaisedIterator) Next() bool

type FlagsInterface added in v0.9.10

type FlagsInterface interface {
	CheckEnabled(opts *bind.CallOpts) (bool, error)

	GetFlag(opts *bind.CallOpts, subject common.Address) (bool, error)

	GetFlags(opts *bind.CallOpts, subjects []common.Address) ([]bool, error)

	HasAccess(opts *bind.CallOpts, _user common.Address, _calldata []byte) (bool, error)

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

	RaisingAccessController(opts *bind.CallOpts) (common.Address, error)

	AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

	AddAccess(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

	DisableAccessCheck(opts *bind.TransactOpts) (*types.Transaction, error)

	EnableAccessCheck(opts *bind.TransactOpts) (*types.Transaction, error)

	LowerFlags(opts *bind.TransactOpts, subjects []common.Address) (*types.Transaction, error)

	RaiseFlag(opts *bind.TransactOpts, subject common.Address) (*types.Transaction, error)

	RaiseFlags(opts *bind.TransactOpts, subjects []common.Address) (*types.Transaction, error)

	RemoveAccess(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

	SetRaisingAccessController(opts *bind.TransactOpts, racAddress common.Address) (*types.Transaction, error)

	TransferOwnership(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

	FilterAddedAccess(opts *bind.FilterOpts) (*FlagsAddedAccessIterator, error)

	WatchAddedAccess(opts *bind.WatchOpts, sink chan<- *FlagsAddedAccess) (event.Subscription, error)

	ParseAddedAccess(log types.Log) (*FlagsAddedAccess, error)

	FilterCheckAccessDisabled(opts *bind.FilterOpts) (*FlagsCheckAccessDisabledIterator, error)

	WatchCheckAccessDisabled(opts *bind.WatchOpts, sink chan<- *FlagsCheckAccessDisabled) (event.Subscription, error)

	ParseCheckAccessDisabled(log types.Log) (*FlagsCheckAccessDisabled, error)

	FilterCheckAccessEnabled(opts *bind.FilterOpts) (*FlagsCheckAccessEnabledIterator, error)

	WatchCheckAccessEnabled(opts *bind.WatchOpts, sink chan<- *FlagsCheckAccessEnabled) (event.Subscription, error)

	ParseCheckAccessEnabled(log types.Log) (*FlagsCheckAccessEnabled, error)

	FilterFlagLowered(opts *bind.FilterOpts, subject []common.Address) (*FlagsFlagLoweredIterator, error)

	WatchFlagLowered(opts *bind.WatchOpts, sink chan<- *FlagsFlagLowered, subject []common.Address) (event.Subscription, error)

	ParseFlagLowered(log types.Log) (*FlagsFlagLowered, error)

	FilterFlagRaised(opts *bind.FilterOpts, subject []common.Address) (*FlagsFlagRaisedIterator, error)

	WatchFlagRaised(opts *bind.WatchOpts, sink chan<- *FlagsFlagRaised, subject []common.Address) (event.Subscription, error)

	ParseFlagRaised(log types.Log) (*FlagsFlagRaised, error)

	FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FlagsOwnershipTransferRequestedIterator, error)

	WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FlagsOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferRequested(log types.Log) (*FlagsOwnershipTransferRequested, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FlagsOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FlagsOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferred(log types.Log) (*FlagsOwnershipTransferred, error)

	FilterRaisingAccessControllerUpdated(opts *bind.FilterOpts, previous []common.Address, current []common.Address) (*FlagsRaisingAccessControllerUpdatedIterator, error)

	WatchRaisingAccessControllerUpdated(opts *bind.WatchOpts, sink chan<- *FlagsRaisingAccessControllerUpdated, previous []common.Address, current []common.Address) (event.Subscription, error)

	ParseRaisingAccessControllerUpdated(log types.Log) (*FlagsRaisingAccessControllerUpdated, error)

	FilterRemovedAccess(opts *bind.FilterOpts) (*FlagsRemovedAccessIterator, error)

	WatchRemovedAccess(opts *bind.WatchOpts, sink chan<- *FlagsRemovedAccess) (event.Subscription, error)

	ParseRemovedAccess(log types.Log) (*FlagsRemovedAccess, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type FlagsOwnershipTransferRequested

type FlagsOwnershipTransferRequested struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (FlagsOwnershipTransferRequested) Topic added in v0.10.3

type FlagsOwnershipTransferRequestedIterator

type FlagsOwnershipTransferRequestedIterator struct {
	Event *FlagsOwnershipTransferRequested
	// contains filtered or unexported fields
}

func (*FlagsOwnershipTransferRequestedIterator) Close

func (*FlagsOwnershipTransferRequestedIterator) Error

func (*FlagsOwnershipTransferRequestedIterator) Next

type FlagsOwnershipTransferred

type FlagsOwnershipTransferred struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (FlagsOwnershipTransferred) Topic added in v0.10.3

type FlagsOwnershipTransferredIterator

type FlagsOwnershipTransferredIterator struct {
	Event *FlagsOwnershipTransferred
	// contains filtered or unexported fields
}

func (*FlagsOwnershipTransferredIterator) Close

func (*FlagsOwnershipTransferredIterator) Error

func (*FlagsOwnershipTransferredIterator) Next

type FlagsRaisingAccessControllerUpdated

type FlagsRaisingAccessControllerUpdated struct {
	Previous common.Address
	Current  common.Address
	Raw      types.Log
}

func (FlagsRaisingAccessControllerUpdated) Topic added in v0.10.3

type FlagsRaisingAccessControllerUpdatedIterator

type FlagsRaisingAccessControllerUpdatedIterator struct {
	Event *FlagsRaisingAccessControllerUpdated
	// contains filtered or unexported fields
}

func (*FlagsRaisingAccessControllerUpdatedIterator) Close

func (*FlagsRaisingAccessControllerUpdatedIterator) Error

func (*FlagsRaisingAccessControllerUpdatedIterator) Next

type FlagsRaw

type FlagsRaw struct {
	Contract *Flags
}

func (*FlagsRaw) Call

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

func (*FlagsRaw) Transact

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

func (*FlagsRaw) Transfer

func (_Flags *FlagsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FlagsRemovedAccess

type FlagsRemovedAccess struct {
	User common.Address
	Raw  types.Log
}

func (FlagsRemovedAccess) Topic added in v0.10.3

func (FlagsRemovedAccess) Topic() common.Hash

type FlagsRemovedAccessIterator

type FlagsRemovedAccessIterator struct {
	Event *FlagsRemovedAccess
	// contains filtered or unexported fields
}

func (*FlagsRemovedAccessIterator) Close

func (it *FlagsRemovedAccessIterator) Close() error

func (*FlagsRemovedAccessIterator) Error

func (it *FlagsRemovedAccessIterator) Error() error

func (*FlagsRemovedAccessIterator) Next

func (it *FlagsRemovedAccessIterator) Next() bool

type FlagsSession

type FlagsSession struct {
	Contract     *Flags
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*FlagsSession) AcceptOwnership

func (_Flags *FlagsSession) AcceptOwnership() (*types.Transaction, error)

func (*FlagsSession) AddAccess

func (_Flags *FlagsSession) AddAccess(_user common.Address) (*types.Transaction, error)

func (*FlagsSession) CheckEnabled

func (_Flags *FlagsSession) CheckEnabled() (bool, error)

func (*FlagsSession) DisableAccessCheck

func (_Flags *FlagsSession) DisableAccessCheck() (*types.Transaction, error)

func (*FlagsSession) EnableAccessCheck

func (_Flags *FlagsSession) EnableAccessCheck() (*types.Transaction, error)

func (*FlagsSession) GetFlag

func (_Flags *FlagsSession) GetFlag(subject common.Address) (bool, error)

func (*FlagsSession) GetFlags

func (_Flags *FlagsSession) GetFlags(subjects []common.Address) ([]bool, error)

func (*FlagsSession) HasAccess

func (_Flags *FlagsSession) HasAccess(_user common.Address, _calldata []byte) (bool, error)

func (*FlagsSession) LowerFlags

func (_Flags *FlagsSession) LowerFlags(subjects []common.Address) (*types.Transaction, error)

func (*FlagsSession) Owner

func (_Flags *FlagsSession) Owner() (common.Address, error)

func (*FlagsSession) RaiseFlag

func (_Flags *FlagsSession) RaiseFlag(subject common.Address) (*types.Transaction, error)

func (*FlagsSession) RaiseFlags

func (_Flags *FlagsSession) RaiseFlags(subjects []common.Address) (*types.Transaction, error)

func (*FlagsSession) RaisingAccessController

func (_Flags *FlagsSession) RaisingAccessController() (common.Address, error)

func (*FlagsSession) RemoveAccess

func (_Flags *FlagsSession) RemoveAccess(_user common.Address) (*types.Transaction, error)

func (*FlagsSession) SetRaisingAccessController

func (_Flags *FlagsSession) SetRaisingAccessController(racAddress common.Address) (*types.Transaction, error)

func (*FlagsSession) TransferOwnership

func (_Flags *FlagsSession) TransferOwnership(_to common.Address) (*types.Transaction, error)

type FlagsTransactor

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

func NewFlagsTransactor

func NewFlagsTransactor(address common.Address, transactor bind.ContractTransactor) (*FlagsTransactor, error)

func (*FlagsTransactor) AcceptOwnership

func (_Flags *FlagsTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

func (*FlagsTransactor) AddAccess

func (_Flags *FlagsTransactor) AddAccess(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

func (*FlagsTransactor) DisableAccessCheck

func (_Flags *FlagsTransactor) DisableAccessCheck(opts *bind.TransactOpts) (*types.Transaction, error)

func (*FlagsTransactor) EnableAccessCheck

func (_Flags *FlagsTransactor) EnableAccessCheck(opts *bind.TransactOpts) (*types.Transaction, error)

func (*FlagsTransactor) LowerFlags

func (_Flags *FlagsTransactor) LowerFlags(opts *bind.TransactOpts, subjects []common.Address) (*types.Transaction, error)

func (*FlagsTransactor) RaiseFlag

func (_Flags *FlagsTransactor) RaiseFlag(opts *bind.TransactOpts, subject common.Address) (*types.Transaction, error)

func (*FlagsTransactor) RaiseFlags

func (_Flags *FlagsTransactor) RaiseFlags(opts *bind.TransactOpts, subjects []common.Address) (*types.Transaction, error)

func (*FlagsTransactor) RemoveAccess

func (_Flags *FlagsTransactor) RemoveAccess(opts *bind.TransactOpts, _user common.Address) (*types.Transaction, error)

func (*FlagsTransactor) SetRaisingAccessController

func (_Flags *FlagsTransactor) SetRaisingAccessController(opts *bind.TransactOpts, racAddress common.Address) (*types.Transaction, error)

func (*FlagsTransactor) TransferOwnership

func (_Flags *FlagsTransactor) TransferOwnership(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

type FlagsTransactorRaw

type FlagsTransactorRaw struct {
	Contract *FlagsTransactor
}

func (*FlagsTransactorRaw) Transact

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

func (*FlagsTransactorRaw) Transfer

func (_Flags *FlagsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FlagsTransactorSession

type FlagsTransactorSession struct {
	Contract     *FlagsTransactor
	TransactOpts bind.TransactOpts
}

func (*FlagsTransactorSession) AcceptOwnership

func (_Flags *FlagsTransactorSession) AcceptOwnership() (*types.Transaction, error)

func (*FlagsTransactorSession) AddAccess

func (_Flags *FlagsTransactorSession) AddAccess(_user common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) DisableAccessCheck

func (_Flags *FlagsTransactorSession) DisableAccessCheck() (*types.Transaction, error)

func (*FlagsTransactorSession) EnableAccessCheck

func (_Flags *FlagsTransactorSession) EnableAccessCheck() (*types.Transaction, error)

func (*FlagsTransactorSession) LowerFlags

func (_Flags *FlagsTransactorSession) LowerFlags(subjects []common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) RaiseFlag

func (_Flags *FlagsTransactorSession) RaiseFlag(subject common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) RaiseFlags

func (_Flags *FlagsTransactorSession) RaiseFlags(subjects []common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) RemoveAccess

func (_Flags *FlagsTransactorSession) RemoveAccess(_user common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) SetRaisingAccessController

func (_Flags *FlagsTransactorSession) SetRaisingAccessController(racAddress common.Address) (*types.Transaction, error)

func (*FlagsTransactorSession) TransferOwnership

func (_Flags *FlagsTransactorSession) TransferOwnership(_to common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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