TerminusFacet

package
v0.0.0-...-73c85e8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NativeTokenAddress = "0x0000000000000000000000000000000000000000"
)

Variables

View Source
var ErrNoRPCURL error = errors.New("no RPC URL provided -- please pass an RPC URL from the command line or set the TERMINUS_FACET_RPC_URL environment variable")
View Source
var TerminusFacetABI = TerminusFacetMetaData.ABI

TerminusFacetABI is the input ABI used to generate the binding from. Deprecated: Use TerminusFacetMetaData.ABI instead.

View Source
var TerminusFacetBin = TerminusFacetMetaData.Bin

TerminusFacetBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TerminusFacetMetaData.Bin instead.

View Source
var TerminusFacetMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousController\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"ControlTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousController\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"PoolControlTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"toAddresses\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"PoolMintBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"approveForPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_capacity\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_transferable\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_burnable\",\"type\":\"bool\"}],\"name\":\"createPoolV1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_capacity\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_transferable\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_burnable\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"poolURI\",\"type\":\"string\"}],\"name\":\"createPoolV2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_capacity\",\"type\":\"uint256\"}],\"name\":\"createSimplePool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForPool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"poolIDs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paymentToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolBasePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"poolIsBurnable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"poolIsTransferable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"toAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"poolMintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_contractURI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPaymentToken\",\"type\":\"address\"}],\"name\":\"setPaymentToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newBasePrice\",\"type\":\"uint256\"}],\"name\":\"setPoolBasePrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"burnable\",\"type\":\"bool\"}],\"name\":\"setPoolBurnable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newController\",\"type\":\"address\"}],\"name\":\"setPoolController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"setPoolTransferable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"poolURI\",\"type\":\"string\"}],\"name\":\"setURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"terminusController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"terminusPoolCapacity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"terminusPoolController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"terminusPoolSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPools\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"unapproveForPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawPayments\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5060007ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1080546001600160a01b0319163317905550615180806100546000396000f3fe608060405234801561001057600080fd5b50600436106102915760003560e01c806378cf2e8411610160578063ab3c7e52116100d8578063e8a3d4851161008c578063f242432a11610071578063f242432a14610743578063f3dc0a8514610756578063f5298aca1461076957600080fd5b8063e8a3d485146106d3578063e985e9c5146106db57600080fd5b8063d0c402e5116100bd578063d0c402e514610663578063dc55d0b2146106b8578063e1c7392a146106cb57600080fd5b8063ab3c7e5214610629578063b507ef521461065057600080fd5b80638925d0131161012f578063938e3d7b11610114578063938e3d7b146105c4578063a22cb465146105d7578063a44cfc82146105ea57600080fd5b80638925d0131461058a57806392eefe9b146105b157600080fd5b806378cf2e841461053e57806384fa03a11461055157806385bc82e214610564578063862440e21461057757600080fd5b80632eb2c2d61161020e5780634e1273f4116101c257806369453ce9116101a757806369453ce9146104d55780636a326ab114610518578063731133e91461052b57600080fd5b80634e1273f4146104765780635dc8bdf81461049657600080fd5b8063366e59e3116101f3578063366e59e3146103e45780633bad2d82146104215780633c50a3c51461043457600080fd5b80632eb2c2d6146103735780633013ce291461038657600080fd5b80630e89341c116102655780631fbeae861161024a5780631fbeae861461033a57806321adca961461034d5780632365c8591461036057600080fd5b80630e89341c146103075780631f7fdffa1461032757600080fd5b8062fdd58e1461029657806301ffc9a7146102bc578063027b3fc2146102df5780630e7afec5146102f2575b600080fd5b6102a96102a436600461441f565b61077c565b6040519081526020015b60405180910390f35b6102cf6102ca366004614477565b61087d565b60405190151581526020016102b3565b6102cf6102ed366004614494565b610960565b61030561030036600461441f565b610973565b005b61031a6103153660046144c0565b610af3565b6040516102b3919061453d565b6103056103353660046146f6565b610bb4565b610305610348366004614494565b610c86565b61030561035b366004614801565b610d0c565b61030561036e36600461487c565b6111c4565b6103056103813660046148ac565b61122b565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd125473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b3565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd105473ffffffffffffffffffffffffffffffffffffffff166103bf565b6102a961042f366004614956565b611364565b6102cf6104423660046144c0565b60009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1a602052604090205460ff1690565b610489610484366004614998565b611710565b6040516102b39190614a38565b6102a96104a43660046144c0565b60009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd16602052604090205490565b6102cf6104e33660046144c0565b60009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd19602052604090205460ff161590565b610305610526366004614a4b565b611860565b610305610539366004614a66565b6118ce565b61030561054c3660046144c0565b611970565b6102a961055f366004614abb565b61199c565b610305610572366004614494565b611d64565b610305610585366004614b0f565b611de9565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd13546102a9565b6103056105bf366004614a4b565b611e4c565b6103056105d2366004614b4c565b611e60565b6103056105e5366004614b81565b611eb9565b6102a96105f83660046144c0565b60009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd17602052604090205490565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd11546102a9565b6102a961065e3660046144c0565b611ec4565b6103bf6106713660046144c0565b60009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd14602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6103056106c6366004614494565b6121eb565b6103056121ff565b61031a612313565b6102cf6106e9366004614bad565b73ffffffffffffffffffffffffffffffffffffffff91821660009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1b6020908152604080832093909416825291909152205460ff1690565b610305610751366004614bd7565b6123c7565b61030561076436600461487c565b6124e3565b610305610777366004614c3c565b612549565b600073ffffffffffffffffffffffffffffffffffffffff8316610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f45524331313535576974685465726d696e757353746f726167653a2062616c6160448201527f6e636520717565727920666f7220746865207a65726f2061646472657373000060648201526084015b60405180910390fd5b5060008181527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd186020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061091057507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061087757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610877565b600061096c838361260a565b9392505050565b61097b6126d2565b3373ffffffffffffffffffffffffffffffffffffffff831614610a46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f5465726d696e757346616365743a2077697468647261775061796d656e74732060448201527f2d2d20436f6e74726f6c6c65722063616e206f6e6c792077697468647261772060648201527f746f2073656c6600000000000000000000000000000000000000000000000000608482015260a40161081d565b6000610a50612773565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590529192509082169063a9059cbb906044016020604051808303816000875af1158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed9190614c6f565b50505050565b60008181527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1560205260409020805460609190610b2f90614c8c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b90614c8c565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b50505050509050919050565b60005b8351811015610c7957610be3848281518110610bd557610bd5614cdf565b602002602001015133610960565b610c7157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f5465726d696e757346616365743a206d696e744261746368202d2d2063616c6c60448201527f6572206973206e656974686572206f776e6572206e6f7220617070726f766564606482015260840161081d565b600101610bb7565b50610aed84848484612840565b610c908233612c6e565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1c6020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555050565b5050565b8051825114610dc3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f5465726d696e757346616365743a205f706f6f6c4d696e744261746368202d2d60448201527f20746f41646472657373657320616e6420616d6f756e7473206c656e6774682060648201527f6d69736d61746368000000000000000000000000000000000000000000000000608482015260a40161081d565b33610dce8482610960565b610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f5465726d696e757346616365743a20706f6f6c4d696e744261746368202d2d20908201527f63616c6c6572206973206e656974686572206f776e6572206e6f72206170707260648201527f6f76656400000000000000000000000000000000000000000000000000000000608482015260a40161081d565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd106000805b8551821015611062576000868381518110610ec357610ec3614cdf565b602002602001015190506000868481518110610ee157610ee1614cdf565b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fa7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f5465726d696e757346616365743a205f706f6f6c4d696e744261746368202d2d60448201527f2063616e6e6f74206d696e7420746f207a65726f206164647265737300000000606482015260840161081d565b610fb18184614d3d565b60008a8152600887016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812080549295508392909190610ff7908490614d3d565b9091555050604080518a81526020810183905273ffffffffffffffffffffffffffffffffffffffff80851692600092918a16917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050600190910190610ea6565b6000878152600684016020908152604080832054600787019092529091205461108c908390614d3d565b1115611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f5465726d696e757346616365743a205f706f6f6c4d696e744261746368202d2d60448201527f204d696e74656420746f6b656e7320776f756c642065786365656420706f6f6c60648201527f2063617061636974790000000000000000000000000000000000000000000000608482015260a40161081d565b600087815260078401602052604081208054839290611160908490614d3d565b925050819055508373ffffffffffffffffffffffffffffffffffffffff16877fba62777935b5e992de16a785941daef9f13517ff268a40563288072025b50238600089896040516111b393929190614d50565b60405180910390a350505050505050565b6111ce8233612c6e565b60009182527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1a602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b73ffffffffffffffffffffffffffffffffffffffff851633148061129e575073ffffffffffffffffffffffffffffffffffffffff851660009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1b6020908152604080832033845290915290205460ff165b611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f45524331313535576974685465726d696e757353746f726167653a207472616e60448201527f736665722063616c6c6572206973206e6f74206f776e6572206e6f722061707060648201527f726f766564000000000000000000000000000000000000000000000000000000608482015260a40161081d565b61135d8585858585612d64565b5050505050565b600061136e6126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd13547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1090801561167a5760006113c2612773565b90508173ffffffffffffffffffffffffffffffffffffffff821663dd62ed3e336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa158015611451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114759190614dcd565b1015611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f5465726d696e757346616365743a20637265617465506f6f6c5631202d2d204960448201527f6e73756666696369656e7420616c6c6f77616e6365206f6e207061796d656e7460648201527f20746f6b656e0000000000000000000000000000000000000000000000000000608482015260a40161081d565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905273ffffffffffffffffffffffffffffffffffffffff8216906323b872dd906064016020604051808303816000875af11580156115a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c69190614c6f565b611678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f5465726d696e757346616365743a20637265617465506f6f6c5631202d2d205460448201527f72616e73666572206f66207061796d656e7420746f6b656e2077617320756e7360648201527f75636365737366756c0000000000000000000000000000000000000000000000608482015260a40161081d565b505b6000611685876131f6565b9050856116c6576000818152600984016020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b8415611706576000818152600a84016020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b9695505050505050565b606081518351146117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f45524331313535576974685465726d696e757353746f726167653a206163636f60448201527f756e747320616e6420696473206c656e677468206d69736d6174636800000000606482015260840161081d565b6000835167ffffffffffffffff8111156117bf576117bf614550565b6040519080825280602002602001820160405280156117e8578160200160208202803683370190505b50905060005b84518110156118585761183385828151811061180c5761180c614cdf565b602002602001015185838151811061182657611826614cdf565b602002602001015161077c565b82828151811061184557611845614cdf565b60209081029190910101526001016117ee565b509392505050565b6118686126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6118d88333610960565b611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f5465726d696e757346616365743a206d696e74202d2d2063616c6c657220697360448201527f206e656974686572206f776e6572206e6f7220617070726f7665640000000000606482015260840161081d565b610aed84848484613286565b6119786126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1355565b60006119a66126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd13547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd10908015611cb25760006119fa612773565b90508173ffffffffffffffffffffffffffffffffffffffff821663dd62ed3e336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa158015611a89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aad9190614dcd565b1015611b61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f5465726d696e757346616365743a20637265617465506f6f6c5632202d2d204960448201527f6e73756666696369656e7420616c6c6f77616e6365206f6e207061796d656e7460648201527f20746f6b656e0000000000000000000000000000000000000000000000000000608482015260a40161081d565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905273ffffffffffffffffffffffffffffffffffffffff8216906323b872dd906064016020604051808303816000875af1158015611bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfe9190614c6f565b611cb0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f5465726d696e757346616365743a20637265617465506f6f6c5632202d2d205460448201527f72616e73666572206f66207061796d656e7420746f6b656e2077617320756e7360648201527f75636365737366756c0000000000000000000000000000000000000000000000608482015260a40161081d565b505b6000611cbd886131f6565b905086611cfe576000818152600984016020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b8515611d3e576000818152600a84016020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b60008181526005840160205260409020611d588682614e2e565b50979650505050505050565b611d6e8233612c6e565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1c6020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050565b611df38233612c6e565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd15602052604090207ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1090610aed8382614e2e565b611e546126d2565b611e5d81613551565b50565b611e686126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd107ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1d611eb48382614e2e565b505050565b610d083383836135e7565b6000611ece6126d2565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd13547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109080156121da576000611f22612773565b90508173ffffffffffffffffffffffffffffffffffffffff821663dd62ed3e336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa158015611fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd59190614dcd565b1015612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5465726d696e757346616365743a2063726561746553696d706c65506f6f6c2060448201527f2d2d20496e73756666696369656e7420616c6c6f77616e6365206f6e2070617960648201527f6d656e7420746f6b656e00000000000000000000000000000000000000000000608482015260a40161081d565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905273ffffffffffffffffffffffffffffffffffffffff8216906323b872dd906064016020604051808303816000875af1158015612102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121269190614c6f565b6121d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f5465726d696e757346616365743a2063726561746553696d706c65506f6f6c2060448201527f2d2d205472616e73666572206f66207061796d656e7420746f6b656e2077617360648201527f20756e7375636365737366756c00000000000000000000000000000000000000608482015260a40161081d565b505b6121e3846131f6565b949350505050565b6121f58233612c6e565b610d08828261377e565b612207613844565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f6020527f845f7f8d885943dffdc1524acbd9538b2923f93aad26d306df3b8982c7f0632d805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821681179092557f0e89341c000000000000000000000000000000000000000000000000000000006000527fcda23395996795f7b8155822fcc6171125c877448c68566f10ccabd60b06eb27805490911690911790557ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055565b60607ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd10600d01805461234490614c8c565b80601f016020809104026020016040519081016040528092919081815260200182805461237090614c8c565b80156123bd5780601f10612392576101008083540402835291602001916123bd565b820191906000526020600020905b8154815290600101906020018083116123a057829003601f168201915b5050505050905090565b73ffffffffffffffffffffffffffffffffffffffff851633148061243a575073ffffffffffffffffffffffffffffffffffffffff851660009081527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1b6020908152604080832033845290915290205460ff165b8061244a575061244a8333610960565b6124d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f45524331313535576974685465726d696e757353746f726167653a2063616c6c60448201527f6572206973206e6f74206f776e6572206e6f7220617070726f76656400000000606482015260840161081d565b61135d858585858561390f565b6124ed8233612c6e565b60009182527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd19602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115919091179055565b3373ffffffffffffffffffffffffffffffffffffffff841681148061257357506125738382610960565b6125ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f5465726d696e757346616365743a206275726e202d2d2063616c6c657220697360448201527f206e656974686572206f776e6572206e6f7220617070726f7665640000000000606482015260840161081d565b610aed848484613c4f565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1460205260408120547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109073ffffffffffffffffffffffffffffffffffffffff90811690841603612684576001915050610877565b6000848152600c82016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290205460ff16156126c8576001915050610877565b5060009392505050565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd10805473ffffffffffffffffffffffffffffffffffffffff163314611e5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c69625465726d696e75733a204d75737420626520636f6e74726f6c6c657200604482015260640161081d565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd125460009073ffffffffffffffffffffffffffffffffffffffff168061283b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f5465726d696e757346616365743a205061796d656e7420746f6b656e2068617360448201527f206e6f74206265656e2073657400000000000000000000000000000000000000606482015260840161081d565b919050565b73ffffffffffffffffffffffffffffffffffffffff84166128e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f45524331313535576974685465726d696e757353746f726167653a206d696e7460448201527f20746f20746865207a65726f2061646472657373000000000000000000000000606482015260840161081d565b8151835114612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f45524331313535576974685465726d696e757353746f726167653a206964732060448201527f616e6420616d6f756e7473206c656e677468206d69736d617463680000000000606482015260840161081d565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd103360005b8551811015612bd7578260060160008783815181106129ba576129ba614cdf565b60200260200101518152602001908152602001600020548582815181106129e3576129e3614cdf565b6020026020010151846007016000898581518110612a0357612a03614cdf565b6020026020010151815260200190815260200160002054612a249190614d3d565b1115612ad8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605260248201527f45524331313535576974685465726d696e757353746f726167653a205f6d696e60448201527f744261746368202d2d204d696e74656420746f6b656e7320776f756c6420657860648201527f6365656420706f6f6c2063617061636974790000000000000000000000000000608482015260a40161081d565b848181518110612aea57612aea614cdf565b6020026020010151836007016000888481518110612b0a57612b0a614cdf565b602002602001015181526020019081526020016000206000828254612b2f9190614d3d565b92505081905550848181518110612b4857612b48614cdf565b6020026020010151836008016000888481518110612b6857612b68614cdf565b6020026020010151815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bca9190614d3d565b9091555050600101612999565b508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8888604051612c4f929190614f48565b60405180910390a4612c6681600088888888613f53565b505050505050565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1460205260409020547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109073ffffffffffffffffffffffffffffffffffffffff838116911614611eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4c69625465726d696e75733a204d75737420626520706f6f6c20636f6e74726f60448201527f6c6c657200000000000000000000000000000000000000000000000000000000606482015260840161081d565b8151835114612df5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f45524331313535576974685465726d696e757353746f726167653a206964732060448201527f616e6420616d6f756e7473206c656e677468206d69736d617463680000000000606482015260840161081d565b73ffffffffffffffffffffffffffffffffffffffff8416612e98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f45524331313535576974685465726d696e757353746f726167653a207472616e60448201527f7366657220746f20746865207a65726f20616464726573730000000000000000606482015260840161081d565b337ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1060005b8551811015613160576000868281518110612eda57612eda614cdf565b602002602001015190506000868381518110612ef857612ef8614cdf565b60209081029190910181015160008481526009870190925260409091205490915060ff1615612fcf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f45524331313535576974685465726d696e757353746f726167653a205f73616660448201527f6542617463685472616e7366657246726f6d202d2d20706f6f6c206973206e6f60648201527f74207472616e7366657261626c65000000000000000000000000000000000000608482015260a40161081d565b6000828152600885016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8e16845290915290205481811015613091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f45524331313535576974685465726d696e757353746f726167653a20696e737560448201527f6666696369656e742062616c616e636520666f72207472616e73666572000000606482015260840161081d565b81810385600801600085815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508185600801600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461314c9190614d3d565b909155505060019093019250612ebd915050565b508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb88886040516131d7929190614f48565b60405180910390a46131ed828888888888613f53565b50505050505050565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd11546000907ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1090829061324a906001614d3d565b9050613256813361377e565b600081815260068301602052604081208590556001830180549161327983614f76565b9091555090949350505050565b73ffffffffffffffffffffffffffffffffffffffff8416613329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f45524331313535576974685465726d696e757353746f726167653a206d696e7460448201527f20746f20746865207a65726f2061646472657373000000000000000000000000606482015260840161081d565b60008381527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1660209081526040808320547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd17909252909120547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1091906133b0908590614d3d565b1115613464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f45524331313535576974685465726d696e757353746f726167653a205f6d696e60448201527f74202d2d204d696e74656420746f6b656e7320776f756c64206578636565642060648201527f706f6f6c20636170616369747900000000000000000000000000000000000000608482015260a40161081d565b3361347e8160008861347589614203565b61135d89614203565b60008581526007830160205260408120805486929061349e908490614d3d565b90915550506000858152600883016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152812080548692906134e4908490614d3d565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff80891692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612c668160008888888861424e565b7ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff848116918217845560405192169182907fa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f290600090a3505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f45524331313535576974685465726d696e757353746f726167653a207365747460448201527f696e6720617070726f76616c2073746174757320666f722073656c6600000000606482015260840161081d565b73ffffffffffffffffffffffffffffffffffffffff83811660008181527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1b602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155825190815291517ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109493927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3192908290030190a350505050565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd146020526040808220805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff00000000000000000000000000000000000000008316811790935592517ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd10949390911692839187917fbb8e9c3c4a526b28a6b555c4def50ebda6412e188a3836bb2fbe72fd3757844291a450505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff16331461390d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840161081d565b565b73ffffffffffffffffffffffffffffffffffffffff84166139b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f45524331313535576974685465726d696e757353746f726167653a207472616e60448201527f7366657220746f20746865207a65726f20616464726573730000000000000000606482015260840161081d565b60008381527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1960205260409020547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109060ff1615613ab8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f45524331313535576974685465726d696e757353746f726167653a205f73616660448201527f655472616e7366657246726f6d202d2d20706f6f6c206973206e6f742074726160648201527f6e7366657261626c650000000000000000000000000000000000000000000000608482015260a40161081d565b33613ac881888861347589614203565b6000858152600883016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b16845290915290205484811015613b8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f45524331313535576974685465726d696e757353746f726167653a20696e737560448201527f6666696369656e742062616c616e636520666f72207472616e73666572000000606482015260840161081d565b6000868152600884016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c8116855292528083208885039055908916825281208054879290613bd8908490614d3d565b9091555050604080518781526020810187905273ffffffffffffffffffffffffffffffffffffffff808a16928b821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613c4582898989898961424e565b5050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316613cf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f45524331313535576974685465726d696e757353746f726167653a206275726e60448201527f2066726f6d20746865207a65726f206164647265737300000000000000000000606482015260840161081d565b60008281527ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd1a60205260409020547ffa8518a280120fdfaeca1e01615627dc31290bf234dcd1969ba07a186c72dd109060ff16613dd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f45524331313535576974685465726d696e757353746f726167653a205f62757260448201527f6e202d2d20706f6f6c206973206e6f74206275726e61626c6500000000000000606482015260840161081d565b33613e0181866000613de288614203565b613deb88614203565b5050604080516020810190915260009052505050565b6000848152600883016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915290205483811015613ec3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f45524331313535576974685465726d696e757353746f726167653a206275726e60448201527f20616d6f756e7420657863656564732062616c616e6365000000000000000000606482015260840161081d565b6000858152600884016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a8116808652918452828520898703905589855260078801845282852080548a9003905582518a81529384018990529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15612c66576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190613fca9089908990889088908890600401614fae565b6020604051808303816000875af1925050508015614023575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261402091810190615019565b60015b6141325761402f615036565b806308c379a0036140825750614043615052565b8061404e5750614084565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081d919061453d565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f45524331313535576974685465726d696e757353746f726167653a207472616e60448201527f7366657220746f206e6f6e2045524331313535526563656976657220696d706c60648201527f656d656e74657200000000000000000000000000000000000000000000000000608482015260a40161081d565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146131ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f45524331313535576974685465726d696e757353746f726167653a204552433160448201527f31353552656365697665722072656a656374656420746f6b656e730000000000606482015260840161081d565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061423d5761423d614cdf565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15612c66576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e61906142c590899089908890889088906004016150fa565b6020604051808303816000875af192505050801561431e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261431b91810190615019565b60015b61432a5761402f615036565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146131ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f45524331313535576974685465726d696e757353746f726167653a204552433160448201527f31353552656365697665722072656a656374656420746f6b656e730000000000606482015260840161081d565b803573ffffffffffffffffffffffffffffffffffffffff8116811461283b57600080fd5b6000806040838503121561443257600080fd5b61443b836143fb565b946020939093013593505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611e5d57600080fd5b60006020828403121561448957600080fd5b813561096c81614449565b600080604083850312156144a757600080fd5b823591506144b7602084016143fb565b90509250929050565b6000602082840312156144d257600080fd5b5035919050565b6000815180845260005b818110156144ff576020818501810151868301820152016144e3565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60208152600061096c60208301846144d9565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156145c3576145c3614550565b6040525050565b600067ffffffffffffffff8211156145e4576145e4614550565b5060051b60200190565b600082601f8301126145ff57600080fd5b8135602061460c826145ca565b604051614619828261457f565b80915083815260208101915060208460051b87010193508684111561463d57600080fd5b602086015b848110156146595780358352918301918301614642565b509695505050505050565b600082601f83011261467557600080fd5b813567ffffffffffffffff81111561468f5761468f614550565b6040516146c460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116018261457f565b8181528460208386010111156146d957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561470c57600080fd5b614715856143fb565b9350602085013567ffffffffffffffff8082111561473257600080fd5b61473e888389016145ee565b9450604087013591508082111561475457600080fd5b614760888389016145ee565b9350606087013591508082111561477657600080fd5b5061478387828801614664565b91505092959194509250565b600082601f8301126147a057600080fd5b813560206147ad826145ca565b6040516147ba828261457f565b80915083815260208101915060208460051b8701019350868411156147de57600080fd5b602086015b84811015614659576147f4816143fb565b83529183019183016147e3565b60008060006060848603121561481657600080fd5b83359250602084013567ffffffffffffffff8082111561483557600080fd5b6148418783880161478f565b9350604086013591508082111561485757600080fd5b50614864868287016145ee565b9150509250925092565b8015158114611e5d57600080fd5b6000806040838503121561488f57600080fd5b8235915060208301356148a18161486e565b809150509250929050565b600080600080600060a086880312156148c457600080fd5b6148cd866143fb565b94506148db602087016143fb565b9350604086013567ffffffffffffffff808211156148f857600080fd5b61490489838a016145ee565b9450606088013591508082111561491a57600080fd5b61492689838a016145ee565b9350608088013591508082111561493c57600080fd5b5061494988828901614664565b9150509295509295909350565b60008060006060848603121561496b57600080fd5b83359250602084013561497d8161486e565b9150604084013561498d8161486e565b809150509250925092565b600080604083850312156149ab57600080fd5b823567ffffffffffffffff808211156149c357600080fd5b6149cf8683870161478f565b935060208501359150808211156149e557600080fd5b506149f2858286016145ee565b9150509250929050565b60008151808452602080850194506020840160005b83811015614a2d57815187529582019590820190600101614a11565b509495945050505050565b60208152600061096c60208301846149fc565b600060208284031215614a5d57600080fd5b61096c826143fb565b60008060008060808587031215614a7c57600080fd5b614a85856143fb565b93506020850135925060408501359150606085013567ffffffffffffffff811115614aaf57600080fd5b61478387828801614664565b60008060008060808587031215614ad157600080fd5b843593506020850135614ae38161486e565b92506040850135614af38161486e565b9150606085013567ffffffffffffffff811115614aaf57600080fd5b60008060408385031215614b2257600080fd5b82359150602083013567ffffffffffffffff811115614b4057600080fd5b6149f285828601614664565b600060208284031215614b5e57600080fd5b813567ffffffffffffffff811115614b7557600080fd5b6121e384828501614664565b60008060408385031215614b9457600080fd5b614b9d836143fb565b915060208301356148a18161486e565b60008060408385031215614bc057600080fd5b614bc9836143fb565b91506144b7602084016143fb565b600080600080600060a08688031215614bef57600080fd5b614bf8866143fb565b9450614c06602087016143fb565b93506040860135925060608601359150608086013567ffffffffffffffff811115614c3057600080fd5b61494988828901614664565b600080600060608486031215614c5157600080fd5b614c5a846143fb565b95602085013595506040909401359392505050565b600060208284031215614c8157600080fd5b815161096c8161486e565b600181811c90821680614ca057607f821691505b602082108103614cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561087757610877614d0e565b60006060820173ffffffffffffffffffffffffffffffffffffffff808716845260206060602086015282875180855260808701915060208901945060005b81811015614dac578551851683529483019491830191600101614d8e565b50508581036040870152614dc081886149fc565b9998505050505050505050565b600060208284031215614ddf57600080fd5b5051919050565b601f821115611eb4576000816000526020600020601f850160051c81016020861015614e0f5750805b601f850160051c820191505b81811015612c6657828155600101614e1b565b815167ffffffffffffffff811115614e4857614e48614550565b614e5c81614e568454614c8c565b84614de6565b602080601f831160018114614eaf5760008415614e795750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612c66565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015614efc57888601518255948401946001909101908401614edd565b5085821015614f3857878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b604081526000614f5b60408301856149fc565b8281036020840152614f6d81856149fc565b95945050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fa757614fa7614d0e565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a06040830152614fe760a08301866149fc565b8281036060840152614ff981866149fc565b9050828103608084015261500d81856144d9565b98975050505050505050565b60006020828403121561502b57600080fd5b815161096c81614449565b600060033d111561504f5760046000803e5060005160e01c5b90565b600060443d10156150605790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156150ae57505050505090565b82850191508151818111156150c65750505050505090565b843d87010160208285010111156150e05750505050505090565b6150ef6020828601018761457f565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261513f60a08301846144d9565b97965050505050505056fea264697066735822122084f799d76969aef473ad088cc7281ebf31a7aeb376fc6118b23d91db6e7c26a264736f6c63430008180033",
}

