Skip to content

Commit

Permalink
Merge branch 'QA-Test' into pegout-fix-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisfc68 committed Dec 2, 2024
2 parents b07faf1 + 1d59632 commit cbd2365
Show file tree
Hide file tree
Showing 27 changed files with 17,640 additions and 17,193 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Install truffle
run: npm install -g truffle

- name: NPM Login
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: npm ci
# - name: Lint source and tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

Expand All @@ -17,6 +18,9 @@ jobs:
with:
node-version: '19.6.0'

- name: NPM Login
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: npm ci

Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,19 @@ Registers msg.sender as a liquidity provider with msg.value as collateral
The registered provider ID

### **getProviders**
function getProviders(
uint[] memory providerIds
) external view returns (LiquidityProvider[] memory)
function getProviders() external view returns (LiquidityProvider[] memory)
Retrieves the information of a group of liquidity providers
#### Parametets
* providerIds: IDs of the providers to fetch
#### Return value
Array with the information of the requested LPs

### **getProvider**
function getProvider(address providerAddress) external view returns (LiquidityProvider memory)
Retrieves the information of a specific liquidity provider, regardless if it has resigned or has been disabled
#### Parameters
* providerAddress: address of the provider to fetch
#### Return value
Information of the requested LP

### **withdrawCollateral**
function withdrawCollateral() external
Used to withdraw the locked collateral. It is only for LPs who have resigned
Expand Down
1 change: 1 addition & 0 deletions build/contracts/AddressUpgradeable.json
Original file line number Diff line number Diff line change
Expand Up @@ -4384,3 +4384,4 @@
"version": 1
}
}

782 changes: 391 additions & 391 deletions build/contracts/Bridge.json

Large diffs are not rendered by default.

926 changes: 463 additions & 463 deletions build/contracts/BridgeMock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/contracts/BtcUtils.json
Original file line number Diff line number Diff line change
Expand Up @@ -31565,11 +31565,11 @@
"version": "0.8.18+commit.87f61d96.Emscripten.clang"
},
"networks": {
"30": {
"31": {
"events": {},
"links": {},
"address": "0x48841b09CD720355F8EE5164DEeFbB30535d825a",
"transactionHash": "0xff5efdc24fd1707cb15f10d5b08997aa52a9eaab38d3c5a953f19458188bb707"
"address": "0x16007b17F644CD4163A048853B9493B9E1887974",
"transactionHash": "0xe568023b9acdc9a2f3a88859f40583b0a06515d33c676484d5a4ed4235df4539"
}
},
"schemaVersion": "3.4.13",
Expand Down
4 changes: 2 additions & 2 deletions build/contracts/LiquidityBridgeContract.json
Original file line number Diff line number Diff line change
Expand Up @@ -87809,10 +87809,10 @@
"version": "0.8.18+commit.87f61d96.Emscripten.clang"
},
"networks": {
"30": {
"31": {
"events": {},
"links": {
"BtcUtils": "0x48841b09CD720355F8EE5164DEeFbB30535d825a"
"BtcUtils": "0x16007b17F644CD4163A048853B9493B9E1887974"
}
}
},
Expand Down
29,411 changes: 14,577 additions & 14,834 deletions build/contracts/LiquidityBridgeContractV2.json

Large diffs are not rendered by default.

Loading

0 comments on commit cbd2365

Please sign in to comment.