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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    FF29D0753C0F9D23E5F6FE3B5F17E499D5B6163A60A8C8A4AA74FF4AEECA036E7D3BCF9FEDFC6F132F44BD05F0FC25B36673848F8F2095A3BD333EA5

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001BD9236EEEA984B97871C477596025B29ED22249AB1583F3F414D272A87ABEDF9

Previous signature

70B04B4B1F60783D7EC5EA8C48F37A0A96D99C613DA48D4DDD21C860BA43FE9E09DFF289CD39D9FA5DDE6AD913D916658CA8ECA1AFE41D31A7CEF20B16C8C105

Origin signature

304402205207AFB8AD49E41AA0B6B9CB67A90D44C1B02853D061F90B3D0255C974C3660B02203729CB762D39D548DC2CC3AC716C97E62474810C30D033416D8756585E0706B7

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00C3A4EF732F2DBD717883015222BF3714D43ECD73C31B8D9CDC966EFB94A503C1

Coordinator signature

6091CEF03E2BF717C3212D62CFEBABD0DD8C68A7FACE909DE7F66539985C4C26BF3BB0C71A414899C83F8449210FA6977E5AFB3320671DB847D338422E6BDF09

Validator #1 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #1 signature

000F0B2728F3DAA83C465D997CB53FE110303DCD3D6927EDEAD102A65FEC82F44618F8295FD7AED5D996CA24209CABB879993BB02580ECBCA283C4D8C133C905

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

4A116AFB33168BCC5A51683EB60CD61783FA129A6F8516E4C39B18B6B908447F5752FB2FBADA3B4E7C1C6F6BEBAB7D5CE968CD35D8A424F541F6E698DDB34707