Functions

func CalculateSafeTxHash

func CalculateSafeTxHash(safeAddress common.Address, txData SafeTransactionData, chainID *big.Int) (common.Hash, error)

func CreateApproveForPoolCommand

func CreateApproveForPoolCommand() *cobra.Command

func CreateBalanceOfBatchCommand

func CreateBalanceOfBatchCommand() *cobra.Command

func CreateBalanceOfCommand

func CreateBalanceOfCommand() *cobra.Command

func CreateBurnCommand

func CreateBurnCommand() *cobra.Command

func CreateContractUriCommand

func CreateContractUriCommand() *cobra.Command

func CreateCreatePoolV1Command

func CreateCreatePoolV1Command() *cobra.Command

func CreateCreatePoolV2Command

func CreateCreatePoolV2Command() *cobra.Command

func CreateCreateSimplePoolCommand

func CreateCreateSimplePoolCommand() *cobra.Command

func CreateInitCommand

func CreateInitCommand() *cobra.Command

func CreateIsApprovedForAllCommand

func CreateIsApprovedForAllCommand() *cobra.Command

func CreateIsApprovedForPoolCommand

func CreateIsApprovedForPoolCommand() *cobra.Command

func CreateMintBatchCommand

func CreateMintBatchCommand() *cobra.Command

