PolicyArtifact
HardKAS SDK / artifacts/src / PolicyArtifact
Interface: PolicyArtifact
Defined in: packages/artifacts/src/types.ts:468
Extends
BaseArtifact<"policy.v1">
Properties
assumptionLevel?
optionalassumptionLevel?:AssumptionLevel
Defined in: packages/artifacts/src/types.ts:44
Inherited from
contentHash?
optionalcontentHash?:ContentHash
Defined in: packages/artifacts/src/types.ts:42
Inherited from
createdAt
createdAt:
string
Defined in: packages/artifacts/src/types.ts:40
Inherited from
decision
decision:
"ALLOW"|"DENY"
Defined in: packages/artifacts/src/types.ts:469
execution?
optionalexecution?:object
Defined in: packages/artifacts/src/types.ts:46
domain
domain:
"kaspa-l1"|"evm-l2"
mode
mode:
"rpc"|"simulator"|"localnet"
network
network:
string
Inherited from
executionMode?
optionalexecutionMode?:AnyExecutionMode
Defined in: packages/artifacts/src/types.ts:45
Inherited from
hardkasVersion
hardkasVersion:
string
Defined in: packages/artifacts/src/types.ts:35
Inherited from
hashVersion?
optionalhashVersion?:string|number
Defined in: packages/artifacts/src/types.ts:37
Inherited from
lineage?
optionallineage?:object
Defined in: packages/artifacts/src/types.ts:48
artifactId
artifactId:
ArtifactId
lineageId
lineageId:
LineageId
parentArtifactId?
optionalparentArtifactId?:ArtifactId
rootArtifactId
rootArtifactId:
ArtifactId
sequence?
optionalsequence?:number|EventSequence
Inherited from
mode
mode:
AnyExecutionMode
Defined in: packages/artifacts/src/types.ts:39
Inherited from
networkId
networkId:
NetworkId
Defined in: packages/artifacts/src/types.ts:38
Inherited from
rules
rules:
object[]
Defined in: packages/artifacts/src/types.ts:470
id
id:
string
inputHash?
optionalinputHash?:string
result
result:
"PASS"|"FAIL"
schema
schema:
"hardkas.policy.v1"
Defined in: packages/artifacts/src/types.ts:33
Inherited from
schemaVersion?
optionalschemaVersion?:string
Defined in: packages/artifacts/src/types.ts:34
Inherited from
version
version:
string
Defined in: packages/artifacts/src/types.ts:36
Inherited from
workflowId?
optionalworkflowId?:WorkflowId
Defined in: packages/artifacts/src/types.ts:43