lawless

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LawlessABI = LawlessMetaData.ABI

LawlessABI is the input ABI used to generate the binding from. Deprecated: Use LawlessMetaData.ABI instead.

View Source
var LawlessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"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\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"RoleLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"role\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"RoleUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CodexAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"addMetadataMod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"enumRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"addRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"users\",\"type\":\"address[]\"},{\"internalType\":\"enumRole[]\",\"name\":\"roles\",\"type\":\"uint8[]\"}],\"name\":\"addRoles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"width\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay1\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay2\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay3\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"maxScale\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"f1\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f2\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f3\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f4\",\"type\":\"bytes\"}],\"internalType\":\"structModel\",\"name\":\"model\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"palette\",\"type\":\"bytes\"}],\"name\":\"animatedGIF\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"authorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"seed\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"uint48[]\",\"name\":\"details\",\"type\":\"uint48[]\"}],\"name\":\"batchMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegationEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCustomAttributes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"modelId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paletteId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"version\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"details\",\"type\":\"uint48\"}],\"internalType\":\"structLawlessData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getDetails\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getLawlessId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getModel\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"width\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay1\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay2\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay3\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"maxScale\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"f1\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f2\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f3\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f4\",\"type\":\"bytes\"}],\"internalType\":\"structModel\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getPalette\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"enumRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"incrementVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"base\",\"type\":\"bool\"}],\"name\":\"lawlessGIF\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"lockRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumRole[]\",\"name\":\"roles\",\"type\":\"uint8[]\"}],\"name\":\"lockRoles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"seed\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"details\",\"type\":\"uint48\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"enumRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"removeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"users\",\"type\":\"address[]\"},{\"internalType\":\"enumRole[]\",\"name\":\"roles\",\"type\":\"uint8[]\"}],\"name\":\"removeRoles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"resolverClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"roleLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"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\":\"bool\",\"name\":\"value\",\"type\":\"bool\"}],\"name\":\"setB64EncodeURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"smashFlask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"width\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"height\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay1\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay2\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"aniDelay3\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticWidth\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticHeight\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetX\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"staticOffsetY\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"maxScale\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"f1\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f2\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f3\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"f4\",\"type\":\"bytes\"}],\"internalType\":\"structModel\",\"name\":\"model\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"palette\",\"type\":\"bytes\"}],\"name\":\"staticGIF\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"toPctString1000x\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"pct\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"base\",\"type\":\"bool\"}],\"name\":\"tokenGIF\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"Ex\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"details\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"incVersion\",\"type\":\"bool\"}],\"name\":\"updateDetails\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint48\",\"name\":\"count\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uploadModels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint48\",\"name\":\"count\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uploadPalettes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenContract\",\"type\":\"address\"}],\"name\":\"withdrawForeignERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"withdrawForeignERC721\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

LawlessMetaData contains all meta data concerning the Lawless contract.

Functions

This section is empty.

Types

type Lawless

type Lawless struct {
	LawlessCaller     // Read-only binding to the contract
	LawlessTransactor // Write-only binding to the contract
	LawlessFilterer   // Log filterer for contract events
}

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

func NewLawless

func NewLawless(address common.Address, backend bind.ContractBackend) (*Lawless, error)

NewLawless creates a new instance of Lawless, bound to a specific deployed contract.

type LawlessApproval

type LawlessApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

LawlessApproval represents a Approval event raised by the Lawless contract.

type LawlessApprovalForAll

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

LawlessApprovalForAll represents a ApprovalForAll event raised by the Lawless contract.

type LawlessApprovalForAllIterator

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

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

func (*LawlessApprovalForAllIterator) Close

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

func (*LawlessApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessApprovalForAllIterator) 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 LawlessApprovalIterator

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

LawlessApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Lawless contract.

func (*LawlessApprovalIterator) Close

func (it *LawlessApprovalIterator) Close() error

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

func (*LawlessApprovalIterator) Error

func (it *LawlessApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessApprovalIterator) Next

func (it *LawlessApprovalIterator) Next() bool

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

type LawlessCaller

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

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

func NewLawlessCaller

func NewLawlessCaller(address common.Address, caller bind.ContractCaller) (*LawlessCaller, error)

NewLawlessCaller creates a new read-only instance of Lawless, bound to a specific deployed contract.

func (*LawlessCaller) AnimatedGIF

func (_Lawless *LawlessCaller) AnimatedGIF(opts *bind.CallOpts, model Model, palette []byte) (string, error)

AnimatedGIF is a free data retrieval call binding the contract method 0xc1a9b313.

Solidity: function animatedGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessCaller) Authorized

func (_Lawless *LawlessCaller) Authorized(opts *bind.CallOpts, operator common.Address, tokenId *big.Int) (bool, error)

Authorized is a free data retrieval call binding the contract method 0x5ed7660e.

Solidity: function authorized(address operator, uint256 tokenId) view returns(bool)

func (*LawlessCaller) BalanceOf

func (_Lawless *LawlessCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address owner) view returns(uint256)

func (*LawlessCaller) CodexAddress

func (_Lawless *LawlessCaller) CodexAddress(opts *bind.CallOpts) (common.Address, error)

CodexAddress is a free data retrieval call binding the contract method 0xf9d4b071.

Solidity: function CodexAddress() view returns(address)

func (*LawlessCaller) DelegationEnabled

func (_Lawless *LawlessCaller) DelegationEnabled(opts *bind.CallOpts) (bool, error)

DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.

Solidity: function delegationEnabled() view returns(bool)

func (*LawlessCaller) GetApproved

func (_Lawless *LawlessCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*LawlessCaller) GetCustomAttributes

func (_Lawless *LawlessCaller) GetCustomAttributes(opts *bind.CallOpts) ([]byte, error)

GetCustomAttributes is a free data retrieval call binding the contract method 0x65990b9a.

Solidity: function getCustomAttributes() view returns(bytes)

func (*LawlessCaller) GetData

func (_Lawless *LawlessCaller) GetData(opts *bind.CallOpts, id *big.Int) (LawlessData, error)

GetData is a free data retrieval call binding the contract method 0x0178fe3f.

Solidity: function getData(uint256 id) view returns((uint256,uint256,uint256,address,uint16,uint48))

func (*LawlessCaller) GetDetails

func (_Lawless *LawlessCaller) GetDetails(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, common.Address, *big.Int, error)

GetDetails is a free data retrieval call binding the contract method 0xb93a89f7.

Solidity: function getDetails(uint256 tokenId) view returns(uint256, address, uint48)

func (*LawlessCaller) GetLawlessId

func (_Lawless *LawlessCaller) GetLawlessId(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)

