mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-19 10:12:33 +00:00
Compare commits
1 Commits
add-feedba
...
fix-source
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0d0aaad40 |
@@ -273,8 +273,6 @@ ul.nav.navbar-nav {
|
||||
--language-picker-background-color: var(--color-gray-8);
|
||||
--select-list-bg-color: var(--color-gray-8);
|
||||
|
||||
--button-bg-color-secondary: var(--color-gray-8);
|
||||
|
||||
--footer-title-text-color: black;
|
||||
--bg-color: var(--color-gray-9);
|
||||
--bg-color-raised: var(--color-gray-8);
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
# Assign a Regular Key (Go)
|
||||
|
||||
Demonstrates how to assign a regular key pair to an XRP Ledger account. Both WebSocket (`ws/`) and JSON-RPC (`rpc/`) examples are included.
|
||||
|
||||
Quick setup and usage:
|
||||
|
||||
```sh
|
||||
go mod tidy
|
||||
go run ./ws/main.go
|
||||
```
|
||||
@@ -1,6 +1,8 @@
|
||||
module github.com/XRPLF
|
||||
|
||||
go 1.24.0
|
||||
go 1.23.0
|
||||
|
||||
toolchain go1.23.10
|
||||
|
||||
require github.com/Peersyst/xrpl-go v0.1.11
|
||||
|
||||
@@ -18,5 +20,5 @@ require (
|
||||
github.com/tyler-smith/go-bip32 v1.0.0 // indirect
|
||||
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
|
||||
github.com/ugorji/go/codec v1.2.11 // indirect
|
||||
golang.org/x/crypto v0.45.0 // indirect
|
||||
golang.org/x/crypto v0.35.0 // indirect
|
||||
)
|
||||
|
||||
@@ -46,8 +46,8 @@ github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ
|
||||
golang.org/x/crypto v0.0.0-20170613210332-850760c427c5/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
|
||||
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
|
||||
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
|
||||
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
|
||||
@@ -66,7 +66,7 @@ In addition to the [common ledger entry fields][], {% code-page-name /%} entries
|
||||
| `ManagementFeeRate` | Number | UInt16 | No | The fee charged by the lending protocol, in units of 1/10th basis points. Valid values are 0 to 100000 (inclusive), representing 0% to 100%. |
|
||||
| `OwnerCount` | Number | UInt32 | Yes | The number of active loans issued by the LoanBroker. |
|
||||
| `DebtTotal` | String | Number | Yes | The total asset amount the protocol owes the vault, including interest. |
|
||||
| `DebtMaximum` | String | Number | No | The maximum amount the protocol can owe the vault. The default value of `0` means there is no limit to the debt. |
|
||||
| `DebtMaximum` | String | Number | Yes | The maximum amount the protocol can owe the vault. The default value of `0` means there is no limit to the debt. |
|
||||
| `CoverAvailable` | String | Number | Yes | The total amount of first-loss capital deposited into the lending protocol. |
|
||||
| `CoverRateMinimum` | Number | UInt32 | Yes | The 1/10th basis point of the `DebtTotal` that the first-loss capital must cover. Valid values are 0 to 100000 (inclusive), representing 0% to 100%. |
|
||||
| `CoverRateLiquidation`| Number | UInt12 | Yes | The 1/10th basis point of minimum required first-loss capital that is moved to an asset vault to cover a loan default. Valid values are 0 to 100000 (inclusive), representing 0% to 100%. |
|
||||
|
||||
@@ -133,13 +133,6 @@ analytics:
|
||||
defaultDataLayer:
|
||||
platform: redocly
|
||||
enableWebVitalsTracking: true
|
||||
feedback:
|
||||
type: scale
|
||||
settings:
|
||||
label: How helpful was this page?
|
||||
submitText: Thanks for your feedback!
|
||||
leftScaleLabel: Not helpful
|
||||
rightScaleLabel: Very helpful
|
||||
scripts:
|
||||
head:
|
||||
- src: https://cmp.osano.com/AzyjT6TIZMlgyLyy8/f11f7772-8ed5-4b73-bd17-c0814edcc440/osano.js
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,6 @@
|
||||
|
||||
[data-component-name="Markdown/Markdown"] article {
|
||||
padding-bottom: 50px;
|
||||
border-bottom: 1px solid $gray-400;
|
||||
|
||||
p code,
|
||||
table code,
|
||||
@@ -88,6 +87,15 @@
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
// [[Source]] renders as its own <p> after the heading (Redocly 0.131.0+).
|
||||
// overflow: hidden creates a block formatting context so the <p> contains
|
||||
// its floated child instead of collapsing to zero height and bleeding into
|
||||
// the next paragraph.
|
||||
p:has(> a[title="Source"]),
|
||||
p:has(> a[title="ソース"]) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Make "invisible" headers take up no space either, so we can use them
|
||||
// to add additional anchors (e.g. for translated pages)
|
||||
h1.invisible,
|
||||
|
||||
@@ -1,3 +1,96 @@
|
||||
[data-component-name="Feedback/Feedback"] {
|
||||
margin: 0 auto !important;
|
||||
// TEMPORARY: overriding the feedback widget styles here
|
||||
#feedback-content {
|
||||
.docked-widget {
|
||||
border: none !important;
|
||||
background-color: transparent !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.widget-form-wrapper {
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
display: block;
|
||||
background-color: $gray-800 !important;
|
||||
border-width: 0 !important;
|
||||
padding: 24px !important;
|
||||
border-radius: 8px !important;
|
||||
|
||||
div {
|
||||
background-color: $gray-800 !important;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: $white !important;
|
||||
opacity: 1 !important;
|
||||
border: none !important;
|
||||
border-radius: 4px !important;
|
||||
margin: 0 !important;
|
||||
width: 100% !important;
|
||||
color: $black !important;
|
||||
}
|
||||
|
||||
.widget-header-title {
|
||||
background: none !important;
|
||||
flex-grow: 0 !important;
|
||||
padding-right: 1rem !important;
|
||||
height: auto !important;
|
||||
padding: 0 !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.widget-header-footer {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.widget-form-footer {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.submit {
|
||||
background-color: $blue-purple-500 !important;
|
||||
font-weight: bold !important;
|
||||
color: $white !important;
|
||||
border: none !important;
|
||||
border-color: transparent !important;
|
||||
border-radius: 4px !important;
|
||||
margin: 0 !important;
|
||||
margin-top: 8px !important;
|
||||
&:hover {
|
||||
background: $blue-purple-600 !important;
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&[disabled="disabled"] {
|
||||
background-color: $blue-purple-700 !important;
|
||||
|
||||
&:hover {
|
||||
background-color: $blue-purple-700 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cancel {
|
||||
margin: 0 !important;
|
||||
margin-top: 8px !important;
|
||||
color: $blue-purple-300 !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#closeFeedback {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.widget-helpful {
|
||||
.widget-header {
|
||||
background-color: $gray-800 !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
.widget-header-title {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1120,10 +1120,6 @@ main article .card-grid {
|
||||
}
|
||||
}
|
||||
|
||||
[data-component-name="Markdown/Markdown"] article {
|
||||
border-bottom-color: $gray-500;
|
||||
}
|
||||
|
||||
.dev-blog {
|
||||
.text-bg {
|
||||
background-color: $white;
|
||||
|
||||
Reference in New Issue
Block a user