sdid

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SdidAdminChangedEventName = "AdminChanged"
View Source
const SdidApprovalEventName = "Approval"
View Source
const SdidApprovalForAllEventName = "ApprovalForAll"
View Source
const SdidBatchMetadataUpdateEventName = "BatchMetadataUpdate"
View Source
const SdidBeaconUpgradedEventName = "BeaconUpgraded"
View Source
const SdidInitializedEventName = "Initialized"
View Source
const SdidMetadataUpdateEventName = "MetadataUpdate"
View Source
const SdidPrivilegeCreatedEventName = "PrivilegeCreated"
View Source
const SdidPrivilegeDisabledEventName = "PrivilegeDisabled"
View Source
const SdidPrivilegeEnabledEventName = "PrivilegeEnabled"
View Source
const SdidPrivilegeSetEventName = "PrivilegeSet"
View Source
const SdidRoleAdminChangedEventName = "RoleAdminChanged"
View Source
const SdidRoleGrantedEventName = "RoleGranted"
View Source
const SdidRoleRevokedEventName = "RoleRevoked"
View Source
const SdidTransferEventName = "Transfer"
View Source
const SdidUpgradedEventName = "Upgraded"

Variables

View Source
var SdidMetaData = bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"uint256\",\"name\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"privilegeId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"name\":\"PrivilegeCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"privilegeId\",\"type\":\"uint256\"}],\"name\":\"PrivilegeDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"privilegeId\",\"type\":\"uint256\"}],\"name\":\"PrivilegeEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"PrivilegeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BURNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFERER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"name\":\"createPrivilege\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dimoRegistry\",\"outputs\":[{\"internalType\":\"contractIDimoRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"}],\"name\":\"disablePrivilege\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"}],\"name\":\"enablePrivilege\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"hasPrivilege\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"baseUri_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"dimoRegistry_\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"trustedForwarders_\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"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\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"privilegeEntry\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"privilegeExpiresAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"privilegeRecord\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"safeMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"safeMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"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\":\"uint256\",\"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\":\"string\",\"name\":\"baseURI_\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dimoRegistry_\",\"type\":\"address\"}],\"name\":\"setDimoRegistryAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"name\":\"setPrivilege\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"privId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expires\",\"type\":\"uint256\"}],\"internalType\":\"structMultiPrivilege.SetPrivilegeData[]\",\"name\":\"privData\",\"type\":\"tuple[]\"}],\"name\":\"setPrivileges\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"trusted\",\"type\":\"bool\"}],\"name\":\"setTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenIdToVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"trustedForwarders\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	ID:  "Sdid",
}

SdidMetaData contains all meta data concerning the Sdid contract.

Functions

func SdidUnauthorizedErrorID

func SdidUnauthorizedErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error Unauthorized()

func SdidZeroAddressErrorID

func SdidZeroAddressErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ZeroAddress()

Types

type MultiPrivilegeSetPrivilegeData

type MultiPrivilegeSetPrivilegeData struct {
	TokenId *big.Int
	PrivId  *big.Int
	User    common.Address
	Expires *big.Int
}

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

type PrivilegeRecordOutput

type PrivilegeRecordOutput struct {
	Enabled     bool
	Description string
}

PrivilegeRecordOutput serves as a container for the return parameters of contract method PrivilegeRecord.

type Sdid

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

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

func NewSdid

func NewSdid() *Sdid

NewSdid creates a new instance of Sdid.

func (*Sdid) Instance

func (c *Sdid) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*Sdid) PackADMINROLE

func (sdid *Sdid) PackADMINROLE() []byte

PackADMINROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*Sdid) PackApprove

func (sdid *Sdid) PackApprove(to common.Address, tokenId *big.Int) []byte

PackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3.

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

func (*Sdid) PackBURNERROLE

func (sdid *Sdid) PackBURNERROLE() []byte

PackBURNERROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0x282c51f3.

Solidity: function BURNER_ROLE() view returns(bytes32)

func (*Sdid) PackBalanceOf

func (sdid *Sdid) PackBalanceOf(owner common.Address) []byte

PackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231.

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

func (*Sdid) PackBurn

func (sdid *Sdid) PackBurn(tokenId *big.Int) []byte

PackBurn is the Go binding used to pack the parameters required for calling the contract method with ID 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*Sdid) PackCreatePrivilege

func (sdid *Sdid) PackCreatePrivilege(enabled bool, description string) []byte

