Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
claim-monitor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
Odysseus
claim-monitor
Commits
91fb857d
Commit
91fb857d
authored
May 10, 2024
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ca
parent
283434f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
config.toml
config.toml
+1
-0
eth.go
dao/eth.go
+1
-0
readme.md
readme.md
+7
-1
No files found.
config.toml
View file @
91fb857d
...
@@ -10,6 +10,7 @@ listen = '0.0.0.0:8080'
...
@@ -10,6 +10,7 @@ listen = '0.0.0.0:8080'
[chain]
[chain]
# rpc
# rpc
rpc
=
'https://dev.rpc.agicoin.ai'
rpc
=
'https://dev.rpc.agicoin.ai'
distribution_address
=
"0xb85D8fD67b286632FbeBdAE36fdA135e97391f0D"
[mysql]
[mysql]
host
=
'db'
host
=
'db'
...
...
dao/eth.go
View file @
91fb857d
...
@@ -61,6 +61,7 @@ func (d *Dao) getLogs(beginHeight, endHeight int, topics []string) (logs []types
...
@@ -61,6 +61,7 @@ func (d *Dao) getLogs(beginHeight, endHeight int, topics []string) (logs []types
FromBlock
:
big
.
NewInt
(
int64
(
beginHeight
)),
FromBlock
:
big
.
NewInt
(
int64
(
beginHeight
)),
ToBlock
:
big
.
NewInt
(
int64
(
endHeight
)),
ToBlock
:
big
.
NewInt
(
int64
(
endHeight
)),
Topics
:
[][]
common
.
Hash
{{}},
Topics
:
[][]
common
.
Hash
{{}},
Addresses
:
[]
common
.
Address
{
common
.
HexToAddress
(
d
.
c
.
Chain
.
DistributionAddress
)},
}
}
for
_
,
topic
:=
range
topics
{
for
_
,
topic
:=
range
topics
{
q
.
Topics
[
0
]
=
append
(
q
.
Topics
[
0
],
common
.
HexToHash
(
topic
))
q
.
Topics
[
0
]
=
append
(
q
.
Topics
[
0
],
common
.
HexToHash
(
topic
))
...
...
readme.md
View file @
91fb857d
# claim-monitor
# claim-monitor
\ No newline at end of file
make docker
docker compose up -d db
docker compose up -d sync api
\ No newline at end of file
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