🌿
Mother Earth CryingClimate Awareness · OECS

Smart Contract Logic Dashboard

SIDSClimateAudit.sol · ISO 14097:2021 · Escrow Engine

Contract Parameters
SIDSClimateAudit.sol — Core Logic
contract SIDSClimateAudit {
  enum Status {
    Inactive, Active,
    MilestoneVerified,
    PaymentReleased,
    HighRiskAlert
  }

  struct AuditCriteria {
    uint256 minSylveraRating; // 80
    uint256 minBiomassCover;  // 95%
    bool mviAdjustmentApplied;
  }

  function triggerDisbursement(
    uint256 currentRating,
    uint256 currentBiomass
  ) public {
    require(msg.sender == oracleAgent);
    if (currentRating >= 80 &&
        currentBiomass >= 95) {
      status = MilestoneVerified;
      executePayment(); // 25% tranche
    } else {
      status = HighRiskAlert;
      emit AuditAlert("Funds Locked.");
    }
  }
}

Configure parameters and click Load Contract State

Simulates the SIDSClimateAudit smart contract state