PackCreatePrivilege is the Go binding used to pack the parameters required for calling the contract method with ID 0xc1d58b3b.

Solidity: function createPrivilege(bool enabled, string description) returns()

func (*Sdid) PackDEFAULTADMINROLE

func (sdid *Sdid) PackDEFAULTADMINROLE() []byte

PackDEFAULTADMINROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*Sdid) PackDimoRegistry

func (sdid *Sdid) PackDimoRegistry() []byte

PackDimoRegistry is the Go binding used to pack the parameters required for calling the contract method with ID 0x20678275.

Solidity: function dimoRegistry() view returns(address)

func (*Sdid) PackDisablePrivilege

func (sdid *Sdid) PackDisablePrivilege(privId *big.Int) []byte

PackDisablePrivilege is the Go binding used to pack the parameters required for calling the contract method with ID 0x1a153ed0.

Solidity: function disablePrivilege(uint256 privId) returns()

func (*Sdid) PackEnablePrivilege

func (sdid *Sdid) PackEnablePrivilege(privId *big.Int) []byte

PackEnablePrivilege is the Go binding used to pack the parameters required for calling the contract method with ID 0x831ba696.

Solidity: function enablePrivilege(uint256 privId) returns()

func (*Sdid) PackExists

func (sdid *Sdid) PackExists(tokenId *big.Int) []byte

PackExists is the Go binding used to pack the parameters required for calling the contract method with ID 0x4f558e79.

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

func (*Sdid) PackGetApproved

func (sdid *Sdid) PackGetApproved(tokenId *big.Int) []byte

PackGetApproved is the Go binding used to pack the parameters required for calling the contract method with ID 0x081812fc.

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

func (*Sdid) PackGetRoleAdmin

func (sdid *Sdid) PackGetRoleAdmin(role [32]byte) []byte

PackGetRoleAdmin is the Go binding used to pack the parameters required for calling the contract method with ID 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*Sdid) PackGrantRole

func (sdid *Sdid) PackGrantRole(role [32]byte, account common.Address) []byte

PackGrantRole is the Go binding used to pack the parameters required for calling the contract method with ID 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*Sdid) PackHasPrivilege

func (sdid *Sdid) PackHasPrivilege(tokenId *big.Int, privId *big.Int, user common.Address) []byte

PackHasPrivilege is the Go binding used to pack the parameters required for calling the contract method with ID 0x05d80b00.

Solidity: function hasPrivilege(uint256 tokenId, uint256 privId, address user) view returns(bool)

func (*Sdid) PackHasRole

func (sdid *Sdid) PackHasRole(role [32]byte, account common.Address) []byte

PackHasRole is the Go binding used to pack the parameters required for calling the contract method with ID 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*Sdid) PackInitialize

func (sdid *Sdid) PackInitialize(name string, symbol string, baseUri string, dimoRegistry common.Address, trustedForwarders []common.Address) []byte

PackInitialize is the Go binding used to pack the parameters required for calling the contract method with ID 0x2cd0213f.

Solidity: function initialize(string name_, string symbol_, string baseUri_, address dimoRegistry_, address[] trustedForwarders_) returns()

func (*Sdid) PackIsApprovedForAll

func (sdid *Sdid) PackIsApprovedForAll(owner common.Address, operator common.Address) []byte

PackIsApprovedForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xe985e9c5.

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

func (*Sdid) PackMINTERROLE

func (sdid *Sdid) PackMINTERROLE() []byte

PackMINTERROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*Sdid) PackName

func (sdid *Sdid) PackName() []byte

PackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03.

Solidity: function name() view returns(string)

func (*Sdid) PackOwnerOf

func (sdid *Sdid) PackOwnerOf(tokenId *big.Int) []byte

PackOwnerOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x6352211e.

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

func (*Sdid) PackPrivilegeEntry

func (sdid *Sdid) PackPrivilegeEntry(arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 common.Address) []byte

PackPrivilegeEntry is the Go binding used to pack the parameters required for calling the contract method with ID 0x48db4640.

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

func (*Sdid) PackPrivilegeExpiresAt

func (sdid *Sdid) PackPrivilegeExpiresAt(tokenId *big.Int, privId *big.Int, user common.Address) []byte

PackPrivilegeExpiresAt is the Go binding used to pack the parameters required for calling the contract method with ID 0xd0f8f5f6.

