df['party_name'].drop_duplicates()
ποΈβπ¨οΈ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "rsm-tuts" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod order_book { | |
#[derive(Debug, PartialEq)] | |
pub struct LimitOrder { | |
limit_price: u64, | |
amount: u64, | |
} | |
#[derive(Debug, PartialEq)] | |
pub struct OrderBook { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const keccak256 = require("keccak256"); | |
// `encryptDecrypt` function | |
function encryptDecrypt(data, key) { | |
let length = data.length; | |
// let result.length = length; | |
for (let i = 0; i < length; i += 32) { | |
const hash = keccak256(key.concat(i.toString())).toString("hex"); | |
let chunk; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
COIN_MARKET_CAP_API: ${{ secrets.COIN_MARKET_CAP_API }} | |
KOVAN: "witch collapse practice feed shame open despair creek road again ice least" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===================================================================== # | |
# BASIC CONFIGURATION | |
# ===================================================================== # | |
# Default values in this YAML file are specified by `null` instead of Lima's "builtin default" values, | |
# so they can be overridden by the $LIMA_HOME/_config/default.yaml mechanism documented at the end of this file. | |
# Arch: "default", "x86_64", "aarch64". | |
# π’ Builtin default: "default" (corresponds to the host architecture) | |
arch: null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract Incrementer { | |
uint256 private _value; | |
address private _lastCaller; | |
function inc() external { | |
_value += 1; | |
_lastCaller = msg.sender; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "./interfaces/LinkTokenInterface.sol"; | |
import "./VRFRequestIDBase.sol"; | |
import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol'; | |
/** **************************************************************************** |