Type
CONTRACT
Validation date
2024-09-15 22:05:00 UTC
Fee
1.52391143 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": 1726437900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    3BCC5D973841547F494A1C34BB015FC61648858F3E74B9C37DF5EA62429C949BF2C3E2BD858099681ECA244F9F16B4B9C957805A7160F2042CC8F9BA

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000133A97D7BBD4107F85DD49729321DC3EFAF2A710782B04D71DFE246328D13901E

Previous signature

E131AC6041B5DCAD23B33B7C8BCC719EE10FEE90A1D7A5FDD7D786F4E9D34884E1EB80E3B6C695E67DFCB64268FD24B3C0D9141BE047B6B69A7D0D8C47736703

Origin signature

304502203E3FB8F7034C334895C65F98E74056B0EF3A24BF2E231EF72F38988160816037022100C139F49225A6EF44AEE770CB64D26733B0959FB4B4C3C682F472802E8D0536F4

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

00876C4AD7C9FB8EB253AA9CE0A55FFF4EC71960885AA9C76A04072284B63BB35D

Coordinator signature

A266AD7E831699DA7FE63EDAE6F644D9264046C3D3567FDB9512867685C97249499FE7EAD00F5B323B881976810043DBC330C70DC3159623514BE51928B6B301

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

953E4BD0632857A33CB315D95BEA9D0E8EE0EE5057DFE8A6128CE94A24749F32A3BF39FD0D847F2F25FE970254F7EC819DFCBD16C1001A59E40E56BB56C01704

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

6A6C0368702C85CC46DFD76764A57974D5E84CACC2502F9388573C1554220E1CEF791AA7F4906C70BDEAB58F1AC50F839821A85261662A6CB7B789066DE13705