Type
CONTRACT
Validation date
2024-09-16 17:05:01 UTC
Fee
1.59205859 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": 1726506300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    9D8678BC3D4075544DA535114D265192C41B27F7FFF2AFCE7CC1BFAE1000F6D0E4E4472E2F908B096D3D1DAC40559FDF81B9F1F2286AEAE8040C3671

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001066CF9572FEDC8C14524BFDAC458A0FEE943A57BA3A479A64ACEE9E2239AC1AE

Previous signature

0A2BA729ABFBA8415BE68654FF0CD8D2DA580C2A5F70F5CFAA5E9C98BDBCC20F8996A0564E019A27DCBCD7CB26BD7A4EE82FF02756EB93F93561BC724C168F02

Origin signature

30460221008FF034E98204FBFF2501410CE1B18D67D1674F8F2D3D98B19B288DB9E8D098E5022100FBE364799B10DCAE7A3023B3F22A3C78486D8300C78BDF9B8FB3D93B3CDE640A

Proof of work

010204892A04DBE05192BCB662689E7E19700F3F7202028EF0A9F20635C4948436ED85A43BA3017281EE97781342DD8F24ED6F583B5FE542830FDB5191A11843A72A61

Proof of integrity

006EFDD2F29F4B96F14D562DA47BF6BC87E4E22B16082ED390AB31C1C3B51A5A6E

Coordinator signature

DE3F41C6FE4B8CC2B86615A5436EF1E8AA3631156D250ADB2288613FF11C57C1C8AA70CCC9A1B31B6F2352C9EA5560456B82576F02696045A1728C74DEE03F00

Validator #1 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #1 signature

FC66309410C5CEC9112F30FE15D7C311B71EE8632AF0F4D1EB7225D1F7BBC80BE372393C3CBC29B908C1E858F9CE65218366D5682512CDC3B2C8BCF7B9C5CD02

Validator #2 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #2 signature

F8F8E9DE03C80CE670E9A0E3561302A90C600EE0EC21EF6882F47853CF9334E533CE88614B0B6681CA4C07B0051F8867E6EF70BCD697A9D5B8DC5E8A0F0FCE0A