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

add kairos deposit contract and contract-cli #26

Closed
wants to merge 5 commits into from

Conversation

jonas089
Copy link
Contributor

Kairos deposit contract and kairos-contract-cli

For instructions on how to build and unit-test the contract, navigate to

kairos-deposit-contract/readme.md

The kairos-contract-cli can be used to interact with the contract once it has been deployed to cctl (see cspr-rad/kairos-cctl-env).

@jonas089 jonas089 force-pushed the feature/deposit-contract branch from 60b4d0a to c3e3d41 Compare February 20, 2024 11:53
…t stable feat-2.0 (casper-node)

	modified:   Cargo.lock
	modified:   Cargo.toml
	new file:   kairos-contract-cli/Cargo.lock
	new file:   kairos-contract-cli/Cargo.toml
	new file:   kairos-contract-cli/src/cli.rs
	new file:   kairos-contract-cli/src/deployments.rs
	new file:   kairos-contract-cli/src/deployments/call_create_purse.rs
	new file:   kairos-contract-cli/src/deployments/call_incr_counter.rs
	new file:   kairos-contract-cli/src/deployments/deploy_handler.rs
	new file:   kairos-contract-cli/src/deployments/get_counter.rs
	new file:   kairos-contract-cli/src/deployments/get_deposit_event.rs
	new file:   kairos-contract-cli/src/deployments/put_deposit_session.rs
	new file:   kairos-contract-cli/src/deployments/put_withdrawal_session.rs
	new file:   kairos-contract-cli/src/lib.rs
	new file:   kairos-contract-cli/src/main.rs
	new file:   kairos-deposit-contract/build-macos-darwin-feat-2.0.sh
	new file:   kairos-deposit-contract/build-ubuntu-feat-2.0.sh
	new file:   kairos-deposit-contract/contract-types/Cargo.lock
	new file:   kairos-deposit-contract/contract-types/Cargo.toml
	new file:   kairos-deposit-contract/contract-types/src/lib.rs
	new file:   kairos-deposit-contract/contract/.cargo/config.toml
	new file:   kairos-deposit-contract/contract/Cargo.lock
	new file:   kairos-deposit-contract/contract/Cargo.toml
	new file:   kairos-deposit-contract/contract/src/address.rs
	new file:   kairos-deposit-contract/contract/src/constants.rs
	new file:   kairos-deposit-contract/contract/src/detail.rs
	new file:   kairos-deposit-contract/contract/src/error.rs
	new file:   kairos-deposit-contract/contract/src/main.rs
	new file:   kairos-deposit-contract/deposit-session/Cargo.lock
	new file:   kairos-deposit-contract/deposit-session/Cargo.toml
	new file:   kairos-deposit-contract/deposit-session/src/main.rs
	new file:   kairos-deposit-contract/malicious-reader/Cargo.lock
	new file:   kairos-deposit-contract/malicious-reader/Cargo.toml
	new file:   kairos-deposit-contract/malicious-reader/src/main.rs
	new file:   kairos-deposit-contract/malicious-session/Cargo.lock
	new file:   kairos-deposit-contract/malicious-session/Cargo.toml
	new file:   kairos-deposit-contract/malicious-session/src/main.rs
	new file:   kairos-deposit-contract/readme.md
	new file:   kairos-deposit-contract/rust-toolchain.toml
	new file:   kairos-deposit-contract/tests/Cargo.lock
	new file:   kairos-deposit-contract/tests/Cargo.toml
	new file:   kairos-deposit-contract/tests/rust-toolchain.toml
	new file:   kairos-deposit-contract/tests/src/integration_tests.rs
	new file:   kairos-deposit-contract/tests/src/test_fixture.rs
	new file:   kairos-deposit-contract/tests/src/test_fixture/utils.rs
	new file:   kairos-deposit-contract/withdrawal-session/Cargo.lock
	new file:   kairos-deposit-contract/withdrawal-session/Cargo.toml
	new file:   kairos-deposit-contract/withdrawal-session/src/main.rs
@jonas089 jonas089 force-pushed the feature/deposit-contract branch from c3e3d41 to a33af39 Compare February 20, 2024 12:01
@marijanp
Copy link
Contributor

There are a lot of warnings being output when building with cargo. Could you remove unused imports, and follow the rust style-guide when naming enum variants, etc.

@jonas089
Copy link
Contributor Author

I'll use clippy to get rid of warnings @marijanp.

@jonas089 jonas089 closed this Feb 29, 2024
@jonas089 jonas089 deleted the feature/deposit-contract branch February 29, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants