Revert "Move contracts into api-contract"

This reverts commit af0e8cf07a.
This commit is contained in:
Jaco Greeff
2019-06-14 09:06:57 +02:00
parent af0e8cf07a
commit 7bdf0fbbe5
24 changed files with 312 additions and 610 deletions
@@ -1,102 +0,0 @@
{
"name": "SharedVec",
"deploy": {
"args": []
},
"messages": [
{
"name": "push",
"selector": 865577567,
"mutates": true,
"args": [
{
"name": "value",
"type": "i32"
}
],
"return_type": {
"Result<T,E>": {
"T": [],
"E": "u32"
}
}
},
{
"name": "register",
"selector": 572030971,
"mutates": true,
"args": [
{
"name": "mutator",
"type": "AccountId"
},
{
"name": "begin",
"type": {
"Option<T>": {
"T": "u32"
}
}
},
{
"name": "end",
"type": {
"Option<T>": {
"T": "u32"
}
}
}
],
"return_type": {
"Result<T,E>": {
"T": [],
"E": "u32"
}
}
},
{
"name": "set",
"selector": 2028185770,
"mutates": true,
"args": [
{
"name": "at",
"type": "u32"
},
{
"name": "to",
"type": "i32"
}
],
"return_type": {
"Result<T,E>": {
"T": "i32",
"E": "u32"
}
}
},
{
"name": "get",
"selector": 4266279973,
"mutates": false,
"args": [
{
"name": "at",
"type": "u32"
}
],
"return_type": {
"Option<T>": {
"T": "i32"
}
}
},
{
"name": "len",
"selector": 1403873684,
"mutates": false,
"args": [],
"return_type": "u32"
}
]
}