Skip to content

Commit 1569400

Browse files
committed
check 1click api
1 parent d87152d commit 1569400

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

.upptimerc.yml

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
1-
# Change these first
2-
owner: upptime # Your GitHub organization or username, where this repository lives
3-
repo: upptime # The name of this repository
1+
owner: cowprotocol
2+
repo: uptime-periphery
43

54
sites:
6-
- name: Google
7-
url: https://www.google.com
8-
- name: Wikipedia
9-
url: https://en.wikipedia.org
10-
- name: Hacker News
11-
url: https://news.ycombinator.com
12-
- name: Test Broken Site
13-
url: https://thissitedoesnotexist.koj.co
14-
- name: IPv6 test
15-
url: forwardemail.net
16-
port: 80
17-
check: "tcp-ping"
18-
ipv6: true
5+
- name: Bridging - Near/1Click/Tokens
6+
url: https://1click.chaindefuser.com/v0/tokens
7+
8+
- name: Bridging - Near/1Click/Quote
9+
method: POST
10+
url: https://1click.chaindefuser.com/v0/quote
11+
headers: ["Content-Type: application/json"]
12+
body: |
13+
{
14+
"dry": false,
15+
"swapType": "EXACT_INPUT",
16+
"slippageTolerance": 100,
17+
"originAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
18+
"depositType": "ORIGIN_CHAIN",
19+
"destinationAsset": "nep141:base-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.omft.near",
20+
"amount": "3241870412",
21+
"refundTo": "0x79063d9173C09887d536924E2F6eADbaBAc099f5",
22+
"refundType": "ORIGIN_CHAIN",
23+
"recipient": "0x79063d9173C09887d536924E2F6eADbaBAc099f5",
24+
"recipientType": "DESTINATION_CHAIN",
25+
"deadline": "2030-01-01T00:00:00Z"
26+
}
1927
2028
status-website:
2129
# Add your custom domain name, or remove the `cname` line if you don't have a domain
2230
# Uncomment the `baseUrl` line if you don't have a custom domain and add your repo name there
23-
cname: demo.upptime.js.org
31+
cname: periphery.status.cow.fi
2432
# baseUrl: /your-repo-name
25-
logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
33+
logoUrl: https://raw.githubusercontent.com/uptime-periphery/master/assets/cow-logo.png
2634
name: Upptime
2735
introTitle: "**Upptime** is the open-source uptime monitor and status page, powered entirely by GitHub."
2836
introMessage: This is a sample status page which uses **real-time** data from our [GitHub repository](https://github.com/upptime/upptime). No server required — just GitHub Actions, Issues, and Pages. [**Get your own for free**](https://github.com/upptime/upptime)
@@ -31,6 +39,5 @@ status-website:
3139
href: /
3240
- title: GitHub
3341
href: https://github.com/$OWNER/$REPO
34-
3542
# Upptime also supports notifications, assigning issues, and more
3643
# See https://upptime.js.org/docs/configuration

img/cow-logo.png

6.92 KB
Loading

0 commit comments

Comments
 (0)