func CreateMintCommand

func CreateMintCommand() *cobra.Command

func CreatePaymentTokenCommand

func CreatePaymentTokenCommand() *cobra.Command

func CreatePoolBasePriceCommand

func CreatePoolBasePriceCommand() *cobra.Command

func CreatePoolIsBurnableCommand

func CreatePoolIsBurnableCommand() *cobra.Command

func CreatePoolIsTransferableCommand

func CreatePoolIsTransferableCommand() *cobra.Command

func CreatePoolMintBatchCommand

func CreatePoolMintBatchCommand() *cobra.Command

func CreateSafeBatchTransferFromCommand

func CreateSafeBatchTransferFromCommand() *cobra.Command

func CreateSafeProposal

func CreateSafeProposal(client *ethclient.Client, key *keystore.Key, safeAddress common.Address, to common.Address, data []byte, value *big.Int, safeApi string, safeOperationType SafeOperationType, safeNonce *big.Int) error

func CreateSafeTransferFromCommand

func CreateSafeTransferFromCommand() *cobra.Command

func CreateSetApprovalForAllCommand

func CreateSetApprovalForAllCommand() *cobra.Command

func CreateSetContractUriCommand

func CreateSetContractUriCommand() *cobra.Command

func CreateSetControllerCommand

func CreateSetControllerCommand() *cobra.Command

