Page not found
- -Sorry, but the page you were trying to get to, does not exist. You -may want to try searching this site using the sidebar or using our -API Reference page to find what -you were looking for.
- - -diff --git a/.gitignore b/.gitignore index 91db22b..8b32842 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ /deps erl_crash.dump *.ez -*.tar \ No newline at end of file +*.tar +/doc \ No newline at end of file diff --git a/README.md b/README.md index c7f79fe..b3f1000 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## Installation def deps do - [{:exw3, "~> 0.1.1"}] + [{:exw3, "~> 0.1.2"}] end ## Overview @@ -78,4 +78,11 @@ iex(9)> ExW3.Contract.send(SimpleStorage, :set, [1], %{from: Enum.at(accounts, 0 {:ok, "0xb7e9cbdd2cec8ca017e675059a3af063d754496c960f156e1a41fe51ea82f3b8"} iex(10)> ExW3.Contract.call(SimpleStorage, :get) {:ok, 1} +``` + +# Compiling Soldity + +To compile the test solidity contracts after making a change run this command: +``` +solc --abi --bin --overwrite -o test/examples/build test/examples/contracts/*.sol ``` \ No newline at end of file diff --git a/doc/.build b/doc/.build deleted file mode 100644 index 16cb4fb..0000000 --- a/doc/.build +++ /dev/null @@ -1,13 +0,0 @@ -dist/app-480ffdc169.css -dist/app-9bd040e5e5.js -fonts/icomoon.eot -fonts/icomoon.svg -fonts/icomoon.ttf -fonts/icomoon.woff -dist/sidebar_items-fa0908e9e2.js -api-reference.html -search.html -404.html -ExW3.html -ExW3.Contract.html -index.html diff --git a/doc/404.html b/doc/404.html deleted file mode 100644 index a3441fd..0000000 --- a/doc/404.html +++ /dev/null @@ -1,103 +0,0 @@ - - -
- - - - -Sorry, but the page you were trying to get to, does not exist. You -may want to try searching this site using the sidebar or using our -API Reference page to find what -you were looking for.
- - -Returns a specification to start this module under a supervisor
-Invoked when the server is started. start_link/3
or start/3
will
-block until it returns
Returns a specification to start this module under a supervisor.
-See Supervisor
.
Invoked when the server is started. start_link/3
or start/3
will
-block until it returns.
args
is the argument term (second argument) passed to start_link/3
.
Returning {:ok, state}
will cause start_link/3
to return
-{:ok, pid}
and the process to enter its loop.
Returning {:ok, state, timeout}
is similar to {:ok, state}
-except handle_info(:timeout, state)
will be called after timeout
-milliseconds if no messages are received within the timeout.
Returning {:ok, state, :hibernate}
is similar to
-{:ok, state}
except the process is hibernated before entering the loop. See
-c:handle_call/3
for more information on hibernation.
Returning :ignore
will cause start_link/3
to return :ignore
and the
-process will exit normally without entering the loop or calling c:terminate/2
.
-If used when part of a supervision tree the parent supervisor will not fail
-to start nor immediately try to restart the GenServer
. The remainder of the
-supervision tree will be (re)started and so the GenServer
should not be
-required by other processes. It can be started later with
-Supervisor.restart_child/2
as the child specification is saved in the parent
-supervisor. The main use cases for this are:
GenServer
is disabled by configuration but might be enabled later.
-Supervisor
. Likely this approach involves calling Supervisor.restart_child/2
-after a delay to attempt a restart.
-Returning {:stop, reason}
will cause start_link/3
to return
-{:error, reason}
and the process to exit with reason reason
without
-entering the loop or calling c:terminate/2
.
Callback implementation for GenServer.init/1
.
=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-s-u-.5))),s}function U(e,t,n){var r=gt(e),i=H(e,t,r),o="border-box"===Ne.css(e,"boxSizing",!1,r),a=o;if(ht.test(i)){if(!n)return i;i="auto"}return a=a&&(xe.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===Ne.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),i=parseFloat(i)||0,i+W(e,t,n||(o?"border":"content"),a,r,i)+"px"}function K(e,t,n,r,i){return new K.prototype.init(e,t,n,r,i)}function G(){kt&&(ce.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(G):n.setTimeout(G,Ne.fx.interval),Ne.fx.tick())}function V(){return n.setTimeout(function(){Et=void 0}),Et=Date.now()}function X(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Qe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Z(e,t,n){for(var r,i=(J.tweeners[t]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o=0&&n","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};it.optgroup=it.option,it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td;var ot=/<|?\w+;/;!function(){var e=ce.createDocumentFragment(),t=e.appendChild(ce.createElement("div")),n=ce.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),xe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",xe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var at=ce.documentElement,ut=/^key/,st=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lt=/^([^.]*)(?:\.(.+)|)/;Ne.event={global:{},add:function(e,t,n,r,i){var o,a,u,s,l,c,f,p,d,h,g,v=Ue.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&Ne.find.matchesSelector(at,i),n.guid||(n.guid=Ne.guid++),(s=v.events)||(s=v.events={}),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof Ne&&Ne.event.triggered!==t.type?Ne.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(qe)||[""],l=t.length;l--;)u=lt.exec(t[l])||[],d=g=u[1],h=(u[2]||"").split(".").sort(),d&&(f=Ne.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=Ne.event.special[d]||{},c=Ne.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ne.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=s[d])||(p=s[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),Ne.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,u,s,l,c,f,p,d,h,g,v=Ue.hasData(e)&&Ue.get(e);if(v&&(s=v.events)){for(t=(t||"").match(qe)||[""],l=t.length;l--;)if(u=lt.exec(t[l])||[],d=g=u[1],h=(u[2]||"").split(".").sort(),d){for(f=Ne.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=s[d]||[],u=u[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&f.teardown.call(e,h,v.handle)!==!1||Ne.removeEvent(e,d,v.handle),delete s[d])}else for(d in s)Ne.event.remove(e,d+t[l],n,r,!0);Ne.isEmptyObject(s)&&Ue.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,u=Ne.event.fix(e),s=new Array(arguments.length),l=(Ue.get(this,"events")||{})[u.type]||[],c=Ne.event.special[u.type]||{};for(s[0]=u,t=1;t"," -1:Ne.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&u.push({elem:l,handlers:o})}return l=this,s