Solidity: function privilegeExpiresAt(uint256 tokenId, uint256 privId, address user) view returns(uint256)

func (*Sdid) PackPrivilegeRecord

func (sdid *Sdid) PackPrivilegeRecord(arg0 *big.Int) []byte

PackPrivilegeRecord is the Go binding used to pack the parameters required for calling the contract method with ID 0xf9ad3efe.

Solidity: function privilegeRecord(uint256 ) view returns(bool enabled, string description)

func (*Sdid) PackProxiableUUID

func (sdid *Sdid) PackProxiableUUID() []byte

PackProxiableUUID is the Go binding used to pack the parameters required for calling the contract method with ID 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*Sdid) PackRenounceRole

func (sdid *Sdid) PackRenounceRole(role [32]byte, account common.Address) []byte

PackRenounceRole is the Go binding used to pack the parameters required for calling the contract method with ID 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*Sdid) PackRevokeRole

func (sdid *Sdid) PackRevokeRole(role [32]byte, account common.Address) []byte

PackRevokeRole is the Go binding used to pack the parameters required for calling the contract method with ID 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*Sdid) PackSafeMint

func (sdid *Sdid) PackSafeMint(to common.Address) []byte

PackSafeMint is the Go binding used to pack the parameters required for calling the contract method with ID 0x40d097c3.

Solidity: function safeMint(address to) returns(uint256 tokenId)

func (*Sdid) PackSafeMint0

func (sdid *Sdid) PackSafeMint0(to common.Address, uri string) []byte

PackSafeMint0 is the Go binding used to pack the parameters required for calling the contract method with ID 0xd204c45e.

Solidity: function safeMint(address to, string uri) returns(uint256 tokenId)

func (*Sdid) PackSafeTransferFrom

func (sdid *Sdid) PackSafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) []byte

PackSafeTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x42842e0e.

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

func (*Sdid) PackSafeTransferFrom0

func (sdid *Sdid) PackSafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) []byte

PackSafeTransferFrom0 is the Go binding used to pack the parameters required for calling the contract method with ID 0xb88d4fde.

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

func (*Sdid) PackSetApprovalForAll

func (sdid *Sdid) PackSetApprovalForAll(operator common.Address, approved bool) []byte

PackSetApprovalForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xa22cb465.

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

func (*Sdid) PackSetBaseURI

func (sdid *Sdid) PackSetBaseURI(baseURI string) []byte

PackSetBaseURI is the Go binding used to pack the parameters required for calling the contract method with ID 0x55f804b3.

Solidity: function setBaseURI(string baseURI_) returns()

func (*Sdid) PackSetDimoRegistryAddress

func (sdid *Sdid) PackSetDimoRegistryAddress(dimoRegistry common.Address) []byte

PackSetDimoRegistryAddress is the Go binding used to pack the parameters required for calling the contract method with ID 0x0db857ea.

Solidity: function setDimoRegistryAddress(address dimoRegistry_) returns()

func (*Sdid) PackSetPrivilege

func (sdid *Sdid) PackSetPrivilege(tokenId *big.Int, privId *big.Int, user common.Address, expires *big.Int) []byte

PackSetPrivilege is the Go binding used to pack the parameters required for calling the contract method with ID 0xeca3221a.

Solidity: function setPrivilege(uint256 tokenId, uint256 privId, address user, uint256 expires) returns()

func (*Sdid) PackSetPrivileges

func (sdid *Sdid) PackSetPrivileges(privData []MultiPrivilegeSetPrivilegeData) []byte

PackSetPrivileges is the Go binding used to pack the parameters required for calling the contract method with ID 0x57ae9754.

Solidity: function setPrivileges((uint256,uint256,address,uint256)[] privData) returns()

func (*Sdid) PackSetTrustedForwarder

func (sdid *Sdid) PackSetTrustedForwarder(addr common.Address, trusted bool) []byte

PackSetTrustedForwarder is the Go binding used to pack the parameters required for calling the contract method with ID 0xe691d03b.

Solidity: function setTrustedForwarder(address addr, bool trusted) returns()

func (*Sdid) PackSupportsInterface

func (sdid *Sdid) PackSupportsInterface(interfaceId [4]byte) []byte

PackSupportsInterface is the Go binding used to pack the parameters required for calling the contract method with ID 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Sdid) PackSymbol

func (sdid *Sdid) PackSymbol() []byte

PackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Sdid) PackTRANSFERERROLE

func (sdid *Sdid) PackTRANSFERERROLE() []byte

PackTRANSFERERROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0x0ade7dc1.

Solidity: function TRANSFERER_ROLE() view returns(bytes32)

func (*Sdid) PackTokenIdToVersion

func (sdid *Sdid) PackTokenIdToVersion(arg0 *big.Int) []byte

PackTokenIdToVersion is the Go binding used to pack the parameters required for calling the contract method with ID 0xf1a9d41c.

Solidity: function tokenIdToVersion(uint256 ) view returns(uint256)

func (*Sdid) PackTokenURI

func (sdid *Sdid) PackTokenURI(tokenId *big.Int) []byte

PackTokenURI is the Go binding used to pack the parameters required for calling the contract method with ID 0xc87b56dd.

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

func (*Sdid) PackTransferFrom

func (sdid *Sdid) PackTransferFrom(from common.Address, to common.Address, tokenId *big.Int) []byte

PackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd.

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

func (*Sdid) PackTrustedForwarders

func (sdid *Sdid) PackTrustedForwarders(arg0 common.Address) []byte

PackTrustedForwarders is the Go binding used to pack the parameters required for calling the contract method with ID 0x54776bb9.

Solidity: function trustedForwarders(address ) view returns(bool)

func (*Sdid) PackUPGRADERROLE

func (sdid *Sdid) PackUPGRADERROLE() []byte

PackUPGRADERROLE is the Go binding used to pack the parameters required for calling the contract method with ID 0xf72c0d8b.

Solidity: function UPGRADER_ROLE() view returns(bytes32)

func (*Sdid) PackUpgradeTo

func (sdid *Sdid) PackUpgradeTo(newImplementation common.Address) []byte

PackUpgradeTo is the Go binding used to pack the parameters required for calling the contract method with ID 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*Sdid) PackUpgradeToAndCall

func (sdid *Sdid) PackUpgradeToAndCall(newImplementation common.Address, data []byte) []byte

PackUpgradeToAndCall is the Go binding used to pack the parameters required for calling the contract method with ID 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*Sdid) UnpackADMINROLE

func (sdid *Sdid) UnpackADMINROLE(data []byte) ([32]byte, error)

UnpackADMINROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*Sdid) UnpackAdminChangedEvent

func (sdid *Sdid) UnpackAdminChangedEvent(log *types.Log) (*SdidAdminChanged, error)

UnpackAdminChangedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*Sdid) UnpackApprovalEvent

func (sdid *Sdid) UnpackApprovalEvent(log *types.Log) (*SdidApproval, error)

UnpackApprovalEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Sdid) UnpackApprovalForAllEvent

func (sdid *Sdid) UnpackApprovalForAllEvent(log *types.Log) (*SdidApprovalForAll, error)

UnpackApprovalForAllEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Sdid) UnpackBURNERROLE

func (sdid *Sdid) UnpackBURNERROLE(data []byte) ([32]byte, error)

UnpackBURNERROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x282c51f3.

Solidity: function BURNER_ROLE() view returns(bytes32)

func (*Sdid) UnpackBalanceOf

func (sdid *Sdid) UnpackBalanceOf(data []byte) (*big.Int, error)

UnpackBalanceOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x70a08231.

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

func (*Sdid) UnpackBatchMetadataUpdateEvent

func (sdid *Sdid) UnpackBatchMetadataUpdateEvent(log *types.Log) (*SdidBatchMetadataUpdate, error)

UnpackBatchMetadataUpdateEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*Sdid) UnpackBeaconUpgradedEvent

func (sdid *Sdid) UnpackBeaconUpgradedEvent(log *types.Log) (*SdidBeaconUpgraded, error)

UnpackBeaconUpgradedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*Sdid) UnpackDEFAULTADMINROLE

func (sdid *Sdid) UnpackDEFAULTADMINROLE(data []byte) ([32]byte, error)

UnpackDEFAULTADMINROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*Sdid) UnpackDimoRegistry

func (sdid *Sdid) UnpackDimoRegistry(data []byte) (common.Address, error)

UnpackDimoRegistry is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x20678275.

Solidity: function dimoRegistry() view returns(address)

func (*Sdid) UnpackError

func (sdid *Sdid) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

func (*Sdid) UnpackExists

func (sdid *Sdid) UnpackExists(data []byte) (bool, error)

