Documentation ¶
Index ¶
- Variables
- type Diamond
- type DiamondCaller
- type DiamondCallerRaw
- type DiamondCallerSession
- type DiamondDiamondArgs
- type DiamondFilterer
- type DiamondRaw
- func (_Diamond *DiamondRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Diamond *DiamondRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Diamond *DiamondRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DiamondSession
- type DiamondTransactor
- type DiamondTransactorRaw
- type DiamondTransactorSession
- type IDiamondCut
- type IDiamondCutCaller
- type IDiamondCutCallerRaw
- type IDiamondCutCallerSession
- type IDiamondCutDiamondCut
- type IDiamondCutDiamondCutIterator
- type IDiamondCutFacetCut
- type IDiamondCutFilterer
- func (_IDiamondCut *IDiamondCutFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*IDiamondCutDiamondCutIterator, error)
- func (_IDiamondCut *IDiamondCutFilterer) ParseDiamondCut(log types.Log) (*IDiamondCutDiamondCut, error)
- func (_IDiamondCut *IDiamondCutFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *IDiamondCutDiamondCut) (event.Subscription, error)
- type IDiamondCutRaw
- func (_IDiamondCut *IDiamondCutRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IDiamondCut *IDiamondCutRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IDiamondCut *IDiamondCutRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IDiamondCutSession
- type IDiamondCutTransactor
- type IDiamondCutTransactorRaw
- type IDiamondCutTransactorSession
- type IDiamondLoupe
- type IDiamondLoupeCaller
- func (_IDiamondLoupe *IDiamondLoupeCaller) FacetAddress(opts *bind.CallOpts, _functionSelector [4]byte) (common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeCaller) FacetAddresses(opts *bind.CallOpts) ([]common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeCaller) FacetFunctionSelectors(opts *bind.CallOpts, _facet common.Address) ([][4]byte, error)
- func (_IDiamondLoupe *IDiamondLoupeCaller) Facets(opts *bind.CallOpts) ([]IDiamondLoupeFacet, error)
- type IDiamondLoupeCallerRaw
- type IDiamondLoupeCallerSession
- func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetAddresses() ([]common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)
- func (_IDiamondLoupe *IDiamondLoupeCallerSession) Facets() ([]IDiamondLoupeFacet, error)
- type IDiamondLoupeFacet
- type IDiamondLoupeFilterer
- type IDiamondLoupeRaw
- func (_IDiamondLoupe *IDiamondLoupeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IDiamondLoupe *IDiamondLoupeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IDiamondLoupe *IDiamondLoupeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IDiamondLoupeSession
- func (_IDiamondLoupe *IDiamondLoupeSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeSession) FacetAddresses() ([]common.Address, error)
- func (_IDiamondLoupe *IDiamondLoupeSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)
- func (_IDiamondLoupe *IDiamondLoupeSession) Facets() ([]IDiamondLoupeFacet, error)
- type IDiamondLoupeTransactor
- type IDiamondLoupeTransactorRaw
- type IDiamondLoupeTransactorSession
- type IERC165
- type IERC165Caller
- type IERC165CallerRaw
- type IERC165CallerSession
- type IERC165Filterer
- type IERC165Raw
- func (_IERC165 *IERC165Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC165 *IERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC165 *IERC165Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC165Session
- type IERC165Transactor
- type IERC165TransactorRaw
- type IERC165TransactorSession
- type IERC173
- type IERC173Caller
- type IERC173CallerRaw
- type IERC173CallerSession
- type IERC173Filterer
- func (_IERC173 *IERC173Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*IERC173OwnershipTransferredIterator, error)
- func (_IERC173 *IERC173Filterer) ParseOwnershipTransferred(log types.Log) (*IERC173OwnershipTransferred, error)
- func (_IERC173 *IERC173Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IERC173OwnershipTransferred, ...) (event.Subscription, error)
- type IERC173OwnershipTransferred
- type IERC173OwnershipTransferredIterator
- type IERC173Raw
- func (_IERC173 *IERC173Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC173 *IERC173Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC173 *IERC173Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC173Session
- type IERC173Transactor
- type IERC173TransactorRaw
- type IERC173TransactorSession
- type LibDiamond
- type LibDiamondCaller
- type LibDiamondCallerRaw
- type LibDiamondCallerSession
- type LibDiamondDiamondCut
- type LibDiamondDiamondCutIterator
- type LibDiamondFilterer
- func (_LibDiamond *LibDiamondFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*LibDiamondDiamondCutIterator, error)
- func (_LibDiamond *LibDiamondFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LibDiamondOwnershipTransferredIterator, error)
- func (_LibDiamond *LibDiamondFilterer) ParseDiamondCut(log types.Log) (*LibDiamondDiamondCut, error)
- func (_LibDiamond *LibDiamondFilterer) ParseOwnershipTransferred(log types.Log) (*LibDiamondOwnershipTransferred, error)
- func (_LibDiamond *LibDiamondFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *LibDiamondDiamondCut) (event.Subscription, error)
- func (_LibDiamond *LibDiamondFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LibDiamondOwnershipTransferred, ...) (event.Subscription, error)
- type LibDiamondOwnershipTransferred
- type LibDiamondOwnershipTransferredIterator
- type LibDiamondRaw
- func (_LibDiamond *LibDiamondRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LibDiamond *LibDiamondRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LibDiamond *LibDiamondRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LibDiamondSession
- type LibDiamondTransactor
- type LibDiamondTransactorRaw
- type LibDiamondTransactorSession
Constants ¶
This section is empty.
Variables ¶
var DiamondABI = DiamondMetaData.ABI
DiamondABI is the input ABI used to generate the binding from. Deprecated: Use DiamondMetaData.ABI instead.
var DiamondBin = DiamondMetaData.Bin
DiamondBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DiamondMetaData.Bin instead.
var DiamondMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"internalType\":\"structDiamond.DiamondArgs\",\"name\":\"_args\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x608060405260405162002a1138038062002a11833981016040819052620000269162001292565b604080516000808252602082019092526200004e918491620000f560201b620000c81760201c565b6200006881600001516200035060201b620002d91760201c565b60006200007f620003d460201b620003391760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b84529190922080549091169091179055506200168c915050565b60005b8351811015620003015760008482815181106200011957620001196200143c565b6020026020010151602001519050600060028111156200013d576200013d62001452565b81600281111562000152576200015262001452565b03620001b057620001aa8583815181106200017157620001716200143c565b6020026020010151600001518684815181106200019257620001926200143c565b602002602001015160400151620003e760201b60201c565b620002eb565b6001816002811115620001c757620001c762001452565b036200021f57620001aa858381518110620001e657620001e66200143c565b6020026020010151600001518684815181106200020757620002076200143c565b602002602001015160400151620006d260201b60201c565b600281600281111562000236576200023662001452565b036200028e57620001aa8583815181106200025557620002556200143c565b6020026020010151600001518684815181106200027657620002766200143c565b602002602001015160400151620009d960201b60201c565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084015b60405180910390fd5b5080620002f8816200147e565b915050620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200033793929190620014f7565b60405180910390a16200034b828262000b3e565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b0384811691821790935560405160008051602062002965833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206200296583398151915290565b60008151116200043d5760405162461bcd60e51b815260206004820152602b6024820152600080516020620029f183398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e2565b600080516020620029658339815191526001600160a01b038316620004a95760405162461bcd60e51b815260206004820152602c6024820152600080516020620029ad83398151915260448201526b65206164647265737328302960a01b6064820152608401620002e2565b6001600160a01b03831660009081526001820160205260408120549061ffff821690036200055257620004f684604051806060016040528060248152602001620029cd6024913962000d5d565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620006cb5760008482815181106200057657620005766200143c565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b031680156200061e5760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620002e2565b6001600160a01b03871660008181526001878101602090815260408084208054938401815584528184206008840401805463ffffffff60079095166004026101000a948502191660e089901c94909402939093179092556001600160e01b031986168352889052902080546001600160b01b031916909117600160a01b61ffff87160217905583620006b081620015fe565b94505050508080620006c2906200147e565b91505062000555565b5050505050565b6000815111620007285760405162461bcd60e51b815260206004820152602b6024820152600080516020620029f183398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e2565b600080516020620029658339815191526001600160a01b038316620007945760405162461bcd60e51b815260206004820152602c6024820152600080516020620029ad83398151915260448201526b65206164647265737328302960a01b6064820152608401620002e2565b6001600160a01b03831660009081526001820160205260408120549061ffff821690036200083d57620007e184604051806060016040528060248152602001620029cd6024913962000d5d565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620006cb5760008482815181106200086157620008616200143c565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b0390811690871681036200090e5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620002e2565b6200091a818362000d81565b6001600160e01b03198216600081815260208781526040808320805461ffff60a01b1916600160a01b61ffff8b16021781556001600160a01b038c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620009be81620015fe565b94505050508080620009d0906200147e565b91505062000840565b600081511162000a2f5760405162461bcd60e51b815260206004820152602b6024820152600080516020620029f183398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e2565b600080516020620029658339815191526001600160a01b0383161562000abe5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620002e2565b60005b825181101562000b3857600083828151811062000ae25762000ae26200143c565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b031662000b20818362000d81565b5050808062000b2f906200147e565b91505062000ac1565b50505050565b6001600160a01b03821662000bc85780511562000bc45760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401620002e2565b5050565b600081511162000c415760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401620002e2565b6001600160a01b038216301462000c775762000c7782604051806060016040528060288152602001620029856028913962000d5d565b600080836001600160a01b03168360405162000c94919062001622565b600060405180830381855af49150503d806000811462000cd1576040519150601f19603f3d011682016040523d82523d6000602084013e62000cd6565b606091505b50915091508162000b385780511562000d05578060405162461bcd60e51b8152600401620002e2919062001640565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b6064820152608401620002e2565b813b818162000b385760405162461bcd60e51b8152600401620002e2919062001640565b600080516020620029658339815191526001600160a01b03831662000e0f5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620002e2565b306001600160a01b0384160362000e805760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620002e2565b6001600160e01b03198216600090815260208281526040808320546001600160a01b0387168452600180860190935290832054600160a01b90910461ffff16929162000ecc916200165c565b905080821462000fbf576001600160a01b0385166000908152600184016020526040812080548390811062000f055762000f056200143c565b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000f595762000f596200143c565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b031992909216825284905260409020805461ffff60a01b1916600160a01b61ffff8516021790555b6001600160a01b0385166000908152600184016020526040902080548062000feb5762000feb62001676565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040812080546001600160b01b0319169055819003620006cb5760028301546000906200105c906001906200165c565b6001600160a01b038716600090815260018087016020526040909120015490915061ffff1680821462001122576000856002018381548110620010a357620010a36200143c565b6000918252602090912001546002870180546001600160a01b039092169250829184908110620010d757620010d76200143c565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018781019092526040902001805461ffff191661ffff83161790555b8460020180548062001138576200113862001676565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03891682526001878101909152604090912001805461ffff1916905550505050505050565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715620011c557620011c56200118a565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620011f657620011f66200118a565b604052919050565b60006001600160401b038211156200121a576200121a6200118a565b5060051b60200190565b80516001600160a01b03811681146200123c57600080fd5b919050565b6000602082840312156200125457600080fd5b604051602081016001600160401b03811182821017156200127957620012796200118a565b6040529050806200128a8362001224565b905292915050565b60008060408385031215620012a657600080fd5b82516001600160401b0380821115620012be57600080fd5b818501915085601f830112620012d357600080fd5b81516020620012ec620012e683620011fe565b620011cb565b82815260059290921b840181019181810190898411156200130c57600080fd5b8286015b848110156200141c578051868111156200132957600080fd5b87016060818d03601f190112156200134057600080fd5b6200134a620011a0565b6200135786830162001224565b81526040820151600381106200136c57600080fd5b818701526060820151888111156200138357600080fd5b8083019250508c603f8301126200139957600080fd5b85820151620013ac620012e682620011fe565b81815260059190911b830160400190878101908f831115620013cd57600080fd5b6040850194505b82851015620014065784516001600160e01b031981168114620013f657600080fd5b82529388019390880190620013d4565b6040840152505084525091830191830162001310565b5096506200142f90508888830162001241565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162001493576200149362001468565b5060010190565b60005b83811015620014b75781810151838201526020016200149d565b8381111562000b385750506000910152565b60008151808452620014e38160208601602086016200149a565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015620015cc57898403607f19018652815180516001600160a01b031685528381015189860190600381106200156857634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015620015b65783516001600160e01b03191682529286019260019290920191908601906200158a565b5097850197955050509082019060010162001520565b50506001600160a01b038a16908801528681036040880152620015f08189620014c9565b9a9950505050505050505050565b600061ffff80831681810362001618576200161862001468565b6001019392505050565b60008251620016368184602087016200149a565b9190910192915050565b602081526000620016556020830184620014c9565b9392505050565b60008282101562001671576200167162001468565b500390565b634e487b7160e01b600052603160045260246000fd5b6112c9806200169c6000396000f3fe60806040523661000b57005b600080356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602081905260409091205481906001600160a01b0316806100a45760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100c3573d6000f35b3d6000fd5b60005b835181101561028e5760008482815181106100e8576100e8610f79565b60200260200101516020015190506000600281111561010957610109610f8f565b81600281111561011b5761011b610f8f565b036101695761016485838151811061013557610135610f79565b60200260200101516000015186848151811061015357610153610f79565b60200260200101516040015161035d565b61027b565b600181600281111561017d5761017d610f8f565b036101c65761016485838151811061019757610197610f79565b6020026020010151600001518684815181106101b5576101b5610f79565b6020026020010151604001516105c2565b60028160028111156101da576101da610f8f565b03610223576101648583815181106101f4576101f4610f79565b60200260200101516000015186848151811061021257610212610f79565b602002602001015160400151610849565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b606482015260840161009b565b508061028681610fbb565b9150506100cb565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516102c29392919061102c565b60405180910390a16102d48282610963565b505050565b60006102e3610339565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b600081511161037e5760405162461bcd60e51b815260040161009b9061112c565b6000610388610339565b90506001600160a01b0383166103b05760405162461bcd60e51b815260040161009b90611177565b6001600160a01b03831660009081526001820160205260408120549061ffff82169003610455576103f98460405180606001604052806024815260200161127060249139610b70565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b83518110156105bb57600084828151811061047557610475610f79565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b031680156105135760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f6044820152746e207468617420616c72656164792065786973747360581b606482015260840161009b565b6001600160a01b03871660008181526001878101602090815260408084208054938401815584528184206008840401805463ffffffff60079095166004026101000a948502191660e089901c94909402939093179092556001600160e01b031986168352889052902080546001600160b01b031916909117600160a01b61ffff871602179055836105a3816111c3565b945050505080806105b390610fbb565b915050610458565b5050505050565b60008151116105e35760405162461bcd60e51b815260040161009b9061112c565b60006105ed610339565b90506001600160a01b0383166106155760405162461bcd60e51b815260040161009b90611177565b6001600160a01b03831660009081526001820160205260408120549061ffff821690036106ba5761065e8460405180606001604052806024815260200161127060249139610b70565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b83518110156105bb5760008482815181106106da576106da610f79565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b0390811690871681036107855760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606482015260840161009b565b61078f8183610b91565b6001600160e01b03198216600081815260208781526040808320805461ffff60a01b1916600160a01b61ffff8b16021781556001600160a01b038c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583610831816111c3565b9450505050808061084190610fbb565b9150506106bd565b600081511161086a5760405162461bcd60e51b815260040161009b9061112c565b6000610874610339565b90506001600160a01b038316156108ec5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472604482015275657373206d757374206265206164647265737328302960501b606482015260840161009b565b60005b825181101561095d57600083828151811061090c5761090c610f79565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b03166109488183610b91565b5050808061095590610fbb565b9150506108ef565b50505050565b6001600160a01b0382166109ea578051156109e65760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606482015260840161009b565b5050565b6000815111610a615760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606482015260840161009b565b6001600160a01b0382163014610a9357610a938260405180606001604052806028815260200161124860289139610b70565b600080836001600160a01b031683604051610aae91906111e4565b600060405180830381855af49150503d8060008114610ae9576040519150601f19603f3d011682016040523d82523d6000602084013e610aee565b606091505b50915091508161095d57805115610b19578060405162461bcd60e51b815260040161009b9190611200565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b606482015260840161009b565b813b818161095d5760405162461bcd60e51b815260040161009b9190611200565b6000610b9b610339565b90506001600160a01b038316610c195760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606482015260840161009b565b306001600160a01b03841603610c885760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b606482015260840161009b565b6001600160e01b03198216600090815260208281526040808320546001600160a01b0387168452600180860190935290832054600160a01b90910461ffff169291610cd29161121a565b9050808214610dbe576001600160a01b03851660009081526001840160205260408120805483908110610d0757610d07610f79565b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610d5857610d58610f79565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b031992909216825284905260409020805461ffff60a01b1916600160a01b61ffff8516021790555b6001600160a01b03851660009081526001840160205260409020805480610de757610de7611231565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040812080546001600160b01b03191690558190036105bb576002830154600090610e559060019061121a565b6001600160a01b038716600090815260018087016020526040909120015490915061ffff16808214610f14576000856002018381548110610e9857610e98610f79565b6000918252602090912001546002870180546001600160a01b039092169250829184908110610ec957610ec9610f79565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018781019092526040902001805461ffff191661ffff83161790555b84600201805480610f2757610f27611231565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03891682526001878101909152604090912001805461ffff1916905550505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610fcd57610fcd610fa5565b5060010190565b60005b83811015610fef578181015183820152602001610fd7565b8381111561095d5750506000910152565b60008151808452611018816020860160208601610fd4565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156110fc57898403607f19018652815180516001600160a01b0316855283810151898601906003811061109b57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156110e75783516001600160e01b03191682529286019260019290920191908601906110bd565b50978501979550505090820190600101611055565b50506001600160a01b038a1690880152868103604088015261111e8189611000565b9a9950505050505050505050565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201526a1858d95d081d1bc818dd5d60aa1b606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201526b65206164647265737328302960a01b606082015260800190565b600061ffff8083168181036111da576111da610fa5565b6001019392505050565b600082516111f6818460208701610fd4565b9190910192915050565b6020815260006112136020830184611000565b9392505050565b60008282101561122c5761122c610fa5565b500390565b634e487b7160e01b600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220778dcbbf7471cdc7558594db64d7a28825c6c325e31022fbe1fdb908e785a92664736f6c634300080d0033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204164642066616365742063616e277420624c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f64654c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066",
}
DiamondMetaData contains all meta data concerning the Diamond contract.
var IDiamondCutABI = IDiamondCutMetaData.ABI
IDiamondCutABI is the input ABI used to generate the binding from. Deprecated: Use IDiamondCutMetaData.ABI instead.
var IDiamondCutFuncSigs = IDiamondCutMetaData.Sigs
Deprecated: Use IDiamondCutMetaData.Sigs instead. IDiamondCutFuncSigs maps the 4-byte function signature to its string representation.
var IDiamondCutMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "1f931c1c": "diamondCut((address,uint8,bytes4[])[],address,bytes)", }, }
IDiamondCutMetaData contains all meta data concerning the IDiamondCut contract.
var IDiamondLoupeABI = IDiamondLoupeMetaData.ABI
IDiamondLoupeABI is the input ABI used to generate the binding from. Deprecated: Use IDiamondLoupeMetaData.ABI instead.
var IDiamondLoupeFuncSigs = IDiamondLoupeMetaData.Sigs
Deprecated: Use IDiamondLoupeMetaData.Sigs instead. IDiamondLoupeFuncSigs maps the 4-byte function signature to its string representation.
var IDiamondLoupeMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_functionSelector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facetAddress_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facetAddresses_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"facetFunctionSelectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structIDiamondLoupe.Facet[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "cdffacc6": "facetAddress(bytes4)", "52ef6b2c": "facetAddresses()", "adfca15e": "facetFunctionSelectors(address)", "7a0ed627": "facets()", }, }
IDiamondLoupeMetaData contains all meta data concerning the IDiamondLoupe contract.
var IERC165ABI = IERC165MetaData.ABI
IERC165ABI is the input ABI used to generate the binding from. Deprecated: Use IERC165MetaData.ABI instead.
var IERC165FuncSigs = IERC165MetaData.Sigs
Deprecated: Use IERC165MetaData.Sigs instead. IERC165FuncSigs maps the 4-byte function signature to its string representation.
var IERC165MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "01ffc9a7": "supportsInterface(bytes4)", }, }
IERC165MetaData contains all meta data concerning the IERC165 contract.
var IERC173ABI = IERC173MetaData.ABI
IERC173ABI is the input ABI used to generate the binding from. Deprecated: Use IERC173MetaData.ABI instead.
var IERC173FuncSigs = IERC173MetaData.Sigs
Deprecated: Use IERC173MetaData.Sigs instead. IERC173FuncSigs maps the 4-byte function signature to its string representation.
var IERC173MetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "f2fde38b": "transferOwnership(address)", }, }
IERC173MetaData contains all meta data concerning the IERC173 contract.
var LibDiamondABI = LibDiamondMetaData.ABI
LibDiamondABI is the input ABI used to generate the binding from. Deprecated: Use LibDiamondMetaData.ABI instead.
var LibDiamondBin = LibDiamondMetaData.Bin
LibDiamondBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LibDiamondMetaData.Bin instead.
var LibDiamondMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enumIDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"structIDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f3455883fbb0e90186d7efa333813a455bef6a925e19a0ba98f11052f58cb5864736f6c634300080d0033",
}
LibDiamondMetaData contains all meta data concerning the LibDiamond contract.
Functions ¶
This section is empty.
Types ¶
type Diamond ¶
type Diamond struct { DiamondCaller // Read-only binding to the contract DiamondTransactor // Write-only binding to the contract DiamondFilterer // Log filterer for contract events }
Diamond is an auto generated Go binding around an Ethereum contract.
func DeployDiamond ¶
func DeployDiamond(auth *bind.TransactOpts, backend bind.ContractBackend, _diamondCut []IDiamondCutFacetCut, _args DiamondDiamondArgs) (common.Address, *types.Transaction, *Diamond, error)
DeployDiamond deploys a new Ethereum contract, binding an instance of Diamond to it.
func NewDiamond ¶
NewDiamond creates a new instance of Diamond, bound to a specific deployed contract.
type DiamondCaller ¶
type DiamondCaller struct {
// contains filtered or unexported fields
}
DiamondCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDiamondCaller ¶
func NewDiamondCaller(address common.Address, caller bind.ContractCaller) (*DiamondCaller, error)
NewDiamondCaller creates a new read-only instance of Diamond, bound to a specific deployed contract.
type DiamondCallerRaw ¶
type DiamondCallerRaw struct {
Contract *DiamondCaller // Generic read-only contract binding to access the raw methods on
}
DiamondCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DiamondCallerRaw) Call ¶
func (_Diamond *DiamondCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type DiamondCallerSession ¶
type DiamondCallerSession struct { Contract *DiamondCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DiamondCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type DiamondDiamondArgs ¶
DiamondDiamondArgs is an auto generated low-level Go binding around an user-defined struct.
type DiamondFilterer ¶
type DiamondFilterer struct {
// contains filtered or unexported fields
}
DiamondFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDiamondFilterer ¶
func NewDiamondFilterer(address common.Address, filterer bind.ContractFilterer) (*DiamondFilterer, error)
NewDiamondFilterer creates a new log filterer instance of Diamond, bound to a specific deployed contract.
type DiamondRaw ¶
type DiamondRaw struct {
Contract *Diamond // Generic contract binding to access the raw methods on
}
DiamondRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DiamondRaw) Call ¶
func (_Diamond *DiamondRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*DiamondRaw) Transact ¶
func (_Diamond *DiamondRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DiamondRaw) Transfer ¶
func (_Diamond *DiamondRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DiamondSession ¶
type DiamondSession struct { Contract *Diamond // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DiamondSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DiamondSession) Fallback ¶
func (_Diamond *DiamondSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*DiamondSession) Receive ¶
func (_Diamond *DiamondSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type DiamondTransactor ¶
type DiamondTransactor struct {
// contains filtered or unexported fields
}
DiamondTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDiamondTransactor ¶
func NewDiamondTransactor(address common.Address, transactor bind.ContractTransactor) (*DiamondTransactor, error)
NewDiamondTransactor creates a new write-only instance of Diamond, bound to a specific deployed contract.
func (*DiamondTransactor) Fallback ¶
func (_Diamond *DiamondTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*DiamondTransactor) Receive ¶
func (_Diamond *DiamondTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type DiamondTransactorRaw ¶
type DiamondTransactorRaw struct {
Contract *DiamondTransactor // Generic write-only contract binding to access the raw methods on
}
DiamondTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DiamondTransactorRaw) Transact ¶
func (_Diamond *DiamondTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DiamondTransactorRaw) Transfer ¶
func (_Diamond *DiamondTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DiamondTransactorSession ¶
type DiamondTransactorSession struct { Contract *DiamondTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DiamondTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DiamondTransactorSession) Fallback ¶
func (_Diamond *DiamondTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*DiamondTransactorSession) Receive ¶
func (_Diamond *DiamondTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type IDiamondCut ¶
type IDiamondCut struct { IDiamondCutCaller // Read-only binding to the contract IDiamondCutTransactor // Write-only binding to the contract IDiamondCutFilterer // Log filterer for contract events }
IDiamondCut is an auto generated Go binding around an Ethereum contract.
func NewIDiamondCut ¶
func NewIDiamondCut(address common.Address, backend bind.ContractBackend) (*IDiamondCut, error)
NewIDiamondCut creates a new instance of IDiamondCut, bound to a specific deployed contract.
type IDiamondCutCaller ¶
type IDiamondCutCaller struct {
// contains filtered or unexported fields
}
IDiamondCutCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIDiamondCutCaller ¶
func NewIDiamondCutCaller(address common.Address, caller bind.ContractCaller) (*IDiamondCutCaller, error)
NewIDiamondCutCaller creates a new read-only instance of IDiamondCut, bound to a specific deployed contract.
type IDiamondCutCallerRaw ¶
type IDiamondCutCallerRaw struct {
Contract *IDiamondCutCaller // Generic read-only contract binding to access the raw methods on
}
IDiamondCutCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IDiamondCutCallerRaw) Call ¶
func (_IDiamondCut *IDiamondCutCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IDiamondCutCallerSession ¶
type IDiamondCutCallerSession struct { Contract *IDiamondCutCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IDiamondCutCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IDiamondCutDiamondCut ¶
type IDiamondCutDiamondCut struct { DiamondCut []IDiamondCutFacetCut Init common.Address Calldata []byte Raw types.Log // Blockchain specific contextual infos }
IDiamondCutDiamondCut represents a DiamondCut event raised by the IDiamondCut contract.
type IDiamondCutDiamondCutIterator ¶
type IDiamondCutDiamondCutIterator struct { Event *IDiamondCutDiamondCut // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IDiamondCutDiamondCutIterator is returned from FilterDiamondCut and is used to iterate over the raw logs and unpacked data for DiamondCut events raised by the IDiamondCut contract.
func (*IDiamondCutDiamondCutIterator) Close ¶
func (it *IDiamondCutDiamondCutIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IDiamondCutDiamondCutIterator) Error ¶
func (it *IDiamondCutDiamondCutIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IDiamondCutDiamondCutIterator) Next ¶
func (it *IDiamondCutDiamondCutIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IDiamondCutFacetCut ¶
type IDiamondCutFacetCut struct { FacetAddress common.Address Action uint8 FunctionSelectors [][4]byte }
IDiamondCutFacetCut is an auto generated low-level Go binding around an user-defined struct.
type IDiamondCutFilterer ¶
type IDiamondCutFilterer struct {
// contains filtered or unexported fields
}
IDiamondCutFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIDiamondCutFilterer ¶
func NewIDiamondCutFilterer(address common.Address, filterer bind.ContractFilterer) (*IDiamondCutFilterer, error)
NewIDiamondCutFilterer creates a new log filterer instance of IDiamondCut, bound to a specific deployed contract.
func (*IDiamondCutFilterer) FilterDiamondCut ¶
func (_IDiamondCut *IDiamondCutFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*IDiamondCutDiamondCutIterator, error)
FilterDiamondCut is a free log retrieval operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
func (*IDiamondCutFilterer) ParseDiamondCut ¶
func (_IDiamondCut *IDiamondCutFilterer) ParseDiamondCut(log types.Log) (*IDiamondCutDiamondCut, error)
ParseDiamondCut is a log parse operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
func (*IDiamondCutFilterer) WatchDiamondCut ¶
func (_IDiamondCut *IDiamondCutFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *IDiamondCutDiamondCut) (event.Subscription, error)
WatchDiamondCut is a free log subscription operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
type IDiamondCutRaw ¶
type IDiamondCutRaw struct {
Contract *IDiamondCut // Generic contract binding to access the raw methods on
}
IDiamondCutRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IDiamondCutRaw) Call ¶
func (_IDiamondCut *IDiamondCutRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IDiamondCutRaw) Transact ¶
func (_IDiamondCut *IDiamondCutRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDiamondCutRaw) Transfer ¶
func (_IDiamondCut *IDiamondCutRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IDiamondCutSession ¶
type IDiamondCutSession struct { Contract *IDiamondCut // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDiamondCutSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IDiamondCutSession) DiamondCut ¶
func (_IDiamondCut *IDiamondCutSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()
type IDiamondCutTransactor ¶
type IDiamondCutTransactor struct {
// contains filtered or unexported fields
}
IDiamondCutTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIDiamondCutTransactor ¶
func NewIDiamondCutTransactor(address common.Address, transactor bind.ContractTransactor) (*IDiamondCutTransactor, error)
NewIDiamondCutTransactor creates a new write-only instance of IDiamondCut, bound to a specific deployed contract.
func (*IDiamondCutTransactor) DiamondCut ¶
func (_IDiamondCut *IDiamondCutTransactor) DiamondCut(opts *bind.TransactOpts, _diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()
type IDiamondCutTransactorRaw ¶
type IDiamondCutTransactorRaw struct {
Contract *IDiamondCutTransactor // Generic write-only contract binding to access the raw methods on
}
IDiamondCutTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IDiamondCutTransactorRaw) Transact ¶
func (_IDiamondCut *IDiamondCutTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDiamondCutTransactorRaw) Transfer ¶
func (_IDiamondCut *IDiamondCutTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IDiamondCutTransactorSession ¶
type IDiamondCutTransactorSession struct { Contract *IDiamondCutTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDiamondCutTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IDiamondCutTransactorSession) DiamondCut ¶
func (_IDiamondCut *IDiamondCutTransactorSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)
DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.
Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()
type IDiamondLoupe ¶
type IDiamondLoupe struct { IDiamondLoupeCaller // Read-only binding to the contract IDiamondLoupeTransactor // Write-only binding to the contract IDiamondLoupeFilterer // Log filterer for contract events }
IDiamondLoupe is an auto generated Go binding around an Ethereum contract.
func NewIDiamondLoupe ¶
func NewIDiamondLoupe(address common.Address, backend bind.ContractBackend) (*IDiamondLoupe, error)
NewIDiamondLoupe creates a new instance of IDiamondLoupe, bound to a specific deployed contract.
type IDiamondLoupeCaller ¶
type IDiamondLoupeCaller struct {
// contains filtered or unexported fields
}
IDiamondLoupeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIDiamondLoupeCaller ¶
func NewIDiamondLoupeCaller(address common.Address, caller bind.ContractCaller) (*IDiamondLoupeCaller, error)
NewIDiamondLoupeCaller creates a new read-only instance of IDiamondLoupe, bound to a specific deployed contract.
func (*IDiamondLoupeCaller) FacetAddress ¶
func (_IDiamondLoupe *IDiamondLoupeCaller) FacetAddress(opts *bind.CallOpts, _functionSelector [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)
func (*IDiamondLoupeCaller) FacetAddresses ¶
func (_IDiamondLoupe *IDiamondLoupeCaller) FacetAddresses(opts *bind.CallOpts) ([]common.Address, error)
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facetAddresses_)
func (*IDiamondLoupeCaller) FacetFunctionSelectors ¶
func (_IDiamondLoupe *IDiamondLoupeCaller) FacetFunctionSelectors(opts *bind.CallOpts, _facet common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)
func (*IDiamondLoupeCaller) Facets ¶
func (_IDiamondLoupe *IDiamondLoupeCaller) Facets(opts *bind.CallOpts) ([]IDiamondLoupeFacet, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
type IDiamondLoupeCallerRaw ¶
type IDiamondLoupeCallerRaw struct {
Contract *IDiamondLoupeCaller // Generic read-only contract binding to access the raw methods on
}
IDiamondLoupeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IDiamondLoupeCallerRaw) Call ¶
func (_IDiamondLoupe *IDiamondLoupeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IDiamondLoupeCallerSession ¶
type IDiamondLoupeCallerSession struct { Contract *IDiamondLoupeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IDiamondLoupeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IDiamondLoupeCallerSession) FacetAddress ¶
func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)
func (*IDiamondLoupeCallerSession) FacetAddresses ¶
func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetAddresses() ([]common.Address, error)
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facetAddresses_)
func (*IDiamondLoupeCallerSession) FacetFunctionSelectors ¶
func (_IDiamondLoupe *IDiamondLoupeCallerSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)
func (*IDiamondLoupeCallerSession) Facets ¶
func (_IDiamondLoupe *IDiamondLoupeCallerSession) Facets() ([]IDiamondLoupeFacet, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
type IDiamondLoupeFacet ¶
IDiamondLoupeFacet is an auto generated low-level Go binding around an user-defined struct.
type IDiamondLoupeFilterer ¶
type IDiamondLoupeFilterer struct {
// contains filtered or unexported fields
}
IDiamondLoupeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIDiamondLoupeFilterer ¶
func NewIDiamondLoupeFilterer(address common.Address, filterer bind.ContractFilterer) (*IDiamondLoupeFilterer, error)
NewIDiamondLoupeFilterer creates a new log filterer instance of IDiamondLoupe, bound to a specific deployed contract.
type IDiamondLoupeRaw ¶
type IDiamondLoupeRaw struct {
Contract *IDiamondLoupe // Generic contract binding to access the raw methods on
}
IDiamondLoupeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IDiamondLoupeRaw) Call ¶
func (_IDiamondLoupe *IDiamondLoupeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IDiamondLoupeRaw) Transact ¶
func (_IDiamondLoupe *IDiamondLoupeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDiamondLoupeRaw) Transfer ¶
func (_IDiamondLoupe *IDiamondLoupeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IDiamondLoupeSession ¶
type IDiamondLoupeSession struct { Contract *IDiamondLoupe // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDiamondLoupeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IDiamondLoupeSession) FacetAddress ¶
func (_IDiamondLoupe *IDiamondLoupeSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)
FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.
Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)
func (*IDiamondLoupeSession) FacetAddresses ¶
func (_IDiamondLoupe *IDiamondLoupeSession) FacetAddresses() ([]common.Address, error)
FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.
Solidity: function facetAddresses() view returns(address[] facetAddresses_)
func (*IDiamondLoupeSession) FacetFunctionSelectors ¶
func (_IDiamondLoupe *IDiamondLoupeSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)
FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.
Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)
func (*IDiamondLoupeSession) Facets ¶
func (_IDiamondLoupe *IDiamondLoupeSession) Facets() ([]IDiamondLoupeFacet, error)
Facets is a free data retrieval call binding the contract method 0x7a0ed627.
Solidity: function facets() view returns((address,bytes4[])[] facets_)
type IDiamondLoupeTransactor ¶
type IDiamondLoupeTransactor struct {
// contains filtered or unexported fields
}
IDiamondLoupeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIDiamondLoupeTransactor ¶
func NewIDiamondLoupeTransactor(address common.Address, transactor bind.ContractTransactor) (*IDiamondLoupeTransactor, error)
NewIDiamondLoupeTransactor creates a new write-only instance of IDiamondLoupe, bound to a specific deployed contract.
type IDiamondLoupeTransactorRaw ¶
type IDiamondLoupeTransactorRaw struct {
Contract *IDiamondLoupeTransactor // Generic write-only contract binding to access the raw methods on
}
IDiamondLoupeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IDiamondLoupeTransactorRaw) Transact ¶
func (_IDiamondLoupe *IDiamondLoupeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDiamondLoupeTransactorRaw) Transfer ¶
func (_IDiamondLoupe *IDiamondLoupeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IDiamondLoupeTransactorSession ¶
type IDiamondLoupeTransactorSession struct { Contract *IDiamondLoupeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDiamondLoupeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IERC165 ¶
type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events }
IERC165 is an auto generated Go binding around an Ethereum contract.
func NewIERC165 ¶
NewIERC165 creates a new instance of IERC165, bound to a specific deployed contract.
type IERC165Caller ¶
type IERC165Caller struct {
// contains filtered or unexported fields
}
IERC165Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC165Caller ¶
func NewIERC165Caller(address common.Address, caller bind.ContractCaller) (*IERC165Caller, error)
NewIERC165Caller creates a new read-only instance of IERC165, bound to a specific deployed contract.
func (*IERC165Caller) SupportsInterface ¶
func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type IERC165CallerRaw ¶
type IERC165CallerRaw struct {
Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on
}
IERC165CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC165CallerRaw) Call ¶
func (_IERC165 *IERC165CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IERC165CallerSession ¶
type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC165CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC165CallerSession) SupportsInterface ¶
func (_IERC165 *IERC165CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type IERC165Filterer ¶
type IERC165Filterer struct {
// contains filtered or unexported fields
}
IERC165Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC165Filterer ¶
func NewIERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC165Filterer, error)
NewIERC165Filterer creates a new log filterer instance of IERC165, bound to a specific deployed contract.
type IERC165Raw ¶
type IERC165Raw struct {
Contract *IERC165 // Generic contract binding to access the raw methods on
}
IERC165Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC165Raw) Call ¶
func (_IERC165 *IERC165Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IERC165Raw) Transact ¶
func (_IERC165 *IERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC165Raw) Transfer ¶
func (_IERC165 *IERC165Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC165Session ¶
type IERC165Session struct { Contract *IERC165 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC165Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC165Session) SupportsInterface ¶
func (_IERC165 *IERC165Session) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type IERC165Transactor ¶
type IERC165Transactor struct {
// contains filtered or unexported fields
}
IERC165Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC165Transactor ¶
func NewIERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC165Transactor, error)
NewIERC165Transactor creates a new write-only instance of IERC165, bound to a specific deployed contract.
type IERC165TransactorRaw ¶
type IERC165TransactorRaw struct {
Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on
}
IERC165TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC165TransactorRaw) Transact ¶
func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC165TransactorRaw) Transfer ¶
func (_IERC165 *IERC165TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC165TransactorSession ¶
type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC165TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IERC173 ¶
type IERC173 struct { IERC173Caller // Read-only binding to the contract IERC173Transactor // Write-only binding to the contract IERC173Filterer // Log filterer for contract events }
IERC173 is an auto generated Go binding around an Ethereum contract.
func NewIERC173 ¶
NewIERC173 creates a new instance of IERC173, bound to a specific deployed contract.
type IERC173Caller ¶
type IERC173Caller struct {
// contains filtered or unexported fields
}
IERC173Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC173Caller ¶
func NewIERC173Caller(address common.Address, caller bind.ContractCaller) (*IERC173Caller, error)
NewIERC173Caller creates a new read-only instance of IERC173, bound to a specific deployed contract.
type IERC173CallerRaw ¶
type IERC173CallerRaw struct {
Contract *IERC173Caller // Generic read-only contract binding to access the raw methods on
}
IERC173CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC173CallerRaw) Call ¶
func (_IERC173 *IERC173CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IERC173CallerSession ¶
type IERC173CallerSession struct { Contract *IERC173Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC173CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IERC173Filterer ¶
type IERC173Filterer struct {
// contains filtered or unexported fields
}
IERC173Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC173Filterer ¶
func NewIERC173Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC173Filterer, error)
NewIERC173Filterer creates a new log filterer instance of IERC173, bound to a specific deployed contract.
func (*IERC173Filterer) FilterOwnershipTransferred ¶
func (_IERC173 *IERC173Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IERC173OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IERC173Filterer) ParseOwnershipTransferred ¶
func (_IERC173 *IERC173Filterer) ParseOwnershipTransferred(log types.Log) (*IERC173OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IERC173Filterer) WatchOwnershipTransferred ¶
func (_IERC173 *IERC173Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IERC173OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type IERC173OwnershipTransferred ¶
type IERC173OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IERC173OwnershipTransferred represents a OwnershipTransferred event raised by the IERC173 contract.
type IERC173OwnershipTransferredIterator ¶
type IERC173OwnershipTransferredIterator struct { Event *IERC173OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC173OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the IERC173 contract.
func (*IERC173OwnershipTransferredIterator) Close ¶
func (it *IERC173OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC173OwnershipTransferredIterator) Error ¶
func (it *IERC173OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC173OwnershipTransferredIterator) Next ¶
func (it *IERC173OwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC173Raw ¶
type IERC173Raw struct {
Contract *IERC173 // Generic contract binding to access the raw methods on
}
IERC173Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC173Raw) Call ¶
func (_IERC173 *IERC173Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IERC173Raw) Transact ¶
func (_IERC173 *IERC173Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC173Raw) Transfer ¶
func (_IERC173 *IERC173Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC173Session ¶
type IERC173Session struct { Contract *IERC173 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC173Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC173Session) Owner ¶
func (_IERC173 *IERC173Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address owner_)
func (*IERC173Session) TransferOwnership ¶
func (_IERC173 *IERC173Session) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
type IERC173Transactor ¶
type IERC173Transactor struct {
// contains filtered or unexported fields
}
IERC173Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC173Transactor ¶
func NewIERC173Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC173Transactor, error)
NewIERC173Transactor creates a new write-only instance of IERC173, bound to a specific deployed contract.
func (*IERC173Transactor) TransferOwnership ¶
func (_IERC173 *IERC173Transactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
type IERC173TransactorRaw ¶
type IERC173TransactorRaw struct {
Contract *IERC173Transactor // Generic write-only contract binding to access the raw methods on
}
IERC173TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC173TransactorRaw) Transact ¶
func (_IERC173 *IERC173TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC173TransactorRaw) Transfer ¶
func (_IERC173 *IERC173TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC173TransactorSession ¶
type IERC173TransactorSession struct { Contract *IERC173Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC173TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC173TransactorSession) TransferOwnership ¶
func (_IERC173 *IERC173TransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
type LibDiamond ¶
type LibDiamond struct { LibDiamondCaller // Read-only binding to the contract LibDiamondTransactor // Write-only binding to the contract LibDiamondFilterer // Log filterer for contract events }
LibDiamond is an auto generated Go binding around an Ethereum contract.
func DeployLibDiamond ¶
func DeployLibDiamond(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LibDiamond, error)
DeployLibDiamond deploys a new Ethereum contract, binding an instance of LibDiamond to it.
func NewLibDiamond ¶
func NewLibDiamond(address common.Address, backend bind.ContractBackend) (*LibDiamond, error)
NewLibDiamond creates a new instance of LibDiamond, bound to a specific deployed contract.
type LibDiamondCaller ¶
type LibDiamondCaller struct {
// contains filtered or unexported fields
}
LibDiamondCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLibDiamondCaller ¶
func NewLibDiamondCaller(address common.Address, caller bind.ContractCaller) (*LibDiamondCaller, error)
NewLibDiamondCaller creates a new read-only instance of LibDiamond, bound to a specific deployed contract.
type LibDiamondCallerRaw ¶
type LibDiamondCallerRaw struct {
Contract *LibDiamondCaller // Generic read-only contract binding to access the raw methods on
}
LibDiamondCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LibDiamondCallerRaw) Call ¶
func (_LibDiamond *LibDiamondCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type LibDiamondCallerSession ¶
type LibDiamondCallerSession struct { Contract *LibDiamondCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LibDiamondCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type LibDiamondDiamondCut ¶
type LibDiamondDiamondCut struct { DiamondCut []IDiamondCutFacetCut Init common.Address Calldata []byte Raw types.Log // Blockchain specific contextual infos }
LibDiamondDiamondCut represents a DiamondCut event raised by the LibDiamond contract.
type LibDiamondDiamondCutIterator ¶
type LibDiamondDiamondCutIterator struct { Event *LibDiamondDiamondCut // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LibDiamondDiamondCutIterator is returned from FilterDiamondCut and is used to iterate over the raw logs and unpacked data for DiamondCut events raised by the LibDiamond contract.
func (*LibDiamondDiamondCutIterator) Close ¶
func (it *LibDiamondDiamondCutIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LibDiamondDiamondCutIterator) Error ¶
func (it *LibDiamondDiamondCutIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LibDiamondDiamondCutIterator) Next ¶
func (it *LibDiamondDiamondCutIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LibDiamondFilterer ¶
type LibDiamondFilterer struct {
// contains filtered or unexported fields
}
LibDiamondFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLibDiamondFilterer ¶
func NewLibDiamondFilterer(address common.Address, filterer bind.ContractFilterer) (*LibDiamondFilterer, error)
NewLibDiamondFilterer creates a new log filterer instance of LibDiamond, bound to a specific deployed contract.
func (*LibDiamondFilterer) FilterDiamondCut ¶
func (_LibDiamond *LibDiamondFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*LibDiamondDiamondCutIterator, error)
FilterDiamondCut is a free log retrieval operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
func (*LibDiamondFilterer) FilterOwnershipTransferred ¶
func (_LibDiamond *LibDiamondFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LibDiamondOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LibDiamondFilterer) ParseDiamondCut ¶
func (_LibDiamond *LibDiamondFilterer) ParseDiamondCut(log types.Log) (*LibDiamondDiamondCut, error)
ParseDiamondCut is a log parse operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
func (*LibDiamondFilterer) ParseOwnershipTransferred ¶
func (_LibDiamond *LibDiamondFilterer) ParseOwnershipTransferred(log types.Log) (*LibDiamondOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LibDiamondFilterer) WatchDiamondCut ¶
func (_LibDiamond *LibDiamondFilterer) WatchDiamondCut(opts *bind.WatchOpts, sink chan<- *LibDiamondDiamondCut) (event.Subscription, error)
WatchDiamondCut is a free log subscription operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.
Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)
func (*LibDiamondFilterer) WatchOwnershipTransferred ¶
func (_LibDiamond *LibDiamondFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LibDiamondOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type LibDiamondOwnershipTransferred ¶
type LibDiamondOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LibDiamondOwnershipTransferred represents a OwnershipTransferred event raised by the LibDiamond contract.
type LibDiamondOwnershipTransferredIterator ¶
type LibDiamondOwnershipTransferredIterator struct { Event *LibDiamondOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LibDiamondOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LibDiamond contract.
func (*LibDiamondOwnershipTransferredIterator) Close ¶
func (it *LibDiamondOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LibDiamondOwnershipTransferredIterator) Error ¶
func (it *LibDiamondOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LibDiamondOwnershipTransferredIterator) Next ¶
func (it *LibDiamondOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LibDiamondRaw ¶
type LibDiamondRaw struct {
Contract *LibDiamond // Generic contract binding to access the raw methods on
}
LibDiamondRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LibDiamondRaw) Call ¶
func (_LibDiamond *LibDiamondRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*LibDiamondRaw) Transact ¶
func (_LibDiamond *LibDiamondRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LibDiamondRaw) Transfer ¶
func (_LibDiamond *LibDiamondRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LibDiamondSession ¶
type LibDiamondSession struct { Contract *LibDiamond // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LibDiamondSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type LibDiamondTransactor ¶
type LibDiamondTransactor struct {
// contains filtered or unexported fields
}
LibDiamondTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLibDiamondTransactor ¶
func NewLibDiamondTransactor(address common.Address, transactor bind.ContractTransactor) (*LibDiamondTransactor, error)
NewLibDiamondTransactor creates a new write-only instance of LibDiamond, bound to a specific deployed contract.
type LibDiamondTransactorRaw ¶
type LibDiamondTransactorRaw struct {
Contract *LibDiamondTransactor // Generic write-only contract binding to access the raw methods on
}
LibDiamondTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LibDiamondTransactorRaw) Transact ¶
func (_LibDiamond *LibDiamondTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LibDiamondTransactorRaw) Transfer ¶
func (_LibDiamond *LibDiamondTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LibDiamondTransactorSession ¶
type LibDiamondTransactorSession struct { Contract *LibDiamondTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LibDiamondTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.