Type
CONTRACT
Validation date
2024-09-16 10: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": 1726481100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    96C8E0E5E37F18A240DA8CAE922716C88C69D4BC1599D7ECCF547CE03B5DCB3E54513D746801160E66F04C0C69435E8E836A0A687DED17A26F79C8D7

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000123715B6A817349F818F786C168DF20BFBC0F5EF665AF3A2C09A445D504FEAD2C

Previous signature

189BA45297E84B15E260DECAAAD062D08A2A11D0E79FAFC3352CF380A63F45D37716E7E2DBD05035DA159C1DCEF556AAAB068D20C3458B54B76D2D13B1BE110B

Origin signature

3045022100C7B94DA8C602D2A582596573B15B64E70D56F62C8ABCE1AE512C035A5EFEF30A02205D86FDFDC56FBEA0E443B0E326AC9BB0D5DE687A14E966738F07F0F60B733477

Proof of work

01020451684966573439C38DA99334546FBBDE4A6D96A50B4A4ECBB6572CDBED023F079607407E254421D1779525D11C60D55684F0B403B93B95823554E29D1E2CDB16

Proof of integrity

000C7E51759929BAE433789F4363B480CD6DBB9D3E5188D9D04F763B7A0CDCF8F7

Coordinator signature

30B0424C3A50EEBC9A0B10BADC022EA683C37153C1CB99AEBC75A6BDF7E4F5F426C7E588B1314A7F96A29F6D48DF6AA6C4A1B704CBE12463B1954730B769CE03

Validator #1 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #1 signature

6A289761C171F2F87FCDECD0E5D2BFE7ACC4EA60A08FDF27A599553D88B6E2768993AA7793A049701C85622F208D137E3C1292D87965FAFEC5E3C09A07381806

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

FE1ABC0A7828F60D6E0ABCD767F6D5F2FD568C6714CE280526F0EE50F6CC64DBE031DF2C1FEB6DEB7CFD0C737FD3534AE743E048583F4D241B7068A83E0DCA02