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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E1518171C2B54DA46B7517BEAE2955ECC975B7AC7FFEC9899A579B1C52E7B772FB061D87BDEAD76D779D86070E3C09F66245FA856746F221132FAB5A

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000114E7F67F480124FD3B4D095C8D10B7D3FFB4204BAD3A1855FE1773864CA425BE

Previous signature

B458ECF232CC5AB68AFD177591B8F1009AF0C5DD264198659A60CB160FEA8777F898519E528A3D0C7DC250B5535FB98F9FB76B8819EF3912610A86D22F7C2C05

Origin signature

3046022100E1F24C2F090A863B07DECD14C889E10D70F1E7011A2FD65A7551F519E35CF154022100D38B51C41885A2A4EF764154B5E6EAA0F7BC3780A019C0466F58664C9DC46DD5

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

0011B6F9BD79CB0EC36F0DB2310F604479D52BFBC2CE07C9AE5256495BF48AA3E5

Coordinator signature

D6970CB608ADF15C599321B576D13A1A5B29CBC1FFEC08A8EDD74D990631F192D33D2CF4BF0BAAE8D06B00B34D4F14A25070B2DF16C9D254232237BDEBA9B003

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

27517CA26A50E1A0637981301A00AED130A44408C9A996B1EDCEFC32168290693D6DA6FDDB736C3586109F2FBCC2053FAF5C8B90E0C01C111976D3C18EDABA06

Validator #2 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #2 signature

009CFF17FC6EBBD01D5EAE8B6F91ED630D4E827061B9FABD65F43DB9D849F64C3F7125EB1DD7036B42B21A8426CB75EC97B9647D42E585D12AFBCA0A76E54B07