Functions

uri

@dev ID metadata fetcher. @param id ID to fetch from. @return tokenURI Metadata.

Metadata

TypeValue
functionSelector0e89341c
stateMutabilityview
visibilitypublic

Parameters

NameType
iduint256

_authorized

@dev Access control check for ID key balance holders.

Metadata

TypeValue
functionSelector
stateMutabilityview
visibilityinternal

_coreKeyHolder

@dev Core access control check. Initalizes with `address(this)` having implicit permission without writing to storage by checking `totalSupply()` is zero. Otherwise, this permission can be set to additional accounts, including retaining `address(this)`, via `mint()`.

Metadata

TypeValue
functionSelector
stateMutabilityview
visibilityinternal

supportsInterface

@dev ERC165 interface detection. @param interfaceId ID to check. @return Fetch detection success.

Metadata

TypeValue
functionSelector01ffc9a7
stateMutabilityview
visibilitypublic

Parameters

NameType
interfaceIdbytes4

onERC721Received

----------------------------------------------------------------------- ERC721 Receiver Logic -----------------------------------------------------------------------

Metadata

TypeValue
functionSelector150b7a02
stateMutabilitypayable
visibilitypublic

Parameters

NameType
address
address
uint256
bytes

constructor

@notice Create Keep template. @param _uriFetcher Metadata default.

Parameters

NameType
_uriFetchercontract Keep

initialize

@notice Initialize Keep configuration. @param calls Initial Keep operations. @param signers Initial signer set. @param threshold Initial quorum.

Metadata

TypeValue
functionSelector3d30ef47
stateMutabilitypayable
visibilitypublic

Parameters

NameType
callsstruct Call[]
signersaddress[]
thresholduint256

execute

@notice Execute operation from Keep with signatures. @param op Enum operation to execute. @param to Address to send operation to. @param value Amount of ETH to send in operation. @param data Payload to send in operation. @param sigs Array of Keep signatures sorted in ascending order by addresses. @dev Make sure signatures are sorted in ascending order - otherwise verification will fail. @return success Fetch whether operation succeeded.

Metadata

TypeValue
functionSelector6c4b5546
stateMutabilitypayable
visibilitypublic

Parameters

NameType
openum Operation
toaddress
valueuint256
databytes
sigsstruct Signature[]

_recoverSig

Metadata

TypeValue
functionSelector
stateMutabilityview
visibilityinternal

Parameters

NameType
hashbytes32
useraddress
vuint8
rbytes32
sbytes32

multiExecute

@notice Execute operations from Keep with `execute()` or as key holder. @param calls Keep operations as arrays of `op, to, value, data`. @return successes Fetches whether operations succeeded.

Metadata

TypeValue
functionSelector8cb18c12
stateMutabilitypayable
visibilitypublic

Parameters

NameType
callsstruct Call[]

_execute

Metadata

TypeValue
functionSelector
stateMutabilitynonpayable
visibilityinternal

Parameters

NameType
openum Operation
toaddress
valueuint256
databytes

mint

@notice ID minter. @param to Recipient of mint. @param id ID to mint. @param amount ID balance to mint. @param data Optional data payload.

Metadata

TypeValue
functionSelector731133e9
stateMutabilitypayable
visibilitypublic

Parameters

NameType
toaddress
iduint256
amountuint256
databytes

burn

@notice ID burner. @param from Account to burn from. @param id ID to burn. @param amount Balance to burn.

Metadata

TypeValue
functionSelectorf5298aca
stateMutabilitypayable
visibilitypublic

Parameters

NameType
fromaddress
iduint256
amountuint256

setQuorum

@notice Update Keep quorum threshold. @param threshold Signature threshold for `execute()`.

Metadata

TypeValue
functionSelectorc1ba4e59
stateMutabilitypayable
visibilitypublic

Parameters

NameType
thresholduint256

setTransferability

@notice ID transferability setter. @param id ID to set transferability for. @param transferability Transferability setting.

Metadata

TypeValue
functionSelector7140d960
stateMutabilitypayable
visibilitypublic

Parameters

NameType
iduint256
transferabilitybool

setPermission

@notice ID transfer permission toggle. @param id ID to set permission for. @param set Permission setting. @dev This sets account-based ID restriction globally.

Metadata

TypeValue
functionSelector7769ea0b
stateMutabilitypayable
visibilitypublic

Parameters

NameType
iduint256
setbool

setUserPermission

@notice ID transfer permission setting. @param to Account to set permission for. @param id ID to set permission for. @param set Permission setting. @dev This sets account-based ID restriction specifically.

Metadata

TypeValue
functionSelector49e5078c
stateMutabilitypayable
visibilitypublic

Parameters

NameType
toaddress
iduint256
setbool

setURI

@notice ID metadata setter. @param id ID to set metadata for. @param tokenURI Metadata setting.

Metadata

TypeValue
functionSelector862440e2
stateMutabilitypayable
visibilitypublic

Parameters

NameType
iduint256
tokenURIstring