Type
CONTRACT
Validation date
2024-09-15 23:05:00 UTC
Fee
1.52842338 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": 1726441500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    4AC53CEE81C51BF4FA7742C13E63E9B45654CBA332C3CD8A36D49F3E5F0948523915E59E4028BDB88C92D78F92484EE0747E58EF0CFBA3256A4633F2

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00011F6054BCDF9AA513E32542E4700521FCBF422E098304F6D90EBACF109591C2D9

Previous signature

8C300565C1D67C302A713A4015EF0984A75EE4F84A4DDA9F402E38ACE590C32825E764FD74A4389E173520265F0B6DF617C718E05DEE821A8EEA54A85F251001

Origin signature

3046022100D2D86B0D7C90F802CDCEE05E8F44C9BCFD8617CF01DEC8C0FC2A89F82EF30095022100FAADD284731C1CD2CB0321D32C3AF7249085D9D9F59C8094948373FE48B70F50

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

0008838167F42ECD46F99CB3E42978B243ABC5EBE21E96D5669B1AAEA4DA4D02B3

Coordinator signature

452429AEEEC9FE677316083FF0AD556191B88A5AF1723FC2760D752B1B97047316F932C6E1B4E1374D47095FBFC587CE8DE3AC576C743A1B74497C6DD9F81C06

Validator #1 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #1 signature

FB2DBDF7638A8DEB56BB1894E0BD8B13D4F077454BCA1880AEE768AA333D32AE208349E21468A6F58CCDEAF0C03B937DA5A5345E61C5741CFAFB2A695F327E08

Validator #2 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #2 signature

79C27F8178475CDDDBB89E557BF9B3274E5C153A5B4096FA7A1F15B6C3F1B0AA8FFCEFE5FEC9A4D4A985618266D6DE10D99A659115147ED5FA58DC7CCCF4CE06