Skip to content

Appic-Solutions/Helper_Smart_Contract

Repository files navigation

Technical Architecture

icMaticDeposit Contract

The CkMaticDeposit contract is designed to facilitate the conversion of MATIC to ckMATIC by handling deposits of MATIC, transferring them to a designated minter address, and allowing for withdrawals under specified conditions. This contract is primarily used in a decentralized finance (DeFi) context on the Polygon blockchain.

Features

  • Deposit Handling: Accepts MATIC deposits to be converted into ckMATIC.
  • Minter Management: Allows the designated minter to manage MATIC and handle conversion processes.
  • Withdrawal Authorization: Permits the withdrawal of MATIC under certain conditions managed by the minter.

Smart contract address

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script --chain sepolia script/TokenLock.s.sol:DeployTokenLock --rpc-url $SEPOLIA_RPC_URL --broadcast --verify -vvvv

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published