Type
CONTRACT
Validation date
2024-09-16 09:05:00 UTC
Fee
1.56669195 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": 1726477500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    2F1279D267A1B7609D03A1FAD957B31497C6F6348131936A4E659584124C03F4B88C92BD363F6F4D15513A6A2F703D42DF6B29B82B73BA77FDDAA82F

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001D74E5A7DB8EA4ED2AC352D25CA500C83F96F63F2378FDB280F6B9ED3A101D6C6

Previous signature

82F234A4A88BF58498A0958C3F0E9E26936C6674C3DEE48A5C72F79E6B0EF3C2F7D66B583F81ABADC2222D37FB63E867AC032EF77AB4E4F41AB0991AC357EF0B

Origin signature

3045022100DBD17621B05FC981355E3A8654A4CDCE8EA2A1E992ABEA8B778202C48CF65F4E02203F21E1A5B0639D775F794CFF47676083133F7E16D867B0BC151C3EC44809A6F7

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

0056C49FFE2819C71C4E7CC5721959805F70A5E00BE741D0F5A57D0B99A0F31F5A

Coordinator signature

F38D4F04A26C50FD909ECB758963C3F949C5C72D23DA7852BDDBA084E1529CBF4FA228E5429F9F6F035B0B38E01E32F23345832E323405C2F2E0893AC4DDBE0D

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

1369D8C8274F95F4A98809C9DE34E41AA09FBAC12814ABDB8D3EBA99040F99970DA6787CB2B9AF88058AD0314E568549A049805134F919C428F5D9F6846E4F02

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

BDF90DA90387D86019FC30EF753DF1C39448D4CC118BE1F79FE9741F43E2189D8602D20CD5FFB8014FED4B42AB452D18391F8C142B7075397753A6ED5D581704