-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello, I'm trying to use LBTC
mint in my contract.
I'm very new to Sui Move development so I'm not sure if I'm trying in a right way, but in my knowledge for now, I should import your source code (which is this repo) into my contract to use LBTC
mint. (Honestly, I can't believe that it's impossible in Sui to identify the mint just by its on-chain address unlike in other chains such as EVM chains or Solana)
But the problem is that your current code doesn't successfully compile with the below error message.
Am I trying in a wrong way, or should I wait for you to fix this issue?
error[E02001]: duplicate declaration, item, or annotation
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/lbtc/sources/bascule.move:2:14
│
2 │ module lbtc::bascule;
│ ^^^^^^^ Duplicate definition for module '(lbtc=0x0)::bascule'
│
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/bascule/sources/bascule.move:2:17
│
2 │ module bascule::bascule;
│ ------- Module previously defined here, with '(bascule=0x0)::bascule'
error[E02001]: duplicate declaration, item, or annotation
┌─ ./sources/lbtc.move:2:17
│
2 │ module z_fubao::lbtc{
│ ^^^^ Duplicate definition for module '(z_fubao=0x0)::lbtc'
│
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/lbtc/sources/lbtc.move:6:14
│
6 │ module lbtc::lbtc;
│ ---- Module previously defined here, with '(lbtc=0x0)::lbtc'
error[E02001]: duplicate declaration, item, or annotation
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/lbtc/sources/payload_decoder.move:2:14
│
2 │ module lbtc::payload_decoder;
│ ^^^^^^^^^^^^^^^ Duplicate definition for module '(lbtc=0x0)::payload_decoder'
│
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/consortium/sources/payload_decoder.move:2:20
│
2 │ module consortium::payload_decoder;
│ --------------- Module previously defined here, with '(consortium=0x0)::payload_decoder'
error[E02001]: duplicate declaration, item, or annotation
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/lbtc/sources/consortium.move:2:14
│
2 │ module lbtc::consortium;
│ ^^^^^^^^^^ Duplicate definition for module '(lbtc=0x0)::consortium'
│
┌─ /Users/yunseok-jeong/.move/https___github_com_lombard-finance_sui-move-contracts_main/move/consortium/sources/consortium.move:1:20
│
1 │ module consortium::consortium;
│ ---------- Module previously defined here, with '(consortium=0x0)::consortium'
Failed to build Move modules: Compilation error.
Metadata
Metadata
Assignees
Labels
No labels