Skip to content

Commit

Permalink
update contract in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bchamagne committed Sep 19, 2024
1 parent b7fab60 commit 0928696
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 3 deletions.
Binary file modified test/support/contract.wasm
Binary file not shown.
94 changes: 91 additions & 3 deletions test/support/contract_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "action",
"triggerType": "transaction",
"input": {
"address": "string"
"address": "Address"
}
},
"printDeposit": {
Expand All @@ -35,7 +35,7 @@
"type": "action",
"triggerType": "transaction",
"input": {
"address": "string"
"address": "Address"
}
},
"tick": {
Expand All @@ -56,7 +56,7 @@
"type": "action",
"triggerType": "transaction",
"input": {
"to": "string",
"to": "Address",
"amount": "u64"
}
},
Expand All @@ -69,6 +69,94 @@
"input": {
"from": "u64"
}
},
"ucoBalance": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"coincoinBalance": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"genesis": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"first": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"last": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"burn": {
"type": "publicFunction",
"input": {}
},
"previous": {
"type": "publicFunction",
"input": {
"publicKey": "PublicKey"
}
},
"genesisPkey": {
"type": "publicFunction",
"input": {
"publicKey": "PublicKey"
}
},
"tx": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"lastTx": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"callFn": {
"type": "publicFunction",
"input": {
"address": "Address"
}
},
"hmac": {
"type": "publicFunction",
"input": {
"hex": "Hex"
}
},
"sign": {
"type": "publicFunction",
"input": {
"hex": "Hex"
}
},
"http": {
"type": "publicFunction",
"input": {
"str": "string"
}
},
"httpMany": {
"type": "publicFunction",
"input": {
"str": "string"
}
}
}
}
Expand Down

0 comments on commit 0928696

Please sign in to comment.