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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    7E6EAB8D14AB6E61C2B9EF2190F95C5A72DF29A80B77A2C767FAF566D56700293C46C5B660E630325AF2E57DC2CE62C8169EF2C88CF69484D89BEE55

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00015E4A752A417D7E72AE17CF5A8F62E727E3465A30D523209750A5C1566B007FD6

Previous signature

22CF9EACC151241FCA069CFB78F9D959766952D4082ACB7F2DB9593AEB31DCB292919CC2E543D5E6E5ADA7EEB347146A4286B102B17DB89DB62145E65BE7FC0F

Origin signature

3045022043FAC8E9DCF5DD7C8F19248FCA8A7BEA25CC1A99DCBF871885ECF715BD0BB447022100A93D4D1C7C8E7B2A075B9551CBE4CFA84C0EBC268D64797142CCD0EA377DA2FC

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

00B29FF3405A4721D3B06F040A2054030524C40B72DBB0AD80F9222A569F1C3035

Coordinator signature

CED4C5336770AA5D0C7BC5817B7C9A98CCCE30528BC69A4CC5A05B9B0CCFA580F8F8E6014FBAC5DF16460EC0B3005DBAD7B005534E63D9046070ED41557C540B

Validator #1 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #1 signature

B10490845725D5867CE378894D129F5EE7140BE5DB3483601FC780E04527C8618370BF3928CB3E0B85B45827E09AC3072F9B58D4BDBCE6E98759B19EAC152E03

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

BC6810BDDE1F72C46D3C63F3057B86D0BE3111C7D3A0499B5AC01164B309B0A7034EA7973E4B67197E0328E6B5B3FED4E65ED9FBF9775484795E9DDFC010340D