GetLawlessId is a free data retrieval call binding the contract method 0xf9753fa7.

Solidity: function getLawlessId(uint256 tokenId) view returns(uint256 id)

func (*LawlessCaller) GetModel

func (_Lawless *LawlessCaller) GetModel(opts *bind.CallOpts, id *big.Int) (Model, error)

GetModel is a free data retrieval call binding the contract method 0x6d361694.

Solidity: function getModel(uint256 id) view returns((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes))

func (*LawlessCaller) GetPalette

func (_Lawless *LawlessCaller) GetPalette(opts *bind.CallOpts, id *big.Int) ([]byte, error)

GetPalette is a free data retrieval call binding the contract method 0x505e570a.

Solidity: function getPalette(uint256 id) view returns(bytes)

func (*LawlessCaller) GetTokenId

func (_Lawless *LawlessCaller) GetTokenId(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x14ff5ea3.

Solidity: function getTokenId(uint256 id) view returns(uint256)

func (*LawlessCaller) HasRole

func (_Lawless *LawlessCaller) HasRole(opts *bind.CallOpts, user common.Address, role uint8) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x95a8c58d.

Solidity: function hasRole(address user, uint8 role) view returns(bool)

func (*LawlessCaller) IsApprovedForAll

func (_Lawless *LawlessCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

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

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

func (*LawlessCaller) LawlessGIF

func (_Lawless *LawlessCaller) LawlessGIF(opts *bind.CallOpts, id *big.Int, base bool) (string, error)

LawlessGIF is a free data retrieval call binding the contract method 0x25f399cb.

Solidity: function lawlessGIF(uint256 id, bool base) view returns(string)

func (*LawlessCaller) Name

func (_Lawless *LawlessCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LawlessCaller) Owner

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

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*LawlessCaller) OwnerOf

func (_Lawless *LawlessCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address owner)

func (*LawlessCaller) Paused

func (_Lawless *LawlessCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LawlessCaller) RoleLocked

func (_Lawless *LawlessCaller) RoleLocked(opts *bind.CallOpts, role uint8) (bool, error)

RoleLocked is a free data retrieval call binding the contract method 0x3c4bec2a.

Solidity: function roleLocked(uint8 role) view returns(bool)

func (*LawlessCaller) RoyaltyInfo

func (_Lawless *LawlessCaller) RoyaltyInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address, uint256)

func (*LawlessCaller) StaticGIF

func (_Lawless *LawlessCaller) StaticGIF(opts *bind.CallOpts, model Model, palette []byte) (string, error)

StaticGIF is a free data retrieval call binding the contract method 0x5b90e10c.

Solidity: function staticGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessCaller) SupportsInterface

func (_Lawless *LawlessCaller) 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 (*LawlessCaller) Symbol

func (_Lawless *LawlessCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LawlessCaller) ToPctString1000x

func (_Lawless *LawlessCaller) ToPctString1000x(opts *bind.CallOpts, value *big.Int) (string, error)

ToPctString1000x is a free data retrieval call binding the contract method 0xeb5a2680.

Solidity: function toPctString1000x(uint256 value) pure returns(string pct)

func (*LawlessCaller) TokenByIndex

func (_Lawless *LawlessCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*LawlessCaller) TokenExists

func (_Lawless *LawlessCaller) TokenExists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)

TokenExists is a free data retrieval call binding the contract method 0x00923f9e.

Solidity: function tokenExists(uint256 tokenId) view returns(bool exists)

func (*LawlessCaller) TokenGIF

func (_Lawless *LawlessCaller) TokenGIF(opts *bind.CallOpts, tokenId *big.Int, base bool) (string, error)

TokenGIF is a free data retrieval call binding the contract method 0x7383a066.

Solidity: function tokenGIF(uint256 tokenId, bool base) view returns(string)

func (*LawlessCaller) TokenId

func (_Lawless *LawlessCaller) TokenId(opts *bind.CallOpts) (*big.Int, error)

TokenId is a free data retrieval call binding the contract method 0x17d70f7c.

Solidity: function tokenId() view returns(uint256)

func (*LawlessCaller) TokenOfOwnerByIndex

func (_Lawless *LawlessCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*LawlessCaller) TokenURI

func (_Lawless *LawlessCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*LawlessCaller) TotalSupply

func (_Lawless *LawlessCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LawlessCallerRaw

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

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

func (*LawlessCallerRaw) Call

func (_Lawless *LawlessCallerRaw) 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 LawlessCallerSession

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

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

func (*LawlessCallerSession) AnimatedGIF

func (_Lawless *LawlessCallerSession) AnimatedGIF(model Model, palette []byte) (string, error)

AnimatedGIF is a free data retrieval call binding the contract method 0xc1a9b313.

Solidity: function animatedGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessCallerSession) Authorized

func (_Lawless *LawlessCallerSession) Authorized(operator common.Address, tokenId *big.Int) (bool, error)

Authorized is a free data retrieval call binding the contract method 0x5ed7660e.

Solidity: function authorized(address operator, uint256 tokenId) view returns(bool)

func (*LawlessCallerSession) BalanceOf

func (_Lawless *LawlessCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address owner) view returns(uint256)

func (*LawlessCallerSession) CodexAddress

func (_Lawless *LawlessCallerSession) CodexAddress() (common.Address, error)

CodexAddress is a free data retrieval call binding the contract method 0xf9d4b071.

Solidity: function CodexAddress() view returns(address)

func (*LawlessCallerSession) DelegationEnabled

func (_Lawless *LawlessCallerSession) DelegationEnabled() (bool, error)

DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.

Solidity: function delegationEnabled() view returns(bool)

func (*LawlessCallerSession) GetApproved

func (_Lawless *LawlessCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*LawlessCallerSession) GetCustomAttributes

func (_Lawless *LawlessCallerSession) GetCustomAttributes() ([]byte, error)

GetCustomAttributes is a free data retrieval call binding the contract method 0x65990b9a.

Solidity: function getCustomAttributes() view returns(bytes)

func (*LawlessCallerSession) GetData

func (_Lawless *LawlessCallerSession) GetData(id *big.Int) (LawlessData, error)

GetData is a free data retrieval call binding the contract method 0x0178fe3f.

Solidity: function getData(uint256 id) view returns((uint256,uint256,uint256,address,uint16,uint48))

func (*LawlessCallerSession) GetDetails

func (_Lawless *LawlessCallerSession) GetDetails(tokenId *big.Int) (*big.Int, common.Address, *big.Int, error)

GetDetails is a free data retrieval call binding the contract method 0xb93a89f7.

