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

Fix typo: wtiness -> witness #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion contracts/libs/x/sources/wit_table.move
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module x::wit_table {

/// Adds a key-value pair to the table.
/// Aborts if the xtable already has an entry with that key `k: K`.
/// Wtiness control
/// Witness control
public fun add<T: drop, K: copy + drop + store, V: store>(
_: T,
self: &mut WitTable<T, K, V>,
Expand Down
4 changes: 2 additions & 2 deletions contracts/test_coin/sources/BTC.move
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ module test_coin::btc {
cap: TreasuryCap<BTC>
}

fun init(wtiness: BTC, ctx: &mut TxContext) {
fun init(witness: BTC, ctx: &mut TxContext) {
let decimals = 9u8;
let symbol = b"BTC";
let name = b"BTC";
let description = b"Test Bitcoin";
let icon_url_option = option::none();
let (treasuryCap, coinMeta) = coin::create_currency(
wtiness,
witness,
decimals,
symbol,
name,
Expand Down
4 changes: 2 additions & 2 deletions contracts/test_coin/sources/ETH.move
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ module test_coin::eth {
cap: TreasuryCap<ETH>
}

fun init(wtiness: ETH, ctx: &mut TxContext) {
fun init(witness: ETH, ctx: &mut TxContext) {
let decimals = 9u8;
let symbol = b"ETH";
let name = b"ETH";
let description = b"Test Ethereum";
let icon_url_option = option::none();
let (treasuryCap, coinMeta) = coin::create_currency(
wtiness,
witness,
decimals,
symbol,
name,
Expand Down
4 changes: 2 additions & 2 deletions contracts/test_coin/sources/USDC.move
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ module test_coin::usdc {
cap: TreasuryCap<USDC>
}

fun init(wtiness: USDC, ctx: &mut TxContext) {
fun init(witness: USDC, ctx: &mut TxContext) {
let decimals = 9u8;
let symbol = b"USDC";
let name = b"USDC";
let description = b"Test USDC";
let icon_url_option = option::none();
let (treasuryCap, coinMeta) = coin::create_currency(
wtiness,
witness,
decimals,
symbol,
name,
Expand Down
4 changes: 2 additions & 2 deletions contracts/test_coin/sources/USDT.move
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ module test_coin::usdt {
cap: TreasuryCap<USDT>
}

fun init(wtiness: USDT, ctx: &mut TxContext) {
fun init(witness: USDT, ctx: &mut TxContext) {
let decimals = 9u8;
let symbol = b"USDT";
let name = b"USDT";
let description = b"Test USDT";
let icon_url_option = option::none();
let (treasuryCap, coinMeta) = coin::create_currency(
wtiness,
witness,
decimals,
symbol,
name,
Expand Down