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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    89998C294E39338CFA6085E07DE1D0E9950EF6954F15B30DCEEC62141CB2F1FAB46E25DF0A975937317B9B09CAB63AF95327E2FBBB9F4263E9AB582C

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001F38E1610657A5E2A28CFF84DE5B6EE145D9D7740E52E0ABF77421C92C49665A6

Previous signature

EBC2AED79A8D6CBA96C3BCDE7E2229C5A925B0A2EFD7A1B1295E155D9534C1B37A9A105C76CF6F606EF4B47DCBB549D8AC10243E1330DCC1D0010445A3FAE506

Origin signature

3045022100AFBD09D7436459EA33632841B0B81E963E757EF60C72AB05A4945E3A385DE03D02203CA0118E3E31279FAFC72735BF53B0B696E9A4F0168AE7EFD0C13AD74D8FDF64

Proof of work

01020451684966573439C38DA99334546FBBDE4A6D96A50B4A4ECBB6572CDBED023F079607407E254421D1779525D11C60D55684F0B403B93B95823554E29D1E2CDB16

Proof of integrity

006E266128DA1710D67A736DA7F3789060E1572FE2E0A38D98B658C5C37ADADE0D

Coordinator signature

82C525E29DA830F0781684FF938AC240FFDEEBB91420A47985D9FEF2183316C50B41932020C87A165CEACFAA0C5BB983C6AA0CF271881C2A6BA1D9436C665E04

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

3DA967B2461FFA7A2B55438C1B872E92E9AF36D853255AB60BB19719118FF19FCA83860AB4D727841837323E14430B8613624AB71982D2FD487279A889C9D504

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

26659AF745973CABB77623A523A3AA9431FDF09BF2D1EEE1525FB2AC55D8E5380F0F6FB7245B91DF5484BF6645BDBCB25BFCE711D02F19CBBCAD511D88ED570F