Documentation
¶
Index ¶
- Variables
- type TermsOfServiceAllowList
- type TermsOfServiceAllowListAddedAccess
- type TermsOfServiceAllowListAddedAccessIterator
- type TermsOfServiceAllowListBlockedAccess
- type TermsOfServiceAllowListBlockedAccessIterator
- type TermsOfServiceAllowListCaller
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) GetAllAllowedSenders(opts *bind.CallOpts) ([]common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) GetConfig(opts *bind.CallOpts) (TermsOfServiceAllowListConfig, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) GetMessage(opts *bind.CallOpts, acceptor common.Address, recipient common.Address) ([32]byte, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) HasAccess(opts *bind.CallOpts, user common.Address, arg1 []byte) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) IsBlockedSender(opts *bind.CallOpts, sender common.Address) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
- type TermsOfServiceAllowListCallerRaw
- type TermsOfServiceAllowListCallerSession
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) GetAllAllowedSenders() ([]common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) GetConfig() (TermsOfServiceAllowListConfig, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) GetMessage(acceptor common.Address, recipient common.Address) ([32]byte, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) HasAccess(user common.Address, arg1 []byte) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) IsBlockedSender(sender common.Address) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) Owner() (common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) TypeAndVersion() (string, error)
- type TermsOfServiceAllowListConfig
- type TermsOfServiceAllowListConfigUpdated
- type TermsOfServiceAllowListConfigUpdatedIterator
- type TermsOfServiceAllowListFilterer
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterAddedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListAddedAccessIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterBlockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListBlockedAccessIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterConfigUpdated(opts *bind.FilterOpts) (*TermsOfServiceAllowListConfigUpdatedIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferRequestedIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferredIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterUnblockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListUnblockedAccessIterator, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseAddedAccess(log types.Log) (*TermsOfServiceAllowListAddedAccess, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseBlockedAccess(log types.Log) (*TermsOfServiceAllowListBlockedAccess, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseConfigUpdated(log types.Log) (*TermsOfServiceAllowListConfigUpdated, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseOwnershipTransferRequested(log types.Log) (*TermsOfServiceAllowListOwnershipTransferRequested, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseOwnershipTransferred(log types.Log) (*TermsOfServiceAllowListOwnershipTransferred, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseUnblockedAccess(log types.Log) (*TermsOfServiceAllowListUnblockedAccess, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchAddedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListAddedAccess) (event.Subscription, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchBlockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListBlockedAccess) (event.Subscription, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListConfigUpdated) (event.Subscription, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListOwnershipTransferred, ...) (event.Subscription, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchUnblockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListUnblockedAccess) (event.Subscription, error)
- type TermsOfServiceAllowListInterface
- type TermsOfServiceAllowListOwnershipTransferRequested
- type TermsOfServiceAllowListOwnershipTransferRequestedIterator
- type TermsOfServiceAllowListOwnershipTransferred
- type TermsOfServiceAllowListOwnershipTransferredIterator
- type TermsOfServiceAllowListRaw
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TermsOfServiceAllowListSession
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) AcceptOwnership() (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) AcceptTermsOfService(acceptor common.Address, recipient common.Address, r [32]byte, s [32]byte, ...) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) BlockSender(sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) GetAllAllowedSenders() ([]common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) GetConfig() (TermsOfServiceAllowListConfig, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) GetMessage(acceptor common.Address, recipient common.Address) ([32]byte, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) HasAccess(user common.Address, arg1 []byte) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) IsBlockedSender(sender common.Address) (bool, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) Owner() (common.Address, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) TypeAndVersion() (string, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) UnblockSender(sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) UpdateConfig(config TermsOfServiceAllowListConfig) (*types.Transaction, error)
- type TermsOfServiceAllowListTransactor
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) AcceptTermsOfService(opts *bind.TransactOpts, acceptor common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) BlockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) UnblockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) UpdateConfig(opts *bind.TransactOpts, config TermsOfServiceAllowListConfig) (*types.Transaction, error)
- type TermsOfServiceAllowListTransactorRaw
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TermsOfServiceAllowListTransactorSession
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) AcceptTermsOfService(acceptor common.Address, recipient common.Address, r [32]byte, s [32]byte, ...) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) BlockSender(sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) UnblockSender(sender common.Address) (*types.Transaction, error)
- func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) UpdateConfig(config TermsOfServiceAllowListConfig) (*types.Transaction, error)
- type TermsOfServiceAllowListUnblockedAccess
- type TermsOfServiceAllowListUnblockedAccessIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var TermsOfServiceAllowListABI = TermsOfServiceAllowListMetaData.ABI
View Source
var TermsOfServiceAllowListBin = TermsOfServiceAllowListMetaData.Bin
View Source
var TermsOfServiceAllowListMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"signerPublicKey\",\"type\":\"address\"}],\"internalType\":\"structTermsOfServiceAllowList.Config\",\"name\":\"config\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUsage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipientIsBlocked\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"AddedAccess\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"BlockedAccess\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"signerPublicKey\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"structTermsOfServiceAllowList.Config\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"ConfigUpdated\",\"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\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"UnblockedAccess\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"acceptor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"name\":\"acceptTermsOfService\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"blockSender\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllAllowedSenders\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"signerPublicKey\",\"type\":\"address\"}],\"internalType\":\"structTermsOfServiceAllowList.Config\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"acceptor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"getMessage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"hasAccess\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"isBlockedSender\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"unblockSender\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"signerPublicKey\",\"type\":\"address\"}],\"internalType\":\"structTermsOfServiceAllowList.Config\",\"name\":\"config\",\"type\":\"tuple\"}],\"name\":\"updateConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b50604051620012c4380380620012c4833981016040819052620000349162000269565b33806000816200008b5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000be57620000be81620000d9565b505050620000d2816200018460201b60201c565b50620002ea565b336001600160a01b03821603620001335760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000082565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6200018e6200020b565b805160058054602080850180516001600160a81b0319909316941515610100600160a81b03198116959095176101006001600160a01b039485160217909355604080519485529251909116908301527f0d22b8a99f411b3dd338c961284f608489ca0dab9cdad17366a343c361bcf80a910160405180910390a150565b6000546001600160a01b03163314620002675760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015260640162000082565b565b6000604082840312156200027c57600080fd5b604080519081016001600160401b0381118282101715620002ad57634e487b7160e01b600052604160045260246000fd5b60405282518015158114620002c157600080fd5b815260208301516001600160a01b0381168114620002de57600080fd5b60208201529392505050565b610fca80620002fa6000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806382184c7b1161008c578063a39b06e311610066578063a39b06e3146101b8578063a5e1d61d146101d9578063c3f909d4146101ec578063f2fde38b1461024b57600080fd5b806382184c7b1461016a57806389f9a2c41461017d5780638da5cb5b1461019057600080fd5b80636b14daf8116100bd5780636b14daf81461012a57806379ba50971461014d578063817ef62e1461015557600080fd5b8063181f5a77146100e45780633908c4d41461010257806347663acb14610117575b600080fd5b6100ec61025e565b6040516100f99190610c4f565b60405180910390f35b610115610110366004610ce4565b61027a565b005b610115610125366004610d45565b6104f0565b61013d610138366004610d60565b61057b565b60405190151581526020016100f9565b6101156105a5565b61015d6106a7565b6040516100f99190610de3565b610115610178366004610d45565b6106b8565b61011561018b366004610e3d565b61074b565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f9565b6101cb6101c6366004610ec6565b610806565b6040519081526020016100f9565b61013d6101e7366004610d45565b610864565b60408051808201825260008082526020918201528151808301835260055460ff8116151580835273ffffffffffffffffffffffffffffffffffffffff6101009092048216928401928352845190815291511691810191909152016100f9565b610115610259366004610d45565b6108a5565b6040518060600160405280602c8152602001610f92602c913981565b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602052604090205460ff16156102da576040517f62b7a34d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006102e68686610806565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c01604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815282825280516020918201206005546000855291840180845281905260ff8616928401929092526060830187905260808301869052909250610100900473ffffffffffffffffffffffffffffffffffffffff169060019060a0016020604051602081039080840390855afa1580156103c0573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614610417576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff861614158061045c57503373ffffffffffffffffffffffffffffffffffffffff87161480159061045c5750333b155b15610493576040517f381cfcbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61049e6002866108b9565b5060405173ffffffffffffffffffffffffffffffffffffffff861681527f87286ad1f399c8e82bf0c4ef4fcdc570ea2e1e92176e5c848b6413545b885db49060200160405180910390a1505050505050565b6104f86108db565b73ffffffffffffffffffffffffffffffffffffffff811660008181526004602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905590519182527f28bbd0761309a99e8fb5e5d02ada0b7b2db2e5357531ff5dbfc205c3f5b6592b91015b60405180910390a150565b60055460009060ff166105905750600161059e565b61059b60028561095e565b90505b9392505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461062b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60606106b3600261098d565b905090565b6106c06108db565b6106cb60028261099a565b5073ffffffffffffffffffffffffffffffffffffffff811660008181526004602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590519182527f337cd0f3f594112b6d830afb510072d3b08556b446514f73b8109162fd1151e19101610570565b6107536108db565b805160058054602080850180517fffffffffffffffffffffff0000000000000000000000000000000000000000009093169415157fffffffffffffffffffffff0000000000000000000000000000000000000000ff81169590951761010073ffffffffffffffffffffffffffffffffffffffff9485160217909355604080519485529251909116908301527f0d22b8a99f411b3dd338c961284f608489ca0dab9cdad17366a343c361bcf80a9101610570565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084811b8216602084015283901b1660348201526000906048016040516020818303038152906040528051906020012090505b92915050565b60055460009060ff1661087957506000919050565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205460ff1690565b6108ad6108db565b6108b6816109bc565b50565b600061059e8373ffffffffffffffffffffffffffffffffffffffff8416610ab1565b60005473ffffffffffffffffffffffffffffffffffffffff16331461095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610622565b565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600183016020526040812054151561059e565b6060600061059e83610b00565b600061059e8373ffffffffffffffffffffffffffffffffffffffff8416610b5c565b3373ffffffffffffffffffffffffffffffffffffffff821603610a3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610622565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000818152600183016020526040812054610af85750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561085e565b50600061085e565b606081600001805480602002602001604051908101604052809291908181526020018280548015610b5057602002820191906000526020600020905b815481526020019060010190808311610b3c575b50505050509050919050565b60008181526001830160205260408120548015610c45576000610b80600183610ef9565b8554909150600090610b9490600190610ef9565b9050818114610bf9576000866000018281548110610bb457610bb4610f33565b9060005260206000200154905080876000018481548110610bd757610bd7610f33565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610c0a57610c0a610f62565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061085e565b600091505061085e565b600060208083528351808285015260005b81811015610c7c57858101830151858201604001528201610c60565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610cdf57600080fd5b919050565b600080600080600060a08688031215610cfc57600080fd5b610d0586610cbb565b9450610d1360208701610cbb565b93506040860135925060608601359150608086013560ff81168114610d3757600080fd5b809150509295509295909350565b600060208284031215610d5757600080fd5b61059e82610cbb565b600080600060408486031215610d7557600080fd5b610d7e84610cbb565b9250602084013567ffffffffffffffff80821115610d9b57600080fd5b818601915086601f830112610daf57600080fd5b813581811115610dbe57600080fd5b876020828501011115610dd057600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610e3157835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101610dff565b50909695505050505050565b600060408284031215610e4f57600080fd5b6040516040810181811067ffffffffffffffff82111715610e99577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405282358015158114610eac57600080fd5b8152610eba60208401610cbb565b60208201529392505050565b60008060408385031215610ed957600080fd5b610ee283610cbb565b9150610ef060208401610cbb565b90509250929050565b8181038181111561085e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe46756e6374696f6e73205465726d73206f66205365727669636520416c6c6f77204c6973742076312e302e30a164736f6c6343000813000a",
}
Functions ¶
This section is empty.
Types ¶
type TermsOfServiceAllowList ¶
type TermsOfServiceAllowList struct { TermsOfServiceAllowListCaller TermsOfServiceAllowListTransactor TermsOfServiceAllowListFilterer // contains filtered or unexported fields }
func DeployTermsOfServiceAllowList ¶
func DeployTermsOfServiceAllowList(auth *bind.TransactOpts, backend bind.ContractBackend, config TermsOfServiceAllowListConfig) (common.Address, *types.Transaction, *TermsOfServiceAllowList, error)
func NewTermsOfServiceAllowList ¶
func NewTermsOfServiceAllowList(address common.Address, backend bind.ContractBackend) (*TermsOfServiceAllowList, error)
func (*TermsOfServiceAllowList) Address ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowList) Address() common.Address
type TermsOfServiceAllowListAddedAccess ¶ added in v2.5.0
func (TermsOfServiceAllowListAddedAccess) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListAddedAccess) Topic() common.Hash
type TermsOfServiceAllowListAddedAccessIterator ¶ added in v2.5.0
type TermsOfServiceAllowListAddedAccessIterator struct { Event *TermsOfServiceAllowListAddedAccess // contains filtered or unexported fields }
func (*TermsOfServiceAllowListAddedAccessIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListAddedAccessIterator) Close() error
func (*TermsOfServiceAllowListAddedAccessIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListAddedAccessIterator) Error() error
func (*TermsOfServiceAllowListAddedAccessIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListAddedAccessIterator) Next() bool
type TermsOfServiceAllowListBlockedAccess ¶ added in v2.5.0
func (TermsOfServiceAllowListBlockedAccess) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListBlockedAccess) Topic() common.Hash
type TermsOfServiceAllowListBlockedAccessIterator ¶ added in v2.5.0
type TermsOfServiceAllowListBlockedAccessIterator struct { Event *TermsOfServiceAllowListBlockedAccess // contains filtered or unexported fields }
func (*TermsOfServiceAllowListBlockedAccessIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListBlockedAccessIterator) Close() error
func (*TermsOfServiceAllowListBlockedAccessIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListBlockedAccessIterator) Error() error
func (*TermsOfServiceAllowListBlockedAccessIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListBlockedAccessIterator) Next() bool
type TermsOfServiceAllowListCaller ¶
type TermsOfServiceAllowListCaller struct {
// contains filtered or unexported fields
}
func NewTermsOfServiceAllowListCaller ¶
func NewTermsOfServiceAllowListCaller(address common.Address, caller bind.ContractCaller) (*TermsOfServiceAllowListCaller, error)
func (*TermsOfServiceAllowListCaller) GetAllAllowedSenders ¶ added in v2.5.0
func (*TermsOfServiceAllowListCaller) GetConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) GetConfig(opts *bind.CallOpts) (TermsOfServiceAllowListConfig, error)
func (*TermsOfServiceAllowListCaller) GetMessage ¶ added in v2.5.0
func (*TermsOfServiceAllowListCaller) IsBlockedSender ¶
func (*TermsOfServiceAllowListCaller) TypeAndVersion ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
type TermsOfServiceAllowListCallerRaw ¶
type TermsOfServiceAllowListCallerRaw struct {
Contract *TermsOfServiceAllowListCaller
}
type TermsOfServiceAllowListCallerSession ¶
type TermsOfServiceAllowListCallerSession struct { Contract *TermsOfServiceAllowListCaller CallOpts bind.CallOpts }
func (*TermsOfServiceAllowListCallerSession) GetAllAllowedSenders ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) GetAllAllowedSenders() ([]common.Address, error)
func (*TermsOfServiceAllowListCallerSession) GetConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) GetConfig() (TermsOfServiceAllowListConfig, error)
func (*TermsOfServiceAllowListCallerSession) GetMessage ¶ added in v2.5.0
func (*TermsOfServiceAllowListCallerSession) IsBlockedSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) IsBlockedSender(sender common.Address) (bool, error)
func (*TermsOfServiceAllowListCallerSession) Owner ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) Owner() (common.Address, error)
func (*TermsOfServiceAllowListCallerSession) TypeAndVersion ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListCallerSession) TypeAndVersion() (string, error)
type TermsOfServiceAllowListConfig ¶ added in v2.5.0
type TermsOfServiceAllowListConfigUpdated ¶ added in v2.5.0
type TermsOfServiceAllowListConfigUpdated struct { Config TermsOfServiceAllowListConfig Raw types.Log }
func (TermsOfServiceAllowListConfigUpdated) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListConfigUpdated) Topic() common.Hash
type TermsOfServiceAllowListConfigUpdatedIterator ¶ added in v2.5.0
type TermsOfServiceAllowListConfigUpdatedIterator struct { Event *TermsOfServiceAllowListConfigUpdated // contains filtered or unexported fields }
func (*TermsOfServiceAllowListConfigUpdatedIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListConfigUpdatedIterator) Close() error
func (*TermsOfServiceAllowListConfigUpdatedIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListConfigUpdatedIterator) Error() error
func (*TermsOfServiceAllowListConfigUpdatedIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListConfigUpdatedIterator) Next() bool
type TermsOfServiceAllowListFilterer ¶
type TermsOfServiceAllowListFilterer struct {
// contains filtered or unexported fields
}
func NewTermsOfServiceAllowListFilterer ¶
func NewTermsOfServiceAllowListFilterer(address common.Address, filterer bind.ContractFilterer) (*TermsOfServiceAllowListFilterer, error)
func (*TermsOfServiceAllowListFilterer) FilterAddedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterAddedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListAddedAccessIterator, error)
func (*TermsOfServiceAllowListFilterer) FilterBlockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterBlockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListBlockedAccessIterator, error)
func (*TermsOfServiceAllowListFilterer) FilterConfigUpdated ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterConfigUpdated(opts *bind.FilterOpts) (*TermsOfServiceAllowListConfigUpdatedIterator, error)
func (*TermsOfServiceAllowListFilterer) FilterOwnershipTransferRequested ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferRequestedIterator, error)
func (*TermsOfServiceAllowListFilterer) FilterOwnershipTransferred ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferredIterator, error)
func (*TermsOfServiceAllowListFilterer) FilterUnblockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) FilterUnblockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListUnblockedAccessIterator, error)
func (*TermsOfServiceAllowListFilterer) ParseAddedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseAddedAccess(log types.Log) (*TermsOfServiceAllowListAddedAccess, error)
func (*TermsOfServiceAllowListFilterer) ParseBlockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseBlockedAccess(log types.Log) (*TermsOfServiceAllowListBlockedAccess, error)
func (*TermsOfServiceAllowListFilterer) ParseConfigUpdated ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseConfigUpdated(log types.Log) (*TermsOfServiceAllowListConfigUpdated, error)
func (*TermsOfServiceAllowListFilterer) ParseOwnershipTransferRequested ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseOwnershipTransferRequested(log types.Log) (*TermsOfServiceAllowListOwnershipTransferRequested, error)
func (*TermsOfServiceAllowListFilterer) ParseOwnershipTransferred ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseOwnershipTransferred(log types.Log) (*TermsOfServiceAllowListOwnershipTransferred, error)
func (*TermsOfServiceAllowListFilterer) ParseUnblockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) ParseUnblockedAccess(log types.Log) (*TermsOfServiceAllowListUnblockedAccess, error)
func (*TermsOfServiceAllowListFilterer) WatchAddedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchAddedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListAddedAccess) (event.Subscription, error)
func (*TermsOfServiceAllowListFilterer) WatchBlockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchBlockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListBlockedAccess) (event.Subscription, error)
func (*TermsOfServiceAllowListFilterer) WatchConfigUpdated ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListConfigUpdated) (event.Subscription, error)
func (*TermsOfServiceAllowListFilterer) WatchOwnershipTransferRequested ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*TermsOfServiceAllowListFilterer) WatchOwnershipTransferred ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*TermsOfServiceAllowListFilterer) WatchUnblockedAccess ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListFilterer) WatchUnblockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListUnblockedAccess) (event.Subscription, error)
type TermsOfServiceAllowListInterface ¶
type TermsOfServiceAllowListInterface interface { GetAllAllowedSenders(opts *bind.CallOpts) ([]common.Address, error) GetConfig(opts *bind.CallOpts) (TermsOfServiceAllowListConfig, error) GetMessage(opts *bind.CallOpts, acceptor common.Address, recipient common.Address) ([32]byte, error) HasAccess(opts *bind.CallOpts, user common.Address, arg1 []byte) (bool, error) IsBlockedSender(opts *bind.CallOpts, sender common.Address) (bool, error) Owner(opts *bind.CallOpts) (common.Address, error) TypeAndVersion(opts *bind.CallOpts) (string, error) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) AcceptTermsOfService(opts *bind.TransactOpts, acceptor common.Address, recipient common.Address, r [32]byte, s [32]byte, v uint8) (*types.Transaction, error) BlockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) UnblockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error) UpdateConfig(opts *bind.TransactOpts, config TermsOfServiceAllowListConfig) (*types.Transaction, error) FilterAddedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListAddedAccessIterator, error) WatchAddedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListAddedAccess) (event.Subscription, error) ParseAddedAccess(log types.Log) (*TermsOfServiceAllowListAddedAccess, error) FilterBlockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListBlockedAccessIterator, error) WatchBlockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListBlockedAccess) (event.Subscription, error) ParseBlockedAccess(log types.Log) (*TermsOfServiceAllowListBlockedAccess, error) FilterConfigUpdated(opts *bind.FilterOpts) (*TermsOfServiceAllowListConfigUpdatedIterator, error) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListConfigUpdated) (event.Subscription, error) ParseConfigUpdated(log types.Log) (*TermsOfServiceAllowListConfigUpdated, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*TermsOfServiceAllowListOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TermsOfServiceAllowListOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*TermsOfServiceAllowListOwnershipTransferred, error) FilterUnblockedAccess(opts *bind.FilterOpts) (*TermsOfServiceAllowListUnblockedAccessIterator, error) WatchUnblockedAccess(opts *bind.WatchOpts, sink chan<- *TermsOfServiceAllowListUnblockedAccess) (event.Subscription, error) ParseUnblockedAccess(log types.Log) (*TermsOfServiceAllowListUnblockedAccess, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type TermsOfServiceAllowListOwnershipTransferRequested ¶ added in v2.5.0
type TermsOfServiceAllowListOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log }
func (TermsOfServiceAllowListOwnershipTransferRequested) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListOwnershipTransferRequested) Topic() common.Hash
type TermsOfServiceAllowListOwnershipTransferRequestedIterator ¶ added in v2.5.0
type TermsOfServiceAllowListOwnershipTransferRequestedIterator struct { Event *TermsOfServiceAllowListOwnershipTransferRequested // contains filtered or unexported fields }
func (*TermsOfServiceAllowListOwnershipTransferRequestedIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferRequestedIterator) Close() error
func (*TermsOfServiceAllowListOwnershipTransferRequestedIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferRequestedIterator) Error() error
func (*TermsOfServiceAllowListOwnershipTransferRequestedIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferRequestedIterator) Next() bool
type TermsOfServiceAllowListOwnershipTransferred ¶ added in v2.5.0
type TermsOfServiceAllowListOwnershipTransferred struct { From common.Address To common.Address Raw types.Log }
func (TermsOfServiceAllowListOwnershipTransferred) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListOwnershipTransferred) Topic() common.Hash
type TermsOfServiceAllowListOwnershipTransferredIterator ¶ added in v2.5.0
type TermsOfServiceAllowListOwnershipTransferredIterator struct { Event *TermsOfServiceAllowListOwnershipTransferred // contains filtered or unexported fields }
func (*TermsOfServiceAllowListOwnershipTransferredIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferredIterator) Close() error
func (*TermsOfServiceAllowListOwnershipTransferredIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferredIterator) Error() error
func (*TermsOfServiceAllowListOwnershipTransferredIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListOwnershipTransferredIterator) Next() bool
type TermsOfServiceAllowListRaw ¶
type TermsOfServiceAllowListRaw struct {
Contract *TermsOfServiceAllowList
}
func (*TermsOfServiceAllowListRaw) Call ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*TermsOfServiceAllowListRaw) Transact ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*TermsOfServiceAllowListRaw) Transfer ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type TermsOfServiceAllowListSession ¶
type TermsOfServiceAllowListSession struct { Contract *TermsOfServiceAllowList CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*TermsOfServiceAllowListSession) AcceptOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) AcceptOwnership() (*types.Transaction, error)
func (*TermsOfServiceAllowListSession) AcceptTermsOfService ¶
func (*TermsOfServiceAllowListSession) BlockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) BlockSender(sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListSession) GetAllAllowedSenders ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) GetAllAllowedSenders() ([]common.Address, error)
func (*TermsOfServiceAllowListSession) GetConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) GetConfig() (TermsOfServiceAllowListConfig, error)
func (*TermsOfServiceAllowListSession) GetMessage ¶ added in v2.5.0
func (*TermsOfServiceAllowListSession) IsBlockedSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) IsBlockedSender(sender common.Address) (bool, error)
func (*TermsOfServiceAllowListSession) Owner ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) Owner() (common.Address, error)
func (*TermsOfServiceAllowListSession) TransferOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListSession) TypeAndVersion ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) TypeAndVersion() (string, error)
func (*TermsOfServiceAllowListSession) UnblockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) UnblockSender(sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListSession) UpdateConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListSession) UpdateConfig(config TermsOfServiceAllowListConfig) (*types.Transaction, error)
type TermsOfServiceAllowListTransactor ¶
type TermsOfServiceAllowListTransactor struct {
// contains filtered or unexported fields
}
func NewTermsOfServiceAllowListTransactor ¶
func NewTermsOfServiceAllowListTransactor(address common.Address, transactor bind.ContractTransactor) (*TermsOfServiceAllowListTransactor, error)
func (*TermsOfServiceAllowListTransactor) AcceptOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactor) AcceptTermsOfService ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) AcceptTermsOfService(opts *bind.TransactOpts, acceptor common.Address, recipient common.Address, r [32]byte, s [32]byte, v uint8) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactor) BlockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) BlockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactor) TransferOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactor) UnblockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) UnblockSender(opts *bind.TransactOpts, sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactor) UpdateConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactor) UpdateConfig(opts *bind.TransactOpts, config TermsOfServiceAllowListConfig) (*types.Transaction, error)
type TermsOfServiceAllowListTransactorRaw ¶
type TermsOfServiceAllowListTransactorRaw struct {
Contract *TermsOfServiceAllowListTransactor
}
func (*TermsOfServiceAllowListTransactorRaw) Transact ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactorRaw) Transfer ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type TermsOfServiceAllowListTransactorSession ¶
type TermsOfServiceAllowListTransactorSession struct { Contract *TermsOfServiceAllowListTransactor TransactOpts bind.TransactOpts }
func (*TermsOfServiceAllowListTransactorSession) AcceptOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactorSession) AcceptTermsOfService ¶
func (*TermsOfServiceAllowListTransactorSession) BlockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) BlockSender(sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactorSession) TransferOwnership ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactorSession) UnblockSender ¶
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) UnblockSender(sender common.Address) (*types.Transaction, error)
func (*TermsOfServiceAllowListTransactorSession) UpdateConfig ¶ added in v2.5.0
func (_TermsOfServiceAllowList *TermsOfServiceAllowListTransactorSession) UpdateConfig(config TermsOfServiceAllowListConfig) (*types.Transaction, error)
type TermsOfServiceAllowListUnblockedAccess ¶ added in v2.5.0
func (TermsOfServiceAllowListUnblockedAccess) Topic ¶ added in v2.5.0
func (TermsOfServiceAllowListUnblockedAccess) Topic() common.Hash
type TermsOfServiceAllowListUnblockedAccessIterator ¶ added in v2.5.0
type TermsOfServiceAllowListUnblockedAccessIterator struct { Event *TermsOfServiceAllowListUnblockedAccess // contains filtered or unexported fields }
func (*TermsOfServiceAllowListUnblockedAccessIterator) Close ¶ added in v2.5.0
func (it *TermsOfServiceAllowListUnblockedAccessIterator) Close() error
func (*TermsOfServiceAllowListUnblockedAccessIterator) Error ¶ added in v2.5.0
func (it *TermsOfServiceAllowListUnblockedAccessIterator) Error() error
func (*TermsOfServiceAllowListUnblockedAccessIterator) Next ¶ added in v2.5.0
func (it *TermsOfServiceAllowListUnblockedAccessIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.