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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    1628E75B5B2D667FCF56E32C67B90521C4D8928EAAD69FDF51F5DD0254ED0ACE05171CE7BF84775883CA01765010E7E389D1569E66EF7DBD5C975EE8

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00016BBBE47F8DC2988FEED7E675B254A51B4085E8D12F7A578EFCD5BF252EF0FEE1

Previous signature

A5189510BA6F96F906BBAD23706A0BECA47C497FC2C6DA745D95A91191F055222C9FB9C8DF5393CEFE69F7E2FCBCAFEC21C548CE79C789D39168893AA89E800A

Origin signature

30450220196D40DDD44CEE0D6E68A3646B3DA0573491E3EC7FA45B8168C845C37971BC4B022100863C897E3ACE25E2A545059920B2A63F02A2B5D68124FBA7E6BF550BCF2E7112

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

0057EE1F98941EE1F0A5D9D9E6FC6AC957F2BD6262CE4B5E49F9141CA306DE5F96

Coordinator signature

F048B29D9AD3FC3505BFC4E7426C46C6011AB3E457D157F9633DA334535564BD192EEE962BDA5D45109F28219FE27D5EB451081319366F979F9C35509439700E

Validator #1 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #1 signature

733345090D92882A639CCD68E640B6734CB158C34DE9B3EE57AF438B1F71A65D4D87107B3B2C2CB340EAF41EB24D7AC20027CD07364C0354F8040E43492B4706

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

A3AE89B8883F6586F7D581F17D8A1F1BCE2DEE5C486CD4D12A8B0DFD1D883845FD0D92DE0B180300591A8527F047396B69B0F6363E4386D38627AB11C4CA3A01