Type
CONTRACT
Validation date
2024-09-18 16:05:02 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": 1726675500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    C8A4E740298DB61AB9E22253F9DAE1A4D85C03F65C8A8A0EEE5A4BEDA63DA0863ABF2C87C0B017977C630F9B199B36ADBCDE9604C75A0515175F6FC4

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000184F1F9CFFD1004FE33E76984D6E0CBA21D4DF930F3779537544BC8FD2375EF34

Previous signature

64567F47F46C9BEAD31DC6E308E41DD3CD847C960E7C6298FE485F43FA0DD696750B7643523E6785EEE1C9F1EBDB5F2B742BFA159EA4271769AA9B428AFB700A

Origin signature

3044022076AE99C6799ADCC70208A9FF00ADDD2D4FF58378005E7610AB6EEF64DD85E187022044862EE576BE064041B85A929CF405E95174F7F73FB10B7A8ED387B3D4584543

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

008B728557539306C934EBCD736CEE05BC2ECB139302D7A5BB91573D6634AACC53

Coordinator signature

E61AD60A7F8839DAEC7FF1C8CF94201DBAF737454DEEC23F930758DB6947ED2746DCDB1EDA2E35EBA917D8FA78C59F69A41E4CE2A760D17F52405647761D0507

Validator #1 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #1 signature

A0B6E596B65B7F252DE4EAE75D719781AF44718146125E7409C2ACF30F1B8999E1AB0FD6FD2706C41A6824485B4D77F26047500FAAD85F633CB66D8F1EEED804

Validator #2 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #2 signature

DB2CC54CEB75990EB3692FE8869AF69D93AF1308756E4844FED0F9C9EC1AD9BDDDD0F70A1AB90AFFF213CDFDB6A107E3F27718BA6A513019F0FE9DDEED34F607