Enum Contract Template

Copy Contract Template
Description Total Collateral Event
60/40 democrat/republican weighting 100k sats 100000 sats 2020-us-election View Announcement

Outcomes

Republican_win 0 sats
Democrat_win 100000 sats
other 60000 sats

Contract Info TLV

fdd82efd011200000000000186a0fda7103b030e52657075626c6963616e5f77696e00000000000000000c44656d6f637261745f77696e00000000000186a0056f74686572000000000000ea60fda712c7fdd824c3988fabec9820690f366271c9ceac00fbec1412075f9b319bb0db1f86460519dd9c61478949f2c00c35aeb8e53a1507616072cb802891e2c189a9fa65a0493de5d3b04a6d7b90c9c43c09ebe5250d583e1c3fc423219b26f6a02ec394a130000afdd8225f0001ae3e30df5a203ad10ee89a909df0c8ccea4836e94e0a5d34c3cdab758fcaee1460189600fdd8062400030e52657075626c6963616e5f77696e0c44656d6f637261745f77696e056f7468657210323032302d75732d656c656374696f6e
{
  "totalCollateral" : 100000,
  "contractDescriptor" : [ [ "Republican_win", 0 ], [ "Democrat_win", 100000 ], [ "other", 60000 ] ],
  "oracleInfo" : {
    "signature" : "988fabec9820690f366271c9ceac00fbec1412075f9b319bb0db1f86460519dd9c61478949f2c00c35aeb8e53a1507616072cb802891e2c189a9fa65a0493de5",
    "pubkey" : "d3b04a6d7b90c9c43c09ebe5250d583e1c3fc423219b26f6a02ec394a130000a",
    "event" : {
      "nonces" : [ "ae3e30df5a203ad10ee89a909df0c8ccea4836e94e0a5d34c3cdab758fcaee14" ],
      "maturation" : "2021-02-02T00:00:00Z",
      "eventid" : "2020-us-election",
      "enum" : {
        "outcomes" : [ "Republican_win", "Democrat_win", "other" ]
      }
    }
  }
}