func CreateSetPaymentTokenCommand

func CreateSetPaymentTokenCommand() *cobra.Command

func CreateSetPoolBasePriceCommand

func CreateSetPoolBasePriceCommand() *cobra.Command

func CreateSetPoolBurnableCommand

func CreateSetPoolBurnableCommand() *cobra.Command

func CreateSetPoolControllerCommand

func CreateSetPoolControllerCommand() *cobra.Command

func CreateSetPoolTransferableCommand

func CreateSetPoolTransferableCommand() *cobra.Command

func CreateSetUriCommand

func CreateSetUriCommand() *cobra.Command

func CreateSupportsInterfaceCommand

func CreateSupportsInterfaceCommand() *cobra.Command

func CreateTerminusControllerCommand

func CreateTerminusControllerCommand() *cobra.Command

func CreateTerminusFacetCommand

func CreateTerminusFacetCommand() *cobra.Command

func CreateTerminusFacetDeploymentCommand

func CreateTerminusFacetDeploymentCommand() *cobra.Command

func CreateTerminusPoolCapacityCommand

func CreateTerminusPoolCapacityCommand() *cobra.Command

func CreateTerminusPoolControllerCommand

func CreateTerminusPoolControllerCommand() *cobra.Command

func CreateTerminusPoolSupplyCommand

func CreateTerminusPoolSupplyCommand() *cobra.Command

func CreateTotalPoolsCommand

func CreateTotalPoolsCommand() *cobra.Command

func CreateUnapproveForPoolCommand

func CreateUnapproveForPoolCommand() *cobra.Command

func CreateUriCommand

func CreateUriCommand() *cobra.Command

func CreateWithdrawPaymentsCommand

func CreateWithdrawPaymentsCommand() *cobra.Command

func DeployWithSafe

func DeployWithSafe(client *ethclient.Client, key *keystore.Key, safeAddress common.Address, factoryAddress common.Address, value *big.Int, safeApi string, deployBytecode []byte, safeOperationType SafeOperationType, salt [32]byte, safeNonce *big.Int) error

func KeyFromFile

func KeyFromFile(keystoreFile string, password string) (*keystore.Key, error)

Loads a key from file, prompting the user for the password if it is not provided as a function argument.

func NewChainContext

func NewChainContext(timeout uint) (context.Context, context.CancelFunc)

Creates a new context to be used when interacting with the chain client.

func NewClient

func NewClient(rpcURL string) (*ethclient.Client, error)

Generates an Ethereum client to the JSONRPC API at the given URL. If rpcURL is empty, then it attempts to read the RPC URL from the TERMINUS_FACET_RPC_URL environment variable. If that is empty, too, then it returns an error.

func PredictDeploymentAddressSafe

func PredictDeploymentAddressSafe(from common.Address, salt [32]byte, deployBytecode []byte) (common.Address, error)

func SetCallParametersFromArgs

func SetCallParametersFromArgs(opts *bind.CallOpts, pending bool, fromAddress, blockNumber string)

This method is used to set the parameters on a view call from command line arguments (represented mostly as strings).

func SetTransactionParametersFromArgs

func SetTransactionParametersFromArgs(opts *bind.TransactOpts, nonce, value, gasPrice, maxFeePerGas, maxPriorityFeePerGas string, gasLimit uint64, noSend bool)

This method is used to set the parameters on a transaction from command line arguments (represented mostly as strings).

func UnlockKeystore

func UnlockKeystore(keystoreData []byte, password string) (*keystore.Key, error)

Unlocks a key from a keystore (byte contents of a keystore file) with the given password.

Types

type SafeOperationType

type SafeOperationType uint8

SafeOperationType represents the type of operation for a Safe transaction

const (
	Call         SafeOperationType = 0
	DelegateCall SafeOperationType = 1
)

func (SafeOperationType) String

func (o SafeOperationType) String() string

String returns the string representation of the SafeOperationType

type SafeTransactionData

type SafeTransactionData struct {
	To             string            `json:"to"`
	Value          string            `json:"value"`
	Data           string            `json:"data"`
	Operation      SafeOperationType `json:"operation"`
	SafeTxGas      uint64            `json:"safeTxGas"`
	BaseGas        uint64            `json:"baseGas"`
	GasPrice       string            `json:"gasPrice"`
	GasToken       string            `json:"gasToken"`
	RefundReceiver string            `json:"refundReceiver"`
	Nonce          *big.Int          `json:"nonce"`
	SafeTxHash     string            `json:"safeTxHash"`
	Sender         string            `json:"sender"`
	Signature      string            `json:"signature"`
	Origin         string            `json:"origin"`
}

SafeTransactionData represents the data for a Safe transaction

type TerminusFacet

type TerminusFacet struct {
	TerminusFacetCaller     // Read-only binding to the contract
	TerminusFacetTransactor // Write-only binding to the contract
	TerminusFacetFilterer   // Log filterer for contract events
}

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

func DeployTerminusFacet

func DeployTerminusFacet(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TerminusFacet, error)

DeployTerminusFacet deploys a new Ethereum contract, binding an instance of TerminusFacet to it.

func NewTerminusFacet

func NewTerminusFacet(address common.Address, backend bind.ContractBackend) (*TerminusFacet, error)

NewTerminusFacet creates a new instance of TerminusFacet, bound to a specific deployed contract.

type TerminusFacetApprovalForAll