UnpackExists is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x4f558e79.

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

func (*Sdid) UnpackGetApproved

func (sdid *Sdid) UnpackGetApproved(data []byte) (common.Address, error)

UnpackGetApproved is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x081812fc.

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

func (*Sdid) UnpackGetRoleAdmin

func (sdid *Sdid) UnpackGetRoleAdmin(data []byte) ([32]byte, error)

UnpackGetRoleAdmin is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*Sdid) UnpackHasPrivilege

func (sdid *Sdid) UnpackHasPrivilege(data []byte) (bool, error)

UnpackHasPrivilege is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x05d80b00.

Solidity: function hasPrivilege(uint256 tokenId, uint256 privId, address user) view returns(bool)

func (*Sdid) UnpackHasRole

func (sdid *Sdid) UnpackHasRole(data []byte) (bool, error)

UnpackHasRole is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*Sdid) UnpackInitializedEvent

func (sdid *Sdid) UnpackInitializedEvent(log *types.Log) (*SdidInitialized, error)

UnpackInitializedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event Initialized(uint8 version)

func (*Sdid) UnpackIsApprovedForAll

func (sdid *Sdid) UnpackIsApprovedForAll(data []byte) (bool, error)

UnpackIsApprovedForAll is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xe985e9c5.

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

func (*Sdid) UnpackMINTERROLE

func (sdid *Sdid) UnpackMINTERROLE(data []byte) ([32]byte, error)

UnpackMINTERROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*Sdid) UnpackMetadataUpdateEvent

func (sdid *Sdid) UnpackMetadataUpdateEvent(log *types.Log) (*SdidMetadataUpdate, error)

UnpackMetadataUpdateEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*Sdid) UnpackName

func (sdid *Sdid) UnpackName(data []byte) (string, error)

UnpackName is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x06fdde03.

Solidity: function name() view returns(string)

func (*Sdid) UnpackOwnerOf

func (sdid *Sdid) UnpackOwnerOf(data []byte) (common.Address, error)

UnpackOwnerOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x6352211e.

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

func (*Sdid) UnpackPrivilegeCreatedEvent

func (sdid *Sdid) UnpackPrivilegeCreatedEvent(log *types.Log) (*SdidPrivilegeCreated, error)

UnpackPrivilegeCreatedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event PrivilegeCreated(uint256 indexed privilegeId, bool enabled, string description)

func (*Sdid) UnpackPrivilegeDisabledEvent

func (sdid *Sdid) UnpackPrivilegeDisabledEvent(log *types.Log) (*SdidPrivilegeDisabled, error)

UnpackPrivilegeDisabledEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event PrivilegeDisabled(uint256 indexed privilegeId)

func (*Sdid) UnpackPrivilegeEnabledEvent

func (sdid *Sdid) UnpackPrivilegeEnabledEvent(log *types.Log) (*SdidPrivilegeEnabled, error)

UnpackPrivilegeEnabledEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event PrivilegeEnabled(uint256 indexed privilegeId)

func (*Sdid) UnpackPrivilegeEntry

func (sdid *Sdid) UnpackPrivilegeEntry(data []byte) (*big.Int, error)

UnpackPrivilegeEntry is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x48db4640.

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

func (*Sdid) UnpackPrivilegeExpiresAt

func (sdid *Sdid) UnpackPrivilegeExpiresAt(data []byte) (*big.Int, error)

UnpackPrivilegeExpiresAt is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xd0f8f5f6.

Solidity: function privilegeExpiresAt(uint256 tokenId, uint256 privId, address user) view returns(uint256)

func (*Sdid) UnpackPrivilegeRecord

func (sdid *Sdid) UnpackPrivilegeRecord(data []byte) (PrivilegeRecordOutput, error)

UnpackPrivilegeRecord is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xf9ad3efe.

Solidity: function privilegeRecord(uint256 ) view returns(bool enabled, string description)

func (*Sdid) UnpackPrivilegeSetEvent

func (sdid *Sdid) UnpackPrivilegeSetEvent(log *types.Log) (*SdidPrivilegeSet, error)

UnpackPrivilegeSetEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event PrivilegeSet(uint256 indexed tokenId, uint256 version, uint256 indexed privId, address indexed user, uint256 expires)

func (*Sdid) UnpackProxiableUUID

func (sdid *Sdid) UnpackProxiableUUID(data []byte) ([32]byte, error)

