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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E09A5C2B930D0600E4037196B3ED267B42A120B78A1C1A95DAC6BAE51AAD94DBEE90B9680E2D8D758CFCBFF0662F6CB602B3D1741BBF0A3F499570B0

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00016D738D601375F0DA87BB1F73E80FD2534DC1C36092F6A92B34E382E0852A4BE5

Previous signature

9BCFB25CAF0257E0A4FC234E4724F28C80B6CB12C403409697E1A7AAB334AC623BE5FAA946B17E42B146FB257977970EBD526210FA14A2E589909426E420680C

Origin signature

3045022100C6867F38D5C2DA311AB6F454CEBFEE5D3383962D72C7AAF0E4B144602727396902206CB43C7FD78289C441B7C2B11C42C73213520455F7DEE354AD61252A009FE5DF

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

0000F047A0444D5D2C060D16ABD396A0C0CEB61DAB4287385C19E8D83812711810

Coordinator signature

A113CA83655E29802AB2F395F9C0FF7B820D20CA1A80E18EEE20441B534C2468BA4B0356AD023D43E3574C51ED1FFAD2F4380FD857B5F5C78BFECAB8426FF800

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

1D0F86D5B5932320608E4C999F3084DBA142884CBE2FD9800D1687FD8D1B87F3A422367DD697076534CB8D5CF77451B702FDC346AA0E4C2C2D2D54DBF219CE02

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

CCC6217B21F0F1C52F5E01578EAB36D9FF76147F3B7CE6DC0FD5BF5F526EC62E89073CC075DDEFEA2DB751206D21F6B4F167AC7683100C2DCC29A229456CD507