Type
CONTRACT
Validation date
2024-09-18 07:05:00 UTC
Fee
1.68563264 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": 1726643100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    06BFB293579721478A6B73F3F320967AC6980CD8634A00DBA6FEC4EB10CB697FC846AE2EDDD39155A37BF951B43750B759FD9F4CF03E0BE1A9EC9701

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000144469C5B04C33588D5136A2AAD34831ED5DCCF5102EA292A5A98E17613512FEF

Previous signature

8C2C2AD2B34A3D6DD6B564CD7976313D85F7499FDF6DCDFF21A9444E7A163DA4B6B78DAC7F635837C1A449FFBA83C782B6E4B46F3EB81E6A7FB3209FC3859105

Origin signature

3045022100F69DDFFEFC8435867DD9A96D93E8BD555438D3D58A44665A31DE6C2C06B1634102205B06C280C06610E65A6A0DFCE862FFEE7415A9031583C1155CEB92FF6329AAF6

Proof of work

010204892A04DBE05192BCB662689E7E19700F3F7202028EF0A9F20635C4948436ED85A43BA3017281EE97781342DD8F24ED6F583B5FE542830FDB5191A11843A72A61

Proof of integrity

007958E28D9043FE63D754063B72F0E0861936A3716F0064042AD33CCBB1B0EB3D

Coordinator signature

8C8EB5197F5001600A0F3A6EACE0086A33152ACCA1AC23CCACE939D22575C025FA1DCC58123CE60D1233FE4B496C3FAAAA96C33C4730BAFF20187B8AA744E404

Validator #1 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #1 signature

9758053A3BEEDA7929BE644C79F83555104EDD6489B0DC60E28ABF29A85801EF62BA0756BEC580420D4223C2CFBD3A102C14EC2E66372BDF927EA69A9B55850F

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

F7F7F336F8027A5328644E3A8F4FD5DA621B70100B8A4E05B8D0E323819DBD3C47E9F43251294C43BDF56826F956C4A0EC7778AEBF7D196097E9A54C71732F02