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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    A2684AAFC8BB5A354997BF423969753BE22D48CE6459D0185602ECE1457FC9EFCBA22BB22D40D7EFC19B6724FF149232B7565CF290CC9EA9DF703CA2

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00018B811BA6AAD6C6E488B96F522DE0EFFD7C66EBD5E27C3748B86721F0D95BC3B5

Previous signature

84BB2CBBA1E4147C0859DA406DD09AB50D8BD667A2081710D6862DBBF53F42AA2D44A9D6E8A9BA49AF61BD0530632D4D6D265CA0AC106809BD80BA3679DB310D

Origin signature

3045022052707A17E11DE7BFF07753D970D679039B4446D77F2F5F7BA67C3FF31E4F49C60221009C7332BE4A3FD3AC01883C56EBBE94795113F07A31528E2DDA56579D17143F90

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

00E9A091E84B1EBA91581C4E93D513A71255E2A75930A853961FDB68EFA5247B9F

Coordinator signature

EDBA8F0817E9EE25C397ED40F9A0DC1A96DBF12ECCD0BA96BCE032747A345C6973778DF2C9DBA010A525CED491830CE9F0750ACC9B2CA45404BB0DF5AB489C0B

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

3E981EA2FFC6356A74090CE2B6C377AD50FAF4D3EA582C1D227CACF7FC352BCAF408C2DF53DEFF33DC01DFD48DB2F6EADBD7A6A0D6BA070ECD03984A9FC9AA01

Validator #2 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #2 signature

952FE78866820444ABFF9A0BCB74ACE7458B71D6DCA48C71D641E9BE627EB6ACADA3A47203D0AB60FDC12B3A04A4C8E563494AC755DFCBA8C0BE30F751003305