@oddmaki-protocol/sdk 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/index.d.mts +256 -1
- package/dist/index.d.ts +256 -1
- package/dist/index.js +273 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +273 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -103,6 +103,12 @@ pnpm run lint
|
|
|
103
103
|
- [oddmaki-subgraph](https://github.com/oddmaki/oddmaki-subgraph) — Subgraph
|
|
104
104
|
- [oddmaki-venue-starter](https://github.com/oddmaki/oddmaki-venue-starter) — Venue starter template
|
|
105
105
|
|
|
106
|
+
## Links
|
|
107
|
+
|
|
108
|
+
- **Protocol** — [oddmaki.com](https://oddmaki.com)
|
|
109
|
+
- **Maintainer** — [predictablereality.com](https://predictablereality.com)
|
|
110
|
+
- **Contact** — team@oddmaki.com
|
|
111
|
+
|
|
106
112
|
## License
|
|
107
113
|
|
|
108
|
-
[MIT](./LICENSE)
|
|
114
|
+
[MIT](./LICENSE) — Copyright (c) 2025-2026 Predictable Reality, Inc.
|
package/dist/index.d.mts
CHANGED
|
@@ -16925,6 +16925,261 @@ var ERC20 = [
|
|
|
16925
16925
|
}
|
|
16926
16926
|
];
|
|
16927
16927
|
|
|
16928
|
+
var UmaOracle = [
|
|
16929
|
+
{
|
|
16930
|
+
type: "function",
|
|
16931
|
+
name: "assertTruth",
|
|
16932
|
+
inputs: [
|
|
16933
|
+
{
|
|
16934
|
+
name: "claim",
|
|
16935
|
+
type: "bytes",
|
|
16936
|
+
internalType: "bytes"
|
|
16937
|
+
},
|
|
16938
|
+
{
|
|
16939
|
+
name: "asserter",
|
|
16940
|
+
type: "address",
|
|
16941
|
+
internalType: "address"
|
|
16942
|
+
},
|
|
16943
|
+
{
|
|
16944
|
+
name: "callbackRecipient",
|
|
16945
|
+
type: "address",
|
|
16946
|
+
internalType: "address"
|
|
16947
|
+
},
|
|
16948
|
+
{
|
|
16949
|
+
name: "escalationManager",
|
|
16950
|
+
type: "address",
|
|
16951
|
+
internalType: "address"
|
|
16952
|
+
},
|
|
16953
|
+
{
|
|
16954
|
+
name: "liveness",
|
|
16955
|
+
type: "uint64",
|
|
16956
|
+
internalType: "uint64"
|
|
16957
|
+
},
|
|
16958
|
+
{
|
|
16959
|
+
name: "currency",
|
|
16960
|
+
type: "address",
|
|
16961
|
+
internalType: "contract IERC20"
|
|
16962
|
+
},
|
|
16963
|
+
{
|
|
16964
|
+
name: "bond",
|
|
16965
|
+
type: "uint256",
|
|
16966
|
+
internalType: "uint256"
|
|
16967
|
+
},
|
|
16968
|
+
{
|
|
16969
|
+
name: "identifier",
|
|
16970
|
+
type: "bytes32",
|
|
16971
|
+
internalType: "bytes32"
|
|
16972
|
+
},
|
|
16973
|
+
{
|
|
16974
|
+
name: "domainId",
|
|
16975
|
+
type: "bytes32",
|
|
16976
|
+
internalType: "bytes32"
|
|
16977
|
+
}
|
|
16978
|
+
],
|
|
16979
|
+
outputs: [
|
|
16980
|
+
{
|
|
16981
|
+
name: "",
|
|
16982
|
+
type: "bytes32",
|
|
16983
|
+
internalType: "bytes32"
|
|
16984
|
+
}
|
|
16985
|
+
],
|
|
16986
|
+
stateMutability: "nonpayable"
|
|
16987
|
+
},
|
|
16988
|
+
{
|
|
16989
|
+
type: "function",
|
|
16990
|
+
name: "defaultIdentifier",
|
|
16991
|
+
inputs: [
|
|
16992
|
+
],
|
|
16993
|
+
outputs: [
|
|
16994
|
+
{
|
|
16995
|
+
name: "",
|
|
16996
|
+
type: "bytes32",
|
|
16997
|
+
internalType: "bytes32"
|
|
16998
|
+
}
|
|
16999
|
+
],
|
|
17000
|
+
stateMutability: "view"
|
|
17001
|
+
},
|
|
17002
|
+
{
|
|
17003
|
+
type: "function",
|
|
17004
|
+
name: "getAssertion",
|
|
17005
|
+
inputs: [
|
|
17006
|
+
{
|
|
17007
|
+
name: "assertionId",
|
|
17008
|
+
type: "bytes32",
|
|
17009
|
+
internalType: "bytes32"
|
|
17010
|
+
}
|
|
17011
|
+
],
|
|
17012
|
+
outputs: [
|
|
17013
|
+
{
|
|
17014
|
+
name: "",
|
|
17015
|
+
type: "tuple",
|
|
17016
|
+
internalType: "struct OptimisticOracleV3Interface.Assertion",
|
|
17017
|
+
components: [
|
|
17018
|
+
{
|
|
17019
|
+
name: "escalationManagerSettings",
|
|
17020
|
+
type: "tuple",
|
|
17021
|
+
internalType: "struct OptimisticOracleV3Interface.EscalationManagerSettings",
|
|
17022
|
+
components: [
|
|
17023
|
+
{
|
|
17024
|
+
name: "arbitrateViaEscalationManager",
|
|
17025
|
+
type: "bool",
|
|
17026
|
+
internalType: "bool"
|
|
17027
|
+
},
|
|
17028
|
+
{
|
|
17029
|
+
name: "discardOracle",
|
|
17030
|
+
type: "bool",
|
|
17031
|
+
internalType: "bool"
|
|
17032
|
+
},
|
|
17033
|
+
{
|
|
17034
|
+
name: "validateDisputers",
|
|
17035
|
+
type: "bool",
|
|
17036
|
+
internalType: "bool"
|
|
17037
|
+
},
|
|
17038
|
+
{
|
|
17039
|
+
name: "assertingCaller",
|
|
17040
|
+
type: "address",
|
|
17041
|
+
internalType: "address"
|
|
17042
|
+
},
|
|
17043
|
+
{
|
|
17044
|
+
name: "escalationManager",
|
|
17045
|
+
type: "address",
|
|
17046
|
+
internalType: "address"
|
|
17047
|
+
}
|
|
17048
|
+
]
|
|
17049
|
+
},
|
|
17050
|
+
{
|
|
17051
|
+
name: "asserter",
|
|
17052
|
+
type: "address",
|
|
17053
|
+
internalType: "address"
|
|
17054
|
+
},
|
|
17055
|
+
{
|
|
17056
|
+
name: "assertionTime",
|
|
17057
|
+
type: "uint64",
|
|
17058
|
+
internalType: "uint64"
|
|
17059
|
+
},
|
|
17060
|
+
{
|
|
17061
|
+
name: "settled",
|
|
17062
|
+
type: "bool",
|
|
17063
|
+
internalType: "bool"
|
|
17064
|
+
},
|
|
17065
|
+
{
|
|
17066
|
+
name: "currency",
|
|
17067
|
+
type: "address",
|
|
17068
|
+
internalType: "contract IERC20"
|
|
17069
|
+
},
|
|
17070
|
+
{
|
|
17071
|
+
name: "expirationTime",
|
|
17072
|
+
type: "uint64",
|
|
17073
|
+
internalType: "uint64"
|
|
17074
|
+
},
|
|
17075
|
+
{
|
|
17076
|
+
name: "settlementResolution",
|
|
17077
|
+
type: "bool",
|
|
17078
|
+
internalType: "bool"
|
|
17079
|
+
},
|
|
17080
|
+
{
|
|
17081
|
+
name: "domainId",
|
|
17082
|
+
type: "bytes32",
|
|
17083
|
+
internalType: "bytes32"
|
|
17084
|
+
},
|
|
17085
|
+
{
|
|
17086
|
+
name: "identifier",
|
|
17087
|
+
type: "bytes32",
|
|
17088
|
+
internalType: "bytes32"
|
|
17089
|
+
},
|
|
17090
|
+
{
|
|
17091
|
+
name: "bond",
|
|
17092
|
+
type: "uint256",
|
|
17093
|
+
internalType: "uint256"
|
|
17094
|
+
},
|
|
17095
|
+
{
|
|
17096
|
+
name: "callbackRecipient",
|
|
17097
|
+
type: "address",
|
|
17098
|
+
internalType: "address"
|
|
17099
|
+
},
|
|
17100
|
+
{
|
|
17101
|
+
name: "disputer",
|
|
17102
|
+
type: "address",
|
|
17103
|
+
internalType: "address"
|
|
17104
|
+
}
|
|
17105
|
+
]
|
|
17106
|
+
}
|
|
17107
|
+
],
|
|
17108
|
+
stateMutability: "view"
|
|
17109
|
+
},
|
|
17110
|
+
{
|
|
17111
|
+
type: "function",
|
|
17112
|
+
name: "getAssertionResult",
|
|
17113
|
+
inputs: [
|
|
17114
|
+
{
|
|
17115
|
+
name: "assertionId",
|
|
17116
|
+
type: "bytes32",
|
|
17117
|
+
internalType: "bytes32"
|
|
17118
|
+
}
|
|
17119
|
+
],
|
|
17120
|
+
outputs: [
|
|
17121
|
+
{
|
|
17122
|
+
name: "",
|
|
17123
|
+
type: "bool",
|
|
17124
|
+
internalType: "bool"
|
|
17125
|
+
}
|
|
17126
|
+
],
|
|
17127
|
+
stateMutability: "view"
|
|
17128
|
+
},
|
|
17129
|
+
{
|
|
17130
|
+
type: "function",
|
|
17131
|
+
name: "getMinimumBond",
|
|
17132
|
+
inputs: [
|
|
17133
|
+
{
|
|
17134
|
+
name: "currency",
|
|
17135
|
+
type: "address",
|
|
17136
|
+
internalType: "address"
|
|
17137
|
+
}
|
|
17138
|
+
],
|
|
17139
|
+
outputs: [
|
|
17140
|
+
{
|
|
17141
|
+
name: "",
|
|
17142
|
+
type: "uint256",
|
|
17143
|
+
internalType: "uint256"
|
|
17144
|
+
}
|
|
17145
|
+
],
|
|
17146
|
+
stateMutability: "view"
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
type: "function",
|
|
17150
|
+
name: "isSettled",
|
|
17151
|
+
inputs: [
|
|
17152
|
+
{
|
|
17153
|
+
name: "assertionId",
|
|
17154
|
+
type: "bytes32",
|
|
17155
|
+
internalType: "bytes32"
|
|
17156
|
+
}
|
|
17157
|
+
],
|
|
17158
|
+
outputs: [
|
|
17159
|
+
{
|
|
17160
|
+
name: "settled",
|
|
17161
|
+
type: "bool",
|
|
17162
|
+
internalType: "bool"
|
|
17163
|
+
}
|
|
17164
|
+
],
|
|
17165
|
+
stateMutability: "view"
|
|
17166
|
+
},
|
|
17167
|
+
{
|
|
17168
|
+
type: "function",
|
|
17169
|
+
name: "settleAssertion",
|
|
17170
|
+
inputs: [
|
|
17171
|
+
{
|
|
17172
|
+
name: "assertionId",
|
|
17173
|
+
type: "bytes32",
|
|
17174
|
+
internalType: "bytes32"
|
|
17175
|
+
}
|
|
17176
|
+
],
|
|
17177
|
+
outputs: [
|
|
17178
|
+
],
|
|
17179
|
+
stateMutability: "nonpayable"
|
|
17180
|
+
}
|
|
17181
|
+
];
|
|
17182
|
+
|
|
16928
17183
|
declare const GET_VENUES: string;
|
|
16929
17184
|
declare const GET_MARKETS: string;
|
|
16930
17185
|
declare const GET_MARKETS_WITH_PRICING: string;
|
|
@@ -17063,4 +17318,4 @@ declare function parseMetadata<T extends {
|
|
|
17063
17318
|
|
|
17064
17319
|
declare const version = "0.1.0";
|
|
17065
17320
|
|
|
17066
|
-
export { AccessControlFacet as AccessControlFacetABI, AccessControlModule, BatchOrdersFacet as BatchOrdersFacetABI, CONTRACT_ADDRESSES, type ChancePercentInput, ConditionalTokens as ConditionalTokensABI, DEFAULT_CHAIN, ERC20 as ERC20ABI, FeedProvider, GET_ALL_MARKETS_FEED, GET_ALL_MARKETS_FEED_BY_VOLUME, GET_CHART_TRADES, GET_CHART_TRADES_ALL, GET_GROUP_MARKETS, GET_LEADERBOARD, GET_MARKET, GET_MARKETS, GET_MARKETS_WITH_PRICING, GET_MARKET_GROUP, GET_MARKET_GROUPS, GET_MARKET_GROUP_ITEM, GET_MARKET_TOP_HOLDERS, GET_ORDERS, GET_PROTOCOL_STATS, GET_QUESTION, GET_QUESTIONS, GET_RECENT_MARKETS, GET_RECENT_TRADES, GET_TOP_OF_BOOK, GET_TRADER_CLOSED_POSITIONS, GET_TRADER_FILLS, GET_TRADER_POSITIONS, GET_TRADER_PROFILE, GET_TRADES, GET_UNIFIED_MARKET_FEED, GET_UNIFIED_MARKET_FEED_BY_VOLUME, GET_USER, GET_VENUES, LimitOrdersFacet as LimitOrdersFacetABI, MarketGroupFacet as MarketGroupFacetABI, type MarketMetadata, MarketModule, MarketOrdersFacet as MarketOrdersFacetABI, type MarketQuestion, MarketsFacet as MarketsFacetABI, MatchingFacet as MatchingFacetABI, MetadataFacet as MetadataFacetABI, NegRiskFacet as NegRiskFacetABI, OddMakiClient, type OddMakiClientConfig, type OddMakiConfig, OrderBookFacet as OrderBookFacetABI, PROTOCOL_FEES, type PriceMarketData, PriceMarketFacet as PriceMarketFacetABI, PriceMarketModule, ProtocolFacet as ProtocolFacetABI, PublicModule, PythResolutionFacet as PythResolutionFacetABI, type PythUpdate, ResolutionFacet as ResolutionFacetABI, SubgraphClient, type SubgraphMarketPriceData, TICK_SIZE_FINE, TICK_SIZE_STANDARD, TagsFacet as TagsFacetABI, TokenModule, type TopOfBookEntry, TradeModule, UMA_DEFAULTS, UmaModule, VALID_TICK_SIZES, VaultFacet as VaultFacetABI, VenueFacet as VenueFacetABI, type VenueMetadata, VenueModule, WhitelistAccessControl as WhitelistAccessControlABI, calculateChancePercent, clearDecimalsCache, createExpiry, createOddMakiClient, formatAmount, formatAncillaryData, formatTimestamp, getCachedTokenDecimals, getOutcomePrice, getTokenDecimals, isValidTickSize, parseAmount, parseAncillaryData, parseMetadata, parseTokenAmount, priceToTick, resolveIPFSUri, tickToPercentage, tickToPrice, version };
|
|
17321
|
+
export { AccessControlFacet as AccessControlFacetABI, AccessControlModule, BatchOrdersFacet as BatchOrdersFacetABI, CONTRACT_ADDRESSES, type ChancePercentInput, ConditionalTokens as ConditionalTokensABI, DEFAULT_CHAIN, ERC20 as ERC20ABI, FeedProvider, GET_ALL_MARKETS_FEED, GET_ALL_MARKETS_FEED_BY_VOLUME, GET_CHART_TRADES, GET_CHART_TRADES_ALL, GET_GROUP_MARKETS, GET_LEADERBOARD, GET_MARKET, GET_MARKETS, GET_MARKETS_WITH_PRICING, GET_MARKET_GROUP, GET_MARKET_GROUPS, GET_MARKET_GROUP_ITEM, GET_MARKET_TOP_HOLDERS, GET_ORDERS, GET_PROTOCOL_STATS, GET_QUESTION, GET_QUESTIONS, GET_RECENT_MARKETS, GET_RECENT_TRADES, GET_TOP_OF_BOOK, GET_TRADER_CLOSED_POSITIONS, GET_TRADER_FILLS, GET_TRADER_POSITIONS, GET_TRADER_PROFILE, GET_TRADES, GET_UNIFIED_MARKET_FEED, GET_UNIFIED_MARKET_FEED_BY_VOLUME, GET_USER, GET_VENUES, LimitOrdersFacet as LimitOrdersFacetABI, MarketGroupFacet as MarketGroupFacetABI, type MarketMetadata, MarketModule, MarketOrdersFacet as MarketOrdersFacetABI, type MarketQuestion, MarketsFacet as MarketsFacetABI, MatchingFacet as MatchingFacetABI, MetadataFacet as MetadataFacetABI, NegRiskFacet as NegRiskFacetABI, OddMakiClient, type OddMakiClientConfig, type OddMakiConfig, OrderBookFacet as OrderBookFacetABI, PROTOCOL_FEES, type PriceMarketData, PriceMarketFacet as PriceMarketFacetABI, PriceMarketModule, ProtocolFacet as ProtocolFacetABI, PublicModule, PythResolutionFacet as PythResolutionFacetABI, type PythUpdate, ResolutionFacet as ResolutionFacetABI, SubgraphClient, type SubgraphMarketPriceData, TICK_SIZE_FINE, TICK_SIZE_STANDARD, TagsFacet as TagsFacetABI, TokenModule, type TopOfBookEntry, TradeModule, UMA_DEFAULTS, UmaModule, UmaOracle as UmaOracleABI, VALID_TICK_SIZES, VaultFacet as VaultFacetABI, VenueFacet as VenueFacetABI, type VenueMetadata, VenueModule, WhitelistAccessControl as WhitelistAccessControlABI, calculateChancePercent, clearDecimalsCache, createExpiry, createOddMakiClient, formatAmount, formatAncillaryData, formatTimestamp, getCachedTokenDecimals, getOutcomePrice, getTokenDecimals, isValidTickSize, parseAmount, parseAncillaryData, parseMetadata, parseTokenAmount, priceToTick, resolveIPFSUri, tickToPercentage, tickToPrice, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -16925,6 +16925,261 @@ var ERC20 = [
|
|
|
16925
16925
|
}
|
|
16926
16926
|
];
|
|
16927
16927
|
|
|
16928
|
+
var UmaOracle = [
|
|
16929
|
+
{
|
|
16930
|
+
type: "function",
|
|
16931
|
+
name: "assertTruth",
|
|
16932
|
+
inputs: [
|
|
16933
|
+
{
|
|
16934
|
+
name: "claim",
|
|
16935
|
+
type: "bytes",
|
|
16936
|
+
internalType: "bytes"
|
|
16937
|
+
},
|
|
16938
|
+
{
|
|
16939
|
+
name: "asserter",
|
|
16940
|
+
type: "address",
|
|
16941
|
+
internalType: "address"
|
|
16942
|
+
},
|
|
16943
|
+
{
|
|
16944
|
+
name: "callbackRecipient",
|
|
16945
|
+
type: "address",
|
|
16946
|
+
internalType: "address"
|
|
16947
|
+
},
|
|
16948
|
+
{
|
|
16949
|
+
name: "escalationManager",
|
|
16950
|
+
type: "address",
|
|
16951
|
+
internalType: "address"
|
|
16952
|
+
},
|
|
16953
|
+
{
|
|
16954
|
+
name: "liveness",
|
|
16955
|
+
type: "uint64",
|
|
16956
|
+
internalType: "uint64"
|
|
16957
|
+
},
|
|
16958
|
+
{
|
|
16959
|
+
name: "currency",
|
|
16960
|
+
type: "address",
|
|
16961
|
+
internalType: "contract IERC20"
|
|
16962
|
+
},
|
|
16963
|
+
{
|
|
16964
|
+
name: "bond",
|
|
16965
|
+
type: "uint256",
|
|
16966
|
+
internalType: "uint256"
|
|
16967
|
+
},
|
|
16968
|
+
{
|
|
16969
|
+
name: "identifier",
|
|
16970
|
+
type: "bytes32",
|
|
16971
|
+
internalType: "bytes32"
|
|
16972
|
+
},
|
|
16973
|
+
{
|
|
16974
|
+
name: "domainId",
|
|
16975
|
+
type: "bytes32",
|
|
16976
|
+
internalType: "bytes32"
|
|
16977
|
+
}
|
|
16978
|
+
],
|
|
16979
|
+
outputs: [
|
|
16980
|
+
{
|
|
16981
|
+
name: "",
|
|
16982
|
+
type: "bytes32",
|
|
16983
|
+
internalType: "bytes32"
|
|
16984
|
+
}
|
|
16985
|
+
],
|
|
16986
|
+
stateMutability: "nonpayable"
|
|
16987
|
+
},
|
|
16988
|
+
{
|
|
16989
|
+
type: "function",
|
|
16990
|
+
name: "defaultIdentifier",
|
|
16991
|
+
inputs: [
|
|
16992
|
+
],
|
|
16993
|
+
outputs: [
|
|
16994
|
+
{
|
|
16995
|
+
name: "",
|
|
16996
|
+
type: "bytes32",
|
|
16997
|
+
internalType: "bytes32"
|
|
16998
|
+
}
|
|
16999
|
+
],
|
|
17000
|
+
stateMutability: "view"
|
|
17001
|
+
},
|
|
17002
|
+
{
|
|
17003
|
+
type: "function",
|
|
17004
|
+
name: "getAssertion",
|
|
17005
|
+
inputs: [
|
|
17006
|
+
{
|
|
17007
|
+
name: "assertionId",
|
|
17008
|
+
type: "bytes32",
|
|
17009
|
+
internalType: "bytes32"
|
|
17010
|
+
}
|
|
17011
|
+
],
|
|
17012
|
+
outputs: [
|
|
17013
|
+
{
|
|
17014
|
+
name: "",
|
|
17015
|
+
type: "tuple",
|
|
17016
|
+
internalType: "struct OptimisticOracleV3Interface.Assertion",
|
|
17017
|
+
components: [
|
|
17018
|
+
{
|
|
17019
|
+
name: "escalationManagerSettings",
|
|
17020
|
+
type: "tuple",
|
|
17021
|
+
internalType: "struct OptimisticOracleV3Interface.EscalationManagerSettings",
|
|
17022
|
+
components: [
|
|
17023
|
+
{
|
|
17024
|
+
name: "arbitrateViaEscalationManager",
|
|
17025
|
+
type: "bool",
|
|
17026
|
+
internalType: "bool"
|
|
17027
|
+
},
|
|
17028
|
+
{
|
|
17029
|
+
name: "discardOracle",
|
|
17030
|
+
type: "bool",
|
|
17031
|
+
internalType: "bool"
|
|
17032
|
+
},
|
|
17033
|
+
{
|
|
17034
|
+
name: "validateDisputers",
|
|
17035
|
+
type: "bool",
|
|
17036
|
+
internalType: "bool"
|
|
17037
|
+
},
|
|
17038
|
+
{
|
|
17039
|
+
name: "assertingCaller",
|
|
17040
|
+
type: "address",
|
|
17041
|
+
internalType: "address"
|
|
17042
|
+
},
|
|
17043
|
+
{
|
|
17044
|
+
name: "escalationManager",
|
|
17045
|
+
type: "address",
|
|
17046
|
+
internalType: "address"
|
|
17047
|
+
}
|
|
17048
|
+
]
|
|
17049
|
+
},
|
|
17050
|
+
{
|
|
17051
|
+
name: "asserter",
|
|
17052
|
+
type: "address",
|
|
17053
|
+
internalType: "address"
|
|
17054
|
+
},
|
|
17055
|
+
{
|
|
17056
|
+
name: "assertionTime",
|
|
17057
|
+
type: "uint64",
|
|
17058
|
+
internalType: "uint64"
|
|
17059
|
+
},
|
|
17060
|
+
{
|
|
17061
|
+
name: "settled",
|
|
17062
|
+
type: "bool",
|
|
17063
|
+
internalType: "bool"
|
|
17064
|
+
},
|
|
17065
|
+
{
|
|
17066
|
+
name: "currency",
|
|
17067
|
+
type: "address",
|
|
17068
|
+
internalType: "contract IERC20"
|
|
17069
|
+
},
|
|
17070
|
+
{
|
|
17071
|
+
name: "expirationTime",
|
|
17072
|
+
type: "uint64",
|
|
17073
|
+
internalType: "uint64"
|
|
17074
|
+
},
|
|
17075
|
+
{
|
|
17076
|
+
name: "settlementResolution",
|
|
17077
|
+
type: "bool",
|
|
17078
|
+
internalType: "bool"
|
|
17079
|
+
},
|
|
17080
|
+
{
|
|
17081
|
+
name: "domainId",
|
|
17082
|
+
type: "bytes32",
|
|
17083
|
+
internalType: "bytes32"
|
|
17084
|
+
},
|
|
17085
|
+
{
|
|
17086
|
+
name: "identifier",
|
|
17087
|
+
type: "bytes32",
|
|
17088
|
+
internalType: "bytes32"
|
|
17089
|
+
},
|
|
17090
|
+
{
|
|
17091
|
+
name: "bond",
|
|
17092
|
+
type: "uint256",
|
|
17093
|
+
internalType: "uint256"
|
|
17094
|
+
},
|
|
17095
|
+
{
|
|
17096
|
+
name: "callbackRecipient",
|
|
17097
|
+
type: "address",
|
|
17098
|
+
internalType: "address"
|
|
17099
|
+
},
|
|
17100
|
+
{
|
|
17101
|
+
name: "disputer",
|
|
17102
|
+
type: "address",
|
|
17103
|
+
internalType: "address"
|
|
17104
|
+
}
|
|
17105
|
+
]
|
|
17106
|
+
}
|
|
17107
|
+
],
|
|
17108
|
+
stateMutability: "view"
|
|
17109
|
+
},
|
|
17110
|
+
{
|
|
17111
|
+
type: "function",
|
|
17112
|
+
name: "getAssertionResult",
|
|
17113
|
+
inputs: [
|
|
17114
|
+
{
|
|
17115
|
+
name: "assertionId",
|
|
17116
|
+
type: "bytes32",
|
|
17117
|
+
internalType: "bytes32"
|
|
17118
|
+
}
|
|
17119
|
+
],
|
|
17120
|
+
outputs: [
|
|
17121
|
+
{
|
|
17122
|
+
name: "",
|
|
17123
|
+
type: "bool",
|
|
17124
|
+
internalType: "bool"
|
|
17125
|
+
}
|
|
17126
|
+
],
|
|
17127
|
+
stateMutability: "view"
|
|
17128
|
+
},
|
|
17129
|
+
{
|
|
17130
|
+
type: "function",
|
|
17131
|
+
name: "getMinimumBond",
|
|
17132
|
+
inputs: [
|
|
17133
|
+
{
|
|
17134
|
+
name: "currency",
|
|
17135
|
+
type: "address",
|
|
17136
|
+
internalType: "address"
|
|
17137
|
+
}
|
|
17138
|
+
],
|
|
17139
|
+
outputs: [
|
|
17140
|
+
{
|
|
17141
|
+
name: "",
|
|
17142
|
+
type: "uint256",
|
|
17143
|
+
internalType: "uint256"
|
|
17144
|
+
}
|
|
17145
|
+
],
|
|
17146
|
+
stateMutability: "view"
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
type: "function",
|
|
17150
|
+
name: "isSettled",
|
|
17151
|
+
inputs: [
|
|
17152
|
+
{
|
|
17153
|
+
name: "assertionId",
|
|
17154
|
+
type: "bytes32",
|
|
17155
|
+
internalType: "bytes32"
|
|
17156
|
+
}
|
|
17157
|
+
],
|
|
17158
|
+
outputs: [
|
|
17159
|
+
{
|
|
17160
|
+
name: "settled",
|
|
17161
|
+
type: "bool",
|
|
17162
|
+
internalType: "bool"
|
|
17163
|
+
}
|
|
17164
|
+
],
|
|
17165
|
+
stateMutability: "view"
|
|
17166
|
+
},
|
|
17167
|
+
{
|
|
17168
|
+
type: "function",
|
|
17169
|
+
name: "settleAssertion",
|
|
17170
|
+
inputs: [
|
|
17171
|
+
{
|
|
17172
|
+
name: "assertionId",
|
|
17173
|
+
type: "bytes32",
|
|
17174
|
+
internalType: "bytes32"
|
|
17175
|
+
}
|
|
17176
|
+
],
|
|
17177
|
+
outputs: [
|
|
17178
|
+
],
|
|
17179
|
+
stateMutability: "nonpayable"
|
|
17180
|
+
}
|
|
17181
|
+
];
|
|
17182
|
+
|
|
16928
17183
|
declare const GET_VENUES: string;
|
|
16929
17184
|
declare const GET_MARKETS: string;
|
|
16930
17185
|
declare const GET_MARKETS_WITH_PRICING: string;
|
|
@@ -17063,4 +17318,4 @@ declare function parseMetadata<T extends {
|
|
|
17063
17318
|
|
|
17064
17319
|
declare const version = "0.1.0";
|
|
17065
17320
|
|
|
17066
|
-
export { AccessControlFacet as AccessControlFacetABI, AccessControlModule, BatchOrdersFacet as BatchOrdersFacetABI, CONTRACT_ADDRESSES, type ChancePercentInput, ConditionalTokens as ConditionalTokensABI, DEFAULT_CHAIN, ERC20 as ERC20ABI, FeedProvider, GET_ALL_MARKETS_FEED, GET_ALL_MARKETS_FEED_BY_VOLUME, GET_CHART_TRADES, GET_CHART_TRADES_ALL, GET_GROUP_MARKETS, GET_LEADERBOARD, GET_MARKET, GET_MARKETS, GET_MARKETS_WITH_PRICING, GET_MARKET_GROUP, GET_MARKET_GROUPS, GET_MARKET_GROUP_ITEM, GET_MARKET_TOP_HOLDERS, GET_ORDERS, GET_PROTOCOL_STATS, GET_QUESTION, GET_QUESTIONS, GET_RECENT_MARKETS, GET_RECENT_TRADES, GET_TOP_OF_BOOK, GET_TRADER_CLOSED_POSITIONS, GET_TRADER_FILLS, GET_TRADER_POSITIONS, GET_TRADER_PROFILE, GET_TRADES, GET_UNIFIED_MARKET_FEED, GET_UNIFIED_MARKET_FEED_BY_VOLUME, GET_USER, GET_VENUES, LimitOrdersFacet as LimitOrdersFacetABI, MarketGroupFacet as MarketGroupFacetABI, type MarketMetadata, MarketModule, MarketOrdersFacet as MarketOrdersFacetABI, type MarketQuestion, MarketsFacet as MarketsFacetABI, MatchingFacet as MatchingFacetABI, MetadataFacet as MetadataFacetABI, NegRiskFacet as NegRiskFacetABI, OddMakiClient, type OddMakiClientConfig, type OddMakiConfig, OrderBookFacet as OrderBookFacetABI, PROTOCOL_FEES, type PriceMarketData, PriceMarketFacet as PriceMarketFacetABI, PriceMarketModule, ProtocolFacet as ProtocolFacetABI, PublicModule, PythResolutionFacet as PythResolutionFacetABI, type PythUpdate, ResolutionFacet as ResolutionFacetABI, SubgraphClient, type SubgraphMarketPriceData, TICK_SIZE_FINE, TICK_SIZE_STANDARD, TagsFacet as TagsFacetABI, TokenModule, type TopOfBookEntry, TradeModule, UMA_DEFAULTS, UmaModule, VALID_TICK_SIZES, VaultFacet as VaultFacetABI, VenueFacet as VenueFacetABI, type VenueMetadata, VenueModule, WhitelistAccessControl as WhitelistAccessControlABI, calculateChancePercent, clearDecimalsCache, createExpiry, createOddMakiClient, formatAmount, formatAncillaryData, formatTimestamp, getCachedTokenDecimals, getOutcomePrice, getTokenDecimals, isValidTickSize, parseAmount, parseAncillaryData, parseMetadata, parseTokenAmount, priceToTick, resolveIPFSUri, tickToPercentage, tickToPrice, version };
|
|
17321
|
+
export { AccessControlFacet as AccessControlFacetABI, AccessControlModule, BatchOrdersFacet as BatchOrdersFacetABI, CONTRACT_ADDRESSES, type ChancePercentInput, ConditionalTokens as ConditionalTokensABI, DEFAULT_CHAIN, ERC20 as ERC20ABI, FeedProvider, GET_ALL_MARKETS_FEED, GET_ALL_MARKETS_FEED_BY_VOLUME, GET_CHART_TRADES, GET_CHART_TRADES_ALL, GET_GROUP_MARKETS, GET_LEADERBOARD, GET_MARKET, GET_MARKETS, GET_MARKETS_WITH_PRICING, GET_MARKET_GROUP, GET_MARKET_GROUPS, GET_MARKET_GROUP_ITEM, GET_MARKET_TOP_HOLDERS, GET_ORDERS, GET_PROTOCOL_STATS, GET_QUESTION, GET_QUESTIONS, GET_RECENT_MARKETS, GET_RECENT_TRADES, GET_TOP_OF_BOOK, GET_TRADER_CLOSED_POSITIONS, GET_TRADER_FILLS, GET_TRADER_POSITIONS, GET_TRADER_PROFILE, GET_TRADES, GET_UNIFIED_MARKET_FEED, GET_UNIFIED_MARKET_FEED_BY_VOLUME, GET_USER, GET_VENUES, LimitOrdersFacet as LimitOrdersFacetABI, MarketGroupFacet as MarketGroupFacetABI, type MarketMetadata, MarketModule, MarketOrdersFacet as MarketOrdersFacetABI, type MarketQuestion, MarketsFacet as MarketsFacetABI, MatchingFacet as MatchingFacetABI, MetadataFacet as MetadataFacetABI, NegRiskFacet as NegRiskFacetABI, OddMakiClient, type OddMakiClientConfig, type OddMakiConfig, OrderBookFacet as OrderBookFacetABI, PROTOCOL_FEES, type PriceMarketData, PriceMarketFacet as PriceMarketFacetABI, PriceMarketModule, ProtocolFacet as ProtocolFacetABI, PublicModule, PythResolutionFacet as PythResolutionFacetABI, type PythUpdate, ResolutionFacet as ResolutionFacetABI, SubgraphClient, type SubgraphMarketPriceData, TICK_SIZE_FINE, TICK_SIZE_STANDARD, TagsFacet as TagsFacetABI, TokenModule, type TopOfBookEntry, TradeModule, UMA_DEFAULTS, UmaModule, UmaOracle as UmaOracleABI, VALID_TICK_SIZES, VaultFacet as VaultFacetABI, VenueFacet as VenueFacetABI, type VenueMetadata, VenueModule, WhitelistAccessControl as WhitelistAccessControlABI, calculateChancePercent, clearDecimalsCache, createExpiry, createOddMakiClient, formatAmount, formatAncillaryData, formatTimestamp, getCachedTokenDecimals, getOutcomePrice, getTokenDecimals, isValidTickSize, parseAmount, parseAncillaryData, parseMetadata, parseTokenAmount, priceToTick, resolveIPFSUri, tickToPercentage, tickToPrice, version };
|