Type
CONTRACT
Validation date
2024-09-17 20:05:01 UTC
Fee
1.69115478 UCO

Code (329 B)

@version 1

# stop the scheduler 10 minutes after farm's end
actions triggered_by: datetime, at: 1848658200 do
  Contract.set_type("data")
  Contract.set_content("so long and thanks for all the fish")
  Contract.set_code("")
end

# every hour trigger farm's "calculate_rewards" action
actions triggered_by: interval, at: "5 * * * *" do
  Contract.add_recipient(
    address: 0x0000CAF8D5BAA374A2878FD87760A2A4AC9F5232DBB4F1143157A2006F95FFF1B40E,
    action: "calculate_rewards",
    args: []
  )

  State.set("tick", Time.now())
end

Content (0 B)

State (17 B)

 
{
  "tick": 1726603500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    23662381F9D3D5C0A77B0F04BBB070C3278EC9915B11A8CE7B766298C9B2A134B9E694E7D64E4ACA25214F230FF35635AC860C21FF9185DA88E203BC

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000186A0F3588417E6A81E60A1496C859929E12CB75F35B7701E629A2B8E5A99BFE8

Previous signature

6CB12B1D112080EC908DAEE0A775610A8D6D296860516EEFBF2C7EA357875353D4CFCB394E4223E0D2517F558E4875F636C4B09C5C60FCBF0292A3142D636906

Origin signature

3045022100D2D2532209A858AF030B269FC9D6C10398A4B656706994501267F026058E056202204BA823ADB5B865090172DB5B2DACDC5A16C5E56DFB8CCFD62A4C654C7A8A9CD1

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

00F76749A6DF82054A4CDE00C4BB3A146BBDA2056378329801CC9BEC03422518B0

Coordinator signature

672B19172F63EA25721EFF4D3CA0A4AD1EAF9615D3CE7F37044B7537496DB18151A4D6191AECEE5B272545B59429AF8A813CB696E2DDDBF9078EC7B76EDF0F02

Validator #1 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #1 signature

E2115EC72D805E27403B9DB1B2B10906E1F828EF8130051D9E64F73E6F47ECB9022986957E8CD54A48A28320F3DB65CFC58066DB9484C8EDB95782FF52B7EC00

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

821829D557EA79D4B7F11B90995B657BB034732F1DF007BBB103F11427C8577BE5B8E8466CFF2786816FC1070D5396588D599333DE117530F01B1958BECA0F0A