type TerminusFacetApprovalForAll struct {
	Account  common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

TerminusFacetApprovalForAll represents a ApprovalForAll event raised by the TerminusFacet contract.

type TerminusFacetApprovalForAllIterator

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

TerminusFacetApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the TerminusFacet contract.

func (*TerminusFacetApprovalForAllIterator) Close

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

func (*TerminusFacetApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetCaller

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

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

func NewTerminusFacetCaller

func NewTerminusFacetCaller(address common.Address, caller bind.ContractCaller) (*TerminusFacetCaller, error)

NewTerminusFacetCaller creates a new read-only instance of TerminusFacet, bound to a specific deployed contract.

func (*TerminusFacetCaller) BalanceOf

func (_TerminusFacet *TerminusFacetCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*TerminusFacetCaller) BalanceOfBatch

func (_TerminusFacet *TerminusFacetCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*TerminusFacetCaller) ContractURI

func (_TerminusFacet *TerminusFacetCaller) ContractURI(opts *bind.CallOpts) (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*TerminusFacetCaller) IsApprovedForAll

func (_TerminusFacet *TerminusFacetCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*TerminusFacetCaller) IsApprovedForPool

func (_TerminusFacet *TerminusFacetCaller) IsApprovedForPool(opts *bind.CallOpts, poolID *big.Int, operator common.Address) (bool, error)

IsApprovedForPool is a free data retrieval call binding the contract method 0x027b3fc2.

Solidity: function isApprovedForPool(uint256 poolID, address operator) view returns(bool)

func (*TerminusFacetCaller) PaymentToken

func (_TerminusFacet *TerminusFacetCaller) PaymentToken(opts *bind.CallOpts) (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*TerminusFacetCaller) PoolBasePrice

func (_TerminusFacet *TerminusFacetCaller) PoolBasePrice(opts *bind.CallOpts) (*big.Int, error)

PoolBasePrice is a free data retrieval call binding the contract method 0x8925d013.

Solidity: function poolBasePrice() view returns(uint256)

func (*TerminusFacetCaller) PoolIsBurnable

func (_TerminusFacet *TerminusFacetCaller) PoolIsBurnable(opts *bind.CallOpts, poolID *big.Int) (bool, error)

PoolIsBurnable is a free data retrieval call binding the contract method 0x3c50a3c5.

Solidity: function poolIsBurnable(uint256 poolID) view returns(bool)

func (*TerminusFacetCaller) PoolIsTransferable

func (_TerminusFacet *TerminusFacetCaller) PoolIsTransferable(opts *bind.CallOpts, poolID *big.Int) (bool, error)

PoolIsTransferable is a free data retrieval call binding the contract method 0x69453ce9.

Solidity: function poolIsTransferable(uint256 poolID) view returns(bool)

func (*TerminusFacetCaller) SupportsInterface

func (_TerminusFacet *TerminusFacetCaller) 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)

func (*TerminusFacetCaller) TerminusController

func (_TerminusFacet *TerminusFacetCaller) TerminusController(opts *bind.CallOpts) (common.Address, error)

TerminusController is a free data retrieval call binding the contract method 0x366e59e3.

Solidity: function terminusController() view returns(address)

func (*TerminusFacetCaller) TerminusPoolCapacity

func (_TerminusFacet *TerminusFacetCaller) TerminusPoolCapacity(opts *bind.CallOpts, poolID *big.Int) (*big.Int, error)

TerminusPoolCapacity is a free data retrieval call binding the contract method 0x5dc8bdf8.

Solidity: function terminusPoolCapacity(uint256 poolID) view returns(uint256)

func (*TerminusFacetCaller) TerminusPoolController

func (_TerminusFacet *TerminusFacetCaller) TerminusPoolController(opts *bind.CallOpts, poolID *big.Int) (common.Address, error)

TerminusPoolController is a free data retrieval call binding the contract method 0xd0c402e5.

Solidity: function terminusPoolController(uint256 poolID) view returns(address)

func (*TerminusFacetCaller) TerminusPoolSupply

func (_TerminusFacet *TerminusFacetCaller) TerminusPoolSupply(opts *bind.CallOpts, poolID *big.Int) (*big.Int, error)

TerminusPoolSupply is a free data retrieval call binding the contract method 0xa44cfc82.

Solidity: function terminusPoolSupply(uint256 poolID) view returns(uint256)

func (*TerminusFacetCaller) TotalPools

func (_TerminusFacet *TerminusFacetCaller) TotalPools(opts *bind.CallOpts) (*big.Int, error)

TotalPools is a free data retrieval call binding the contract method 0xab3c7e52.

Solidity: function totalPools() view returns(uint256)

func (*TerminusFacetCaller) Uri

func (_TerminusFacet *TerminusFacetCaller) Uri(opts *bind.CallOpts, poolID *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 poolID) view returns(string)

type TerminusFacetCallerRaw

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

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

func (*TerminusFacetCallerRaw) Call

func (_TerminusFacet *TerminusFacetCallerRaw) 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 TerminusFacetCallerSession

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

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

func (*TerminusFacetCallerSession) BalanceOf

func (_TerminusFacet *TerminusFacetCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*TerminusFacetCallerSession) BalanceOfBatch

func (_TerminusFacet *TerminusFacetCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*TerminusFacetCallerSession) ContractURI

func (_TerminusFacet *TerminusFacetCallerSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*TerminusFacetCallerSession) IsApprovedForAll

func (_TerminusFacet *TerminusFacetCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*TerminusFacetCallerSession) IsApprovedForPool

func (_TerminusFacet *TerminusFacetCallerSession) IsApprovedForPool(poolID *big.Int, operator common.Address) (bool, error)

IsApprovedForPool is a free data retrieval call binding the contract method 0x027b3fc2.

Solidity: function isApprovedForPool(uint256 poolID, address operator) view returns(bool)

func (*TerminusFacetCallerSession) PaymentToken

func (_TerminusFacet *TerminusFacetCallerSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*TerminusFacetCallerSession) PoolBasePrice

func (_TerminusFacet *TerminusFacetCallerSession) PoolBasePrice() (*big.Int, error)

PoolBasePrice is a free data retrieval call binding the contract method 0x8925d013.

Solidity: function poolBasePrice() view returns(uint256)

func (*TerminusFacetCallerSession) PoolIsBurnable

func (_TerminusFacet *TerminusFacetCallerSession) PoolIsBurnable(poolID *big.Int) (bool, error)

PoolIsBurnable is a free data retrieval call binding the contract method 0x3c50a3c5.

Solidity: function poolIsBurnable(uint256 poolID) view returns(bool)

func (*TerminusFacetCallerSession) PoolIsTransferable

func (_TerminusFacet *TerminusFacetCallerSession) PoolIsTransferable(poolID *big.Int) (bool, error)

PoolIsTransferable is a free data retrieval call binding the contract method 0x69453ce9.

Solidity: function poolIsTransferable(uint256 poolID) view returns(bool)

func (*TerminusFacetCallerSession) SupportsInterface

func (_TerminusFacet *TerminusFacetCallerSession) 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)

func (*TerminusFacetCallerSession) TerminusController

func (_TerminusFacet *TerminusFacetCallerSession) TerminusController() (common.Address, error)

TerminusController is a free data retrieval call binding the contract method 0x366e59e3.

Solidity: function terminusController() view returns(address)

func (*TerminusFacetCallerSession) TerminusPoolCapacity

func (_TerminusFacet *TerminusFacetCallerSession) TerminusPoolCapacity(poolID *big.Int) (*big.Int, error)

TerminusPoolCapacity is a free data retrieval call binding the contract method 0x5dc8bdf8.

Solidity: function terminusPoolCapacity(uint256 poolID) view returns(uint256)

func (*TerminusFacetCallerSession) TerminusPoolController

func (_TerminusFacet *TerminusFacetCallerSession) TerminusPoolController(poolID *big.Int) (common.Address, error)

TerminusPoolController is a free data retrieval call binding the contract method 0xd0c402e5.

Solidity: function terminusPoolController(uint256 poolID) view returns(address)

func (*TerminusFacetCallerSession) TerminusPoolSupply

func (_TerminusFacet *TerminusFacetCallerSession) TerminusPoolSupply(poolID *big.Int) (*big.Int, error)

TerminusPoolSupply is a free data retrieval call binding the contract method 0xa44cfc82.

Solidity: function terminusPoolSupply(uint256 poolID) view returns(uint256)

func (*TerminusFacetCallerSession) TotalPools

func (_TerminusFacet *TerminusFacetCallerSession) TotalPools() (*big.Int, error)

TotalPools is a free data retrieval call binding the contract method 0xab3c7e52.

Solidity: function totalPools() view returns(uint256)

func (*TerminusFacetCallerSession) Uri

func (_TerminusFacet *TerminusFacetCallerSession) Uri(poolID *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 poolID) view returns(string)

type TerminusFacetControlTransferred

type TerminusFacetControlTransferred struct {
	PreviousController common.Address
	NewController      common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

TerminusFacetControlTransferred represents a ControlTransferred event raised by the TerminusFacet contract.

type TerminusFacetControlTransferredIterator

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

TerminusFacetControlTransferredIterator is returned from FilterControlTransferred and is used to iterate over the raw logs and unpacked data for ControlTransferred events raised by the TerminusFacet contract.

func (*TerminusFacetControlTransferredIterator) Close

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

func (*TerminusFacetControlTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetControlTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetFilterer

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

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

func NewTerminusFacetFilterer

func NewTerminusFacetFilterer(address common.Address, filterer bind.ContractFilterer) (*TerminusFacetFilterer, error)

NewTerminusFacetFilterer creates a new log filterer instance of TerminusFacet, bound to a specific deployed contract.

func (*TerminusFacetFilterer) FilterApprovalForAll

func (_TerminusFacet *TerminusFacetFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*TerminusFacetApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*TerminusFacetFilterer) FilterControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) FilterControlTransferred(opts *bind.FilterOpts, previousController []common.Address, newController []common.Address) (*TerminusFacetControlTransferredIterator, error)

FilterControlTransferred is a free log retrieval operation binding the contract event 0xa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f2.

Solidity: event ControlTransferred(address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) FilterPoolControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) FilterPoolControlTransferred(opts *bind.FilterOpts, poolID []*big.Int, previousController []common.Address, newController []common.Address) (*TerminusFacetPoolControlTransferredIterator, error)

FilterPoolControlTransferred is a free log retrieval operation binding the contract event 0xbb8e9c3c4a526b28a6b555c4def50ebda6412e188a3836bb2fbe72fd37578442.

Solidity: event PoolControlTransferred(uint256 indexed poolID, address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) FilterPoolMintBatch

func (_TerminusFacet *TerminusFacetFilterer) FilterPoolMintBatch(opts *bind.FilterOpts, id []*big.Int, operator []common.Address) (*TerminusFacetPoolMintBatchIterator, error)

FilterPoolMintBatch is a free log retrieval operation binding the contract event 0xba62777935b5e992de16a785941daef9f13517ff268a40563288072025b50238.

Solidity: event PoolMintBatch(uint256 indexed id, address indexed operator, address from, address[] toAddresses, uint256[] amounts)

func (*TerminusFacetFilterer) FilterTransferBatch

func (_TerminusFacet *TerminusFacetFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*TerminusFacetTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*TerminusFacetFilterer) FilterTransferSingle

func (_TerminusFacet *TerminusFacetFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*TerminusFacetTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*TerminusFacetFilterer) FilterURI

func (_TerminusFacet *TerminusFacetFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*TerminusFacetURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*TerminusFacetFilterer) ParseApprovalForAll

func (_TerminusFacet *TerminusFacetFilterer) ParseApprovalForAll(log types.Log) (*TerminusFacetApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*TerminusFacetFilterer) ParseControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) ParseControlTransferred(log types.Log) (*TerminusFacetControlTransferred, error)

