Preparing search index...
The search index is not available
@lit-protocol/js-sdk
@lit-protocol/js-sdk
access-control-conditions/src
canonicalEVMContractConditionFormatter
Function canonicalEVMContractConditionFormatter
canonicalEVMContract
Condition
Formatter
(
cond
:
LPACC_EVM_CONTRACT
|
AccsOperatorParams
|
EvmContractConditions
)
:
any
(EVM) Canonical EVM Contract Condition Formatter
need to return in the exact format below:
pub struct JsonAccessControlCondition { pub contract_address: String, pub chain: String, pub standard_contract_type: String, pub method: String, pub parameters: Vec
, pub return_value_test: JsonReturnValueTest, }
Returns
Parameters
cond:
LPACC_EVM_CONTRACT
|
AccsOperatorParams
|
EvmContractConditions
Returns
any
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@lit-
protocol/js-
sdk
access-
control-
conditions/src
auth-
browser/src
cosmos
Connect
eth
Connect
sol
Connect
auth-
helpers/src
bls-
sdk/src
constants/src
contracts-
sdk/src
core/src
crypto/src
ecdsa-
sdk/src
encryption/src
lit-
auth-
client/src
lit-
node-
client-
nodejs/src
lit-
node-
client/src
logger/src
misc-
browser/src
misc/src
nacl/src
pkp-
base/src
pkp-
client/src
ethers
ethers
constants
providers
utils
RLP
base64
pkp-
cosmos/src
Long
pkp-
ethers/src
pkp-
sui/src
pkp-
walletconnect/src
sev-
snp-
utils-
sdk/src
types/src
uint8arrays/src
wrapped-
keys-
lit-
actions/src
wrapped-
keys/src
canonical
Access
Control
Condition
Formatter
canonical
Cosmos
Condition
Formatter
canonicalEVMContract
Condition
Formatter
canonical
Resource
Id
Formatter
canonical
Sol
Rpc
Condition
Formatter
canonical
Unified
Access
Control
Condition
Formatter
format
Atom
format
Sol
hash
Access
Control
Conditions
hashEVMContract
Conditions
hash
Resource
Id
hash
Resource
Id
For
Signing
hash
Sol
Rpc
Conditions
hash
Unified
Access
Control
Conditions
humanize
Access
Control
Conditions
humanize
Comparator
humanize
Cosmos
Conditions
humanize
Evm
Basic
Access
Control
Conditions
humanize
Evm
Contract
Conditions
humanize
Sol
Rpc
Conditions
humanize
Unified
Access
Control
Conditions
validate
Access
Control
Conditions
Schema
validateEVMContract
Conditions
Schema
validate
Sol
Rpc
Conditions
Schema
validate
Unified
Access
Control
Conditions
Schema
Generated using
TypeDoc
(EVM) Canonical EVM Contract Condition Formatter
need to return in the exact format below:
pub struct JsonAccessControlCondition { pub contract_address: String, pub chain: String, pub standard_contract_type: String, pub method: String, pub parameters: Vec,
pub return_value_test: JsonReturnValueTest,
}
Returns