Type
CONTRACT
Validation date
2024-09-18 13:05:01 UTC
Fee
1.67333873 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": 1726664700
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    66B2BF0AB4ABDD2E0507D624042FE8AE8E119C699A0AF1D7B8C74C80A93496B57B15129B925DE95CF2821E95B4539E68B56726FBCCDABE9DD586FF6F

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000146901BC0BD45B6074D00EB1472C74EA79EA44C6F02DA0C280B92D3F85B477A12

Previous signature

0BC570E2D8E47BCB2236941B3CBF332C39490E3D1FB6F2E2DE64028F2D1174D9722AF7DE418225C6C44596BEBD44039010653C868C336C6C117BB0467887820D

Origin signature

3045022100B78FB59F97DEBEE5AC5AB5A7D1E05E4DDE47BD61DB52644C38C06EF3F855AC9B02207A085D8AC463FCD6388C6499652F5066648067CE68A893726CC8DD059A255731

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

00B35610011965F47FA989E78EE18E658EA0900476B0A15FA59907A79C63536A86

Coordinator signature

2BA6EA4A8CAE38FBF83DF11302FDB6F658FA28FBD8935567366C89709963ED623FC1E4271D04CF4FBB6C54E3A214974E868785F6730F886B62CD06DB084EC407

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

5A795ECE7E7D717F18E99C7CCB7AFDFF1D10DB8E7123FE4902646CB1B284E22F5BDBCFC981BA5A93B6716A25D04AF99C8CAAC03B79C3CFDCF0E992B95B8E5603

Validator #2 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #2 signature

E37817C20DD7D9AE9C8D3948E180C378BE70589CED6D39E4394A62CB1A1E4A90823889C762F7472A472403D071E828D28BF3A7B1CE1310C4FCE44C2A01F5AC02