ParseControlTransferred is a log parse operation binding the contract event 0xa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f2.

Solidity: event ControlTransferred(address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) ParsePoolControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) ParsePoolControlTransferred(log types.Log) (*TerminusFacetPoolControlTransferred, error)

ParsePoolControlTransferred is a log parse operation binding the contract event 0xbb8e9c3c4a526b28a6b555c4def50ebda6412e188a3836bb2fbe72fd37578442.

Solidity: event PoolControlTransferred(uint256 indexed poolID, address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) ParsePoolMintBatch

func (_TerminusFacet *TerminusFacetFilterer) ParsePoolMintBatch(log types.Log) (*TerminusFacetPoolMintBatch, error)

ParsePoolMintBatch is a log parse operation binding the contract event 0xba62777935b5e992de16a785941daef9f13517ff268a40563288072025b50238.

Solidity: event PoolMintBatch(uint256 indexed id, address indexed operator, address from, address[] toAddresses, uint256[] amounts)

func (*TerminusFacetFilterer) ParseTransferBatch

func (_TerminusFacet *TerminusFacetFilterer) ParseTransferBatch(log types.Log) (*TerminusFacetTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*TerminusFacetFilterer) ParseTransferSingle

func (_TerminusFacet *TerminusFacetFilterer) ParseTransferSingle(log types.Log) (*TerminusFacetTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*TerminusFacetFilterer) ParseURI

func (_TerminusFacet *TerminusFacetFilterer) ParseURI(log types.Log) (*TerminusFacetURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*TerminusFacetFilterer) WatchApprovalForAll

func (_TerminusFacet *TerminusFacetFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *TerminusFacetApprovalForAll, account []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*TerminusFacetFilterer) WatchControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) WatchControlTransferred(opts *bind.WatchOpts, sink chan<- *TerminusFacetControlTransferred, previousController []common.Address, newController []common.Address) (event.Subscription, error)

WatchControlTransferred is a free log subscription operation binding the contract event 0xa06677f7b64342b4bcbde423684dbdb5356acfe41ad0285b6ecbe6dc4bf427f2.

Solidity: event ControlTransferred(address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) WatchPoolControlTransferred

func (_TerminusFacet *TerminusFacetFilterer) WatchPoolControlTransferred(opts *bind.WatchOpts, sink chan<- *TerminusFacetPoolControlTransferred, poolID []*big.Int, previousController []common.Address, newController []common.Address) (event.Subscription, error)

WatchPoolControlTransferred is a free log subscription operation binding the contract event 0xbb8e9c3c4a526b28a6b555c4def50ebda6412e188a3836bb2fbe72fd37578442.

Solidity: event PoolControlTransferred(uint256 indexed poolID, address indexed previousController, address indexed newController)

func (*TerminusFacetFilterer) WatchPoolMintBatch

func (_TerminusFacet *TerminusFacetFilterer) WatchPoolMintBatch(opts *bind.WatchOpts, sink chan<- *TerminusFacetPoolMintBatch, id []*big.Int, operator []common.Address) (event.Subscription, error)

WatchPoolMintBatch is a free log subscription operation binding the contract event 0xba62777935b5e992de16a785941daef9f13517ff268a40563288072025b50238.

Solidity: event PoolMintBatch(uint256 indexed id, address indexed operator, address from, address[] toAddresses, uint256[] amounts)

func (*TerminusFacetFilterer) WatchTransferBatch

func (_TerminusFacet *TerminusFacetFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *TerminusFacetTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*TerminusFacetFilterer) WatchTransferSingle

func (_TerminusFacet *TerminusFacetFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *TerminusFacetTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*TerminusFacetFilterer) WatchURI