Solidity: function getDetails(uint256 tokenId) view returns(uint256, address, uint48)

func (*LawlessCallerSession) GetLawlessId

func (_Lawless *LawlessCallerSession) GetLawlessId(tokenId *big.Int) (*big.Int, error)

GetLawlessId is a free data retrieval call binding the contract method 0xf9753fa7.

Solidity: function getLawlessId(uint256 tokenId) view returns(uint256 id)

func (*LawlessCallerSession) GetModel

func (_Lawless *LawlessCallerSession) GetModel(id *big.Int) (Model, error)

GetModel is a free data retrieval call binding the contract method 0x6d361694.

Solidity: function getModel(uint256 id) view returns((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes))

func (*LawlessCallerSession) GetPalette

func (_Lawless *LawlessCallerSession) GetPalette(id *big.Int) ([]byte, error)

GetPalette is a free data retrieval call binding the contract method 0x505e570a.

Solidity: function getPalette(uint256 id) view returns(bytes)

func (*LawlessCallerSession) GetTokenId

func (_Lawless *LawlessCallerSession) GetTokenId(id *big.Int) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x14ff5ea3.

Solidity: function getTokenId(uint256 id) view returns(uint256)

func (*LawlessCallerSession) HasRole

func (_Lawless *LawlessCallerSession) HasRole(user common.Address, role uint8) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x95a8c58d.

Solidity: function hasRole(address user, uint8 role) view returns(bool)

func (*LawlessCallerSession) IsApprovedForAll

func (_Lawless *LawlessCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*LawlessCallerSession) LawlessGIF

func (_Lawless *LawlessCallerSession) LawlessGIF(id *big.Int, base bool) (string, error)

LawlessGIF is a free data retrieval call binding the contract method 0x25f399cb.

Solidity: function lawlessGIF(uint256 id, bool base) view returns(string)

func (*LawlessCallerSession) Name

func (_Lawless *LawlessCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LawlessCallerSession) Owner

func (_Lawless *LawlessCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*LawlessCallerSession) OwnerOf

func (_Lawless *LawlessCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address owner)

func (*LawlessCallerSession) Paused

func (_Lawless *LawlessCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LawlessCallerSession) RoleLocked

func (_Lawless *LawlessCallerSession) RoleLocked(role uint8) (bool, error)

RoleLocked is a free data retrieval call binding the contract method 0x3c4bec2a.

Solidity: function roleLocked(uint8 role) view returns(bool)

func (*LawlessCallerSession) RoyaltyInfo

func (_Lawless *LawlessCallerSession) RoyaltyInfo(arg0 *big.Int, arg1 *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address, uint256)

func (*LawlessCallerSession) StaticGIF

func (_Lawless *LawlessCallerSession) StaticGIF(model Model, palette []byte) (string, error)

StaticGIF is a free data retrieval call binding the contract method 0x5b90e10c.

Solidity: function staticGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessCallerSession) SupportsInterface

func (_Lawless *LawlessCallerSession) 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 (*LawlessCallerSession) Symbol

func (_Lawless *LawlessCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LawlessCallerSession) ToPctString1000x

func (_Lawless *LawlessCallerSession) ToPctString1000x(value *big.Int) (string, error)

ToPctString1000x is a free data retrieval call binding the contract method 0xeb5a2680.

Solidity: function toPctString1000x(uint256 value) pure returns(string pct)

func (*LawlessCallerSession) TokenByIndex

func (_Lawless *LawlessCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*LawlessCallerSession) TokenExists

func (_Lawless *LawlessCallerSession) TokenExists(tokenId *big.Int) (bool, error)

TokenExists is a free data retrieval call binding the contract method 0x00923f9e.

Solidity: function tokenExists(uint256 tokenId) view returns(bool exists)

func (*LawlessCallerSession) TokenGIF

func (_Lawless *LawlessCallerSession) TokenGIF(tokenId *big.Int, base bool) (string, error)

TokenGIF is a free data retrieval call binding the contract method 0x7383a066.

Solidity: function tokenGIF(uint256 tokenId, bool base) view returns(string)

func (*LawlessCallerSession) TokenId

func (_Lawless *LawlessCallerSession) TokenId() (*big.Int, error)

TokenId is a free data retrieval call binding the contract method 0x17d70f7c.

Solidity: function tokenId() view returns(uint256)

func (*LawlessCallerSession) TokenOfOwnerByIndex

func (_Lawless *LawlessCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*LawlessCallerSession) TokenURI

func (_Lawless *LawlessCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*LawlessCallerSession) TotalSupply

