I hereby claim:
- I am kukks on github.
- I am kukks (https://keybase.io/kukks) on keybase.
- I have a public key ASCyFYTsHOxY4NW0tqX0HedE4I9hLPJYTjAQ9Ilb3xEuxgo
To claim this, I am signing this object:
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.33; | |
| /// @notice Minimal ERC-20 surface. Production deployments should use Boltz's | |
| /// TransferHelper instead, for tokens with non-standard return values. | |
| interface IERC20 { | |
| function transfer(address to, uint256 amount) external returns (bool); | |
| function transferFrom(address from, address to, uint256 amount) external returns (bool); | |
| } |
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.24; | |
| import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
| import {Ownable, Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol"; | |
| import {Pausable} from "@openzeppelin/contracts/utils/Pausable.sol"; | |
| /** | |
| * @title LVGABridgeLock |
| 51e5abf7-081e-4220-a02e-fd1e9b9e5a79 |
I hereby claim:
To claim this, I am signing this object:
| function aes_cbc_encrypt(data, rawKey) { | |
| const iv = window.crypto.getRandomValues(new Uint8Array(16)); | |
| return aes_cbc_key(rawKey).then(function(key) { | |
| return window.crypto.subtle.encrypt( | |
| { | |
| name: "AES-CBC", | |
| //Don't re-use initialization vectors! |
| version: "3" | |
| services: | |
| clightning_bitcoin: | |
| environment: | |
| LIGHTNINGD_OPT: | | |
| YOUR | |
| EXTRA | |
| CONFIG | |
| HERE |
| {"paths":{"/api/v1/api-keys/{apikey}":{"delete":{"tags":["API Keys"],"summary":"Revoke an API Key","description":"Revoke the current API key so that it cannot be used anymore","parameters":[{"name":"apikey","in":"path","required":true,"description":"The API Key to revoke","schema":{"type":"string"}}],"responses":{"200":{"description":"The key has been deleted"},"404":{"description":"The key is not found for this user"}},"security":[{"API Key":["unrestricted"],"Basic":[]}]}},"/api/v1/api-keys/current":{"get":{"tags":["API Keys"],"summary":"Get the current API Key information","description":"View information about the current API key","responses":{"200":{"description":"Information about the current api key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyData"}}}}},"security":[{"API Key":[]}]},"delete":{"tags":["API Keys"],"summary":"Revoke the current API Key","description":"Revoke the current API key so that it cannot be used anymore","responses":{"200":{"description":"The key was |
made with esnextbin
| import { CloneUtility } from "./clone"; | |
| import { Disposable } from "aurelia-binding"; | |
| import { BindingEngine } from "aurelia-binding"; | |
| /** | |
| * Unit Of Work Observer | |
| * Based on the work of fragsalat's MultiObserver found at | |
| * https://gist.github.com/fragsalat/819a58021fc7b76a2704 | |
| * | |
| * | |
| * The purpose of this observer is to observe all changes made to a model and allows you |
| public async Task UploadScreenshot(string clientId) | |
| { | |
| Screenshot ss = ((ITakesScreenshot) Driver).GetScreenshot(); | |
| var link = await UploadImageAnonymous(ss.AsBase64EncodedString, $"btcpayservertests_{DateTime.Now}"); | |
| Logs.Tester.LogInformation($"screenshot uploaded to {link}"); | |
| } | |
| private async Task<string> UploadImageAnonymous(string base64, string name,string clientId) |