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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    FCD6C4935EBEFA5A24A5D1FEA701427CDB6A8F505078CC867238CE40FDE89B71E02EDAD168000CE8543553DCD85A444F562367DCA9B11A56E73B5CF7

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000144F83FF3D2605DEFB86879B309A8CE9A1A9E4C60C3CADE9E5168B67CC1176DCD

Previous signature

3A72E552080A5DC809696C12A30CEB17BD8E21993243B61E765A4DDE0B67DCAD3AC0A9747CFDC299F4700F78685A9CBAB13C3FE081AC8622B3C614B79923E10F

Origin signature

3045022100B5E38F990DB4AE2D111839F120E6354EF1E72E5EBFD73CA66876592B985E93920220215D20D70D1A7D00CF395641657188F00DEABBDC9326E83A8A13611F1A676F6A

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

00749961CEB06F30F8E570BA7A40B9FEE4C71CF2174B39AB24EB5B5150D35B20E6

Coordinator signature

170C1D190769019F012B359536F1395B5EB5BB5CCBD3F8EDE2F876600B7035E6F1D67A7DA5D6800658613BE6F5A3F6CEF1E376379EAA815DB97C7B26A3FAD409

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

F288BADF8E93603B48B5ECF005FB528EB40329AE600118B6D89BCC9CD0406EA2AB31492822F7AFFC73B61F732B8A55709C1898B50A8BCF3EF84D57B3B2D92000

Validator #2 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #2 signature

740132800DDF9BC4881F2DB104C33E13AF8EEE51887643B7C94261A37EDD72CFBC874E29522DF4847569BD48F68845C95C9828C5AE93963E6198AE7E9FA15E05