aptos/contracts: dummy type for wrapped coins
this is used to fill in the CoinType phantom type variable of the Coin type in the aptos framework to facilitate new coin creation
This commit is contained in:
parent
70ccb69e86
commit
3eb8daf492
|
@ -0,0 +1,14 @@
|
||||||
|
-include ../../Makefile.help
|
||||||
|
|
||||||
|
.PHONY: artifacts
|
||||||
|
artifacts: build
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
|
## Build contract
|
||||||
|
build:
|
||||||
|
aptos move compile --save-metadata
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
## Run tests
|
||||||
|
test:
|
||||||
|
aptos move test
|
|
@ -0,0 +1,13 @@
|
||||||
|
[package]
|
||||||
|
name = "WrappedCoin"
|
||||||
|
version = "0.0.1"
|
||||||
|
upgrade_policy = "compatible"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
MoveStdlib = { git = "https://github.com/aptos-labs/aptos-core.git", subdir = "aptos-move/framework/move-stdlib/", rev = "main" }
|
||||||
|
|
||||||
|
[dev-addresses]
|
||||||
|
wrapped_coin = "0x0"
|
||||||
|
|
||||||
|
[addresses]
|
||||||
|
wrapped_coin = "_"
|
|
@ -0,0 +1 @@
|
||||||
|
This package implements the wormhole wrapped coin type.,
|
|
@ -0,0 +1,3 @@
|
||||||
|
module 0xf4f53cc591e5190eddbc43940746e2b5deea6e0e1562b2bba765d488504842c7::coin {
|
||||||
|
struct T has key {}
|
||||||
|
}
|
Loading…
Reference in New Issue