UnpackProxiableUUID is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*Sdid) UnpackRoleAdminChangedEvent

func (sdid *Sdid) UnpackRoleAdminChangedEvent(log *types.Log) (*SdidRoleAdminChanged, error)

UnpackRoleAdminChangedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*Sdid) UnpackRoleGrantedEvent

func (sdid *Sdid) UnpackRoleGrantedEvent(log *types.Log) (*SdidRoleGranted, error)

UnpackRoleGrantedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*Sdid) UnpackRoleRevokedEvent

func (sdid *Sdid) UnpackRoleRevokedEvent(log *types.Log) (*SdidRoleRevoked, error)

UnpackRoleRevokedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*Sdid) UnpackSafeMint

func (sdid *Sdid) UnpackSafeMint(data []byte) (*big.Int, error)

UnpackSafeMint is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x40d097c3.

Solidity: function safeMint(address to) returns(uint256 tokenId)

func (*Sdid) UnpackSafeMint0

func (sdid *Sdid) UnpackSafeMint0(data []byte) (*big.Int, error)

UnpackSafeMint0 is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xd204c45e.

Solidity: function safeMint(address to, string uri) returns(uint256 tokenId)

func (*Sdid) UnpackSupportsInterface

func (sdid *Sdid) UnpackSupportsInterface(data []byte) (bool, error)

UnpackSupportsInterface is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Sdid) UnpackSymbol

func (sdid *Sdid) UnpackSymbol(data []byte) (string, error)

UnpackSymbol is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Sdid) UnpackTRANSFERERROLE

func (sdid *Sdid) UnpackTRANSFERERROLE(data []byte) ([32]byte, error)

UnpackTRANSFERERROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x0ade7dc1.

Solidity: function TRANSFERER_ROLE() view returns(bytes32)

func (*Sdid) UnpackTokenIdToVersion

func (sdid *Sdid) UnpackTokenIdToVersion(data []byte) (*big.Int, error)

UnpackTokenIdToVersion is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xf1a9d41c.

Solidity: function tokenIdToVersion(uint256 ) view returns(uint256)

func (*Sdid) UnpackTokenURI

func (sdid *Sdid) UnpackTokenURI(data []byte) (string, error)

UnpackTokenURI is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xc87b56dd.

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

func (*Sdid) UnpackTransferEvent

func (sdid *Sdid) UnpackTransferEvent(log *types.Log) (*SdidTransfer, error)

UnpackTransferEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Sdid) UnpackTrustedForwarders

func (sdid *Sdid) UnpackTrustedForwarders(data []byte) (bool, error)

UnpackTrustedForwarders is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x54776bb9.

Solidity: function trustedForwarders(address ) view returns(bool)

func (*Sdid) UnpackUPGRADERROLE

func (sdid *Sdid) UnpackUPGRADERROLE(data []byte) ([32]byte, error)

UnpackUPGRADERROLE is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xf72c0d8b.

Solidity: function UPGRADER_ROLE() view returns(bytes32)

func (*Sdid) UnpackUnauthorizedError

func (sdid *Sdid) UnpackUnauthorizedError(raw []byte) (*SdidUnauthorized, error)

UnpackUnauthorizedError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error Unauthorized()

func (*Sdid) UnpackUpgradedEvent

func (sdid *Sdid) UnpackUpgradedEvent(log *types.Log) (*SdidUpgraded, error)

UnpackUpgradedEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event Upgraded(address indexed implementation)

func (*Sdid) UnpackZeroAddressError

func (sdid *Sdid) UnpackZeroAddressError(raw []byte) (*SdidZeroAddress, error)

UnpackZeroAddressError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ZeroAddress()

type SdidAdminChanged

type SdidAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           *types.Log // Blockchain specific contextual infos
}

SdidAdminChanged represents a AdminChanged event raised by the Sdid contract.

func (SdidAdminChanged) ContractEventName

func (SdidAdminChanged) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidApproval

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

SdidApproval represents a Approval event raised by the Sdid contract.

func (SdidApproval) ContractEventName

func (SdidApproval) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidApprovalForAll

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

SdidApprovalForAll represents a ApprovalForAll event raised by the Sdid contract.

func (SdidApprovalForAll) ContractEventName

func (SdidApprovalForAll) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidBatchMetadataUpdate

type SdidBatchMetadataUpdate struct {
	FromTokenId *big.Int
	ToTokenId   *big.Int
	Raw         *types.Log // Blockchain specific contextual infos
}

SdidBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the Sdid contract.

func (SdidBatchMetadataUpdate) ContractEventName

func (SdidBatchMetadataUpdate) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidBeaconUpgraded

type SdidBeaconUpgraded struct {
	Beacon common.Address
	Raw    *types.Log // Blockchain specific contextual infos
}

SdidBeaconUpgraded represents a BeaconUpgraded event raised by the Sdid contract.

func (SdidBeaconUpgraded) ContractEventName

func (SdidBeaconUpgraded) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidInitialized

type SdidInitialized struct {
	Version uint8
	Raw     *types.Log // Blockchain specific contextual infos
}

SdidInitialized represents a Initialized event raised by the Sdid contract.

func (SdidInitialized) ContractEventName

func (SdidInitialized) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidMetadataUpdate

type SdidMetadataUpdate struct {
	TokenId *big.Int
	Raw     *types.Log // Blockchain specific contextual infos
}

SdidMetadataUpdate represents a MetadataUpdate event raised by the Sdid contract.

func (SdidMetadataUpdate) ContractEventName

func (SdidMetadataUpdate) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidPrivilegeCreated

type SdidPrivilegeCreated struct {
	PrivilegeId *big.Int
	Enabled     bool
	Description string
	Raw         *types.Log // Blockchain specific contextual infos
}

SdidPrivilegeCreated represents a PrivilegeCreated event raised by the Sdid contract.

func (SdidPrivilegeCreated) ContractEventName

func (SdidPrivilegeCreated) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidPrivilegeDisabled

type SdidPrivilegeDisabled struct {
	PrivilegeId *big.Int
	Raw         *types.Log // Blockchain specific contextual infos
}

SdidPrivilegeDisabled represents a PrivilegeDisabled event raised by the Sdid contract.

func (SdidPrivilegeDisabled) ContractEventName

func (SdidPrivilegeDisabled) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidPrivilegeEnabled

type SdidPrivilegeEnabled struct {
	PrivilegeId *big.Int
	Raw         *types.Log // Blockchain specific contextual infos
}

SdidPrivilegeEnabled represents a PrivilegeEnabled event raised by the Sdid contract.

func (SdidPrivilegeEnabled) ContractEventName

func (SdidPrivilegeEnabled) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidPrivilegeSet

type SdidPrivilegeSet struct {
	TokenId *big.Int
	Version *big.Int
	PrivId  *big.Int
	User    common.Address
	Expires *big.Int
	Raw     *types.Log // Blockchain specific contextual infos
}

SdidPrivilegeSet represents a PrivilegeSet event raised by the Sdid contract.

func (SdidPrivilegeSet) ContractEventName

func (SdidPrivilegeSet) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidRoleAdminChanged

type SdidRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               *types.Log // Blockchain specific contextual infos
}

SdidRoleAdminChanged represents a RoleAdminChanged event raised by the Sdid contract.

func (SdidRoleAdminChanged) ContractEventName

func (SdidRoleAdminChanged) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidRoleGranted

type SdidRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     *types.Log // Blockchain specific contextual infos
}

SdidRoleGranted represents a RoleGranted event raised by the Sdid contract.

func (SdidRoleGranted) ContractEventName

func (SdidRoleGranted) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidRoleRevoked

type SdidRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     *types.Log // Blockchain specific contextual infos
}

SdidRoleRevoked represents a RoleRevoked event raised by the Sdid contract.

func (SdidRoleRevoked) ContractEventName

func (SdidRoleRevoked) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidTransfer

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

SdidTransfer represents a Transfer event raised by the Sdid contract.

func (SdidTransfer) ContractEventName

func (SdidTransfer) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidUnauthorized

type SdidUnauthorized struct {
}

SdidUnauthorized represents a Unauthorized error raised by the Sdid contract.

type SdidUpgraded

type SdidUpgraded struct {
	Implementation common.Address
	Raw            *types.Log // Blockchain specific contextual infos
}

SdidUpgraded represents a Upgraded event raised by the Sdid contract.

func (SdidUpgraded) ContractEventName

func (SdidUpgraded) ContractEventName() string

ContractEventName returns the user-defined event name.

type SdidZeroAddress

type SdidZeroAddress struct {
}

SdidZeroAddress represents a ZeroAddress error raised by the Sdid contract.

Jump to

Keyboard shortcuts

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