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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    456AF60F9EE4D8B18F9B898E694BA4FEADEE724D360A1F01CF8E60141C0F633217A2EB538E9DF210E1FE3CE251AC5C6B6692D06786C30F79AD05AD6C

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001DDC85F758AFD8C37FD8F2585C8AD99C86957E31E265E676BF1618A36DC7E6F66

Previous signature

F09DD3641B88C4025873952DCEC9C599CB3E9B11821D53F12D1B925068A766FBC46A651829A8CB589C5F079539D101DC63C18A984C7D686BB5812F363D298405

Origin signature

30450221008C29222460FABF771B0B84BD80C6C82AC930A24A82C4F72EC5CCD68E92928D1502202F73D12DFF192F54FB88EDE0D52B08F27C3C530D8C0D1C77CF883643B6683D17

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

007A9CFF7884FA0829A27BB06336939AD8CAD3C2357E0A78B9E01716CD7E155C4B

Coordinator signature

51047C8C4EE631C153ECE6E328AFCF5AF98443D345F968D1361543F6DE7577AC09E0CDB42D62C440A3FDAFCFCBB32BC3EAED219F59731B1D386819295C03110E

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

4ABB7ABA11F1A41DFEBCAF5C202784A06960892C47E10AD6DE13D5073817307F55F92D13811C2C2C063AE4ECA1BB9C8017AC1A842DCC686FEA5B99FBFD4A3902

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

C003BB55C04C2ADED7BBBA0F89DFD807F05B4CCE952CEC4218DE8CB14FD03FDEE2D0CB807F27C72DA2E67B18B8CF2E655D0B51B2B4619CC3D6DF56F8A7677308