Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hashrate-Node
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
duanjinfei
hashrate-Node
Commits
0d016ad3
Commit
0d016ad3
authored
Sep 26, 2023
by
duanjinfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redeploy contract
parent
8cffc4e7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
3 deletions
+53
-3
event.go
common/event.go
+2
-2
VmCreate.abi
contract/VmCreateContract/VmCreate.abi
+19
-0
VmCreate.go
contract/VmCreateContract/VmCreate.go
+32
-1
No files found.
common/event.go
View file @
0d016ad3
...
@@ -12,6 +12,6 @@ const (
...
@@ -12,6 +12,6 @@ const (
// VmCreateContract 虚拟机创建合约
// VmCreateContract 虚拟机创建合约
const
(
const
(
VmContract
=
"0x
3354D08f158d2BEFA7071F459A0a4ca2Ef797974
"
VmContract
=
"0x
16bAf274413752C696fddDbeF9A08BCa1D01A230
"
VmCreateContract
=
"0x
EE436a4C761f79d42154a4e526019063d3a7da41
"
VmCreateContract
=
"0x
d1534273B46261a2C38d210b21Ed0C80C89b2445
"
)
)
contract/VmCreateContract/VmCreate.abi
View file @
0d016ad3
...
@@ -271,6 +271,25 @@
...
@@ -271,6 +271,25 @@
"stateMutability": "view",
"stateMutability": "view",
"type": "function"
"type": "function"
},
},
{
"inputs": [
{
"internalType": "string",
"name": "taskId",
"type": "string"
}
],
"name": "getTaskTimestamp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
{
"inputs": [
"inputs": [
{
{
...
...
contract/VmCreateContract/VmCreate.go
View file @
0d016ad3
This diff is collapsed.
Click to expand it.
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