xiaobin83
xiaobin83
includes function and fix below, + add vertex node (no need to do invert transform in frag shader) + fix lightmap issue (make it the same as standard shader) +...
the reason is isBase64('12345678') returns true in transformPassword.
_new ContractAddress(CONTRACT_ADDR)_ could be clearer than new _Address(reverseHex(CONTRACT_ADDR))_
In native contract Auth.VerifyToken (ontology/smartcontract/native/auth/auth.go), ``` go func VerifyToken(native *native.NativeService) ([]byte, error) { //deserialize param param := &VerifyTokenParam{} rd := bytes.NewReader(native.Input) err := param.Deserialize(rd) if err != nil { return...
Follow document of Native.Invoke and found, 1. `ontAddr = "AFmseVrdL9f9oyCzZefL9tG6UbvhUMqNMV".ToScriptHash()` cannot be used as native contract address. SmartX reports 'address invalid' 2. convert ontAddr to hexstring by using base58ToHex in...
Deploy and execute ```FooBar``` in following code. In ontology log, it reports ``` [NeoVmService] vm execute error!: Not support interface to biginteger ``` In SmartX it reports ```9/14/2018, 11:21:52 AM...
Deploy following code and invoke FooBar(), the result should contain ```["00"], ["0a"], ["14"]``` instead of only ```["00"]``` ``` C# using Ont.SmartContract.Framework; using Ont.SmartContract.Framework.Services.Ont; using Ont.SmartContract.Framework.Services.System; using System; using System.Numerics; namespace...