func (_Lawless *LawlessCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LawlessData

type LawlessData struct {
	Id        *big.Int
	ModelId   *big.Int
	PaletteId *big.Int
	Owner     common.Address
	Version   uint16
	Details   *big.Int
}

LawlessData is an auto generated low-level Go binding around an user-defined struct.

type LawlessFilterer

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

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

func NewLawlessFilterer

func NewLawlessFilterer(address common.Address, filterer bind.ContractFilterer) (*LawlessFilterer, error)

NewLawlessFilterer creates a new log filterer instance of Lawless, bound to a specific deployed contract.

func (*LawlessFilterer) FilterApproval

func (_Lawless *LawlessFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*LawlessApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*LawlessFilterer) FilterApprovalForAll

func (_Lawless *LawlessFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*LawlessApprovalForAllIterator, error)

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

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

func (*LawlessFilterer) FilterPaused

func (_Lawless *LawlessFilterer) FilterPaused(opts *bind.FilterOpts) (*LawlessPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LawlessFilterer) FilterRoleLocked

func (_Lawless *LawlessFilterer) FilterRoleLocked(opts *bind.FilterOpts, role []uint8) (*LawlessRoleLockedIterator, error)

FilterRoleLocked is a free log retrieval operation binding the contract event 0x2a4c011a3eb263cc32455711057131757df48518d49547f77ab832d8681a53ff.

Solidity: event RoleLocked(uint8 indexed role)

func (*LawlessFilterer) FilterRoleUpdated

func (_Lawless *LawlessFilterer) FilterRoleUpdated(opts *bind.FilterOpts, user []common.Address, role []uint8) (*LawlessRoleUpdatedIterator, error)

FilterRoleUpdated is a free log retrieval operation binding the contract event 0x25cef78a4b665fcf0923e3f0e15c3449d405e0fa46d991b78246e8aaf19571ab.

Solidity: event RoleUpdated(address indexed user, uint8 indexed role, bool enabled)

func (*LawlessFilterer) FilterTransfer

func (_Lawless *LawlessFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*LawlessTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*LawlessFilterer) FilterUnpaused

func (_Lawless *LawlessFilterer) FilterUnpaused(opts *bind.FilterOpts) (*LawlessUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*LawlessFilterer) ParseApproval

func (_Lawless *LawlessFilterer) ParseApproval(log types.Log) (*LawlessApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*LawlessFilterer) ParseApprovalForAll

func (_Lawless *LawlessFilterer) ParseApprovalForAll(log types.Log) (*LawlessApprovalForAll, error)

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

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

func (*LawlessFilterer) ParsePaused

func (_Lawless *LawlessFilterer) ParsePaused(log types.Log) (*LawlessPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LawlessFilterer) ParseRoleLocked

func (_Lawless *LawlessFilterer) ParseRoleLocked(log types.Log) (*LawlessRoleLocked, error)

ParseRoleLocked is a log parse operation binding the contract event 0x2a4c011a3eb263cc32455711057131757df48518d49547f77ab832d8681a53ff.

Solidity: event RoleLocked(uint8 indexed role)

func (*LawlessFilterer) ParseRoleUpdated

func (_Lawless *LawlessFilterer) ParseRoleUpdated(log types.Log) (*LawlessRoleUpdated, error)

ParseRoleUpdated is a log parse operation binding the contract event 0x25cef78a4b665fcf0923e3f0e15c3449d405e0fa46d991b78246e8aaf19571ab.

Solidity: event RoleUpdated(address indexed user, uint8 indexed role, bool enabled)

func (*LawlessFilterer) ParseTransfer

func (_Lawless *LawlessFilterer) ParseTransfer(log types.Log) (*LawlessTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*LawlessFilterer) ParseUnpaused

func (_Lawless *LawlessFilterer) ParseUnpaused(log types.Log) (*LawlessUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*LawlessFilterer) WatchApproval

func (_Lawless *LawlessFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LawlessApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*LawlessFilterer) WatchApprovalForAll

func (_Lawless *LawlessFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *LawlessApprovalForAll, owner []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 owner, address indexed operator, bool approved)

func (*LawlessFilterer) WatchPaused

func (_Lawless *LawlessFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *LawlessPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LawlessFilterer) WatchRoleLocked

func (_Lawless *LawlessFilterer) WatchRoleLocked(opts *bind.WatchOpts, sink chan<- *LawlessRoleLocked, role []uint8) (event.Subscription, error)

WatchRoleLocked is a free log subscription operation binding the contract event 0x2a4c011a3eb263cc32455711057131757df48518d49547f77ab832d8681a53ff.

Solidity: event RoleLocked(uint8 indexed role)

func (*LawlessFilterer) WatchRoleUpdated

func (_Lawless *LawlessFilterer) WatchRoleUpdated(opts *bind.WatchOpts, sink chan<- *LawlessRoleUpdated, user []common.Address, role []uint8) (event.Subscription, error)

WatchRoleUpdated is a free log subscription operation binding the contract event 0x25cef78a4b665fcf0923e3f0e15c3449d405e0fa46d991b78246e8aaf19571ab.

Solidity: event RoleUpdated(address indexed user, uint8 indexed role, bool enabled)

func (*LawlessFilterer) WatchTransfer

func (_Lawless *LawlessFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LawlessTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*LawlessFilterer) WatchUnpaused

func (_Lawless *LawlessFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *LawlessUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type LawlessPaused

type LawlessPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LawlessPaused represents a Paused event raised by the Lawless contract.

type LawlessPausedIterator

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

LawlessPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Lawless contract.

func (*LawlessPausedIterator) Close

func (it *LawlessPausedIterator) Close() error

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

func (*LawlessPausedIterator) Error

func (it *LawlessPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessPausedIterator) Next

func (it *LawlessPausedIterator) Next() bool

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

type LawlessRaw

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

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

func (*LawlessRaw) Call

func (_Lawless *LawlessRaw) 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 (*LawlessRaw) Transact

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

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

func (*LawlessRaw) Transfer

func (_Lawless *LawlessRaw) 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 LawlessRoleLocked

type LawlessRoleLocked struct {
	Role uint8
	Raw  types.Log // Blockchain specific contextual infos
}

LawlessRoleLocked represents a RoleLocked event raised by the Lawless contract.

type LawlessRoleLockedIterator

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

LawlessRoleLockedIterator is returned from FilterRoleLocked and is used to iterate over the raw logs and unpacked data for RoleLocked events raised by the Lawless contract.

func (*LawlessRoleLockedIterator) Close

func (it *LawlessRoleLockedIterator) Close() error

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

func (*LawlessRoleLockedIterator) Error

func (it *LawlessRoleLockedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessRoleLockedIterator) Next

func (it *LawlessRoleLockedIterator) Next() bool

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

type LawlessRoleUpdated

type LawlessRoleUpdated struct {
	User    common.Address
	Role    uint8
	Enabled bool
	Raw     types.Log // Blockchain specific contextual infos
}

LawlessRoleUpdated represents a RoleUpdated event raised by the Lawless contract.

type LawlessRoleUpdatedIterator

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

LawlessRoleUpdatedIterator is returned from FilterRoleUpdated and is used to iterate over the raw logs and unpacked data for RoleUpdated events raised by the Lawless contract.

func (*LawlessRoleUpdatedIterator) Close

func (it *LawlessRoleUpdatedIterator) Close() error

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

func (*LawlessRoleUpdatedIterator) Error

func (it *LawlessRoleUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessRoleUpdatedIterator) Next

func (it *LawlessRoleUpdatedIterator) Next() bool

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

type LawlessSession

type LawlessSession struct {
	Contract     *Lawless          // 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
}

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

func (*LawlessSession) AddMetadataMod

func (_Lawless *LawlessSession) AddMetadataMod(addr common.Address) (*types.Transaction, error)

AddMetadataMod is a paid mutator transaction binding the contract method 0x90fab70b.

Solidity: function addMetadataMod(address addr) returns()

func (*LawlessSession) AddRole

func (_Lawless *LawlessSession) AddRole(user common.Address, role uint8) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x44deb6f3.

Solidity: function addRole(address user, uint8 role) returns()

func (*LawlessSession) AddRoles

func (_Lawless *LawlessSession) AddRoles(users []common.Address, roles []uint8) (*types.Transaction, error)

AddRoles is a paid mutator transaction binding the contract method 0xe04388c4.

Solidity: function addRoles(address[] users, uint8[] roles) returns()

func (*LawlessSession) AnimatedGIF

func (_Lawless *LawlessSession) AnimatedGIF(model Model, palette []byte) (string, error)

AnimatedGIF is a free data retrieval call binding the contract method 0xc1a9b313.

Solidity: function animatedGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessSession) Approve

func (_Lawless *LawlessSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*LawlessSession) Authorized

func (_Lawless *LawlessSession) Authorized(operator common.Address, tokenId *big.Int) (bool, error)

Authorized is a free data retrieval call binding the contract method 0x5ed7660e.

Solidity: function authorized(address operator, uint256 tokenId) view returns(bool)

func (*LawlessSession) BalanceOf

func (_Lawless *LawlessSession) BalanceOf(owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address owner) view returns(uint256)

func (*LawlessSession) BatchMint

func (_Lawless *LawlessSession) BatchMint(seed *big.Int, to []common.Address, details []*big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0xb892e7ea.

Solidity: function batchMint(uint256 seed, address[] to, uint48[] details) returns()

func (*LawlessSession) CodexAddress

func (_Lawless *LawlessSession) CodexAddress() (common.Address, error)

CodexAddress is a free data retrieval call binding the contract method 0xf9d4b071.

Solidity: function CodexAddress() view returns(address)

func (*LawlessSession) DelegationEnabled

func (_Lawless *LawlessSession) DelegationEnabled() (bool, error)

DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.

Solidity: function delegationEnabled() view returns(bool)

func (*LawlessSession) GetApproved

func (_Lawless *LawlessSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*LawlessSession) GetCustomAttributes

func (_Lawless *LawlessSession) GetCustomAttributes() ([]byte, error)

GetCustomAttributes is a free data retrieval call binding the contract method 0x65990b9a.

Solidity: function getCustomAttributes() view returns(bytes)

func (*LawlessSession) GetData

func (_Lawless *LawlessSession) GetData(id *big.Int) (LawlessData, error)

GetData is a free data retrieval call binding the contract method 0x0178fe3f.

Solidity: function getData(uint256 id) view returns((uint256,uint256,uint256,address,uint16,uint48))

func (*LawlessSession) GetDetails

func (_Lawless *LawlessSession) GetDetails(tokenId *big.Int) (*big.Int, common.Address, *big.Int, error)

GetDetails is a free data retrieval call binding the contract method 0xb93a89f7.

Solidity: function getDetails(uint256 tokenId) view returns(uint256, address, uint48)

func (*LawlessSession) GetLawlessId

func (_Lawless *LawlessSession) GetLawlessId(tokenId *big.Int) (*big.Int, error)

GetLawlessId is a free data retrieval call binding the contract method 0xf9753fa7.

Solidity: function getLawlessId(uint256 tokenId) view returns(uint256 id)

func (*LawlessSession) GetModel

func (_Lawless *LawlessSession) GetModel(id *big.Int) (Model, error)

GetModel is a free data retrieval call binding the contract method 0x6d361694.

Solidity: function getModel(uint256 id) view returns((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes))

func (*LawlessSession) GetPalette

func (_Lawless *LawlessSession) GetPalette(id *big.Int) ([]byte, error)

GetPalette is a free data retrieval call binding the contract method 0x505e570a.

Solidity: function getPalette(uint256 id) view returns(bytes)

func (*LawlessSession) GetTokenId

func (_Lawless *LawlessSession) GetTokenId(id *big.Int) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x14ff5ea3.

Solidity: function getTokenId(uint256 id) view returns(uint256)

func (*LawlessSession) HasRole

func (_Lawless *LawlessSession) HasRole(user common.Address, role uint8) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x95a8c58d.

Solidity: function hasRole(address user, uint8 role) view returns(bool)

func (*LawlessSession) IncrementVersion

func (_Lawless *LawlessSession) IncrementVersion(operator common.Address, id *big.Int) (*types.Transaction, error)

IncrementVersion is a paid mutator transaction binding the contract method 0xb5e1ec54.

Solidity: function incrementVersion(address operator, uint256 id) returns()

func (*LawlessSession) IsApprovedForAll

func (_Lawless *LawlessSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*LawlessSession) LawlessGIF

func (_Lawless *LawlessSession) LawlessGIF(id *big.Int, base bool) (string, error)

LawlessGIF is a free data retrieval call binding the contract method 0x25f399cb.

Solidity: function lawlessGIF(uint256 id, bool base) view returns(string)

func (*LawlessSession) LockRole

func (_Lawless *LawlessSession) LockRole(role uint8) (*types.Transaction, error)

LockRole is a paid mutator transaction binding the contract method 0xcc162102.

Solidity: function lockRole(uint8 role) returns()

func (*LawlessSession) LockRoles

func (_Lawless *LawlessSession) LockRoles(roles []uint8) (*types.Transaction, error)

LockRoles is a paid mutator transaction binding the contract method 0x550bb2f1.

Solidity: function lockRoles(uint8[] roles) returns()

func (*LawlessSession) Mint

func (_Lawless *LawlessSession) Mint(seed *big.Int, to common.Address, details *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 seed, address to, uint48 details) returns()

func (*LawlessSession) Name

func (_Lawless *LawlessSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LawlessSession) Owner

func (_Lawless *LawlessSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*LawlessSession) OwnerOf

func (_Lawless *LawlessSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address owner)

func (*LawlessSession) Pause

func (_Lawless *LawlessSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LawlessSession) Paused

func (_Lawless *LawlessSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LawlessSession) RemoveRole

func (_Lawless *LawlessSession) RemoveRole(user common.Address, role uint8) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xb74866fb.

Solidity: function removeRole(address user, uint8 role) returns()

func (*LawlessSession) RemoveRoles

func (_Lawless *LawlessSession) RemoveRoles(users []common.Address, roles []uint8) (*types.Transaction, error)

RemoveRoles is a paid mutator transaction binding the contract method 0xd84a5223.

Solidity: function removeRoles(address[] users, uint8[] roles) returns()

func (*LawlessSession) ResolverClaim

func (_Lawless *LawlessSession) ResolverClaim(newOwner common.Address) (*types.Transaction, error)

ResolverClaim is a paid mutator transaction binding the contract method 0x34fae557.

Solidity: function resolverClaim(address newOwner) returns()

func (*LawlessSession) RoleLocked

func (_Lawless *LawlessSession) RoleLocked(role uint8) (bool, error)

RoleLocked is a free data retrieval call binding the contract method 0x3c4bec2a.

Solidity: function roleLocked(uint8 role) view returns(bool)

func (*LawlessSession) RoyaltyInfo

func (_Lawless *LawlessSession) RoyaltyInfo(arg0 *big.Int, arg1 *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address, uint256)

func (*LawlessSession) SafeTransferFrom

func (_Lawless *LawlessSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessSession) SafeTransferFrom0

func (_Lawless *LawlessSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*LawlessSession) SetApprovalForAll

func (_Lawless *LawlessSession) 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 (*LawlessSession) SetB64EncodeURI

func (_Lawless *LawlessSession) SetB64EncodeURI(value bool) (*types.Transaction, error)

SetB64EncodeURI is a paid mutator transaction binding the contract method 0x94e83b9b.

Solidity: function setB64EncodeURI(bool value) returns()

func (*LawlessSession) SetMetadata

func (_Lawless *LawlessSession) SetMetadata(metadata []byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0xee57e36f.

Solidity: function setMetadata(bytes metadata) returns()

func (*LawlessSession) SmashFlask

func (_Lawless *LawlessSession) SmashFlask() (*types.Transaction, error)

SmashFlask is a paid mutator transaction binding the contract method 0xaf7460f7.

Solidity: function smashFlask() returns()

func (*LawlessSession) StaticGIF

func (_Lawless *LawlessSession) StaticGIF(model Model, palette []byte) (string, error)

StaticGIF is a free data retrieval call binding the contract method 0x5b90e10c.

Solidity: function staticGIF((uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,bytes,bytes,bytes,bytes) model, bytes palette) view returns(string)

func (*LawlessSession) SupportsInterface

func (_Lawless *LawlessSession) 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 (*LawlessSession) Symbol

func (_Lawless *LawlessSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LawlessSession) ToPctString1000x

func (_Lawless *LawlessSession) ToPctString1000x(value *big.Int) (string, error)

ToPctString1000x is a free data retrieval call binding the contract method 0xeb5a2680.

Solidity: function toPctString1000x(uint256 value) pure returns(string pct)

func (*LawlessSession) TokenByIndex

func (_Lawless *LawlessSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*LawlessSession) TokenExists

func (_Lawless *LawlessSession) TokenExists(tokenId *big.Int) (bool, error)

TokenExists is a free data retrieval call binding the contract method 0x00923f9e.

Solidity: function tokenExists(uint256 tokenId) view returns(bool exists)

func (*LawlessSession) TokenGIF

func (_Lawless *LawlessSession) TokenGIF(tokenId *big.Int, base bool) (string, error)

TokenGIF is a free data retrieval call binding the contract method 0x7383a066.

Solidity: function tokenGIF(uint256 tokenId, bool base) view returns(string)

func (*LawlessSession) TokenId

func (_Lawless *LawlessSession) TokenId() (*big.Int, error)

TokenId is a free data retrieval call binding the contract method 0x17d70f7c.

Solidity: function tokenId() view returns(uint256)

func (*LawlessSession) TokenOfOwnerByIndex

func (_Lawless *LawlessSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*LawlessSession) TokenURI

func (_Lawless *LawlessSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*LawlessSession) TotalSupply

func (_Lawless *LawlessSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*LawlessSession) TransferFrom

func (_Lawless *LawlessSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessSession) TransferOwnership

func (_Lawless *LawlessSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*LawlessSession) Unpause

func (_Lawless *LawlessSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*LawlessSession) UpdateDetails

func (_Lawless *LawlessSession) UpdateDetails(operator common.Address, id *big.Int, details *big.Int, incVersion bool) (*types.Transaction, error)

UpdateDetails is a paid mutator transaction binding the contract method 0x104907e8.

Solidity: function updateDetails(address operator, uint256 id, uint48 details, bool incVersion) returns()

func (*LawlessSession) UploadModels

func (_Lawless *LawlessSession) UploadModels(count *big.Int, data []byte) (*types.Transaction, error)

UploadModels is a paid mutator transaction binding the contract method 0xb12c0299.

Solidity: function uploadModels(uint48 count, bytes data) returns()

func (*LawlessSession) UploadPalettes

func (_Lawless *LawlessSession) UploadPalettes(count *big.Int, data []byte) (*types.Transaction, error)

UploadPalettes is a paid mutator transaction binding the contract method 0x1ef9744c.

Solidity: function uploadPalettes(uint48 count, bytes data) returns()

func (*LawlessSession) Withdraw

func (_Lawless *LawlessSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LawlessSession) WithdrawForeignERC20

func (_Lawless *LawlessSession) WithdrawForeignERC20(tokenContract common.Address) (*types.Transaction, error)

WithdrawForeignERC20 is a paid mutator transaction binding the contract method 0x5c471995.

Solidity: function withdrawForeignERC20(address tokenContract) returns()

func (*LawlessSession) WithdrawForeignERC721

func (_Lawless *LawlessSession) WithdrawForeignERC721(tokenContract common.Address, _tokenId *big.Int) (*types.Transaction, error)

WithdrawForeignERC721 is a paid mutator transaction binding the contract method 0x0ce06b68.

Solidity: function withdrawForeignERC721(address tokenContract, uint256 _tokenId) returns()

type LawlessTransactor

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

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

func NewLawlessTransactor

func NewLawlessTransactor(address common.Address, transactor bind.ContractTransactor) (*LawlessTransactor, error)

NewLawlessTransactor creates a new write-only instance of Lawless, bound to a specific deployed contract.

func (*LawlessTransactor) AddMetadataMod

func (_Lawless *LawlessTransactor) AddMetadataMod(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

AddMetadataMod is a paid mutator transaction binding the contract method 0x90fab70b.

Solidity: function addMetadataMod(address addr) returns()

func (*LawlessTransactor) AddRole

func (_Lawless *LawlessTransactor) AddRole(opts *bind.TransactOpts, user common.Address, role uint8) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x44deb6f3.

Solidity: function addRole(address user, uint8 role) returns()

func (*LawlessTransactor) AddRoles

func (_Lawless *LawlessTransactor) AddRoles(opts *bind.TransactOpts, users []common.Address, roles []uint8) (*types.Transaction, error)

AddRoles is a paid mutator transaction binding the contract method 0xe04388c4.

Solidity: function addRoles(address[] users, uint8[] roles) returns()

func (*LawlessTransactor) Approve

func (_Lawless *LawlessTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*LawlessTransactor) BatchMint

func (_Lawless *LawlessTransactor) BatchMint(opts *bind.TransactOpts, seed *big.Int, to []common.Address, details []*big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0xb892e7ea.

Solidity: function batchMint(uint256 seed, address[] to, uint48[] details) returns()

func (*LawlessTransactor) IncrementVersion

func (_Lawless *LawlessTransactor) IncrementVersion(opts *bind.TransactOpts, operator common.Address, id *big.Int) (*types.Transaction, error)

IncrementVersion is a paid mutator transaction binding the contract method 0xb5e1ec54.

Solidity: function incrementVersion(address operator, uint256 id) returns()

func (*LawlessTransactor) LockRole

func (_Lawless *LawlessTransactor) LockRole(opts *bind.TransactOpts, role uint8) (*types.Transaction, error)

LockRole is a paid mutator transaction binding the contract method 0xcc162102.

Solidity: function lockRole(uint8 role) returns()

func (*LawlessTransactor) LockRoles

func (_Lawless *LawlessTransactor) LockRoles(opts *bind.TransactOpts, roles []uint8) (*types.Transaction, error)

LockRoles is a paid mutator transaction binding the contract method 0x550bb2f1.

Solidity: function lockRoles(uint8[] roles) returns()

func (*LawlessTransactor) Mint

func (_Lawless *LawlessTransactor) Mint(opts *bind.TransactOpts, seed *big.Int, to common.Address, details *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 seed, address to, uint48 details) returns()

func (*LawlessTransactor) Pause

func (_Lawless *LawlessTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LawlessTransactor) RemoveRole

func (_Lawless *LawlessTransactor) RemoveRole(opts *bind.TransactOpts, user common.Address, role uint8) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xb74866fb.

Solidity: function removeRole(address user, uint8 role) returns()

func (*LawlessTransactor) RemoveRoles

func (_Lawless *LawlessTransactor) RemoveRoles(opts *bind.TransactOpts, users []common.Address, roles []uint8) (*types.Transaction, error)

RemoveRoles is a paid mutator transaction binding the contract method 0xd84a5223.

Solidity: function removeRoles(address[] users, uint8[] roles) returns()

func (*LawlessTransactor) ResolverClaim

func (_Lawless *LawlessTransactor) ResolverClaim(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

ResolverClaim is a paid mutator transaction binding the contract method 0x34fae557.

Solidity: function resolverClaim(address newOwner) returns()

func (*LawlessTransactor) SafeTransferFrom

func (_Lawless *LawlessTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessTransactor) SafeTransferFrom0

func (_Lawless *LawlessTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*LawlessTransactor) SetApprovalForAll

func (_Lawless *LawlessTransactor) 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 (*LawlessTransactor) SetB64EncodeURI

func (_Lawless *LawlessTransactor) SetB64EncodeURI(opts *bind.TransactOpts, value bool) (*types.Transaction, error)

SetB64EncodeURI is a paid mutator transaction binding the contract method 0x94e83b9b.

Solidity: function setB64EncodeURI(bool value) returns()

func (*LawlessTransactor) SetMetadata

func (_Lawless *LawlessTransactor) SetMetadata(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0xee57e36f.

Solidity: function setMetadata(bytes metadata) returns()

func (*LawlessTransactor) SmashFlask

func (_Lawless *LawlessTransactor) SmashFlask(opts *bind.TransactOpts) (*types.Transaction, error)

SmashFlask is a paid mutator transaction binding the contract method 0xaf7460f7.

Solidity: function smashFlask() returns()

func (*LawlessTransactor) TransferFrom

func (_Lawless *LawlessTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessTransactor) TransferOwnership

func (_Lawless *LawlessTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*LawlessTransactor) Unpause

func (_Lawless *LawlessTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*LawlessTransactor) UpdateDetails

func (_Lawless *LawlessTransactor) UpdateDetails(opts *bind.TransactOpts, operator common.Address, id *big.Int, details *big.Int, incVersion bool) (*types.Transaction, error)

UpdateDetails is a paid mutator transaction binding the contract method 0x104907e8.

Solidity: function updateDetails(address operator, uint256 id, uint48 details, bool incVersion) returns()

func (*LawlessTransactor) UploadModels

func (_Lawless *LawlessTransactor) UploadModels(opts *bind.TransactOpts, count *big.Int, data []byte) (*types.Transaction, error)

UploadModels is a paid mutator transaction binding the contract method 0xb12c0299.

Solidity: function uploadModels(uint48 count, bytes data) returns()

func (*LawlessTransactor) UploadPalettes

func (_Lawless *LawlessTransactor) UploadPalettes(opts *bind.TransactOpts, count *big.Int, data []byte) (*types.Transaction, error)

UploadPalettes is a paid mutator transaction binding the contract method 0x1ef9744c.

Solidity: function uploadPalettes(uint48 count, bytes data) returns()

func (*LawlessTransactor) Withdraw

func (_Lawless *LawlessTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LawlessTransactor) WithdrawForeignERC20

func (_Lawless *LawlessTransactor) WithdrawForeignERC20(opts *bind.TransactOpts, tokenContract common.Address) (*types.Transaction, error)

WithdrawForeignERC20 is a paid mutator transaction binding the contract method 0x5c471995.

Solidity: function withdrawForeignERC20(address tokenContract) returns()

func (*LawlessTransactor) WithdrawForeignERC721

func (_Lawless *LawlessTransactor) WithdrawForeignERC721(opts *bind.TransactOpts, tokenContract common.Address, _tokenId *big.Int) (*types.Transaction, error)

WithdrawForeignERC721 is a paid mutator transaction binding the contract method 0x0ce06b68.

Solidity: function withdrawForeignERC721(address tokenContract, uint256 _tokenId) returns()

type LawlessTransactorRaw

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

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

func (*LawlessTransactorRaw) Transact

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

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

func (*LawlessTransactorRaw) Transfer

func (_Lawless *LawlessTransactorRaw) 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 LawlessTransactorSession

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

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

func (*LawlessTransactorSession) AddMetadataMod

func (_Lawless *LawlessTransactorSession) AddMetadataMod(addr common.Address) (*types.Transaction, error)

AddMetadataMod is a paid mutator transaction binding the contract method 0x90fab70b.

Solidity: function addMetadataMod(address addr) returns()

func (*LawlessTransactorSession) AddRole

func (_Lawless *LawlessTransactorSession) AddRole(user common.Address, role uint8) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x44deb6f3.

Solidity: function addRole(address user, uint8 role) returns()

func (*LawlessTransactorSession) AddRoles

func (_Lawless *LawlessTransactorSession) AddRoles(users []common.Address, roles []uint8) (*types.Transaction, error)

AddRoles is a paid mutator transaction binding the contract method 0xe04388c4.

Solidity: function addRoles(address[] users, uint8[] roles) returns()

func (*LawlessTransactorSession) Approve

func (_Lawless *LawlessTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*LawlessTransactorSession) BatchMint

func (_Lawless *LawlessTransactorSession) BatchMint(seed *big.Int, to []common.Address, details []*big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0xb892e7ea.

Solidity: function batchMint(uint256 seed, address[] to, uint48[] details) returns()

func (*LawlessTransactorSession) IncrementVersion

func (_Lawless *LawlessTransactorSession) IncrementVersion(operator common.Address, id *big.Int) (*types.Transaction, error)

IncrementVersion is a paid mutator transaction binding the contract method 0xb5e1ec54.

Solidity: function incrementVersion(address operator, uint256 id) returns()

func (*LawlessTransactorSession) LockRole

func (_Lawless *LawlessTransactorSession) LockRole(role uint8) (*types.Transaction, error)

LockRole is a paid mutator transaction binding the contract method 0xcc162102.

Solidity: function lockRole(uint8 role) returns()

func (*LawlessTransactorSession) LockRoles

func (_Lawless *LawlessTransactorSession) LockRoles(roles []uint8) (*types.Transaction, error)

LockRoles is a paid mutator transaction binding the contract method 0x550bb2f1.

Solidity: function lockRoles(uint8[] roles) returns()

func (*LawlessTransactorSession) Mint

func (_Lawless *LawlessTransactorSession) Mint(seed *big.Int, to common.Address, details *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 seed, address to, uint48 details) returns()

func (*LawlessTransactorSession) Pause

func (_Lawless *LawlessTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LawlessTransactorSession) RemoveRole

func (_Lawless *LawlessTransactorSession) RemoveRole(user common.Address, role uint8) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xb74866fb.

Solidity: function removeRole(address user, uint8 role) returns()

func (*LawlessTransactorSession) RemoveRoles

func (_Lawless *LawlessTransactorSession) RemoveRoles(users []common.Address, roles []uint8) (*types.Transaction, error)

RemoveRoles is a paid mutator transaction binding the contract method 0xd84a5223.

Solidity: function removeRoles(address[] users, uint8[] roles) returns()

func (*LawlessTransactorSession) ResolverClaim

func (_Lawless *LawlessTransactorSession) ResolverClaim(newOwner common.Address) (*types.Transaction, error)

ResolverClaim is a paid mutator transaction binding the contract method 0x34fae557.

Solidity: function resolverClaim(address newOwner) returns()

func (*LawlessTransactorSession) SafeTransferFrom

func (_Lawless *LawlessTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessTransactorSession) SafeTransferFrom0

func (_Lawless *LawlessTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*LawlessTransactorSession) SetApprovalForAll

func (_Lawless *LawlessTransactorSession) 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 (*LawlessTransactorSession) SetB64EncodeURI

func (_Lawless *LawlessTransactorSession) SetB64EncodeURI(value bool) (*types.Transaction, error)

SetB64EncodeURI is a paid mutator transaction binding the contract method 0x94e83b9b.

Solidity: function setB64EncodeURI(bool value) returns()

func (*LawlessTransactorSession) SetMetadata

func (_Lawless *LawlessTransactorSession) SetMetadata(metadata []byte) (*types.Transaction, error)

SetMetadata is a paid mutator transaction binding the contract method 0xee57e36f.

Solidity: function setMetadata(bytes metadata) returns()

func (*LawlessTransactorSession) SmashFlask

func (_Lawless *LawlessTransactorSession) SmashFlask() (*types.Transaction, error)

SmashFlask is a paid mutator transaction binding the contract method 0xaf7460f7.

Solidity: function smashFlask() returns()

func (*LawlessTransactorSession) TransferFrom

func (_Lawless *LawlessTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*LawlessTransactorSession) TransferOwnership

func (_Lawless *LawlessTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*LawlessTransactorSession) Unpause

func (_Lawless *LawlessTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*LawlessTransactorSession) UpdateDetails

func (_Lawless *LawlessTransactorSession) UpdateDetails(operator common.Address, id *big.Int, details *big.Int, incVersion bool) (*types.Transaction, error)

UpdateDetails is a paid mutator transaction binding the contract method 0x104907e8.

Solidity: function updateDetails(address operator, uint256 id, uint48 details, bool incVersion) returns()

func (*LawlessTransactorSession) UploadModels

func (_Lawless *LawlessTransactorSession) UploadModels(count *big.Int, data []byte) (*types.Transaction, error)

UploadModels is a paid mutator transaction binding the contract method 0xb12c0299.

Solidity: function uploadModels(uint48 count, bytes data) returns()

func (*LawlessTransactorSession) UploadPalettes

func (_Lawless *LawlessTransactorSession) UploadPalettes(count *big.Int, data []byte) (*types.Transaction, error)

UploadPalettes is a paid mutator transaction binding the contract method 0x1ef9744c.

Solidity: function uploadPalettes(uint48 count, bytes data) returns()

func (*LawlessTransactorSession) Withdraw

func (_Lawless *LawlessTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*LawlessTransactorSession) WithdrawForeignERC20

func (_Lawless *LawlessTransactorSession) WithdrawForeignERC20(tokenContract common.Address) (*types.Transaction, error)

WithdrawForeignERC20 is a paid mutator transaction binding the contract method 0x5c471995.

Solidity: function withdrawForeignERC20(address tokenContract) returns()

func (*LawlessTransactorSession) WithdrawForeignERC721

func (_Lawless *LawlessTransactorSession) WithdrawForeignERC721(tokenContract common.Address, _tokenId *big.Int) (*types.Transaction, error)

WithdrawForeignERC721 is a paid mutator transaction binding the contract method 0x0ce06b68.

Solidity: function withdrawForeignERC721(address tokenContract, uint256 _tokenId) returns()

type LawlessTransfer

type LawlessTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LawlessTransfer represents a Transfer event raised by the Lawless contract.

type LawlessTransferIterator

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

LawlessTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Lawless contract.

func (*LawlessTransferIterator) Close

func (it *LawlessTransferIterator) Close() error

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

func (*LawlessTransferIterator) Error

func (it *LawlessTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessTransferIterator) Next

func (it *LawlessTransferIterator) Next() bool

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

type LawlessUnpaused

type LawlessUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LawlessUnpaused represents a Unpaused event raised by the Lawless contract.

type LawlessUnpausedIterator

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

LawlessUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Lawless contract.

func (*LawlessUnpausedIterator) Close

func (it *LawlessUnpausedIterator) Close() error

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

func (*LawlessUnpausedIterator) Error

func (it *LawlessUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LawlessUnpausedIterator) Next

func (it *LawlessUnpausedIterator) Next() bool

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

type Model

type Model struct {
	Width         uint8
	Height        uint8
	AniX          uint8
	AniY          uint8
	AniWidth      uint8
	AniHeight     uint8
	AniDelay1     uint8
	AniDelay2     uint8
	AniDelay3     uint8
	StaticWidth   uint8
	StaticHeight  uint8
	StaticOffsetX uint8
	StaticOffsetY uint8
	MaxScale      uint8
	F1            []byte
	F2            []byte
	F3            []byte
	F4            []byte
}

Model is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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