sigil-node · executor_labor
Source declarations, signatures and documentation for executor_labor.
Source: sigil/node/sigil-node/src/executor_labor.rs. SHA-256: 72d7a67dfeb9a64f74263e87aaf160e22c3ce3453cd71c4907347a58d1fde282.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
executor_labor::GAS_POST_LABOR_JOB
Gas for posting a new labor job (stores job record on-chain).
pub const GAS_POST_LABOR_JOB: u64;Source line: 54.
executor_labor::GAS_CANCEL_LABOR_JOB
Gas for cancelling a labor job.
pub const GAS_CANCEL_LABOR_JOB: u64;Source line: 56.
executor_labor::GAS_SUBMIT_LABOR_BID
Gas for submitting a bid (stores bid record + job-bid index entry).
pub const GAS_SUBMIT_LABOR_BID: u64;Source line: 58.
executor_labor::GAS_WITHDRAW_LABOR_BID
Gas for withdrawing a bid.
pub const GAS_WITHDRAW_LABOR_BID: u64;Source line: 60.
executor_labor::GAS_ACCEPT_LABOR_BID
Gas for accepting a bid (updates job status).
pub const GAS_ACCEPT_LABOR_BID: u64;Source line: 62.
executor_labor::GAS_CREATE_LABOR_CONTRACT
Gas for creating a contract (stores contract + milestones + worker index).
pub const GAS_CREATE_LABOR_CONTRACT: u64;Source line: 64.
executor_labor::GAS_FUND_LABOR_ESCROW
Gas for funding the escrow (updates contract state).
pub const GAS_FUND_LABOR_ESCROW: u64;Source line: 66.
executor_labor::GAS_LABOR_OPEN_OFFER
Gas for opening and funding an open bounty offer.
pub const GAS_LABOR_OPEN_OFFER: u64;Source line: 68.
executor_labor::GAS_LABOR_SUBMIT_CLAIM
Gas for submitting an open bounty claim.
pub const GAS_LABOR_SUBMIT_CLAIM: u64;Source line: 70.
executor_labor::GAS_LABOR_ATTEST_CLAIM
Gas for attesting an open bounty claim.
pub const GAS_LABOR_ATTEST_CLAIM: u64;Source line: 72.
executor_labor::GAS_LABOR_CANCEL_OFFER
Gas for cancelling or closing an open bounty offer.
pub const GAS_LABOR_CANCEL_OFFER: u64;Source line: 74.
executor_labor::GAS_SUBMIT_DELIVERABLE
Gas for submitting a deliverable (updates milestone state).
pub const GAS_SUBMIT_DELIVERABLE: u64;Source line: 76.
executor_labor::GAS_ATTEST_MILESTONE
Gas for attesting milestone completion.
pub const GAS_ATTEST_MILESTONE: u64;Source line: 78.
executor_labor::GAS_RELEASE_MILESTONE_PAYMENT
Gas for releasing a milestone payment.
pub const GAS_RELEASE_MILESTONE_PAYMENT: u64;Source line: 80.
executor_labor::GAS_RAISE_LABOR_DISPUTE
Gas for raising a dispute.
pub const GAS_RAISE_LABOR_DISPUTE: u64;Source line: 82.
executor_labor::GAS_RESOLVE_LABOR_DISPUTE
Gas for resolving a dispute.
pub const GAS_RESOLVE_LABOR_DISPUTE: u64;Source line: 84.
executor_labor::GAS_SUBMIT_LABOR_REVIEW
Gas for submitting a post-completion review.
pub const GAS_SUBMIT_LABOR_REVIEW: u64;Source line: 86.
executor_labor::execute_post_labor_job
pub fn execute_post_labor_job(
sender_did: &str,
data: &PostLaborJobData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 278.
executor_labor::execute_cancel_labor_job
pub fn execute_cancel_labor_job(
sender_did: &str,
data: &CancelLaborJobData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 344.
executor_labor::execute_submit_labor_bid
pub fn execute_submit_labor_bid(
sender_did: &str,
data: &SubmitLaborBidData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 386.
executor_labor::execute_withdraw_labor_bid
pub fn execute_withdraw_labor_bid(
sender_did: &str,
data: &WithdrawLaborBidData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 461.
executor_labor::execute_accept_labor_bid
pub fn execute_accept_labor_bid(
sender_did: &str,
data: &AcceptLaborBidData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 503.
executor_labor::execute_create_labor_contract
pub fn execute_create_labor_contract(
sender_did: &str,
data: &CreateLaborContractData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 583.
executor_labor::execute_fund_labor_escrow
pub fn execute_fund_labor_escrow(
sender_did: &str,
data: &FundLaborEscrowData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 676.
executor_labor::execute_labor_open_offer
pub fn execute_labor_open_offer(
sender_did: &str,
data: &LaborOpenOfferData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 755.
executor_labor::execute_labor_submit_claim
pub fn execute_labor_submit_claim(
sender_did: &str,
data: &LaborSubmitClaimData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 836.
executor_labor::execute_labor_attest_claim
pub fn execute_labor_attest_claim(
sender_did: &str,
data: &LaborAttestClaimData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 991.
executor_labor::execute_labor_cancel_offer
pub fn execute_labor_cancel_offer(
sender_did: &str,
data: &LaborCancelOfferData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1168.
executor_labor::execute_submit_deliverable
pub fn execute_submit_deliverable(
sender_did: &str,
data: &SubmitDeliverableData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1269.
executor_labor::execute_attest_milestone
pub fn execute_attest_milestone(
sender_did: &str,
data: &AttestMilestoneData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1347.
executor_labor::execute_release_milestone_payment
pub fn execute_release_milestone_payment(
sender_did: &str,
data: &ReleaseMilestonePaymentData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1438.
executor_labor::execute_raise_labor_dispute
pub fn execute_raise_labor_dispute(
sender_did: &str,
data: &RaiseLaborDisputeData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1561.
executor_labor::execute_resolve_labor_dispute
pub fn execute_resolve_labor_dispute(
sender_did: &str,
data: &ResolveLaborDisputeData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1639.
executor_labor::execute_submit_labor_review
pub fn execute_submit_labor_review(
sender_did: &str,
data: &SubmitLaborReviewData,
fee: u64,
state: &dyn ExecutionState,
) -> Result<(u64, Vec<StateChange>, Vec<Event>), NodeError>;Source line: 1801.