github.com/igggame/nebulas-go@v2.1.0+incompatible/nf/nvm/test/instruction_counter_tests/inner_contract_callee.js (about)

     1  "use strict";
     2  
     3  
     4  var ProxyBankContract = function () {
     5  
     6  };
     7  
     8  // save value to contract, only after height of block, users can takeout
     9  ProxyBankContract.prototype = {
    10  	init: function () {
    11          //
    12      },
    13  
    14      callWhile: function() {
    15          console.error("callee ....... ");
    16          var i = 0;
    17          while (i < 10) {
    18              i++;
    19          }
    20          return 0;
    21      },
    22  
    23  };
    24  
    25  module.exports = ProxyBankContract;