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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E1FF24B057E8E3EFD61584238F452B63904587E887E8C04D2B9E5B07879969FE28E1730BFCEAB4FF9B99C9F035B19CC497928D79D541EC6C2281DF08

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000195A36137D175985C271E6A5288830CCB1E47DCDDF465D54B7CE447903E3B7F24

Previous signature

7920F0D20D412DD8A88A79B5D9A743A09C44C1AE496B0EC165012AA0EF244A8ECB0781C21A41D1126C475F1D3297D4713228E5FB2A429A4E55FCE194EA051808

Origin signature

30450220434A28DFE45DB4818794D913F20A854961B8BEA17CE5E2A27DEBA24ED981BAFB02210091351AF268508EE866F7C6B4CE7FE3E7C9D6B7B4682D3D4BA17403D5622DAB6B

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

0045C09674B81DE096387A5230235E01D2AB06F9D233C0B8E70A992F00805EA64D

Coordinator signature

21BA7FC8055E32E771AE728D8C2A9A9C4E793B03B3CC7AA439065106744B4C6F34C56C0AB7C5AB5E9F83B6EF651348833366A7952384193A13B2D3048C06CD0D

Validator #1 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #1 signature

621305EEF17E4B3B2D1534E7FA6280090C9A05E316738C995BEAFD07F663CE099F7274611B499ECB5E7CC4241A99F5FBB7809CBC22382012B18AF976D9781B03

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

37D41EB3B5DA262EDD6B521B2238325850FAE06A01D2436519A925F1EFA9179B6543F9DC0BD8998EB3445D24AE3731D74462B6E8F20D3F5C97483975F484760E