Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
520218a5
Commit
520218a5
authored
Nov 23, 2021
by
cxb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add profile description
parent
bf50ec6b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
88 additions
and
6 deletions
+88
-6
chain33.para.toml
chain33.para.toml
+28
-0
chain33.para.toml.readme
chain33.para.toml.readme
+28
-0
chain33.toml
chain33.toml
+28
-0
chain33.toml
plugin/dapp/exchange/test/chain33.toml
+4
-6
No files found.
chain33.para.toml
View file @
520218a5
...
@@ -413,3 +413,30 @@ database="chain33metrics"
...
@@ -413,3 +413,30 @@ database="chain33metrics"
username
=
""
username
=
""
password
=
""
password
=
""
namespace
=
""
namespace
=
""
#exchange合约相关配置
[mver.exec.sub.exchange]
#银行帐户列表(现第一个地址用来收取手续费)
banks
=
["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]
#Fee
#币种配置,
#rate每笔手续费率,配置时需*1e8(如:收取每笔交易千分之一的手续费,rate=100000)
#minFee最小手续费,配置时需*1e8(如:最小手续费收取1个,minFee=100000000)
coins
=
[
{
name
=
"bty"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"ETH"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"USDT"
,
rate
=
100000
,
minFee
=
0
}
,
]
#exchange合约相关配置更新,命名规则ForkParamV+数字
[mver.exec.sub.exchange.ForkParamV1]
banks
=
["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]
coins
=
[
{
name
=
"bty"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"ETH"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"USDT"
,
rate
=
100000
,
minFee
=
0
}
,
]
[fork.sub.exchange]
Enable
=
0
#ForkParamV1生效高度
ForkParamV1
=
5
\ No newline at end of file
chain33.para.toml.readme
View file @
520218a5
...
@@ -418,3 +418,30 @@ database="chain33metrics"
...
@@ -418,3 +418,30 @@ database="chain33metrics"
username=""
username=""
password=""
password=""
namespace=""
namespace=""
#exchange合约相关配置
[mver.exec.sub.exchange]
#银行帐户列表(现第一个地址用来收取手续费)
banks = ["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]#Fee
#币种配置,
#rate每笔手续费率,配置时需*1e8(如:收取每笔交易千分之一的手续费,rate=100000)
#minFee最小手续费,配置时需*1e8(如:最小手续费收取1个,minFee=100000000)
coins = [
{ name = "bty", rate = 100000, minFee = 0 },
{ name = "ETH", rate = 100000, minFee = 0 },
{ name = "USDT", rate = 100000, minFee = 0 },
]
#exchange合约相关配置更新,命名规则ForkParamV+数字
[mver.exec.sub.exchange.ForkParamV1]
banks = ["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]
coins = [
{ name = "bty", rate = 100000, minFee = 0 },
{ name = "ETH", rate = 100000, minFee = 0 },
{ name = "USDT", rate = 100000, minFee = 0 },
]
[fork.sub.exchange]
Enable = 0
#ForkParamV1生效高度
ForkParamV1 = 5
\ No newline at end of file
chain33.toml
View file @
520218a5
...
@@ -323,3 +323,30 @@ database="chain33metrics"
...
@@ -323,3 +323,30 @@ database="chain33metrics"
username
=
""
username
=
""
password
=
""
password
=
""
namespace
=
""
namespace
=
""
#exchange合约相关配置
[mver.exec.sub.exchange]
#银行帐户列表(现第一个地址用来收取手续费)
banks
=
["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]
#Fee
#币种配置,
#rate每笔手续费率,配置时需*1e8(如:收取每笔交易千分之一的手续费,rate=100000)
#minFee最小手续费,配置时需*1e8(如:最小手续费收取1个,minFee=100000000)
coins
=
[
{
name
=
"bty"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"ETH"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"USDT"
,
rate
=
100000
,
minFee
=
0
}
,
]
#exchange合约相关配置更新,命名规则ForkParamV+数字
[mver.exec.sub.exchange.ForkParamV1]
banks
=
["1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"]
coins
=
[
{
name
=
"bty"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"ETH"
,
rate
=
100000
,
minFee
=
0
}
,
{
name
=
"USDT"
,
rate
=
100000
,
minFee
=
0
}
,
]
[fork.sub.exchange]
Enable
=
0
#ForkParamV1生效高度
ForkParamV1
=
5
\ No newline at end of file
plugin/dapp/exchange/test/chain33.toml
View file @
520218a5
...
@@ -269,10 +269,8 @@ banks = [
...
@@ -269,10 +269,8 @@ banks = [
"1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"
"1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"
]
]
coins
=
[
coins
=
[
{name
=
"BTY"
,
rate
=
100000
,
minFee
=
1000000
}
,
{name
=
"bty"
,
rate
=
100000
,
minFee
=
0
}
,
{name
=
"USDT"
,
rate
=
100000
,
minFee
=
1000000
}
,
{name
=
"CCNY"
,
rate
=
100000
,
minFee
=
0
}
,
{name
=
"bty"
,
rate
=
100000
,
minFee
=
1000000
}
,
{name
=
"CCNY"
,
rate
=
100000
,
minFee
=
1000000
}
,
]
]
#[mver.exec.sub.exchange.ForkParamV1]
#[mver.exec.sub.exchange.ForkParamV1]
...
@@ -280,8 +278,8 @@ coins = [
...
@@ -280,8 +278,8 @@ coins = [
# "1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"
# "1PTGVR7TUm1MJUH7M1UNcKBGMvfJ7nCrnN"
#]
#]
#coins = [
#coins = [
# {name = "
BTY
", rate = 100000, minFee = 1000000},
# {name = "
bty
", rate = 100000, minFee = 1000000},
# {name = "
USDT
", rate = 100000, minFee = 1000000},
# {name = "
CCNY
", rate = 100000, minFee = 1000000},
#]
#]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment