Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename multisig to whitelist #23

Merged
merged 3 commits into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ workflows:
version: 2
test:
jobs:
- contract_cw1_multisig
- contract_cw1_whitelist
- contract_cw20_base
- contract_cw20_escrow
- package_cw1
- package_cw20
- lint

jobs:
contract_cw1_multisig:
contract_cw1_whitelist:
docker:
- image: rust:1.44.0
working_directory: ~/project/contracts/cw1-multisig
working_directory: ~/project/contracts/cw1-whitelist
steps:
- checkout:
path: ~/project
Expand All @@ -23,7 +23,7 @@ jobs:
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw1-multisig-rust:1.44.0-{{ checksum "~/project/Cargo.lock" }}
- cargocache-cw1-whitelist-rust:1.44.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Add wasm32 target
command: rustup target add wasm32-unknown-unknown
Expand All @@ -50,7 +50,7 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw1-multisig-rust:1.44.0-{{ checksum "~/project/Cargo.lock" }}
key: cargocache-cw1-whitelist-rust:1.44.0-{{ checksum "~/project/Cargo.lock" }}

contract_cw20_base:
docker:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "cw1-multisig"
name = "cw1-whitelist"
version = "0.1.0"
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
edition = "2018"
description = "Implementation of an proxy contract working as 1 of N multisig"
description = "Implementation of an proxy contract using a whitelist"
license = "AGPL-3.0"

[lib]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CW1 Multisig
# CW1 Whitelist

This may be the simplest implementation of CW1, a "1 of N" multisig.
This may be the simplest implementation of CW1, a whitelist of addresses.
It contains a set of admins that are defined upon creation.
Any of those admins may `Execute` any message via the contract,
per the CW1 spec.
Expand All @@ -12,7 +12,8 @@ to be mutable or immutable. If it is mutable, then any admin may
While largely an example contract for CW1, this has various real-world use-cases,
such as a common account that is shared among multiple trusted devices,
or trading an entire account (used as 1 of 1 mutable). Most of the time,
this can be used as a framework to build your own, more advanced cw1 implementations.
this can be used as a framework to build your own,
more advanced cw1 implementations.

## Allowing Custom Messages

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::fs::create_dir_all;

use cosmwasm_schema::{export_schema, remove_schemas, schema_for};

use cw1_multisig::msg::{ConfigResponse, HandleMsg, InitMsg, QueryMsg};
use cw1_whitelist::msg::{ConfigResponse, HandleMsg, InitMsg, QueryMsg};

fn main() {
let mut out_dir = current_dir().unwrap();
Expand Down
File renamed without changes.
File renamed without changes.