forked from TrueCloudLab/frostfs-contract
parent
4585f96acf
commit
cfecb093a0
2 changed files with 1 additions and 10 deletions
|
@ -105,10 +105,6 @@ func index(ctx storage.Context) int {
|
|||
return storage.Get(ctx, indexKey).(int)
|
||||
}
|
||||
|
||||
func total(ctx storage.Context) int {
|
||||
return storage.Get(ctx, totalKey).(int)
|
||||
}
|
||||
|
||||
func checkPermission(ir []common.IRNode) bool {
|
||||
ctx := storage.GetReadOnlyContext()
|
||||
index := index(ctx) // read from contract memory
|
||||
|
|
|
@ -43,12 +43,7 @@ const (
|
|||
notaryDisabledKey = "notary"
|
||||
)
|
||||
|
||||
var (
|
||||
lockTransferMsg = []byte("lock assets to withdraw")
|
||||
unlockTransferMsg = []byte("asset lock expired")
|
||||
|
||||
token Token
|
||||
)
|
||||
var token Token
|
||||
|
||||
// CreateToken initializes the Token Interface for the Smart Contract to operate with.
|
||||
func CreateToken() Token {
|
||||
|
|
Loading…
Reference in a new issue