{"modulePath":"github.com/GoCodeAlone/workflow-plugin-crypto","version":"v0.1.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package catalog\n\n## Constants\n\n```go\nconst (\n\tCryptoStorageArchiveFull                 = \"archive-full\"\n\tCryptoNetworkProfilePublicChainPeer      = \"public-chain-peer\"\n\tCryptoRewardDestinationTreasury          = \"treasury\"\n\tCryptoProofModeOperationalEvidence       = \"operational-evidence\"\n\tCryptoProofModeMiningShare               = \"mining-share\"\n\tCryptoProofModeTransactionVerify         = \"transaction-verification\"\n\tCryptoProofModeValidatorDuty             = \"validator-duty\"\n\tCryptoProofModeProtocolReward            = \"protocol-reward\"\n\tCryptoRoleFullNode                       = \"full-node\"\n\tCryptoRoleTransactionVerifier            = \"transaction-verifier\"\n\tCryptoRoleEthereumTestnetValidatorReward = \"ethereum-testnet-validator-reward\"\n\tCryptoRoleMiner                          = \"miner\"\n\tCryptoRoleValidator                      = \"validator\"\n\tCryptoRoleProtocolReward                 = \"protocol-reward\"\n\tCryptoRoleStatusSupported                = \"supported\"\n\tCryptoRoleStatusDeferred                 = \"deferred\"\n)\n```\n\n```go\nconst (\n\tCryptoOperationalEvidenceProtocolVersion = \"crypto-operational-evidence/v1\"\n\tCryptoRPCPolicyPrivateOnly               = \"private-only\"\n\tCryptoMinerEvidenceModeDevnetBlock       = \"devnet-block\"\n\tCryptoMinerEvidenceModePoolShare         = \"pool-share\"\n\tCryptoValidatorRewardStatusObserved      = \"observed\"\n\tCryptoValidatorWalletReceiptPending      = \"pending\"\n\tCryptoValidatorWalletReceiptObserved     = \"observed\"\n)\n```\n\n```go\nconst (\n\tVersion = core.Version\n\n\tNetworkModeBatch       = core.NetworkModeBatch\n\tNetworkModeNodeService = core.NetworkModeNodeService\n\n\tWorkloadProvider = core.WorkloadProvider\n\n\tExecutionSandboxedContainer = core.ExecutionSandboxedContainer\n\tProofArtifactHash           = core.ProofArtifactHash\n\n\tNetworkModeDirect  = core.NetworkModeDirect\n\tNetworkModeRelay   = core.NetworkModeRelay\n\tNetworkModeOffline = core.NetworkModeOffline\n\n\tUpstreamClientConformanceShapeOnly  = core.UpstreamClientConformanceShapeOnly\n\tUpstreamClientConformanceRealClient = core.UpstreamClientConformanceRealClient\n\n\tSettlementTargetTreasuryWallet = core.SettlementTargetTreasuryWallet\n\n\tCryptoRewardCustodyTreasuryThenDistribute = core.CryptoRewardCustodyTreasuryThenDistribute\n\tCryptoRewardDistributionContributionShare = core.CryptoRewardDistributionContributionShare\n\tCryptoRewardParticipantAccountWallet      = core.CryptoRewardParticipantAccountWallet\n)\n```\n\n## Variables\n\n```go\nvar (\n\tCanonicalHash                 = core.CanonicalHash\n\tDefaultProviderRuntimeProfile = core.DefaultProviderRuntimeProfile\n)\n```\n\n## Functions\n\n```go\nfunc CryptoProviderManifestDigest() string\n```\n\n## Types\n\n```go\ntype CryptoEthereumTestnetValidatorRewardOperationalEvidence struct {\n\tNetwork                          string `json:\"network\"`\n\tTestnet                          bool   `json:\"testnet\"`\n\tValidatorPubkey                  string `json:\"validator_pubkey\"`\n\tValidatorClientVersion           string `json:\"validator_client_version\"`\n\tValidatorClientIdentityRef       string `json:\"validator_client_identity_ref\"`\n\tSignerModeRef                    string `json:\"signer_mode_ref\"`\n\tValidatorDutyEvidenceRef         string `json:\"validator_duty_evidence_ref\"`\n\tRewardAccrualEvidenceRef         string `json:\"reward_accrual_evidence_ref\"`\n\tRewardAccrualStatus              string `json:\"reward_accrual_status\"`\n\tRewardDeltaGwei                  int64  `json:\"reward_delta_gwei\"`\n\tWalletReceiptStatusRef           string `json:\"wallet_receipt_status_ref\"`\n\tWalletReceiptStatus              string `json:\"wallet_receipt_status\"`\n\tWithdrawalAddressRef             string `json:\"withdrawal_address_ref\"`\n\tFeeRecipientAddressRef           string `json:\"fee_recipient_address_ref\"`\n\tSlashingProtectionEvidenceRef    string `json:\"slashing_protection_evidence_ref\"`\n\tRuntimeReceiptRef                string `json:\"runtime_receipt_ref\"`\n\tObservationWindowSeconds         int    `json:\"observation_window_seconds\"`\n\tSourceStateDigest                string `json:\"source_state_digest\"`\n\tFixtureMode                      bool   `json:\"fixture_mode,omitempty\"`\n\tProtocolNativeRewardProof        bool   `json:\"protocol_native_reward_proof\"`\n\tValueBearingMainnetFundsInvolved bool   `json:\"value_bearing_mainnet_funds_involved\"`\n}\n```\n\n```go\ntype CryptoFullNodeOperationalEvidence struct {\n\tUpstreamClientName        string `json:\"upstream_client_name\"`\n\tUpstreamClientVersion     string `json:\"upstream_client_version\"`\n\tRuntimeImageRef           string `json:\"runtime_image_ref\"`\n\tRuntimeImageDigest        string `json:\"runtime_image_digest\"`\n\tDurableDataRef            string `json:\"durable_data_ref\"`\n\tServiceHealthReceiptRef   string `json:\"service_health_receipt_ref\"`\n\tPeerPolicyEvidenceRef     string `json:\"peer_policy_evidence_ref\"`\n\tRPCPolicy                 string `json:\"rpc_policy\"`\n\tProtocolNativeRewardProof bool   `json:\"protocol_native_reward_proof\"`\n}\n```\n\n```go\ntype CryptoImageMetadata struct {\n\tUpstreamClientName       string   `json:\"upstream_client_name\"`\n\tDigestPinnedRequired     bool     `json:\"digest_pinned_required\"`\n\tOperatorSuppliedRequired bool     `json:\"operator_supplied_required,omitempty\"`\n\tRecommendedImageRef      string   `json:\"recommended_image_ref,omitempty\"`\n\tKnownImageRefs           []string `json:\"known_image_refs,omitempty\"`\n}\n```\n\n```go\ntype CryptoMinerOperationalEvidence struct {\n\tMode                      string `json:\"mode\"`\n\tPoolShareEvidenceRef      string `json:\"pool_share_evidence_ref,omitempty\"`\n\tDevnetBlockEvidenceRef    string `json:\"devnet_block_evidence_ref,omitempty\"`\n\tTreasuryRewardAddressRef  string `json:\"treasury_reward_address_ref\"`\n\tHashrateBudgetRef         string `json:\"hashrate_budget_ref\"`\n\tResourceBudgetRef         string `json:\"resource_budget_ref\"`\n\tStaleShareAccountingRef   string `json:\"stale_share_accounting_ref\"`\n\tProtocolNativeRewardProof bool   `json:\"protocol_native_reward_proof\"`\n}\n```\n\n```go\ntype CryptoNetworkMetadata struct {\n\tProfileID                 string `json:\"profile_id\"`\n\tPeerPort                  int    `json:\"peer_port\"`\n\tAllowedPeerPorts          []int  `json:\"allowed_peer_ports,omitempty\"`\n\tRequiresIngress           bool   `json:\"requires_ingress\"`\n\tUsesDNSSeeds              bool   `json:\"uses_dns_seeds\"`\n\tRPCPrivateOnly            bool   `json:\"rpc_private_only\"`\n\tAuditRequired             bool   `json:\"audit_required\"`\n\tMaxOutboundPeers          int    `json:\"max_outbound_peers\"`\n\tMaxOutboundBytesPerSecond int64  `json:\"max_outbound_bytes_per_second\"`\n\tKillClosesPeers           bool   `json:\"kill_closes_peers\"`\n}\n```\n\n```go\ntype CryptoOperationalEvidenceContract struct {\n\tRole                    string   `json:\"role\"`\n\tProofMode               string   `json:\"proof_mode\"`\n\tActivationStatus        string   `json:\"activation_status\"`\n\tSupportedModes          []string `json:\"supported_modes,omitempty\"`\n\tRequiredRefs            []string `json:\"required_refs\"`\n\tProtocolRewardProof     bool     `json:\"protocol_reward_proof\"`\n\tRequiresCustodyContract bool     `json:\"requires_custody_contract,omitempty\"`\n\tRequiresSlashingRisk    bool     `json:\"requires_slashing_risk,omitempty\"`\n\tDeferredReason          string   `json:\"deferred_reason,omitempty\"`\n}\n```\n\n```go\nfunc CryptoOperationalEvidenceContracts() []CryptoOperationalEvidenceContract\n```\n\n```go\nfunc (c CryptoOperationalEvidenceContract) Validate() error\n```\n\n```go\ntype CryptoOperationalEvidenceDocument struct {\n\tProtocolVersion                string                                                   `json:\"protocol_version\"`\n\tPluginID                       string                                                   `json:\"plugin_id\"`\n\tChain                          string                                                   `json:\"chain\"`\n\tRole                           string                                                   `json:\"role\"`\n\tExternalRefs                   map[string]string                                        `json:\"external_refs,omitempty\"`\n\tFullNode                       *CryptoFullNodeOperationalEvidence                       `json:\"full_node,omitempty\"`\n\tTransactionVerifier            *CryptoTransactionVerifierOperationalEvidence            `json:\"transaction_verifier,omitempty\"`\n\tMiner                          *CryptoMinerOperationalEvidence                          `json:\"miner,omitempty\"`\n\tValidator                      *CryptoValidatorOperationalEvidence                      `json:\"validator,omitempty\"`\n\tProtocolReward                 *CryptoProtocolRewardOperationalEvidence                 `json:\"protocol_reward,omitempty\"`\n\tEthereumTestnetValidatorReward *CryptoEthereumTestnetValidatorRewardOperationalEvidence `json:\"ethereum_testnet_validator_reward,omitempty\"`\n}\n```\n\n```go\nfunc (d CryptoOperationalEvidenceDocument) Validate() error\n```\n\n```go\ntype CryptoProfile struct {\n\tChain             string                `json:\"chain\"`\n\tProductID         string                `json:\"product_id\"`\n\tDisplayName       string                `json:\"display_name\"`\n\tPurpose           string                `json:\"purpose\"`\n\tPoolID            string                `json:\"pool_id\"`\n\tProviderID        string                `json:\"provider_id\"`\n\tContractID        string                `json:\"contract_id\"`\n\tSchemaRef         string                `json:\"schema_ref\"`\n\tSchemaDigest      string                `json:\"schema_digest\"`\n\tConfigRef         string                `json:\"config_ref\"`\n\tSettlementNetwork string                `json:\"settlement_network\"`\n\tWalletRef         string                `json:\"wallet_ref\"`\n\tMinDiskBytes      int64                 `json:\"min_disk_bytes\"`\n\tMinMemoryBytes    int64                 `json:\"min_memory_bytes\"`\n\tMinBandwidthMbps  int64                 `json:\"min_bandwidth_mbps\"`\n\tRole              CryptoRoleMetadata    `json:\"role\"`\n\tStorage           CryptoStorageMetadata `json:\"storage\"`\n\tNetwork           CryptoNetworkMetadata `json:\"network\"`\n\tRewards           CryptoRewardMetadata  `json:\"rewards\"`\n\tProof             CryptoProofMetadata   `json:\"proof\"`\n\tImage             CryptoImageMetadata   `json:\"image\"`\n}\n```\n\n```go\nfunc CryptoEthereumTestnetValidatorRewardProfile() (CryptoProfile, bool)\n```\n\n```go\nfunc CryptoNetworkProfile(chain string) (CryptoProfile, bool)\n```\n\n```go\nfunc CryptoTransactionVerifierProfile(chain string) (CryptoProfile, bool)\n```\n\n```go\nfunc (p CryptoProfile) NetworkProduct(orgID string) NetworkProduct\n```\n\n```go\nfunc (p CryptoProfile) ProviderContract() ProviderContract\n```\n\n```go\ntype CryptoProofMetadata struct {\n\tMode                      string   `json:\"mode\"`\n\tShapeOnly                 bool     `json:\"shape_only\"`\n\tProtocolNativeRewardProof bool     `json:\"protocol_native_reward_proof\"`\n\tEvidenceRefs              []string `json:\"evidence_refs,omitempty\"`\n}\n```\n\n```go\ntype CryptoProtocolRewardOperationalEvidence struct {\n\tChainRewardEventEvidenceRef string `json:\"chain_reward_event_evidence_ref\"`\n\tTreasuryCreditEvidenceRef   string `json:\"treasury_credit_evidence_ref\"`\n\tAttributionPolicyRef        string `json:\"attribution_policy_ref\"`\n}\n```\n\n```go\ntype CryptoProviderManifestDocument struct {\n\tProtocolVersion   string                              `json:\"protocol_version\"`\n\tPluginID          string                              `json:\"plugin_id\"`\n\tVersion           string                              `json:\"version\"`\n\tRoleProfiles      []CryptoRoleProfile                 `json:\"role_profiles\"`\n\tEvidenceContracts []CryptoOperationalEvidenceContract `json:\"evidence_contracts\"`\n\tProfiles          []CryptoProfile                     `json:\"profiles\"`\n}\n```\n\n```go\nfunc CryptoProviderManifest() CryptoProviderManifestDocument\n```\n\n```go\nfunc (m CryptoProviderManifestDocument) Validate() error\n```\n\n```go\ntype CryptoRewardMetadata struct {\n\tProtocolRewardDestination  string `json:\"protocol_reward_destination\"`\n\tTreasuryAccountID          string `json:\"treasury_account_id,omitempty\"`\n\tTreasuryWalletRef          string `json:\"treasury_wallet_ref,omitempty\"`\n\tManagementFeeBasisPoints   int    `json:\"management_fee_basis_points\"`\n\tDirectWorkerPayout         bool   `json:\"direct_worker_payout\"`\n\tProtocolRewardProofClaimed bool   `json:\"protocol_reward_proof_claimed\"`\n}\n```\n\n```go\ntype CryptoRewardRoutingPolicy = core.CryptoRewardRoutingPolicy\n```\n\n```go\ntype CryptoRoleMetadata struct {\n\tID                       string `json:\"id\"`\n\tShapeOnly                bool   `json:\"shape_only\"`\n\tProtocolRewardsAssumed   bool   `json:\"protocol_rewards_assumed\"`\n\tOperationalConformanceID string `json:\"operational_conformance_id,omitempty\"`\n}\n```\n\n```go\ntype CryptoRoleProfile struct {\n\tID                           string   `json:\"id\"`\n\tStatus                       string   `json:\"status\"`\n\tDisplayName                  string   `json:\"display_name\"`\n\tDescription                  string   `json:\"description\"`\n\tProofMode                    string   `json:\"proof_mode\"`\n\tTreasuryRequired             bool     `json:\"treasury_required\"`\n\tDirectWorkerPayout           bool     `json:\"direct_worker_payout\"`\n\tProductCreationSupported     bool     `json:\"product_creation_supported\"`\n\tRequiresCustodyContract      bool     `json:\"requires_custody_contract,omitempty\"`\n\tRequiresSlashingRiskContract bool     `json:\"requires_slashing_risk_contract,omitempty\"`\n\tRequiredEvidence             []string `json:\"required_evidence,omitempty\"`\n\tDeferredReason               string   `json:\"deferred_reason,omitempty\"`\n}\n```\n\n```go\nfunc CryptoRoleProfileByID(roleID string) (CryptoRoleProfile, bool)\n```\n\n```go\nfunc CryptoRoleProfiles() []CryptoRoleProfile\n```\n\n```go\ntype CryptoStorageMetadata struct {\n\tMode                         string `json:\"mode\"`\n\tMinDiskBytes                 int64  `json:\"min_disk_bytes\"`\n\tMinDiskDisplay               string `json:\"min_disk_display\"`\n\tRecommendedDiskBytes         int64  `json:\"recommended_disk_bytes\"`\n\tRecommendedDiskDisplay       string `json:\"recommended_disk_display\"`\n\tGrowthMarginBytes            int64  `json:\"growth_margin_bytes\"`\n\tGrowthMarginDisplay          string `json:\"growth_margin_display\"`\n\tDurableVolumeRequired        bool   `json:\"durable_volume_required\"`\n\tPreserveOnUpdate             bool   `json:\"preserve_on_update\"`\n\tPreserveOnUninstall          bool   `json:\"preserve_on_uninstall\"`\n\tPruningSupported             bool   `json:\"pruning_supported\"`\n\tSnapshotVerificationRequired bool   `json:\"snapshot_verification_required\"`\n}\n```\n\n```go\ntype CryptoTransactionVerifierOperationalEvidence struct {\n\tRawTransactionDigest      string `json:\"raw_transaction_digest\"`\n\tExpectedTxID              string `json:\"expected_txid\"`\n\tComputedTxID              string `json:\"computed_txid\"`\n\tOutputAccountingRef       string `json:\"output_accounting_ref\"`\n\tRuntimeReceiptRef         string `json:\"runtime_receipt_ref\"`\n\tProtocolNativeRewardProof bool   `json:\"protocol_native_reward_proof\"`\n}\n```\n\n```go\ntype CryptoValidatorOperationalEvidence struct {\n\tValidatorDutyAttestationRef string `json:\"validator_duty_attestation_ref\"`\n\tCustodyContractRef          string `json:\"custody_contract_ref\"`\n\tSlashingRiskContractRef     string `json:\"slashing_risk_contract_ref\"`\n\tTreasuryCreditEvidenceRef   string `json:\"treasury_credit_evidence_ref\"`\n}\n```\n\n```go\ntype ExecutionSecurityTier = core.ExecutionSecurityTier\n```\n\n```go\ntype NetworkMode = core.NetworkMode\n```\n\n```go\ntype NetworkOperatingMode = core.NetworkOperatingMode\n```\n\n```go\ntype NetworkProduct = core.NetworkProduct\n```\n\n```go\ntype PlacementConstraints = core.PlacementConstraints\n```\n\n```go\ntype PlacementRequirements = core.PlacementRequirements\n```\n\n```go\ntype ProofTier = core.ProofTier\n```\n\n```go\ntype ProviderArtifactSpec = core.ProviderArtifactSpec\n```\n\n```go\ntype ProviderConfig = core.ProviderConfig\n```\n\n```go\ntype ProviderContract = core.ProviderContract\n```\n\n```go\ntype ProviderOperation = core.ProviderOperation\n```\n\n```go\ntype ProviderRuntimeContract = core.ProviderRuntimeContract\n```\n\n```go\ntype ProviderRuntimeProfile = core.ProviderRuntimeProfile\n```\n\n```go\ntype ProviderUpstreamClientRequirement = core.ProviderUpstreamClientRequirement\n```\n\n```go\nfunc CryptoUpstreamClientRequirement(chain string) (ProviderUpstreamClientRequirement, bool)\n```\n\n```go\ntype ProviderUpstreamImagePolicy = core.ProviderUpstreamImagePolicy\n```\n\n```go\ntype SessionPolicy = core.SessionPolicy\n```\n\n```go\ntype SettlementTarget = core.SettlementTarget\n```\n\n```go\ntype StorageGuidance = core.StorageGuidance\n```\n\n","path":"github.com/GoCodeAlone/workflow-plugin-crypto/catalog","name":"catalog","synopsis":"","isRedistributable":true}
