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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    FC77852EA2A5A099BFE10D50CBFA1022A59835CF673A517E8C11C24215D7EA15BB67C7D80D60D3347DCAB948B7098EE4DF66FC27D87174048646B3C8

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000108DE2F6607174A538A30E06A5DE5D9C0239B1AFC6F91739B53F70657D2A1B8DE

Previous signature

A61823560D7342E5BD612BEC5B4E8D8EFC9078A14BD6EC920E405EB33E1A84F1B5776BE966F87223D02C533746146AF58B4B64BFEB0F9A59A20D3F475DD31D0C

Origin signature

304502201851DC8BCF0AE576A8529ECC2A1D0CEB368974BDFCD5ABC11E46CEA63B562BA3022100DB549C9E99F1E5C2232E6C4DC469D6B964841E9388A4464832F3E2C03F4681DD

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

008A0DF31DCE83C784111F47EA0E72FE0CE91DB82A3AB3FA1CD0AEF6A972B8F308

Coordinator signature

D2B58F0F881126182149503712EA4783A030CA0E936B3699A2010AF64F390D5BF9193F38090DCC4054F7EEC1E500FEEBCE39E16C18241052691868FFBB39FE03

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

F1335BE21BAB8DA2A82C9207A00B0453DE2C50862601B092464BCCD98661DEF7BB82EB8AFC7364658BB25B8056FBBAFB1063777A032034E7932ACD730678080B

Validator #2 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #2 signature

8F8B1D4BA6CC2D3604544D7AF4EF11316D123EEFC47E4D80D12B039830A3C00674BADEF43F4B9BAEEF43E3BD01E823C60E7592568FF61E817B7CB2856B4B9A0F