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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    67018270B5AE64D0B42E7762370C91081D0CAADF9390009FF316780AA630070233804F4E82E2412BE781B53DF440D988E11ADEC6B714986632B672A9

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001BC38A1BD9A03DDE113984ED55F06A4CFC053E34820E3D711E2837C6EFC1DB559

Previous signature

99CCF97006B5F769916EB97E04421D1A7565EA49D9068D7C2D0D19B4521C123D040E02ADECD93722410009F345C3C740CEE73367E20300F27D410CABA40F090E

Origin signature

3046022100CD6B72D0CB785A5A1D40D1656C62E09F4E0B2F2F821A5A906F9E99577BE60EAE022100A523A756C6B33D30377146551C7A55BCCBD294F563CEC1A7DC988E70975FDD15

Proof of work

010204892A04DBE05192BCB662689E7E19700F3F7202028EF0A9F20635C4948436ED85A43BA3017281EE97781342DD8F24ED6F583B5FE542830FDB5191A11843A72A61

Proof of integrity

0052482A0F33DEF62A89B5A9821FB625A5624005E50C5B1A5875FCE0F0CDC05992

Coordinator signature

8D6272592D9CF9EE0A0FEAAAE0C48BD27A30455553F8D039E696995C49D0D2F7C92BDDB30818692132AD3400AB86B1E96C09AD1554777AC233BEDE091200B60E

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

DEB8C22FE35789815B8C03514CD4A0415196AD449671291BF53756D0758A1B9DBBA96C8607597D4247C048D7838536C0A73A912D1D22118B3285FCF292B68905

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

950BBF6FD2D9FA927F93B548DE2B33D3E10653DFD9A56A3ECD7DE5C91C3D1416BD0D57345515ACC7B99E1D95A490E0204C50F60FD5F2F7191846AA81379AC504