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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    8ACEBC6714C2357EDC06430D476495389C7649407A8C4FC36FFF8AFD9E4ADA1AB70B731A920C9EE9C4750B01659C58D3A7F26EA773385C2A14AB94B4

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000191E949594019276AC705868262F7090F6B31659C55937917CF6FFC8B5B2CB8E2

Previous signature

6484480A41909E8D3FAD61A3ABD32839F4C362860EA0502F40B31287ADBDCCC59B272A723BDF948FA2D64147F45ECE89A9D9E9C575E52778FB4E22224C53100E

Origin signature

3045022100DE310ED5A4BCC202D8D87BE55B8894794535BA1126E5F44AB66B30AA2EFA2A8802200AAF4988AD082A7FBEDFD66C3A7CA5FD9E8F28AA82456A77B77D5A091979842D

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

009B2A23647F675CE2DAAFD00528C06E2446C30C5EA4ECA88D9AF8D1FAD3252FEE

Coordinator signature

938940052DBB9BDE66440B1242198DAA5DC34E7BCE5F629D41CE12D465569D0B510E7345659BA662B78001DD0329F71CBDA268994F8AE8EB513465C352135E05

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

847BDDF08C6A844360769EB13D77B2D1AD69A44F4067069F9EB51D5960C492A728309EEA605335A28A6511BCF65A442545EF04DBBFF974E273D95CC764F5B00D

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

3606FBF8A5AD0B2D33CCB104C277427012250273F226FCCDC98E2DBDD70764EAFCF2E8E9B256E0557E87C67F0A4D7FADAD4DD21783467A5B6DE082E54F3E180F