forked from boundless-xyz/boundless
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequest.yaml
More file actions
36 lines (32 loc) · 1.58 KB
/
request.yaml
File metadata and controls
36 lines (32 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Unique ID for this request, constructed from the client address and a 32-bit index.
# Constructed as (address(client) << 32) | index
id: 0 # if set to 0, gets overwritten by a random id
# Specifies the requirements for the delivered proof, including the program that must be run,
# and the constraints on the journal's value, which define the statement to be proven.
requirements:
imageId: "53cb4210cf2f5bf059e3a4f7bcbb8e21ddc5c11a690fd79e87947f9fec5522a3"
predicate:
predicateType: PrefixMatch
data: "53797374"
callback:
addr: "0x0000000000000000000000000000000000000000"
gasLimit: 0
selector: "00000000"
# A public URI where the program (i.e. image) can be downloaded. This URI will be accessed by
# provers that are evaluating whether to bid on the request.
imageUrl: "https://gateway.pinata.cloud/ipfs/bafkreie5vdnixfaiozgnqdfoev6akghj5ek3jftrsjt7uw2nnuiuegqsyu"
# Input to be provided to the zkVM guest execution.
# The input data is a encoded guest environment.
# See crates/boundless-market/src/input.rs for additional details.
input:
inputType: Inline
data: "0181a5737464696edc003553797374656d54696d65207b2074765f7365633a20313733383030343939382c2074765f6e7365633a20363235373837303030207d"
# Offer specifying how much the client is willing to pay to have this request fulfilled
offer:
minPrice: 1000000000000000
maxPrice: 2000000000000000
biddingStart: 0 # if set to 0, gets overwritten by the current UNIX timestamp
rampUpPeriod: 300
timeout: 3600 # 1 hor
lockTimeout: 2700 # 45 minutes
lockStake: 100000 # 0.1 USDC