func (_TerminusFacet *TerminusFacetFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *TerminusFacetURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type TerminusFacetPoolControlTransferred

type TerminusFacetPoolControlTransferred struct {
	PoolID             *big.Int
	PreviousController common.Address
	NewController      common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

TerminusFacetPoolControlTransferred represents a PoolControlTransferred event raised by the TerminusFacet contract.

type TerminusFacetPoolControlTransferredIterator

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

TerminusFacetPoolControlTransferredIterator is returned from FilterPoolControlTransferred and is used to iterate over the raw logs and unpacked data for PoolControlTransferred events raised by the TerminusFacet contract.

func (*TerminusFacetPoolControlTransferredIterator) Close

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

func (*TerminusFacetPoolControlTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetPoolControlTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetPoolMintBatch

type TerminusFacetPoolMintBatch struct {
	Id          *big.Int
	Operator    common.Address
	From        common.Address
	ToAddresses []common.Address
	Amounts     []*big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

TerminusFacetPoolMintBatch represents a PoolMintBatch event raised by the TerminusFacet contract.

type TerminusFacetPoolMintBatchIterator

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

TerminusFacetPoolMintBatchIterator is returned from FilterPoolMintBatch and is used to iterate over the raw logs and unpacked data for PoolMintBatch events raised by the TerminusFacet contract.

func (*TerminusFacetPoolMintBatchIterator) Close

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

func (*TerminusFacetPoolMintBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetPoolMintBatchIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetRaw

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

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

func (*TerminusFacetRaw) Call

func (_TerminusFacet *TerminusFacetRaw) 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 (*TerminusFacetRaw) Transact

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

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

func (*TerminusFacetRaw) Transfer

func (_TerminusFacet *TerminusFacetRaw) 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 TerminusFacetSession

type TerminusFacetSession struct {
	Contract     *TerminusFacet    // 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
}

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

func (*TerminusFacetSession) ApproveForPool

func (_TerminusFacet *TerminusFacetSession) ApproveForPool(poolID *big.Int, operator common.Address) (*types.Transaction, error)

ApproveForPool is a paid mutator transaction binding the contract method 0x85bc82e2.

Solidity: function approveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetSession) BalanceOf

func (_TerminusFacet *TerminusFacetSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*TerminusFacetSession) BalanceOfBatch

func (_TerminusFacet *TerminusFacetSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*TerminusFacetSession) Burn

func (_TerminusFacet *TerminusFacetSession) Burn(from common.Address, poolID *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address from, uint256 poolID, uint256 amount) returns()

func (*TerminusFacetSession) ContractURI

func (_TerminusFacet *TerminusFacetSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*TerminusFacetSession) CreatePoolV1

func (_TerminusFacet *TerminusFacetSession) CreatePoolV1(_capacity *big.Int, _transferable bool, _burnable bool) (*types.Transaction, error)

CreatePoolV1 is a paid mutator transaction binding the contract method 0x3bad2d82.

Solidity: function createPoolV1(uint256 _capacity, bool _transferable, bool _burnable) returns(uint256)

func (*TerminusFacetSession) CreatePoolV2

func (_TerminusFacet *TerminusFacetSession) CreatePoolV2(_capacity *big.Int, _transferable bool, _burnable bool, poolURI string) (*types.Transaction, error)

CreatePoolV2 is a paid mutator transaction binding the contract method 0x84fa03a1.

Solidity: function createPoolV2(uint256 _capacity, bool _transferable, bool _burnable, string poolURI) returns(uint256)

func (*TerminusFacetSession) CreateSimplePool

func (_TerminusFacet *TerminusFacetSession) CreateSimplePool(_capacity *big.Int) (*types.Transaction, error)

CreateSimplePool is a paid mutator transaction binding the contract method 0xb507ef52.

Solidity: function createSimplePool(uint256 _capacity) returns(uint256)

func (*TerminusFacetSession) Init

func (_TerminusFacet *TerminusFacetSession) Init() (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TerminusFacetSession) IsApprovedForAll

func (_TerminusFacet *TerminusFacetSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*TerminusFacetSession) IsApprovedForPool

func (_TerminusFacet *TerminusFacetSession) IsApprovedForPool(poolID *big.Int, operator common.Address) (bool, error)

IsApprovedForPool is a free data retrieval call binding the contract method 0x027b3fc2.

Solidity: function isApprovedForPool(uint256 poolID, address operator) view returns(bool)

func (*TerminusFacetSession) Mint

func (_TerminusFacet *TerminusFacetSession) Mint(to common.Address, poolID *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address to, uint256 poolID, uint256 amount, bytes data) returns()

func (*TerminusFacetSession) MintBatch

func (_TerminusFacet *TerminusFacetSession) MintBatch(to common.Address, poolIDs []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] poolIDs, uint256[] amounts, bytes data) returns()

func (*TerminusFacetSession) PaymentToken

func (_TerminusFacet *TerminusFacetSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*TerminusFacetSession) PoolBasePrice

func (_TerminusFacet *TerminusFacetSession) PoolBasePrice() (*big.Int, error)

PoolBasePrice is a free data retrieval call binding the contract method 0x8925d013.

Solidity: function poolBasePrice() view returns(uint256)

func (*TerminusFacetSession) PoolIsBurnable

func (_TerminusFacet *TerminusFacetSession) PoolIsBurnable(poolID *big.Int) (bool, error)

PoolIsBurnable is a free data retrieval call binding the contract method 0x3c50a3c5.

Solidity: function poolIsBurnable(uint256 poolID) view returns(bool)

func (*TerminusFacetSession) PoolIsTransferable

func (_TerminusFacet *TerminusFacetSession) PoolIsTransferable(poolID *big.Int) (bool, error)

PoolIsTransferable is a free data retrieval call binding the contract method 0x69453ce9.

Solidity: function poolIsTransferable(uint256 poolID) view returns(bool)

func (*TerminusFacetSession) PoolMintBatch

func (_TerminusFacet *TerminusFacetSession) PoolMintBatch(id *big.Int, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

PoolMintBatch is a paid mutator transaction binding the contract method 0x21adca96.

Solidity: function poolMintBatch(uint256 id, address[] toAddresses, uint256[] amounts) returns()

func (*TerminusFacetSession) SafeBatchTransferFrom

func (_TerminusFacet *TerminusFacetSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*TerminusFacetSession) SafeTransferFrom

func (_TerminusFacet *TerminusFacetSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*TerminusFacetSession) SetApprovalForAll

func (_TerminusFacet *TerminusFacetSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*TerminusFacetSession) SetContractURI

func (_TerminusFacet *TerminusFacetSession) SetContractURI(_contractURI string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _contractURI) returns()

func (*TerminusFacetSession) SetController

func (_TerminusFacet *TerminusFacetSession) SetController(newController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address newController) returns()

func (*TerminusFacetSession) SetPaymentToken

func (_TerminusFacet *TerminusFacetSession) SetPaymentToken(newPaymentToken common.Address) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x6a326ab1.

Solidity: function setPaymentToken(address newPaymentToken) returns()

func (*TerminusFacetSession) SetPoolBasePrice

func (_TerminusFacet *TerminusFacetSession) SetPoolBasePrice(newBasePrice *big.Int) (*types.Transaction, error)

SetPoolBasePrice is a paid mutator transaction binding the contract method 0x78cf2e84.

Solidity: function setPoolBasePrice(uint256 newBasePrice) returns()

func (*TerminusFacetSession) SetPoolBurnable

func (_TerminusFacet *TerminusFacetSession) SetPoolBurnable(poolID *big.Int, burnable bool) (*types.Transaction, error)

SetPoolBurnable is a paid mutator transaction binding the contract method 0x2365c859.

Solidity: function setPoolBurnable(uint256 poolID, bool burnable) returns()

func (*TerminusFacetSession) SetPoolController

func (_TerminusFacet *TerminusFacetSession) SetPoolController(poolID *big.Int, newController common.Address) (*types.Transaction, error)

SetPoolController is a paid mutator transaction binding the contract method 0xdc55d0b2.

Solidity: function setPoolController(uint256 poolID, address newController) returns()

func (*TerminusFacetSession) SetPoolTransferable

func (_TerminusFacet *TerminusFacetSession) SetPoolTransferable(poolID *big.Int, transferable bool) (*types.Transaction, error)

SetPoolTransferable is a paid mutator transaction binding the contract method 0xf3dc0a85.

Solidity: function setPoolTransferable(uint256 poolID, bool transferable) returns()

func (*TerminusFacetSession) SetURI

func (_TerminusFacet *TerminusFacetSession) SetURI(poolID *big.Int, poolURI string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x862440e2.

Solidity: function setURI(uint256 poolID, string poolURI) returns()

func (*TerminusFacetSession) SupportsInterface

func (_TerminusFacet *TerminusFacetSession) 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)

func (*TerminusFacetSession) TerminusController

func (_TerminusFacet *TerminusFacetSession) TerminusController() (common.Address, error)

TerminusController is a free data retrieval call binding the contract method 0x366e59e3.

Solidity: function terminusController() view returns(address)

func (*TerminusFacetSession) TerminusPoolCapacity

func (_TerminusFacet *TerminusFacetSession) TerminusPoolCapacity(poolID *big.Int) (*big.Int, error)

TerminusPoolCapacity is a free data retrieval call binding the contract method 0x5dc8bdf8.

Solidity: function terminusPoolCapacity(uint256 poolID) view returns(uint256)

func (*TerminusFacetSession) TerminusPoolController

func (_TerminusFacet *TerminusFacetSession) TerminusPoolController(poolID *big.Int) (common.Address, error)

TerminusPoolController is a free data retrieval call binding the contract method 0xd0c402e5.

Solidity: function terminusPoolController(uint256 poolID) view returns(address)

func (*TerminusFacetSession) TerminusPoolSupply

func (_TerminusFacet *TerminusFacetSession) TerminusPoolSupply(poolID *big.Int) (*big.Int, error)

TerminusPoolSupply is a free data retrieval call binding the contract method 0xa44cfc82.

Solidity: function terminusPoolSupply(uint256 poolID) view returns(uint256)

func (*TerminusFacetSession) TotalPools

func (_TerminusFacet *TerminusFacetSession) TotalPools() (*big.Int, error)

TotalPools is a free data retrieval call binding the contract method 0xab3c7e52.

Solidity: function totalPools() view returns(uint256)

func (*TerminusFacetSession) UnapproveForPool

func (_TerminusFacet *TerminusFacetSession) UnapproveForPool(poolID *big.Int, operator common.Address) (*types.Transaction, error)

UnapproveForPool is a paid mutator transaction binding the contract method 0x1fbeae86.

Solidity: function unapproveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetSession) Uri

func (_TerminusFacet *TerminusFacetSession) Uri(poolID *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 poolID) view returns(string)

func (*TerminusFacetSession) WithdrawPayments

func (_TerminusFacet *TerminusFacetSession) WithdrawPayments(toAddress common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawPayments is a paid mutator transaction binding the contract method 0x0e7afec5.

Solidity: function withdrawPayments(address toAddress, uint256 amount) returns()

type TerminusFacetTransactor

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

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

func NewTerminusFacetTransactor

func NewTerminusFacetTransactor(address common.Address, transactor bind.ContractTransactor) (*TerminusFacetTransactor, error)

NewTerminusFacetTransactor creates a new write-only instance of TerminusFacet, bound to a specific deployed contract.

func (*TerminusFacetTransactor) ApproveForPool

func (_TerminusFacet *TerminusFacetTransactor) ApproveForPool(opts *bind.TransactOpts, poolID *big.Int, operator common.Address) (*types.Transaction, error)

ApproveForPool is a paid mutator transaction binding the contract method 0x85bc82e2.

Solidity: function approveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetTransactor) Burn

func (_TerminusFacet *TerminusFacetTransactor) Burn(opts *bind.TransactOpts, from common.Address, poolID *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address from, uint256 poolID, uint256 amount) returns()

func (*TerminusFacetTransactor) CreatePoolV1

func (_TerminusFacet *TerminusFacetTransactor) CreatePoolV1(opts *bind.TransactOpts, _capacity *big.Int, _transferable bool, _burnable bool) (*types.Transaction, error)

CreatePoolV1 is a paid mutator transaction binding the contract method 0x3bad2d82.

Solidity: function createPoolV1(uint256 _capacity, bool _transferable, bool _burnable) returns(uint256)

func (*TerminusFacetTransactor) CreatePoolV2

func (_TerminusFacet *TerminusFacetTransactor) CreatePoolV2(opts *bind.TransactOpts, _capacity *big.Int, _transferable bool, _burnable bool, poolURI string) (*types.Transaction, error)

CreatePoolV2 is a paid mutator transaction binding the contract method 0x84fa03a1.

Solidity: function createPoolV2(uint256 _capacity, bool _transferable, bool _burnable, string poolURI) returns(uint256)

func (*TerminusFacetTransactor) CreateSimplePool

func (_TerminusFacet *TerminusFacetTransactor) CreateSimplePool(opts *bind.TransactOpts, _capacity *big.Int) (*types.Transaction, error)

CreateSimplePool is a paid mutator transaction binding the contract method 0xb507ef52.

Solidity: function createSimplePool(uint256 _capacity) returns(uint256)

func (*TerminusFacetTransactor) Init

func (_TerminusFacet *TerminusFacetTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TerminusFacetTransactor) Mint

func (_TerminusFacet *TerminusFacetTransactor) Mint(opts *bind.TransactOpts, to common.Address, poolID *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address to, uint256 poolID, uint256 amount, bytes data) returns()

func (*TerminusFacetTransactor) MintBatch

func (_TerminusFacet *TerminusFacetTransactor) MintBatch(opts *bind.TransactOpts, to common.Address, poolIDs []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] poolIDs, uint256[] amounts, bytes data) returns()

func (*TerminusFacetTransactor) PoolMintBatch

func (_TerminusFacet *TerminusFacetTransactor) PoolMintBatch(opts *bind.TransactOpts, id *big.Int, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

PoolMintBatch is a paid mutator transaction binding the contract method 0x21adca96.

Solidity: function poolMintBatch(uint256 id, address[] toAddresses, uint256[] amounts) returns()

func (*TerminusFacetTransactor) SafeBatchTransferFrom

func (_TerminusFacet *TerminusFacetTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*TerminusFacetTransactor) SafeTransferFrom

func (_TerminusFacet *TerminusFacetTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*TerminusFacetTransactor) SetApprovalForAll

func (_TerminusFacet *TerminusFacetTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*TerminusFacetTransactor) SetContractURI

func (_TerminusFacet *TerminusFacetTransactor) SetContractURI(opts *bind.TransactOpts, _contractURI string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _contractURI) returns()

func (*TerminusFacetTransactor) SetController

func (_TerminusFacet *TerminusFacetTransactor) SetController(opts *bind.TransactOpts, newController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address newController) returns()

func (*TerminusFacetTransactor) SetPaymentToken

func (_TerminusFacet *TerminusFacetTransactor) SetPaymentToken(opts *bind.TransactOpts, newPaymentToken common.Address) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x6a326ab1.

Solidity: function setPaymentToken(address newPaymentToken) returns()

func (*TerminusFacetTransactor) SetPoolBasePrice

func (_TerminusFacet *TerminusFacetTransactor) SetPoolBasePrice(opts *bind.TransactOpts, newBasePrice *big.Int) (*types.Transaction, error)

SetPoolBasePrice is a paid mutator transaction binding the contract method 0x78cf2e84.

Solidity: function setPoolBasePrice(uint256 newBasePrice) returns()

func (*TerminusFacetTransactor) SetPoolBurnable

func (_TerminusFacet *TerminusFacetTransactor) SetPoolBurnable(opts *bind.TransactOpts, poolID *big.Int, burnable bool) (*types.Transaction, error)

SetPoolBurnable is a paid mutator transaction binding the contract method 0x2365c859.

Solidity: function setPoolBurnable(uint256 poolID, bool burnable) returns()

func (*TerminusFacetTransactor) SetPoolController

func (_TerminusFacet *TerminusFacetTransactor) SetPoolController(opts *bind.TransactOpts, poolID *big.Int, newController common.Address) (*types.Transaction, error)

SetPoolController is a paid mutator transaction binding the contract method 0xdc55d0b2.

Solidity: function setPoolController(uint256 poolID, address newController) returns()

func (*TerminusFacetTransactor) SetPoolTransferable

func (_TerminusFacet *TerminusFacetTransactor) SetPoolTransferable(opts *bind.TransactOpts, poolID *big.Int, transferable bool) (*types.Transaction, error)

SetPoolTransferable is a paid mutator transaction binding the contract method 0xf3dc0a85.

Solidity: function setPoolTransferable(uint256 poolID, bool transferable) returns()

func (*TerminusFacetTransactor) SetURI

func (_TerminusFacet *TerminusFacetTransactor) SetURI(opts *bind.TransactOpts, poolID *big.Int, poolURI string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x862440e2.

Solidity: function setURI(uint256 poolID, string poolURI) returns()

func (*TerminusFacetTransactor) UnapproveForPool

func (_TerminusFacet *TerminusFacetTransactor) UnapproveForPool(opts *bind.TransactOpts, poolID *big.Int, operator common.Address) (*types.Transaction, error)

UnapproveForPool is a paid mutator transaction binding the contract method 0x1fbeae86.

Solidity: function unapproveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetTransactor) WithdrawPayments

func (_TerminusFacet *TerminusFacetTransactor) WithdrawPayments(opts *bind.TransactOpts, toAddress common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawPayments is a paid mutator transaction binding the contract method 0x0e7afec5.

Solidity: function withdrawPayments(address toAddress, uint256 amount) returns()

type TerminusFacetTransactorRaw

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

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

func (*TerminusFacetTransactorRaw) Transact

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

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

func (*TerminusFacetTransactorRaw) Transfer

func (_TerminusFacet *TerminusFacetTransactorRaw) 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 TerminusFacetTransactorSession

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

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

func (*TerminusFacetTransactorSession) ApproveForPool

func (_TerminusFacet *TerminusFacetTransactorSession) ApproveForPool(poolID *big.Int, operator common.Address) (*types.Transaction, error)

ApproveForPool is a paid mutator transaction binding the contract method 0x85bc82e2.

Solidity: function approveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetTransactorSession) Burn

func (_TerminusFacet *TerminusFacetTransactorSession) Burn(from common.Address, poolID *big.Int, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address from, uint256 poolID, uint256 amount) returns()

func (*TerminusFacetTransactorSession) CreatePoolV1

func (_TerminusFacet *TerminusFacetTransactorSession) CreatePoolV1(_capacity *big.Int, _transferable bool, _burnable bool) (*types.Transaction, error)

CreatePoolV1 is a paid mutator transaction binding the contract method 0x3bad2d82.

Solidity: function createPoolV1(uint256 _capacity, bool _transferable, bool _burnable) returns(uint256)

func (*TerminusFacetTransactorSession) CreatePoolV2

func (_TerminusFacet *TerminusFacetTransactorSession) CreatePoolV2(_capacity *big.Int, _transferable bool, _burnable bool, poolURI string) (*types.Transaction, error)

CreatePoolV2 is a paid mutator transaction binding the contract method 0x84fa03a1.

Solidity: function createPoolV2(uint256 _capacity, bool _transferable, bool _burnable, string poolURI) returns(uint256)

func (*TerminusFacetTransactorSession) CreateSimplePool

func (_TerminusFacet *TerminusFacetTransactorSession) CreateSimplePool(_capacity *big.Int) (*types.Transaction, error)

CreateSimplePool is a paid mutator transaction binding the contract method 0xb507ef52.

Solidity: function createSimplePool(uint256 _capacity) returns(uint256)

func (*TerminusFacetTransactorSession) Init

func (_TerminusFacet *TerminusFacetTransactorSession) Init() (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TerminusFacetTransactorSession) Mint

func (_TerminusFacet *TerminusFacetTransactorSession) Mint(to common.Address, poolID *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address to, uint256 poolID, uint256 amount, bytes data) returns()

func (*TerminusFacetTransactorSession) MintBatch

func (_TerminusFacet *TerminusFacetTransactorSession) MintBatch(to common.Address, poolIDs []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] poolIDs, uint256[] amounts, bytes data) returns()

func (*TerminusFacetTransactorSession) PoolMintBatch

func (_TerminusFacet *TerminusFacetTransactorSession) PoolMintBatch(id *big.Int, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

PoolMintBatch is a paid mutator transaction binding the contract method 0x21adca96.

Solidity: function poolMintBatch(uint256 id, address[] toAddresses, uint256[] amounts) returns()

func (*TerminusFacetTransactorSession) SafeBatchTransferFrom

func (_TerminusFacet *TerminusFacetTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*TerminusFacetTransactorSession) SafeTransferFrom

func (_TerminusFacet *TerminusFacetTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*TerminusFacetTransactorSession) SetApprovalForAll

func (_TerminusFacet *TerminusFacetTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*TerminusFacetTransactorSession) SetContractURI

func (_TerminusFacet *TerminusFacetTransactorSession) SetContractURI(_contractURI string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _contractURI) returns()

func (*TerminusFacetTransactorSession) SetController

func (_TerminusFacet *TerminusFacetTransactorSession) SetController(newController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address newController) returns()

func (*TerminusFacetTransactorSession) SetPaymentToken

func (_TerminusFacet *TerminusFacetTransactorSession) SetPaymentToken(newPaymentToken common.Address) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x6a326ab1.

Solidity: function setPaymentToken(address newPaymentToken) returns()

func (*TerminusFacetTransactorSession) SetPoolBasePrice

func (_TerminusFacet *TerminusFacetTransactorSession) SetPoolBasePrice(newBasePrice *big.Int) (*types.Transaction, error)

SetPoolBasePrice is a paid mutator transaction binding the contract method 0x78cf2e84.

Solidity: function setPoolBasePrice(uint256 newBasePrice) returns()

func (*TerminusFacetTransactorSession) SetPoolBurnable

func (_TerminusFacet *TerminusFacetTransactorSession) SetPoolBurnable(poolID *big.Int, burnable bool) (*types.Transaction, error)

SetPoolBurnable is a paid mutator transaction binding the contract method 0x2365c859.

Solidity: function setPoolBurnable(uint256 poolID, bool burnable) returns()

func (*TerminusFacetTransactorSession) SetPoolController

func (_TerminusFacet *TerminusFacetTransactorSession) SetPoolController(poolID *big.Int, newController common.Address) (*types.Transaction, error)

SetPoolController is a paid mutator transaction binding the contract method 0xdc55d0b2.

Solidity: function setPoolController(uint256 poolID, address newController) returns()

func (*TerminusFacetTransactorSession) SetPoolTransferable

func (_TerminusFacet *TerminusFacetTransactorSession) SetPoolTransferable(poolID *big.Int, transferable bool) (*types.Transaction, error)

SetPoolTransferable is a paid mutator transaction binding the contract method 0xf3dc0a85.

Solidity: function setPoolTransferable(uint256 poolID, bool transferable) returns()

func (*TerminusFacetTransactorSession) SetURI

func (_TerminusFacet *TerminusFacetTransactorSession) SetURI(poolID *big.Int, poolURI string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x862440e2.

Solidity: function setURI(uint256 poolID, string poolURI) returns()

func (*TerminusFacetTransactorSession) UnapproveForPool

func (_TerminusFacet *TerminusFacetTransactorSession) UnapproveForPool(poolID *big.Int, operator common.Address) (*types.Transaction, error)

UnapproveForPool is a paid mutator transaction binding the contract method 0x1fbeae86.

Solidity: function unapproveForPool(uint256 poolID, address operator) returns()

func (*TerminusFacetTransactorSession) WithdrawPayments

func (_TerminusFacet *TerminusFacetTransactorSession) WithdrawPayments(toAddress common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawPayments is a paid mutator transaction binding the contract method 0x0e7afec5.

Solidity: function withdrawPayments(address toAddress, uint256 amount) returns()

type TerminusFacetTransferBatch

type TerminusFacetTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

TerminusFacetTransferBatch represents a TransferBatch event raised by the TerminusFacet contract.

type TerminusFacetTransferBatchIterator

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

TerminusFacetTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the TerminusFacet contract.

func (*TerminusFacetTransferBatchIterator) Close

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

func (*TerminusFacetTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetTransferBatchIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetTransferSingle

type TerminusFacetTransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

TerminusFacetTransferSingle represents a TransferSingle event raised by the TerminusFacet contract.

type TerminusFacetTransferSingleIterator

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

TerminusFacetTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the TerminusFacet contract.

func (*TerminusFacetTransferSingleIterator) Close

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

func (*TerminusFacetTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetTransferSingleIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TerminusFacetURI

type TerminusFacetURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TerminusFacetURI represents a URI event raised by the TerminusFacet contract.

type TerminusFacetURIIterator

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

TerminusFacetURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the TerminusFacet contract.

func (*TerminusFacetURIIterator) Close

func (it *TerminusFacetURIIterator) Close() error

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

func (*TerminusFacetURIIterator) Error

func (it *TerminusFacetURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TerminusFacetURIIterator) Next

func (it *TerminusFacetURIIterator) 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.

Jump to

Keyboard shortcuts

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