Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Introduce more strongly typed SNatives, templates for generating cont…
Browse files Browse the repository at this point in the history
…ract, and test for permissions contract
  • Loading branch information
Silas Davis committed Feb 17, 2017
1 parent 25baef2 commit 0fc330b
Show file tree
Hide file tree
Showing 5 changed files with 439 additions and 66 deletions.
2 changes: 2 additions & 0 deletions manager/eris-mint/evm/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ func registerNativeContracts() {

type NativeContract func(appState AppState, caller *Account, input []byte, gas *int64) (output []byte, err error)

type FuncID [4]byte

/* Removed due to C dependency
func ecrecoverFunc(appState AppState, caller *Account, input []byte, gas *int64) (output []byte, err error) {
// Deduct gas
Expand Down
Loading

0 comments on commit 0fc330b

Please sign in to comment.