Type
CONTRACT
Validation date
2024-09-16 01:05:01 UTC
Fee
1.55138992 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": 1726448700
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    5254FED077BA71E71546AC6ADE7918CA9CA39F21B3C6CCBEA3CE7F03B144570E1C8F7DD164274437B30C4BB8C82BB8594BBAC430957E47F61D1322EA

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001EB32CFBCF98890DB076025FA4A31BA4275A63CFAAF9A03A1C6BC675BA1BC4201

Previous signature

F7E70AE5DE85EC6A0FDFE9DE183AC3FA30AB033B0A44478E3104AFFC015CC6BC931D8E9EF8E17D416406625D508642ACA7BC9E84BF0BAC10C4C7A9C8593F090B

Origin signature

304602210087FC0F422DB00F5BC6AA6571A8BD701F09B9E3936F89E3CDB6160883934E3F30022100C1027AF6D341068C60D57F47910BF1364C0600E13E658857578D0FA4B421D67B

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

003AF9D6639F13526C6D48E3D8F8EE2A23FC2406A308D7A0DF10E948D21A4200C5

Coordinator signature

E1435480BF9BB6321788C969266EBC78BFCCB707A9874BAB681F1778351E246ED97588BC1A1B02084CFD8D0B5418DB45F8F2A1A0D126E06E565EF2A1A803CE06

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

00E35244DFB5ECB02844DC2E8869D4C0A09076F5709556023BB602979C38D00B3F46DC9E0B5D89DEC3DB66D4CECC9153D31CA1E41CFE3CF3C7D8E393E0067406

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

D143B68D871977CFAA9CDE0188C74346DEEDC17B6A31F14DDB78AF80B34D214B049F424BECDEAEAC38917A918AFD6F5C6AD5FF090E49955E8AA109DFCC0D0804