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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E3B422EAC2EE355073AFC7D962A3EE0F3E608B7E073ACCEE074AD7221F376ED78D6A609C36F87F572B659BC33056E8C12E48CE4D7B68802EC661C082

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001FDFECDDACE1F32778E638B568928F48E4403B69DD43C7E1838D40CE952FFB02B

Previous signature

DABF1DDAEE7A087E7D86DF4E9360F6314D75A584753631D10D6D3813E00F59EB38331A7B1557A41AA68E58A35C14F2EDF6B811DE7DB09756577757882D04290C

Origin signature

3045022047DFE457AFA4AB5E87C1F27D7411B5930A2C6FF41C8B525E604939420167FF2A022100EF70F2E34047B15E5A2C9F8BF404C679B1EEE2A0F600E9C4A9E13A64223723D6

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

0058FF4EAD3B10B351DD39209762EDA668B3140043811657C4AB8D5140C4AB5D6C

Coordinator signature

2CD8B366DD23D9CAA40A6BAC80C10938B553843E8CD97D4A662DBF818053D46E093D44CE7667AC9C76EFA06A9CC988A66B36688611C262303C000E76CDC49801

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

7107DCAE022D7D9E0A826E070ECBFBAB2FB69F2463451ABB1CDBF1EF7A66D44C0ED99E82C43D104354789E0791B96E5A912C709E4AEA7270235AEC252D64DA02

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

D9B1BFF04EBBDF40DCB1273065C5C38492E65EB8AFC0EBC3B4499FEECB527F36378AB9B5D7D6B35F509B94E280233D3DC6C177D8458CDC0A80225B80A8BA510A