Create alias address
481528
def create_alias(self, userid, data):
        """"""
        return self.api_call(
            ENDPOINTS['aliases']['new'],
            dict(userid=userid),
            body=data)
775951
def Alias(self, alias):
        """"""
        # FIXME
        if self.generate_comments:
            self.print_comment(alias)
        print("%s = %s # alias" % (alias.name, alias.alias), file=self.stream)
        self._aliases += 1
        return
833240
def add_address(self, fqdn, address, ttl=0):
        " "

        data = {'rdata': {'address': address}, 'ttl': str(ttl)}

        # Make request.
        response = self.post('/REST/ARecord/%s/%s' % (
            self.zone, fqdn), data=data)

        return Address(self, data=response.content['data'])
192730
def using(self, alias):
        
        clone = self._clone()
        clone._index = alias
        return clone
1243595
def create_shipping_address(self, shipping_address):
        """"""
        url = urljoin(self._url, '/shipping_addresses')
        return shipping_address.post(url)
554568
@Override
	@Transactional(enabled = false)
	public CommerceAddress createCommerceAddress(long commerceAddressId) {
		return commerceAddressPersistence.create(commerceAddressId);
	}
35299
def creates
      Utils.mk_contract_address(sender, nonce) if [Address::BLANK, Address::ZERO].include?(to)
    end
1308069
protected T newResourceAddress0(String original, String location,  ResourceOptions options) {

        final T address = newResourceAddress0(original, location);
        setOptions(address, location, options, options.getOption(QUALIFIER));
        return address;
    }
1299928
@VisibleForTesting
  static String makeTargetStringForDirectAddress(SocketAddress address) {
    try {
      return new URI(DIRECT_ADDRESS_SCHEME, "", "/" + address, null).toString();
    } catch (URISyntaxException e) {
      // It should not happen.
      throw new RuntimeException(e);
    }
  }
264497
def set_address(self, host, port):
        """"""
        self.host = host
        self.port = port
1238701
public static function makeAliasSetInstance(string $address, string $alias): self
    {
        $transaction = new self();

        $transaction->setVersion(Version::ALIAS_SET);
        $transaction->setDestinationAddress($address);
        $transaction->setValue(self::VALUE_ALIAS_SET);
        $transaction->setFee(self::FEE_ALIAS_SET);
        $transaction->setMessage($alias);

        return $transaction;
    }
783084
def makeaddress(self, label):
        
        addr = address.new(label)
        if not addr.repo:
            addr.repo = self.address.repo
            if not addr.path:
                addr.path = self.address.path
        return addr
810612
@Deprecated
    public static void createAlias(Client client, String alias, String index) throws Exception {
        logger.trace("createAlias({},{})", alias, index);
        AcknowledgedResponse response = client.admin().indices().prepareAliases().addAlias(index, alias).get();
        if (!response.isAcknowledged()) throw new Exception("Could not define alias [" + alias + "] for index [" + index + "].");
        logger.trace("/createAlias({},{})", alias, index);
    }
751429
def _store_account_address(self, address):
        
        address_key = address_prefix + utils.sha3(address)
        self.wb.put(address_key, address)
744136
def add_alias(self, alias, indices, **kwargs):
        
        indices = self.conn._validate_indices(indices)

        return self.change_aliases(['add', index, alias,
                                    self._get_alias_params(**kwargs)]
                                    for index in indices)
498899
def address(self):
        """"""
        path = urlsplit(self.target).path
        suffix = '/' if not path or path.endswith('/') else ''
        return '%s%s/%s%s' % (self._ui_address[:-1], self._proxy_prefix,
                              self.route, suffix)
771527
def make_sh_address(script_string, witness=False, cashaddr=True):
    '''
    
    '''
    script_bytes = script_ser.serialize(script_string)

    return _ser_script_to_sh_address(
        script_bytes=script_bytes,
        witness=witness,
        cashaddr=cashaddr)