authorized_receiver

package
v2.12.1-starknet-20240801 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthorizedReceiverABI = AuthorizedReceiverMetaData.ABI
View Source
var AuthorizedReceiverMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"changedBy\",\"type\":\"address\"}],\"name\":\"AuthorizedSendersChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getAuthorizedSenders\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"isAuthorizedSender\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"}],\"name\":\"setAuthorizedSenders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Functions

This section is empty.

Types

type AuthorizedReceiver

type AuthorizedReceiver struct {
	AuthorizedReceiverCaller
	AuthorizedReceiverTransactor
	AuthorizedReceiverFilterer
	// contains filtered or unexported fields
}

func NewAuthorizedReceiver

func NewAuthorizedReceiver(address common.Address, backend bind.ContractBackend) (*AuthorizedReceiver, error)

func (*AuthorizedReceiver) Address

func (_AuthorizedReceiver *AuthorizedReceiver) Address() common.Address

func (*AuthorizedReceiver) ParseLog

func (_AuthorizedReceiver *AuthorizedReceiver) ParseLog(log types.Log) (generated.AbigenLog, error)

type AuthorizedReceiverAuthorizedSendersChanged

type AuthorizedReceiverAuthorizedSendersChanged struct {
	Senders   []common.Address
	ChangedBy common.Address
	Raw       types.Log
}

func (AuthorizedReceiverAuthorizedSendersChanged) Topic

type AuthorizedReceiverAuthorizedSendersChangedIterator

type AuthorizedReceiverAuthorizedSendersChangedIterator struct {
	Event *AuthorizedReceiverAuthorizedSendersChanged
	// contains filtered or unexported fields
}

func (*AuthorizedReceiverAuthorizedSendersChangedIterator) Close

func (*AuthorizedReceiverAuthorizedSendersChangedIterator) Error

func (*AuthorizedReceiverAuthorizedSendersChangedIterator) Next

type AuthorizedReceiverCaller

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

func NewAuthorizedReceiverCaller

func NewAuthorizedReceiverCaller(address common.Address, caller bind.ContractCaller) (*AuthorizedReceiverCaller, error)

func (*AuthorizedReceiverCaller) GetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverCaller) GetAuthorizedSenders(opts *bind.CallOpts) ([]common.Address, error)

func (*AuthorizedReceiverCaller) IsAuthorizedSender

func (_AuthorizedReceiver *AuthorizedReceiverCaller) IsAuthorizedSender(opts *bind.CallOpts, sender common.Address) (bool, error)

type AuthorizedReceiverCallerRaw

type AuthorizedReceiverCallerRaw struct {
	Contract *AuthorizedReceiverCaller
}

func (*AuthorizedReceiverCallerRaw) Call

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

type AuthorizedReceiverCallerSession

type AuthorizedReceiverCallerSession struct {
	Contract *AuthorizedReceiverCaller
	CallOpts bind.CallOpts
}

func (*AuthorizedReceiverCallerSession) GetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverCallerSession) GetAuthorizedSenders() ([]common.Address, error)

func (*AuthorizedReceiverCallerSession) IsAuthorizedSender

func (_AuthorizedReceiver *AuthorizedReceiverCallerSession) IsAuthorizedSender(sender common.Address) (bool, error)

type AuthorizedReceiverFilterer

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

func NewAuthorizedReceiverFilterer

func NewAuthorizedReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*AuthorizedReceiverFilterer, error)

func (*AuthorizedReceiverFilterer) FilterAuthorizedSendersChanged

func (_AuthorizedReceiver *AuthorizedReceiverFilterer) FilterAuthorizedSendersChanged(opts *bind.FilterOpts) (*AuthorizedReceiverAuthorizedSendersChangedIterator, error)

func (*AuthorizedReceiverFilterer) ParseAuthorizedSendersChanged

func (_AuthorizedReceiver *AuthorizedReceiverFilterer) ParseAuthorizedSendersChanged(log types.Log) (*AuthorizedReceiverAuthorizedSendersChanged, error)

func (*AuthorizedReceiverFilterer) WatchAuthorizedSendersChanged

func (_AuthorizedReceiver *AuthorizedReceiverFilterer) WatchAuthorizedSendersChanged(opts *bind.WatchOpts, sink chan<- *AuthorizedReceiverAuthorizedSendersChanged) (event.Subscription, error)

type AuthorizedReceiverInterface

type AuthorizedReceiverInterface interface {
	GetAuthorizedSenders(opts *bind.CallOpts) ([]common.Address, error)

	IsAuthorizedSender(opts *bind.CallOpts, sender common.Address) (bool, error)

	SetAuthorizedSenders(opts *bind.TransactOpts, senders []common.Address) (*types.Transaction, error)

	FilterAuthorizedSendersChanged(opts *bind.FilterOpts) (*AuthorizedReceiverAuthorizedSendersChangedIterator, error)

	WatchAuthorizedSendersChanged(opts *bind.WatchOpts, sink chan<- *AuthorizedReceiverAuthorizedSendersChanged) (event.Subscription, error)

	ParseAuthorizedSendersChanged(log types.Log) (*AuthorizedReceiverAuthorizedSendersChanged, error)

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

	Address() common.Address
}

type AuthorizedReceiverRaw

type AuthorizedReceiverRaw struct {
	Contract *AuthorizedReceiver
}

func (*AuthorizedReceiverRaw) Call

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

func (*AuthorizedReceiverRaw) Transact

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

func (*AuthorizedReceiverRaw) Transfer

func (_AuthorizedReceiver *AuthorizedReceiverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AuthorizedReceiverSession

type AuthorizedReceiverSession struct {
	Contract     *AuthorizedReceiver
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*AuthorizedReceiverSession) GetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverSession) GetAuthorizedSenders() ([]common.Address, error)

func (*AuthorizedReceiverSession) IsAuthorizedSender

func (_AuthorizedReceiver *AuthorizedReceiverSession) IsAuthorizedSender(sender common.Address) (bool, error)

func (*AuthorizedReceiverSession) SetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverSession) SetAuthorizedSenders(senders []common.Address) (*types.Transaction, error)

type AuthorizedReceiverTransactor

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

func NewAuthorizedReceiverTransactor

func NewAuthorizedReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*AuthorizedReceiverTransactor, error)

func (*AuthorizedReceiverTransactor) SetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverTransactor) SetAuthorizedSenders(opts *bind.TransactOpts, senders []common.Address) (*types.Transaction, error)

type AuthorizedReceiverTransactorRaw

type AuthorizedReceiverTransactorRaw struct {
	Contract *AuthorizedReceiverTransactor
}

func (*AuthorizedReceiverTransactorRaw) Transact

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

func (*AuthorizedReceiverTransactorRaw) Transfer

func (_AuthorizedReceiver *AuthorizedReceiverTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type AuthorizedReceiverTransactorSession

type AuthorizedReceiverTransactorSession struct {
	Contract     *AuthorizedReceiverTransactor
	TransactOpts bind.TransactOpts
}

func (*AuthorizedReceiverTransactorSession) SetAuthorizedSenders

func (_AuthorizedReceiver *AuthorizedReceiverTransactorSession) SetAuthorizedSenders(senders []common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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