Enum Contract Template

Copy Contract Template
Description Total Collateral Event
Test5 1 sat Coin Flip View Announcement

Outcomes

Heads 1 sat
Tails 1 sat

Contract Info TLV

fdd82ed70000000000000001fda7101d020548656164730000000000000001055461696c730000000000000001fda712aafdd824a68c22d4a0f55a43d058cd7109205ff3d0c3d3991e573677d8214db24e5e37b76aa569b3f71d6ac75ed0b18bf492a0963e0c6c0a780fbd38f46975c7bfc32235daaece069349be6a9f7be4d07a72bf54f1cb7413642bf8cf15ed002066ed4f92defdd822420001d2d7b3605f3ebf9edf3434a6faacbac9b2c4791d9fdd9327adb15095fa49f0ed61847400fdd8060e0002054865616473055461696c7309436f696e20466c6970
{
  "totalCollateral" : 1,
  "contractDescriptor" : [ [ "Heads", 1 ], [ "Tails", 1 ] ],
  "oracleInfo" : {
    "signature" : "8c22d4a0f55a43d058cd7109205ff3d0c3d3991e573677d8214db24e5e37b76aa569b3f71d6ac75ed0b18bf492a0963e0c6c0a780fbd38f46975c7bfc32235da",
    "pubkey" : "aece069349be6a9f7be4d07a72bf54f1cb7413642bf8cf15ed002066ed4f92de",
    "event" : {
      "nonces" : [ "d2d7b3605f3ebf9edf3434a6faacbac9b2c4791d9fdd9327adb15095fa49f0ed" ],
      "maturation" : "2021-11-05T00:00:00Z",
      "eventid" : "Coin Flip",
      "enum" : {
        "outcomes" : [ "Heads", "Tails" ]
      }
    }
  }
}